Bugzilla – Bug 394408
package kit crashes after updating some packages
Last modified: 2008-05-31 05:21:46 UTC
for no apparent reason package kit triggers a bug buddy report after updating some packages. See attached bug buddy report
Created attachment 218047 [details] bug buddy report
Notebook: Fujitsu Siemens Amilo Si 1520 Graphics: Fujitsu Siemens Mobile 945GM/GMS/GME, 943/940GML Express Monitor: QUANTADISPLAY LCD Monitor 1280x800@60Hz Wireless: Intel PRO/Wireless 3945ABG Network Connection Sound: 82801G (ICH7 Family) High Definition Audio Controller Desktop: gnome-desktop-2.22.1-22 YaST GUI: yast2-qt-2.16.50-2 OS: openSUSE 11.0 (i586) Beta3plus VERSION = 11.0 Kernel: 2.6.25.4-6-pae gnome-packagekit-0.2.1-10
The bug buddy report does not contain a stack trace. Could you... 1. Install the debuginfo and debugsource packages for PackageKit and gnome-packagekit from http://download.opensuse.org/distribution/SL-OSS-factory-debug/inst-source-debug/suse/i586/ 2. kill the existing instance and run it in the debugger and send the backtrace "killall gpk-update-icon" "gdb gpk-update-icon" "run" (when it crashes) "bt"
workstation6l:/home/casualprogrammer # killall gpk-update-icon gpk-update-icon: no process killed workstation6l:/home/casualprogrammet # gdb gpk-update-icon GNU gdb 6.8 Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i586-suse-linux"... (no debugging symbols found) (gdb) gpk-update-icon Undefined command: "gpk-update-icon". Try "help". (gdb) run Starting program: /usr/bin/gpk-update-icon (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) [Thread debugging using libthread_db enabled] [New Thread 0xb72c28d0 (LWP 6418)] ** ERROR **: Could not connect to system DBUS. aborting... Program received signal SIGABRT, Aborted. [Switching to Thread 0xb72c28d0 (LWP 6418)] 0xffffe430 in __kernel_vsyscall () (gdb) bt #0 0xffffe430 in __kernel_vsyscall () #1 0xb7355900 in raise () from /lib/libc.so.6 #2 0xb7357238 in abort () from /lib/libc.so.6 #3 0xb74db11a in g_logv () from /usr/lib/libglib-2.0.so.0 #4 0xb74db156 in g_log () from /usr/lib/libglib-2.0.so.0 #5 0xb7eb75ba in pk_polkit_client_init (pclient=0x806f518) at pk-polkit-client.c:210 #6 0xb757fdb5 in g_type_create_instance () from /usr/lib/libgobject-2.0.so.0 #7 0xb75653a5 in ?? () from /usr/lib/libgobject-2.0.so.0 #8 0xb7565b66 in g_object_newv () from /usr/lib/libgobject-2.0.so.0 #9 0xb7566727 in g_object_new_valist () from /usr/lib/libgobject-2.0.so.0 #10 0xb756689e in g_object_new () from /usr/lib/libgobject-2.0.so.0 #11 0xb7eb707e in pk_polkit_client_new () at pk-polkit-client.c:248 #12 0xb7eb3d1d in pk_client_init (client=0x80ad828) at pk-client.c:3612 #13 0xb757fdb5 in g_type_create_instance () from /usr/lib/libgobject-2.0.so.0 #14 0xb75653a5 in ?? () from /usr/lib/libgobject-2.0.so.0 #15 0xb7565b66 in g_object_newv () from /usr/lib/libgobject-2.0.so.0 #16 0xb7566727 in g_object_new_valist () from /usr/lib/libgobject-2.0.so.0 #17 0xb756689e in g_object_new () from /usr/lib/libgobject-2.0.so.0 #18 0xb7ead3fe in pk_client_new () at pk-client.c:3734 #19 0x08057cfd in ?? () #20 0xb757fdb5 in g_type_create_instance () from /usr/lib/libgobject-2.0.so.0 #21 0xb75653a5 in ?? () from /usr/lib/libgobject-2.0.so.0 ---Type <return> to continue, or q <return> to quit--- #22 0xb7565b66 in g_object_newv () from /usr/lib/libgobject-2.0.so.0 #23 0xb7566727 in g_object_new_valist () from /usr/lib/libgobject-2.0.so.0 #24 0xb756689e in g_object_new () from /usr/lib/libgobject-2.0.so.0 #25 0x0805538e in ?? () #26 0x08054a9a in ?? () #27 0xb757fdb5 in g_type_create_instance () from /usr/lib/libgobject-2.0.so.0 #28 0xb75653a5 in ?? () from /usr/lib/libgobject-2.0.so.0 #29 0xb7565b66 in g_object_newv () from /usr/lib/libgobject-2.0.so.0 #30 0xb7566727 in g_object_new_valist () from /usr/lib/libgobject-2.0.so.0 #31 0xb756689e in g_object_new () from /usr/lib/libgobject-2.0.so.0 #32 0x0805442e in ?? () #33 0x0804d87b in ?? () #34 0xb73415f5 in __libc_start_main () from /lib/libc.so.6 #35 0x0804d5f1 in ?? () (gdb) (gdb) (gdb) quit The program is running. Exit anyway? (y or n) y workstation6l:/home/antonyarendt # killall gpk-update-icon gpk-update-icon: no process killed workstation6l:/home/antonyarendt # gdb gpk-update-icon GNU gdb 6.8 Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i586-suse-linux"... (no debugging symbols found) (gdb) run Starting program: /usr/bin/gpk-update-icon (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) [Thread debugging using libthread_db enabled] [New Thread 0xb722c8d0 (LWP 6432)] ** ERROR **: Could not connect to system DBUS. aborting... Program received signal SIGABRT, Aborted. [Switching to Thread 0xb722c8d0 (LWP 6432)] 0xffffe430 in __kernel_vsyscall () (gdb) run The program being debugged has been started already. Start it from the beginning? (y or n) n Program not restarted. (gdb) bt #0 0xffffe430 in __kernel_vsyscall () #1 0xb72bf900 in raise () from /lib/libc.so.6 #2 0xb72c1238 in abort () from /lib/libc.so.6 #3 0xb744511a in g_logv () from /usr/lib/libglib-2.0.so.0 #4 0xb7445156 in g_log () from /usr/lib/libglib-2.0.so.0 #5 0xb7e215ba in pk_polkit_client_init (pclient=0x806f518) at pk-polkit-client.c:210 #6 0xb74e9db5 in g_type_create_instance () from /usr/lib/libgobject-2.0.so.0 #7 0xb74cf3a5 in ?? () from /usr/lib/libgobject-2.0.so.0 #8 0xb74cfb66 in g_object_newv () from /usr/lib/libgobject-2.0.so.0 #9 0xb74d0727 in g_object_new_valist () from /usr/lib/libgobject-2.0.so.0 #10 0xb74d089e in g_object_new () from /usr/lib/libgobject-2.0.so.0 #11 0xb7e2107e in pk_polkit_client_new () at pk-polkit-client.c:248 #12 0xb7e1dd1d in pk_client_init (client=0x80ad828) at pk-client.c:3612 #13 0xb74e9db5 in g_type_create_instance () from /usr/lib/libgobject-2.0.so.0 #14 0xb74cf3a5 in ?? () from /usr/lib/libgobject-2.0.so.0 #15 0xb74cfb66 in g_object_newv () from /usr/lib/libgobject-2.0.so.0 #16 0xb74d0727 in g_object_new_valist () from /usr/lib/libgobject-2.0.so.0 #17 0xb74d089e in g_object_new () from /usr/lib/libgobject-2.0.so.0 #18 0xb7e173fe in pk_client_new () at pk-client.c:3734 #19 0x08057cfd in ?? () #20 0xb74e9db5 in g_type_create_instance () from /usr/lib/libgobject-2.0.so.0 #21 0xb74cf3a5 in ?? () from /usr/lib/libgobject-2.0.so.0 ---Type <return> to continue, or q <return> to quit--- #22 0xb74cfb66 in g_object_newv () from /usr/lib/libgobject-2.0.so.0 #23 0xb74d0727 in g_object_new_valist () from /usr/lib/libgobject-2.0.so.0 #24 0xb74d089e in g_object_new () from /usr/lib/libgobject-2.0.so.0 #25 0x0805538e in ?? () #26 0x08054a9a in ?? () #27 0xb74e9db5 in g_type_create_instance () from /usr/lib/libgobject-2.0.so.0 #28 0xb74cf3a5 in ?? () from /usr/lib/libgobject-2.0.so.0 #29 0xb74cfb66 in g_object_newv () from /usr/lib/libgobject-2.0.so.0 #30 0xb74d0727 in g_object_new_valist () from /usr/lib/libgobject-2.0.so.0 #31 0xb74d089e in g_object_new () from /usr/lib/libgobject-2.0.so.0 #32 0x0805442e in ?? () #33 0x0804d87b in ?? () #34 0xb72ab5f5 in __libc_start_main () from /lib/libc.so.6 #35 0x0804d5f1 in ?? () (gdb)
*** Bug 395445 has been marked as a duplicate of this bug. ***
heh - comment #4 is an artificial crash caused by running "gdb gpk-update-icon" as root. Dont run as root.
Well I thought debugging had to be done as root, never mind. Running as root shouldn't cause a crash, artificial nor otherwise. Will repeat as normal user then. :~> killall gpk-update-icon gpk-update-icon: no process killed :~> gdb gpk-update-icon GNU gdb 6.8 Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i586-suse-linux"... (gdb) run Starting program: /usr/bin/gpk-update-icon [Thread debugging using libthread_db enabled] [New Thread 0xb71468d0 (LWP 13473)] ------------------------------------------------------------------------ At this point message box opens "Failed to reset client. Failed to reset get-updates. Close" Pressing Close then is followed by: ------------------------------------------------------------------------ Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0xb71468d0 (LWP 13473)] 0x00000000 in ?? () (gdb) bt #0 0x00000000 in ?? () #1 0x00000000 in ?? () (gdb) q The program is running. Exit anyway? (y or n) y
As mentioned on IRC this behavior is seen on every login. gnome-packagekit-0.2.1-10 gnome-packagekit-debugsource-0.2.1-10 gnome-packagekit-debuginfo-0.2.1-10
Closing this one as duplicate of the bug on http://en.opensuse.org/Bugs:Most_Annoying_Bugs_11.0_dev *** This bug has been marked as a duplicate of bug 395445 ***
What kind of game playing is this ? I already marked Bug 395445 as duplicate of this one - Bug 394408 - in comment #5, this has been redone by jpr on grounds I can not anticipate. As far as house rules are concerened, newer bugs get to be duplicates of older bugs, not vice versa. 394408 < 395445 if I am not mistaken!