[Bug 813176] New: Installing updates takes very long time to start (gpk-update-view takes more than 9 minutes of CPU)
https://bugzilla.novell.com/show_bug.cgi?id=813176 https://bugzilla.novell.com/show_bug.cgi?id=813176#c0 Summary: Installing updates takes very long time to start (gpk-update-view takes more than 9 minutes of CPU) Classification: openSUSE Product: openSUSE 12.3 Version: Final Platform: i686 OS/Version: openSUSE 12.3 Status: NEW Severity: Major Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: Ulrich.Windl@rz.uni-regensburg.de QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux i686; rv:19.0) Gecko/20100101 Firefox/19.0 In GNOME I accepted to install updates, but it seems the update process never starts. When using top I found out that gpk-update-view uses all the CPU for minutes: top - 14:13:08 up 19 min, 3 users, load average: 2,43, 2,86, 2,18 Tasks: 169 total, 6 running, 163 sleeping, 0 stopped, 0 zombie %Cpu(s): 84,8 us, 12,6 sy, 2,3 ni, 0,0 id, 0,0 wa, 0,0 hi, 0,3 si, 0,0 st KiB Mem: 1027200 total, 951120 used, 76080 free, 59096 buffers KiB Swap: 2621436 total, 18056 used, 2603380 free, 403668 cached PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 3831 wiu02524 20 0 246m 47m 11m R 72,1 4,7 9:46.76 gpk-update-view (I thought we finally got rid of rug and that extremely slow update-status, but now it seems to be back with a new name) Reproducible: Didn't try Steps to Reproduce: 1. Accept the offer to install updates. Actual Results: Nothing seems to happen (but gpk-update-view eats a lot of CPU for minutes) Expected Results: Something (reasonable) should happen within a few seconds This "feature" seems to be new in 12.3: 12.2 didn't have that (or it never worked to display updates) While entering the bug, CPU usage continued: PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 3831 wiu02524 20 0 254m 55m 11m R 61,2 5,5 12:10.11 gpk-update-view -- 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=813176
https://bugzilla.novell.com/show_bug.cgi?id=813176#c1
--- Comment #1 from Ulrich Windl
https://bugzilla.novell.com/show_bug.cgi?id=813176
https://bugzilla.novell.com/show_bug.cgi?id=813176#c2
--- Comment #2 from Ulrich Windl
https://bugzilla.novell.com/show_bug.cgi?id=813176
https://bugzilla.novell.com/show_bug.cgi?id=813176#c
Xiaolong Li
https://bugzilla.novell.com/show_bug.cgi?id=813176
https://bugzilla.novell.com/show_bug.cgi?id=813176#c3
--- Comment #3 from Ulrich Windl
https://bugzilla.novell.com/show_bug.cgi?id=813176
https://bugzilla.novell.com/show_bug.cgi?id=813176#c
Ulrich Windl
https://bugzilla.novell.com/show_bug.cgi?id=813176
https://bugzilla.novell.com/show_bug.cgi?id=813176#c4
--- Comment #4 from Ulrich Windl
https://bugzilla.novell.com/show_bug.cgi?id=813176
https://bugzilla.novell.com/show_bug.cgi?id=813176#c
Ulrich Windl
https://bugzilla.novell.com/show_bug.cgi?id=813176
https://bugzilla.novell.com/show_bug.cgi?id=813176#c5
Aaron Titus
https://bugzilla.novell.com/show_bug.cgi?id=813176
https://bugzilla.novell.com/show_bug.cgi?id=813176#c6
Jan Matejek
https://bugzilla.novell.com/show_bug.cgi?id=813176
https://bugzilla.novell.com/show_bug.cgi?id=813176#c7
Dominique Leuenberger
https://bugzilla.novell.com/show_bug.cgi?id=813176
https://bugzilla.novell.com/show_bug.cgi?id=813176#c8
--- Comment #8 from Dominique Leuenberger
https://bugzilla.novell.com/show_bug.cgi?id=813176
https://bugzilla.novell.com/show_bug.cgi?id=813176#c9
--- Comment #9 from Dominique Leuenberger
https://bugzilla.novell.com/show_bug.cgi?id=813176
https://bugzilla.novell.com/show_bug.cgi?id=813176#c10
--- Comment #10 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=813176
https://bugzilla.novell.com/show_bug.cgi?id=813176#c11
Michael Catanzaro
https://bugzilla.novell.com/show_bug.cgi?id=813176
https://bugzilla.novell.com/show_bug.cgi?id=813176#c12
Benjamin Brunner
https://bugzilla.novell.com/show_bug.cgi?id=813176
https://bugzilla.novell.com/show_bug.cgi?id=813176#c13
--- Comment #13 from Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=813176
https://bugzilla.novell.com/show_bug.cgi?id=813176#c14
Jean Delvare
https://bugzilla.novell.com/show_bug.cgi?id=813176
https://bugzilla.novell.com/show_bug.cgi?id=813176#c15
--- Comment #15 from Ulrich Windl
From strace It seems that the program periodically reads in PNG images, queries for system time, but does not do anything reasonable: [...] gettimeofday({1380697802, 527021}, NULL) = 0 gettimeofday({1380697802, 527072}, NULL) = 0 gettimeofday({1380697802, 527125}, NULL) = 0 gettimeofday({1380697802, 527177}, NULL) = 0 gettimeofday({1380697802, 527229}, NULL) = 0 gettimeofday({1380697802, 527281}, NULL) = 0 gettimeofday({1380697802, 527333}, NULL) = 0 gettimeofday({1380697802, 527385}, NULL) = 0 close(13) = 0 gettimeofday({1380697802, 530467}, NULL) = 0 lstat64("/usr/share/gnome-packagekit/icons/hicolor/22x22/status/pk-package-installed.png", {st_mode=S_IFREG|0644, st_size=695, ...}) = 0 gettimeofday({1380697802, 531077}, NULL) = 0 open("/usr/share/gnome-packagekit/icons/hicolor/22x22/status/pk-package-installed.png", O_RDONLY|O_LARGEFILE) = 13 fstat64(13, {st_mode=S_IFREG|0644, st_size=695, ...}) = 0 read(13, "\211PNG\r\n\32\n\0\0\0\rIHDR\0\0\0\26\0\0\0\26\10\6\0\0\0\304\264l"..., 65536) = 695 read(13, "", 65536) = 0 gettimeofday({1380697802, 531433}, NULL) = 0 gettimeofday({1380697802, 531543}, NULL) = 0 gettimeofday({1380697802, 531598}, NULL) = 0 gettimeofday({1380697802, 531650}, NULL) = 0 gettimeofday({1380697802, 531702}, NULL) = 0 gettimeofday({1380697802, 531754}, NULL) = 0 gettimeofday({1380697802, 531805}, NULL) = 0 gettimeofday({1380697802, 531857}, NULL) = 0 gettimeofday({1380697802, 531909}, NULL) = 0 gettimeofday({1380697802, 531961}, NULL) = 0 gettimeofday({1380697802, 532013}, NULL) = 0 gettimeofday({1380697802, 532065}, NULL) = 0 gettimeofday({1380697802, 532117}, NULL) = 0 gettimeofday({1380697802, 532169}, NULL) = 0 gettimeofday({1380697802, 532221}, NULL) = 0 gettimeofday({1380697802, 532272}, NULL) = 0 [...]
A stack trace looks line this: #0 0xb6f6f629 in g_param_spec_pool_lookup () from /usr/lib/libgobject-2.0.so.0 #1 0xb6f6a9ea in g_object_get_valist () from /usr/lib/libgobject-2.0.so.0 #2 0xb6f6adc8 in g_object_get () from /usr/lib/libgobject-2.0.so.0 #3 0xb72e2d00 in ?? () from /usr/lib/libgtk-3.so.0 #4 0xb6e8f322 in g_hash_table_foreach () from /usr/lib/libglib-2.0.so.0 #5 0xb72e2c45 in ?? () from /usr/lib/libgtk-3.so.0 #6 0xb72e851b in ?? () from /usr/lib/libgtk-3.so.0 #7 0xb73c9d8b in ?? () from /usr/lib/libgtk-3.so.0 #8 0xb6f61a57 in ?? () from /usr/lib/libgobject-2.0.so.0 #9 0xb6f633d1 in ?? () from /usr/lib/libgobject-2.0.so.0 #10 0xb6f7c85d in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0 #11 0xb6f7d2a3 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0 #12 0xb72e496e in gtk_cell_area_apply_attributes () from /usr/lib/libgtk-3.so.0 #13 0xb75037f6 in gtk_tree_view_column_cell_set_cell_data () from /usr/lib/libgtk-3.so.0 #14 0xb74e8356 in ?? () from /usr/lib/libgtk-3.so.0 #15 0xb74eda62 in ?? () from /usr/lib/libgtk-3.so.0 #16 0xb74ee15c in ?? () from /usr/lib/libgtk-3.so.0 #17 0xb7189cee in ?? () from /usr/lib/libgdk-3.so.0 #18 0xb6e9cb00 in ?? () from /usr/lib/libglib-2.0.so.0 #19 0xb6e9f8b3 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #20 0xb6e9fc50 in ?? () from /usr/lib/libglib-2.0.so.0 #21 0xb6e9fd31 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #22 0xb70b12ec in g_application_run () from /usr/lib/libgio-2.0.so.0 #23 0x0804fd27 in ?? () #24 0xb6cda525 in __libc_start_main () from /lib/libc.so.6 #25 0x0804fe4d in ?? () (gdb) info threads Id Target Id Frame 3 Thread 0xb4910b40 (LWP 25674) "gdbus" 0xb6d94401 in fts_build () from /lib/libc.so.6 2 Thread 0xb3fa2b40 (LWP 25675) "dconf worker" 0xb6d94401 in fts_build () from /lib/libc.so.6 * 1 Thread 0xb4cdd880 (LWP 25673) "gpk-update-view" 0xb6f6f629 in g_param_spec_pool_lookup () from /usr/lib/libgobject-2.0.so.0 -- 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=813176
https://bugzilla.novell.com/show_bug.cgi?id=813176#c16
--- Comment #16 from Dominique Leuenberger
Unfortunately with gnome-packagekit-3.6.1-3.6.2.i586 things seem to work a little better, but still the application seems to hang with 100% CPU usage. From strace It seems that the program periodically reads in PNG images, queries for system time, but does not do anything reasonable:
Please check what 'pkmon' says 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=813176
https://bugzilla.novell.com/show_bug.cgi?id=813176#c17
Jean Delvare
https://bugzilla.novell.com/show_bug.cgi?id=813176
https://bugzilla.novell.com/show_bug.cgi?id=813176#c
Jean Delvare
https://bugzilla.novell.com/show_bug.cgi?id=813176
https://bugzilla.novell.com/show_bug.cgi?id=813176#c18
--- Comment #18 from Ulrich Windl
Please check what 'pkmon' says as well. Thanks, didn't know about that. I'll try when there seems to be a problem again. (Today was just one update and that worked)
-- 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=813176
https://bugzilla.novell.com/show_bug.cgi?id=813176#c19
--- Comment #19 from Ulrich Windl
https://bugzilla.novell.com/show_bug.cgi?id=813176
https://bugzilla.novell.com/show_bug.cgi?id=813176#c20
--- Comment #20 from Ulrich Windl
https://bugzilla.novell.com/show_bug.cgi?id=813176
https://bugzilla.novell.com/show_bug.cgi?id=813176#c21
--- Comment #21 from Ulrich Windl
https://bugzilla.novell.com/show_bug.cgi?id=813176
https://bugzilla.novell.com/show_bug.cgi?id=813176#c22
--- Comment #22 from Dominique Leuenberger
https://bugzilla.novell.com/show_bug.cgi?id=813176
https://bugzilla.novell.com/show_bug.cgi?id=813176#c23
--- Comment #23 from Ulrich Windl
https://bugzilla.novell.com/show_bug.cgi?id=813176
https://bugzilla.novell.com/show_bug.cgi?id=813176#c24
Ulrich Windl
https://bugzilla.novell.com/show_bug.cgi?id=813176
https://bugzilla.novell.com/show_bug.cgi?id=813176#c25
--- Comment #25 from Ulrich Windl
https://bugzilla.novell.com/show_bug.cgi?id=813176
https://bugzilla.novell.com/show_bug.cgi?id=813176#c26
--- Comment #26 from Ulrich Windl
https://bugzilla.novell.com/show_bug.cgi?id=813176
https://bugzilla.novell.com/show_bug.cgi?id=813176#c27
Dominique Leuenberger
https://bugzilla.novell.com/show_bug.cgi?id=813176
https://bugzilla.novell.com/show_bug.cgi?id=813176#c28
--- Comment #28 from Ulrich Windl
https://bugzilla.novell.com/show_bug.cgi?id=813176
https://bugzilla.novell.com/show_bug.cgi?id=813176#c29
--- Comment #29 from Ulrich Windl
participants (1)
-
bugzilla_noreply@novell.com