[Bug 807513] New: gpk-update-viewer uses CPU but never completes
https://bugzilla.novell.com/show_bug.cgi?id=807513 https://bugzilla.novell.com/show_bug.cgi?id=807513#c0 Summary: gpk-update-viewer uses CPU but never completes Classification: openSUSE Product: openSUSE 12.3 Version: RC 2 Platform: x86-64 OS/Version: SUSE Other Status: NEW Severity: Normal Priority: P5 - None Component: GNOME AssignedTo: bnc-team-gnome@forge.provo.novell.com ReportedBy: jdelvare@suse.com QAContact: qa-bugs@suse.de Found By: Community User Blocker: --- Gnome tells me updates are available, I ask for them to be installed, but it never completes. In "top" I see that gpk-update-viewer is using a lot of CPU (around 86%) and memory (173 MB resident after 20 minutes, 255 MB resident avec 30 minutes) but it never completes. Note that it did not ask me for a password, while I expected it to do. I attached gdb to the process and here's the backtrace I got: #0 0x00007fd0267534f1 in g_slice_alloc () from /usr/lib64/libglib-2.0.so.0 #1 0x00007fd02670defa in g_array_sized_new () from /usr/lib64/libglib-2.0.so.0 #2 0x00007fd0278c603e in ?? () from /usr/lib64/libgtk-3.so.0 #3 0x00007fd0278c63ce in ?? () from /usr/lib64/libgtk-3.so.0 #4 0x00007fd0278c7415 in gtk_style_context_save () from /usr/lib64/libgtk-3.so.0 #5 0x00007fd02794aa91 in ?? () from /usr/lib64/libgtk-3.so.0 #6 0x00007fd02783ffff in ?? () from /usr/lib64/libgtk-3.so.0 #7 0x00007fd02796b78e in ?? () from /usr/lib64/libgtk-3.so.0 #8 0x00007fd0269f7cf7 in ?? () from /usr/lib64/libgobject-2.0.so.0 #9 0x00007fd026a10416 in g_signal_emit_valist () from /usr/lib64/libgobject-2.0.so.0 #10 0x00007fd026a10f82 in g_signal_emit () from /usr/lib64/libgobject-2.0.so.0 #11 0x00007fd02796ec6c in ?? () from /usr/lib64/libgtk-3.so.0 #12 0x00007fd027979865 in gtk_widget_send_expose () from /usr/lib64/libgtk-3.so.0 #13 0x00007fd02783fdf8 in gtk_main_do_event () from /usr/lib64/libgtk-3.so.0 #14 0x00007fd0274354d0 in ?? () from /usr/lib64/libgdk-3.so.0 #15 0x00007fd02743547a in ?? () from /usr/lib64/libgdk-3.so.0 #16 0x00007fd02743547a in ?? () from /usr/lib64/libgdk-3.so.0 #17 0x00007fd02743547a in ?? () from /usr/lib64/libgdk-3.so.0 #18 0x00007fd027434906 in ?? () from /usr/lib64/libgdk-3.so.0 #19 0x00007fd027434da8 in gdk_window_process_all_updates () #20 0x00007fd027434e19 in ?? () from /usr/lib64/libgdk-3.so.0 #21 0x00007fd027418410 in ?? () from /usr/lib64/libgdk-3.so.0 #22 0x00007fd0267387d5 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0 #23 0x00007fd026738b08 in ?? () from /usr/lib64/libglib-2.0.so.0 #24 0x00007fd026738bc4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #25 0x00007fd02713fe5c in g_application_run () from /usr/lib64/libgio-2.0.so.0 #26 0x000000000040a538 in ?? () #27 0x00007fd026146a15 in __libc_start_main () from /lib64/libc.so.6 #28 0x000000000040a661 in ?? () However if I try again I get a different backtrace so apparently it's not stuck at a single point in the code but rather looping over a larger portion. The last common point between all backtraces seems to be: 0x00007fd027418410 in gdk_threads_dispatch (data=0x133b180) at gdk.c:788 Let me know what information I can provide to help you debug this further. "zypper up" works just fine so I believe the problem is specific to gpk. -- 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=807513
https://bugzilla.novell.com/show_bug.cgi?id=807513#c1
--- Comment #1 from Jean Delvare
https://bugzilla.novell.com/show_bug.cgi?id=807513
https://bugzilla.novell.com/show_bug.cgi?id=807513#c2
Dominique Leuenberger
https://bugzilla.novell.com/show_bug.cgi?id=807513
https://bugzilla.novell.com/show_bug.cgi?id=807513#c3
--- Comment #3 from Jean Delvare
https://bugzilla.novell.com/show_bug.cgi?id=807513
https://bugzilla.novell.com/show_bug.cgi?id=807513#c4
Guido Berhörster
The verbosity of the app is clearly an issue...
very likely, it is not stuck, but is actually busy.
Check the output of: pkmon (packagekit monitor) tail -f /var/log/pk_backend_zypp
Those should reveal activity...
Can you confirm this?
I ran into this on another box running 12.3 over the weekend (I cannot reproduce it on my own boxes or a vm), it looks like gpk-update-viewer getting into a busy loop redrawing its ui, packagekit is not doing anything and not directly involved. -- 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=807513
https://bugzilla.novell.com/show_bug.cgi?id=807513#c5
--- Comment #5 from Guido Berhörster
https://bugzilla.novell.com/show_bug.cgi?id=807513
https://bugzilla.novell.com/show_bug.cgi?id=807513#c6
--- Comment #6 from Guido Berhörster
https://bugzilla.novell.com/show_bug.cgi?id=807513
https://bugzilla.novell.com/show_bug.cgi?id=807513#c7
--- Comment #7 from Guido Berhörster
https://bugzilla.novell.com/show_bug.cgi?id=807513
https://bugzilla.novell.com/show_bug.cgi?id=807513#c8
Jean Delvare
https://bugzilla.novell.com/show_bug.cgi?id=807513
https://bugzilla.novell.com/show_bug.cgi?id=807513#c9
--- Comment #9 from Jean Delvare
Check the output of: pkmon (packagekit monitor)
Transactions: [none] daemon connected=0 daemon connected=1 network status=online daemon connected=0 And nothing more.
tail -f /var/log/pk_backend_zypp
Last 5 messages are: 2013-06-19 10:36:25 <1> tarya.delvare(1558) [zypp] librpmDb.cc(blockAccess):328 Block access 2013-06-19 10:36:25 <1> tarya.delvare(1558) [zypp] RpmDb.cc(closeDatabase):741 closeDatabase: RpmDb[NO_INIT] 2013-06-19 10:36:25 <1> tarya.delvare(1558) [zypp] TargetImpl.cc(~TargetImpl):816 Targets closed 2013-06-19 10:36:25 <1> tarya.delvare(1558) [zypp] RpmDb.cc(~RpmDb):242 ~RpmDb() 2013-06-19 10:36:25 <1> tarya.delvare(1558) [zypp] RpmDb.cc(~RpmDb):245 ~RpmDb() end And no more messages are added after that.
Those should reveal activity...
Can you confirm this?
This would confirm that the issue is purely graphical and not related to package management at all. -- 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=807513
https://bugzilla.novell.com/show_bug.cgi?id=807513#c10
--- Comment #10 from Jean Delvare
https://bugzilla.novell.com/show_bug.cgi?id=807513
https://bugzilla.novell.com/show_bug.cgi?id=807513#c11
--- Comment #11 from Jean Delvare
https://bugzilla.novell.com/show_bug.cgi?id=807513
https://bugzilla.novell.com/show_bug.cgi?id=807513#c12
Michael Catanzaro
https://bugzilla.novell.com/show_bug.cgi?id=807513
https://bugzilla.novell.com/show_bug.cgi?id=807513#c13
--- Comment #13 from Jean Delvare
https://bugzilla.novell.com/show_bug.cgi?id=807513
https://bugzilla.novell.com/show_bug.cgi?id=807513#c14
Jean Delvare
participants (1)
-
bugzilla_noreply@novell.com