[Bug 685831] New: zypp: occasional crashes of packagekitd
https://bugzilla.novell.com/show_bug.cgi?id=685831 https://bugzilla.novell.com/show_bug.cgi?id=685831#c0 Summary: zypp: occasional crashes of packagekitd Classification: openSUSE Product: openSUSE 11.4 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Critical Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: sbrabec@novell.com QAContact: qa@suse.de Found By: --- Blocker: --- packagekitd occasionally crashes. How often it happens: Happened 3 times since installation of 11.4 on one of my machines. Attaching backtrace from one of core dumps. I am not aware of anything special done in that time. This is in syslog: Mar 21 14:31:18 oct kernel: [256761.761708] packagekitd[25577] general protection ip:7f85725abfb8 sp:7f856d8355f0 error:0 in libpk_backend_zypp.so[7f8572574000+43000] Nothing in zypper.log I am running GNOME desktop. Backtrace: Core was generated by `/usr/lib/packagekitd'. Program terminated with signal 11, Segmentation fault. #0 Solvable (backend=<value optimized out>) at /usr/include/zypp/sat/Solvable.h:59 in /usr/include/zypp/sat/Solvable.h Thread 3 (Thread 25574): #0 0x00007f85748f2503 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ./sysdeps/unix/sysv/linux/poll.c:87 #1 0x00007f8574bdb114 in g_main_context_poll (context=0x6621e0, block=1, dispatch=1, self=<value optimized out>) at gmain.c:3404 #2 g_main_context_iterate (context=0x6621e0, block=1, dispatch=1, self=<value optimized out>) at gmain.c:3086 #3 0x00007f8574bdba35 in g_main_loop_run (loop=0x6ce7f0) at gmain.c:3299 #4 0x000000000040f975 in main (argc=1, argv=0x7fffb40b8f38) at pk-main.c:352 Thread 2 (Thread 25576): #0 0x00007f85748f2503 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ./sysdeps/unix/sysv/linux/poll.c:87 #1 0x00007f8574bdb114 in g_main_context_poll (context=0x6e3820, block=1, dispatch=1, self=<value optimized out>) at gmain.c:3404 #2 g_main_context_iterate (context=0x6e3820, block=1, dispatch=1, self=<value optimized out>) at gmain.c:3086 #3 0x00007f8574bdba35 in g_main_loop_run (loop=0x6e3800) at gmain.c:3299 #4 0x00007f857559a244 in gdbus_shared_thread_func (data=<value optimized out>) at gdbusprivate.c:276 #5 0x00007f8574c02466 in g_thread_create_proxy (data=0x6e3900) at gthread.c:1897 #6 0x00007f8575ccaa3f in start_thread (arg=0x7f856e037700) at pthread_create.c:297 #7 0x00007f85748fb67d in clone () at ./sysdeps/unix/sysv/linux/x86_64/clone.S:112 #8 0x0000000000000000 in ?? () Thread 1 (Thread 25577): #0 Solvable (backend=<value optimized out>) at /usr/include/zypp/sat/Solvable.h:59 #1 zypp_get_updates (backend=<value optimized out>) at zypp-utils.cpp:796 #2 0x00007f8572593428 in backend_get_updates_thread (backend=0x668010) at pk-backend-zypp.cpp:715 #3 0x00000000004266d2 in pk_backend_thread_setup (thread_data=<value optimized out>) at pk-backend.c:2445 #4 0x00007f8574c02466 in g_thread_create_proxy (data=0x722800) at gthread.c:1897 #5 0x00007f8575ccaa3f in start_thread (arg=0x7f856d836700) at pthread_create.c:297 #6 0x00007f85748fb67d in clone () at ./sysdeps/unix/sysv/linux/x86_64/clone.S:112 #7 0x0000000000000000 in ?? () -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=685831 https://bugzilla.novell.com/show_bug.cgi?id=685831#c zj jia <zjjia@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |zjjia@novell.com AssignedTo|bnc-team-screening@forge.pr |zypp-maintainers@forge.prov |ovo.novell.com |o.novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=685831 https://bugzilla.novell.com/show_bug.cgi?id=685831#c Duncan Mac-Vicar <dmacvicar@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium CC| |dmacvicar@novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=685831 https://bugzilla.novell.com/show_bug.cgi?id=685831#c1 --- Comment #1 from Duncan Mac-Vicar <dmacvicar@novell.com> 2011-04-27 10:03:40 UTC --- I just fixed this crash. This deserves an online update. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=685831 https://bugzilla.novell.com/show_bug.cgi?id=685831#c2 Duncan Mac-Vicar <dmacvicar@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |maintenance@opensuse.org --- Comment #2 from Duncan Mac-Vicar <dmacvicar@novell.com> 2011-04-27 10:25:17 UTC --- created request id 68513 home:dmacvicar:branches:openSUSE:11.4:Update:Test/PackageKit -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=685831 https://bugzilla.novell.com/show_bug.cgi?id=685831#c3 --- Comment #3 from Bernhard Wiedemann <bwiedemann@novell.com> 2011-04-27 13:00:12 CEST --- This is an autogenerated message for OBS integration: This bug (685831) was mentioned in https://build.opensuse.org/request/show/68513 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=685831 https://bugzilla.novell.com/show_bug.cgi?id=685831#c4 Christian Dengler <cdengler@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |cdengler@novell.com --- Comment #4 from Christian Dengler <cdengler@novell.com> 2011-04-27 11:27:41 UTC --- As it is a softwaremgmt update, I think we should collect more zypper, libzypp and Packagekit bugs and then start a bundled update. For the moment: -1 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=685831 https://bugzilla.novell.com/show_bug.cgi?id=685831#c5 --- Comment #5 from Stanislav Brabec <sbrabec@novell.com> 2011-04-27 14:45:49 CEST --- I do not agree. This bug is triggered by attempt to call e. g. GNOME updat tool - I see that the GUI tool is checking for updates forever and then update icon disapears, i. e. it blocks all updates for not advanced users. Update itself may be not as easy as it seems, as the update tool itself crashes. I guess we need not only to update, but we have to find a safe way to update without seing this crash. (I guess that the GNOME update tool works only if the number of pending updates is very low, say <5. YaST2 online_update works and next day GNOME update tool works as well.) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=685831 https://bugzilla.novell.com/show_bug.cgi?id=685831#c6 Marcus Meissner <meissner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |meissner@novell.com --- Comment #6 from Marcus Meissner <meissner@novell.com> 2011-04-27 12:51:22 UTC --- we can of course do it right now. but please elaborate, is GNOME updating via the update applet working at all? or not? or just failking randomly? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=685831 https://bugzilla.novell.com/show_bug.cgi?id=685831#c7 --- Comment #7 from Stanislav Brabec <sbrabec@novell.com> 2011-04-27 15:13:29 CEST --- It fails consistently, but only sometimes. Blindly guessing that it depends on the number of installable updates (and surely depends on updates available on the server and updates installed on the system). Some day it consistently failed. Then I called YaST2 online_update, installed updates, and next day it worked and was able to install updates. I did not mention it in the original report, because I found a relation between "GNOME update tool never finishes" and "packagekitd crashes" just today. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=685831 https://bugzilla.novell.com/show_bug.cgi?id=685831#c Duncan Mac-Vicar <dmacvicar@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 - Medium |P2 - High -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=685831 https://bugzilla.novell.com/show_bug.cgi?id=685831#c8 --- Comment #8 from Bernhard Wiedemann <bwiedemann@novell.com> 2011-04-27 22:00:14 CEST --- This is an autogenerated message for OBS integration: This bug (685831) was mentioned in https://build.opensuse.org/request/show/68569 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=685831 https://bugzilla.novell.com/show_bug.cgi?id=685831#c9 --- Comment #9 from Jason Craig <signup@sixaxisdesign.com> 2011-04-27 20:17:48 UTC --- I can confirm that this bug is affecting me on KDE as well. kpackagekit did not report any updates for over a week. I finally got suspicious and looked with zypper to find that there were indeed updates to be applied. Once I installed these updates "manually" (with Yast online update), then kpackagekit began to work again. I saw this bug and now I periodically check dmesg to be sure that kpackagekit isn't getting fooled by the crash. A couple of days ago the backend was crashing again and I had to do a manual update--which again fixed the crashing. I don't know what conditions are causing the backend to crash, but it does appear to be blocking all updates by kpackagekit. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=685831 https://bugzilla.novell.com/show_bug.cgi?id=685831#c11 --- Comment #11 from Marcus Meissner <meissner@novell.com> 2011-04-28 11:11:40 UTC --- i would say lets do the update now and hope for the best. +1 it is probably quite impossible to have a always working update scenario here. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=685831 https://bugzilla.novell.com/show_bug.cgi?id=685831#c12 Christian Dengler <cdengler@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|maintenance@opensuse.org | --- Comment #12 from Christian Dengler <cdengler@novell.com> 2011-04-28 15:24:12 UTC --- Okay, Update started: SwampID: 40504 Be so kind and submit a patchinfo. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=685831 https://bugzilla.novell.com/show_bug.cgi?id=685831#c13 Swamp Workflow Management <swamp@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard| |maint:running:40504:low --- Comment #13 from Swamp Workflow Management <swamp@suse.com> 2011-04-28 17:26:48 UTC --- The SWAMPID for this issue is 40504. This issue was rated as low. Please submit fixed packages until 2011-05-26. Also create a patchinfo file using this link: https://swamp.suse.de/webswamp/wf/40504 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=685831 https://bugzilla.novell.com/show_bug.cgi?id=685831#c13 Swamp Workflow Management <swamp@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard| |maint:running:40504:low Status Whiteboard| |maint:running:40504:low --- Comment #13 from Swamp Workflow Management <swamp@suse.com> 2011-04-28 17:26:48 UTC --- The SWAMPID for this issue is 40504. This issue was rated as low. Please submit fixed packages until 2011-05-26. Also create a patchinfo file using this link: https://swamp.suse.de/webswamp/wf/40504 --- Comment #14 from Swamp Workflow Management <swamp@suse.com> 2011-04-28 17:26:48 UTC --- The SWAMPID for this issue is 40504. This issue was rated as low. Please submit fixed packages until 2011-05-26. Also create a patchinfo file using this link: https://swamp.suse.de/webswamp/wf/40504 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=685831 https://bugzilla.novell.com/show_bug.cgi?id=685831#c15 --- Comment #15 from Swamp Workflow Management <swamp@suse.com> 2011-04-28 17:27:06 UTC --- The SWAMPID for this issue is 40504. This issue was rated as low. Please submit fixed packages until 2011-05-26. Also create a patchinfo file using this link: https://swamp.suse.de/webswamp/wf/40504 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=685831 https://bugzilla.novell.com/show_bug.cgi?id=685831#c16 --- Comment #16 from Bernhard Wiedemann <bwiedemann@novell.com> 2011-04-29 13:40:44 CEST --- This is an autogenerated message for OBS integration: This bug (685831) was mentioned in https://build.opensuse.org/request/show/68819 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=685831 https://bugzilla.novell.com/show_bug.cgi?id=685831#c17 Ludwig Nussel <lnussel@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |carlos.e.r@opensuse.org --- Comment #17 from Ludwig Nussel <lnussel@novell.com> 2011-05-13 15:45:57 CEST --- *** Bug 693231 has been marked as a duplicate of this bug. *** http://bugzilla.novell.com/show_bug.cgi?id=693231 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=685831 https://bugzilla.novell.com/show_bug.cgi?id=685831#c18 Ludwig Nussel <lnussel@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sven.burmeister@gmx.net --- Comment #18 from Ludwig Nussel <lnussel@novell.com> 2011-05-13 15:46:03 CEST --- *** Bug 681420 has been marked as a duplicate of this bug. *** http://bugzilla.novell.com/show_bug.cgi?id=681420 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=685831 https://bugzilla.novell.com/show_bug.cgi?id=685831#c19 Ludwig Nussel <lnussel@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lnussel@novell.com --- Comment #19 from Ludwig Nussel <lnussel@novell.com> 2011-05-13 16:04:42 CEST --- How are users supposed to know that there are updates and how to install them? packagekit reproducibly segfaults here on a fresh install every time. Is there a way to modify the repo data in a way to avoid the segfault so packagekit could at least update itself? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=685831 https://bugzilla.novell.com/show_bug.cgi?id=685831#c20 --- Comment #20 from Marcus Meissner <meissner@novell.com> 2011-05-16 14:50:46 UTC --- according to duncan when using a YOU patch, the crash does not happen. (perhaps the requirement "just a single YOU patch" thpoiugh?) nevertheless, we can start. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=685831 https://bugzilla.novell.com/show_bug.cgi?id=685831#c21 Guenter Kukkukk <linux@kukkukk.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |linux@kukkukk.com --- Comment #21 from Guenter Kukkukk <linux@kukkukk.com> 2011-05-21 03:57:24 UTC --- (In reply to comment #20)
according to duncan when using a YOU patch, the crash does not happen.
(perhaps the requirement "just a single YOU patch" thpoiugh?)
nevertheless, we can start.
I'm using KDE here. After initial 11.4 install the KDE "KPackagekit" applet was working when calling /usr/lib/packagekitd After some updates had been done (some weeks ago), the packagekitd daemon started to _always_ (!) segfault when the KDE applet was searching for updates: May 21 04:48:10 linux300 kernel: [42043.636187] packagekitd[26099]: segfault at b296d00f ip b6f30065 sp b3c31840 error 4 in libzypp.so.810.2.1[b6b5b000+4c2000] Today- this running box is on the latest update stage from Tumbleweed (21 May 2011): - Kernel 2.6.38.6-29-default - all other related updates _are_ installed I did all the updates using zypper inside a konsole. The segfault still appears! Cheers, Günter Btw - it seems to be not related to the number of outstanding updates, here the segfault is _always_ seen - even with "null" waiting updates. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=685831 https://bugzilla.novell.com/show_bug.cgi?id=685831#c22 --- Comment #22 from Duncan Mac-Vicar <dmacvicar@novell.com> 2011-05-23 08:36:49 UTC --- Thanks Guenter, but we already know that. The point we are focusing right now is if the updater crashes when there is an update marked as "restart suggested" (ie: package manager update), and it looks like it does not. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=685831 https://bugzilla.novell.com/show_bug.cgi?id=685831#c25 Swamp Workflow Management <swamp@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard|maint:running:40504:low |maint:running:40504:low | |maint:released:11.4:41044 --- Comment #25 from Swamp Workflow Management <swamp@suse.com> 2011-06-07 13:52:17 UTC --- Update released for: PackageKit, PackageKit-branding-upstream, PackageKit-browser-plugin, PackageKit-browser-plugin-debuginfo, PackageKit-debuginfo, PackageKit-debugsource, PackageKit-devel, PackageKit-doc, PackageKit-gstreamer-plugin, PackageKit-gstreamer-plugin-debuginfo, PackageKit-gtk-module, PackageKit-gtk-module-debuginfo, PackageKit-gtk3-module, PackageKit-gtk3-module-debuginfo, PackageKit-lang, libpackagekit-glib2-14, libpackagekit-glib2-14-debuginfo, libpackagekit-glib2-devel, libpackagekit-qt-devel, libpackagekit-qt14, libpackagekit-qt14-debuginfo, libpackagekit-qt2-2, libpackagekit-qt2-2-debuginfo, libpackagekit-qt2-devel Products: openSUSE 11.4 (debug, i586, x86_64) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=685831 https://bugzilla.novell.com/show_bug.cgi?id=685831#c26 Dirk Mueller <dmueller@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution| |FIXED --- Comment #26 from Dirk Mueller <dmueller@novell.com> 2011-06-07 22:14:20 CEST --- closing as fixed. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=685831 https://bugzilla.novell.com/show_bug.cgi?id=685831#c Swamp Workflow Management <swamp@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard|maint:running:40504:low |maint:released:11.4:41044 |maint:released:11.4:41044 | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com