Bug 389163

Summary: starting repository manager from online update crashes yast2
Product: [openSUSE] openSUSE 11.0 Reporter: Carl Troein <ctroein>
Component: YaST2Assignee: Jiří Suchomel <jsuchome>
Status: RESOLVED INVALID QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P5 - None CC: yli
Version: Factory   
Target Milestone: ---   
Hardware: x86-64   
OS: openSUSE 11.0   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: screenshot_SLED11
/var/log/YaST2

Description Carl Troein 2008-05-11 15:38:04 UTC
I noticed that online_update now has a 'Repositories' menu just like sw_single does, so I've tried using it. This invariably closes the window and leaves a y2base process hanged at 100% CPU usage. 

This is what's written to /var/log/YaST2/y2log:

2008-05-11 16:32:10 <1> davies(18142) [qt-pkg] YQPackageSelectorBase.cc(repoManager):281 Closing PackageSelector with "RepoManager"
2008-05-11 16:32:10 <1> davies(18142) [ui] YCP_UI.cc(RunPkgSelection):1397 Package selection done. Returning with `repo_mgr
2008-05-11 16:32:10 <1> davies(18142) [YCP] clients/online_update_select.ycp:93 RunPkgSelection returned `repo_mgr
2008-05-11 16:32:10 <1> davies(18142) [qt-pkg] YQPackageSelectorBase.cc(~YQPackageSelectorBase):93 Destroying PackageSelector
2008-05-11 16:32:10 <2> davies(18142) [ui] YWidget.cc(findWidget):612   THROW:    No widget with ID `selector
2008-05-11 16:32:10 <2> davies(18142) [ui] YCP_UI.cc(RunPkgSelection):1402      CAUGHT:   No widget with ID `selector
2008-05-11 16:32:10 <3> davies(18142) [libycp] clients/online_update_select.ycp:92 RunPkgSelection() failed
2008-05-11 16:32:10 <1> davies(18142) [ui] YWidget.cc(dumpWidget):689 Widget tree: YDialog at 0xd3ee68 (widgetRep: 0xd3ee40) ( hstretch vstretch )
2008-05-11 16:32:10 <1> davies(18142) [ui] YWidget.cc(dumpWidget):689 Widget tree:     YWizard "YQWizard "Initializing Online Update"" at 0xd402a8 (widgetR
ep: 0xd40280) ( hstretch vstretch )
2008-05-11 16:32:10 <1> davies(18142) [ui] YWidget.cc(dumpWidget):689 Widget tree:         YAlignment at 0xd43ae8 (widgetRep: 0xd43ac0) ( hstretch vstretch
 )
2008-05-11 16:32:10 <1> davies(18142) [ui] YWidget.cc(dumpWidget):689 Widget tree:             YReplacePoint ID: "`contents" at 0xd42f98 (widgetRep: 0xd42f
70) ( hstretch vstretch )
2008-05-11 16:32:10 <1> davies(18142) [ui] YWidget.cc(dumpWidget):689 Widget tree:                 YVBox at 0xd439e8 (widgetRep: 0xd439c0) ( hstretch vstre
tch )
2008-05-11 16:32:10 <1> davies(18142) [ui] YWidget.cc(dumpWidget):689 Widget tree:                     YSpacing at 0xd527e8 (widgetRep: 0xd527c0)
2008-05-11 16:32:10 <1> davies(18142) [ui] YWidget.cc(dumpWidget):689 Widget tree:                     YHBox at 0xdefc08 (widgetRep: 0xdefbe0) ( hstretch
)
2008-05-11 16:32:10 <1> davies(18142) [ui] YWidget.cc(dumpWidget):689 Widget tree:                         YSpacing at 0xdefc58 (widgetRep: 0xdefc30)
2008-05-11 16:32:10 <1> davies(18142) [ui] YWidget.cc(dumpWidget):689 Widget tree:                         YLabel "✔" at 0xdefca8 (widgetRep: 0xdefc80)
2008-05-11 16:32:10 <1> davies(18142) [ui] YWidget.cc(dumpWidget):689 Widget tree:                         YLabel "Initialize the target system" at 0xdfa44
8 (widgetRep: 0xdfa420) ( hstretch  )
2008-05-11 16:32:10 <1> davies(18142) [ui] YWidget.cc(dumpWidget):689 Widget tree:                     YHBox at 0xd5efc8 (widgetRep: 0xd5efa0) ( hstretch
)
2008-05-11 16:32:10 <1> davies(18142) [ui] YWidget.cc(dumpWidget):689 Widget tree:                         YSpacing at 0xe21978 (widgetRep: 0xe21950)
2008-05-11 16:32:10 <1> davies(18142) [ui] YWidget.cc(dumpWidget):689 Widget tree:                         YLabel "✔" at 0xdeeda8 (widgetRep: 0xdeed80)
2008-05-11 16:32:10 <1> davies(18142) [ui] YWidget.cc(dumpWidget):689 Widget tree:                         YLabel "Refresh software repositories" at 0xd75e
d8 (widgetRep: 0xd75eb0) ( hstretch  )
2008-05-11 16:32:10 <1> davies(18142) [ui] YWidget.cc(dumpWidget):689 Widget tree:                     YHBox at 0xe65e58 (widgetRep: 0xe65e30) ( hstretch
)
2008-05-11 16:32:10 <1> davies(18142) [ui] YWidget.cc(dumpWidget):689 Widget tree:                         YSpacing at 0x6413a8 (widgetRep: 0x641380)
2008-05-11 16:32:10 <1> davies(18142) [ui] YWidget.cc(dumpWidget):689 Widget tree:                         YLabel "✔" at 0xe6ae18 (widgetRep: 0xe6adf0)
2008-05-11 16:32:10 <1> davies(18142) [ui] YWidget.cc(dumpWidget):689 Widget tree:                         YLabel "Check for available updates" at 0xdddc88
 (widgetRep: 0xdddc60) ( hstretch  )
2008-05-11 16:32:10 <1> davies(18142) [ui] YWidget.cc(dumpWidget):689 Widget tree:                     YVBox at 0xe4acf8 (widgetRep: 0xe4acd0) ( hstretch v
stretch )
2008-05-11 16:32:10 <1> davies(18142) [ui] YWidget.cc(dumpWidget):689 Widget tree:                         YSpacing at 0xda5c78 (widgetRep: 0xda5c50) ( vst
retch )
2008-05-11 16:32:10 <1> davies(18142) [ui] YWidget.cc(dumpWidget):689 Widget tree:                         YEmpty at 0xda63e8 (widgetRep: 0xda63c0)
2008-05-11 16:32:10 <1> davies(18142) [ui] YWidget.cc(dumpWidget):689 Widget tree:                         YReplacePoint ID: "`subprogress_replace_point" a
t 0xe67e58 (widgetRep: 0xe67e30)
2008-05-11 16:32:10 <1> davies(18142) [ui] YWidget.cc(dumpWidget):689 Widget tree:                             YEmpty at 0x7fd96c0054c8 (widgetRep: 0x7fd96
c0054a0)
2008-05-11 16:32:10 <1> davies(18142) [ui] YWidget.cc(dumpWidget):689 Widget tree:                         YReplacePoint ID: "`progress_replace_point" at 0
xe39888 (widgetRep: 0xe39860) ( hstretch  )
2008-05-11 16:32:10 <1> davies(18142) [ui] YWidget.cc(dumpWidget):689 Widget tree:                             YProgressBar ID: "`pb" at 0x7fd96c002788 (wi
dgetRep: 0x7fd96c002760) ( hstretch  )
2008-05-11 16:32:10 <1> davies(18142) [ui] YWidget.cc(dumpWidget):689 Widget tree:                         YSpacing at 0xe66cc8 (widgetRep: 0xe66ca0)
2008-05-11 16:32:10 <1> davies(18142) [ui] YWidget.cc(dumpWidget):689 Widget tree:         YQWizardButton "Abort" at 0xd45f18 (widgetRep: 0xd46280)
2008-05-11 16:32:10 <1> davies(18142) [ui] YWidget.cc(dumpWidget):689 Widget tree:         YQWizardButton "Back" at 0xd46bf8 (widgetRep: 0xd46f50)
2008-05-11 16:32:10 <1> davies(18142) [ui] YWidget.cc(dumpWidget):689 Widget tree:         YQWizardButton "Next" at 0xd47908 (widgetRep: 0xd47e60)
2008-05-11 16:32:10 <1> davies(18142) [YCP] clients/online_update_select.ycp:93 RunPkgSelection returned nil
2008-05-11 16:32:10 <2> davies(18142) [ui] YDialog.cc(currentDialog):448        THROW:    No dialog existing
2008-05-11 16:32:10 <2> davies(18142) [ui] YCP_UI.cc(RunPkgSelection):1402      CAUGHT:   No dialog existing
2008-05-11 16:32:10 <3> davies(18142) [libycp] clients/online_update_select.ycp:92 RunPkgSelection() failed
2008-05-11 16:32:10 <2> davies(18142) [ui] YDialog.cc(currentDialog):448        THROW:    No dialog existing
Comment 1 Andreas Jaeger 2008-05-11 16:54:55 UTC
you are running factory.  Could you give the exact version of the involved packages?  Just execute:
rpm -qa 'yast2-*'
Comment 2 Carl Troein 2008-05-11 17:34:14 UTC
I think I still have the same versions as on the beta 1 DVD for x86_64. I added the factory repo primarily to resolve some dependency issue (which in turn might've been caused by some 3rd party repo - I wish I remembered).

carl@davies:~/src/ostreo/tocmodel> cat /etc/SuSE-release
openSUSE 11.0 (X86-64) Beta1
VERSION = 11.0

carl@davies:~/src/ostreo/tocmodel> rpm -qa 'yast2-*'
yast2-libyui-2.16.45-2
yast2-xml-2.16.0-45
yast2-perl-bindings-2.16.6-4
yast2-apparmor-2.16.1-9
yast2-x11-2.15.11-120
yast2-fingerprint-reader-2.16.7-4
yast2-restore-2.16.2-4
yast2-metapackage-handler-0.8.3-2
yast2-profile-manager-2.16.1-4
yast2-theme-openSUSE-Oxygen-2.16.21-2
yast2-ncurses-pkg-2.16.6-11
yast2-pam-2.16.1-12
yast2-irda-2.16.1-4
yast2-runlevel-2.16.3-4
yast2-online-update-2.16.11-4
yast2-users-2.16.27-2
yast2-core-2.16.48-2
yast2-nfs-client-2.16.1-4
yast2-ntp-client-2.16.7-6
yast2-scanner-2.16.5-3
yast2-support-2.15.4-12
yast2-bootloader-2.16.10-2
yast2-kerberos-client-2.16.10-4
yast2-security-2.16.0-4
yast2-backup-2.16.4-4
yast2-network-2.16.38-4
yast2-sudo-2.16.1-4
yast2-printer-2.16.14-3
yast2-qt-2.16.41-4
yast2-country-data-2.16.17-4
yast2-theme-openSUSE-2.16.21-2
yast2-storage-lib-2.16.18-3
yast2-ycp-ui-bindings-2.16.45-2
yast2-transfer-2.16.1-55
yast2-hardware-detection-2.16.1-31
yast2-update-2.16.6-4
yast2-mouse-2.16.1-4
yast2-storage-2.16.18-3
yast2-sysconfig-2.16.0-6
yast2-tv-2.16.4-7
yast2-tune-2.16.1-9
yast2-repair-2.16.8-4
yast2-iscsi-client-2.16.9-4
yast2-online-update-frontend-2.16.11-4
yast2-mail-2.16.1-4
yast2-control-center-qt-2.16.0-40
yast2-registration-2.16.1-24
yast2-trans-stats-2.15.0-74
yast2-ncurses-2.16.24-4
yast2-slp-2.16.0-4
yast2-sound-2.16.8-4
yast2-ldap-2.16.0-31
yast2-nis-client-2.16.2-4
yast2-packager-2.16.34-4
yast2-ldap-client-2.16.13-4
yast2-qt-pkg-2.16.36-4
yast2-instserver-2.16.3-4
yast2-pkg-bindings-2.16.28-5
yast2-firewall-2.16.2-4
yast2-country-2.16.17-4
yast2-installation-2.16.37-2
yast2-add-on-2.16.3-4
yast2-inetd-2.16.0-4
yast2-control-center-2.16.0-40
yast2-trans-en_US-2.16.2-8
Comment 3 Robert Vojcik 2008-05-13 16:02:57 UTC
Please next time remove NEEDINFO status by selecting "This comment/atachment 
provides ..." checkbox after supplying needed information.
Comment 4 Jiri Srain 2008-05-14 07:06:57 UTC
Jiri, since the link to repo manager is now only optional, please, check if it is offered in online update (I don't think it should really be there).
Comment 5 Jiří Suchomel 2008-05-14 07:29:19 UTC
It is not there in current version
Comment 6 Y L 2008-11-25 10:52:29 UTC
Created attachment 255137 [details]
screenshot_SLED11

I found a similar bug on SLED 11 beta5 x86_64, please refer the attached screenshot.

You could fellow below steps to reproduce this bug:
1) Install SLED 11 on a clean machine;
2) Login GNOME with root user;
3) Go to "YaST>Software>Online Update Configuration", the "Online Update Configuration" windows should be launched properly;
4) Select "Edit Software Repositories" item from "Advanced" check down list;

Actual result:
An "Accessing the Package Management Failed" warning popup;

Expected result:
The "Configured Software Repositories - YaST" windows should popup properly.
Comment 7 Y L 2008-11-25 10:53:14 UTC
Created attachment 255138 [details]
/var/log/YaST2
Comment 8 Y L 2008-11-25 10:55:40 UTC
Because I am not the reporter of bug 389163, so I haven’t changed the status of it.
If you need, I could report a new bug for this issue.
Comment 9 Jiří Suchomel 2008-11-25 11:01:11 UTC
Please file a separate bug report
Comment 10 Y L 2008-11-26 03:29:15 UTC
(In reply to comment #9 from Jiri Suchomel)
> Please file a separate bug report
> 

Thanks for your reply, I have reported bug 449011 separately. BTW, maybe the bug 389163 should be closed, because it has been fixed over a year. :-)