Bug 254300

Summary: polkit crash at 2nd shutdown after install polkit test of koji-buildID=200509
Product: [I don't know] kde Reporter: collura
Component: generalAssignee: Jaroslav Reznik <jreznik>
Status: RESOLVED DOWNSTREAM    
Severity: crash CC: collura
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description collura 2010-10-15 21:13:17 UTC
Application: polkit-kde-authentication-agent-1 (0.1)
KDE Platform Version: 4.5.2 (KDE 4.5.2)
Qt Version: 4.7.0
Operating System: Linux 2.6.35.6-43.fc14.x86_64 x86_64
Distribution (Platform): Fedora RPMs

-- Information about the crash:
- What I was doing when the application crashed:
tracker bug for crash of test package of polkit koji-buildID=200509

downloaded package and debuginfo package

installed by yum --upgrade $packagenames

rebooted

successfully got an authentication window to popup and was actually able to install a new package (reason for patch)

when shutdown machine got this crash

filing this report for reference since another person also reported crash on first reboot.  maybe a different bug since had polkit crashes before this update.

-- Backtrace:
Application: PolicyKit1-KDE (polkit-kde-authentication-agent-1), signal: Segmentation fault
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7f23b4cd0840 (LWP 2373))]

Thread 3 (Thread 0x7f23a7b1f700 (LWP 2385)):
#0  0x00007f23b3d4d883 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x0000003d27642374 in g_main_context_poll (context=0x7bb2c0, block=1, dispatch=1, self=<value optimized out>) at gmain.c:3093
#2  g_main_context_iterate (context=0x7bb2c0, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2775
#3  0x0000003d27642c82 in g_main_loop_run (loop=0x7bb3a0) at gmain.c:2988
#4  0x0000003d34ca5774 in gdbus_shared_thread_func (data=<value optimized out>) at gdbusprivate.c:277
#5  0x0000003d27669446 in g_thread_create_proxy (data=0x7bb3c0) at gthread.c:1897
#6  0x00007f23b42a1d5b in start_thread (arg=0x7f23a7b1f700) at pthread_create.c:301
#7  0x00007f23b3d5727d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7f23a731e700 (LWP 2604)):
#0  g_atomic_int_get (atomic=0x7bb310) at gatomic-gcc.c:64
#1  0x0000003d27643af8 in g_main_context_wakeup (context=0x7bb2c0) at gmain.c:3399
#2  0x0000003d27643cc8 in child_watch_helper_thread (data=<value optimized out>) at gmain.c:4025
#3  0x0000003d27669446 in g_thread_create_proxy (data=0x876ef0) at gthread.c:1897
#4  0x00007f23b42a1d5b in start_thread (arg=0x7f23a731e700) at pthread_create.c:301
#5  0x00007f23b3d5727d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7f23b4cd0840 (LWP 2373)):
[KCrash Handler]
#6  magazine_chain_pop_head (mem_size=32) at gslice.c:492
#7  thread_memory_magazine1_alloc (mem_size=32) at gslice.c:795
#8  g_slice_alloc (mem_size=32) at gslice.c:833
#9  0x0000003d27627225 in g_data_set_internal (datalist=0x85ee90, key_id=56, data=0x6b57a0, destroy_func=0x3d2920f530 <g_object_notify_queue_free>) at gdataset.c:401
#10 g_datalist_id_set_data_full (datalist=0x85ee90, key_id=56, data=0x6b57a0, destroy_func=0x3d2920f530 <g_object_notify_queue_free>) at gdataset.c:598
#11 0x0000003d29211a42 in g_object_notify_queue_freeze (object=0x85ee80 [GDBusMessage], property_name=<value optimized out>) at gobjectnotifyqueue.c:77
#12 g_object_notify_by_spec_internal (object=0x85ee80 [GDBusMessage], property_name=<value optimized out>) at gobject.c:970
#13 g_object_notify (object=0x85ee80 [GDBusMessage], property_name=<value optimized out>) at gobject.c:1013
#14 0x0000003d34c93ed9 in g_dbus_connection_send_message_unlocked (connection=0x7b2900 [GDBusConnection], message=0x85ee80, flags=<value optimized out>, out_serial=0x0, error=<value optimized out>) at gdbusconnection.c:1454
#15 0x0000003d34c94210 in remove_match_rule (connection=0x7b2900 [GDBusConnection], subscription_id=3, out_removed_subscribers=0x7f23a0001420) at gdbusconnection.c:3040
#16 unsubscribe_id_internal (connection=0x7b2900 [GDBusConnection], subscription_id=3, out_removed_subscribers=0x7f23a0001420) at gdbusconnection.c:3260
#17 0x0000003d34c9974d in g_dbus_connection_signal_unsubscribe (connection=0x7b2900 [GDBusConnection], subscription_id=3) at gdbusconnection.c:3295
#18 0x0000003d34ca3259 in g_dbus_proxy_finalize (object=0x7bf050 [GDBusProxy]) at gdbusproxy.c:148
#19 0x0000003d2920f2f4 in g_object_unref (_object=0x7bf050) at gobject.c:2695
#20 0x0000003d35409baa in polkit_authority_finalize (object=0x7af5c0 [PolkitAuthority]) at polkitauthority.c:161
#21 0x0000003d2920f2f4 in g_object_unref (_object=0x7af5c0) at gobject.c:2695
#22 0x00007f23b46ce3db in PolkitQt1::Authority::~Authority (this=0x84df20, __in_chrg=<value optimized out>) at /usr/src/debug/polkit-qt-1-0.96.1/core/polkitqt1-authority.cpp:158
#23 0x00007f23b46ce429 in PolkitQt1::Authority::~Authority (this=0x84df20, __in_chrg=<value optimized out>) at /usr/src/debug/polkit-qt-1-0.96.1/core/polkitqt1-authority.cpp:162
#24 0x00007f23b46d1f1a in ~AuthorityHelper (this=0x7f23b48dad18, __in_chrg=<value optimized out>) at /usr/src/debug/polkit-qt-1-0.96.1/core/polkitqt1-authority.cpp:39
#25 QGlobalStaticDeleter<PolkitQt1::AuthorityHelper>::~QGlobalStaticDeleter (this=0x7f23b48dad18, __in_chrg=<value optimized out>) at /usr/include/QtCore/qglobal.h:1810
#26 0x00007f23b3caa9c1 in __run_exit_handlers (status=0) at exit.c:78
#27 exit (status=0) at exit.c:100
#28 0x00007f23b3c91e84 in __libc_start_main (main=0x408450 <main(int, char**)>, argc=1, ubp_av=0x7fff6ca0ccc8, init=<value optimized out>, fini=<value optimized out>, rtld_fini=<value optimized out>, stack_end=0x7fff6ca0ccb8) at libc-start.c:258
#29 0x0000000000406f89 in _start ()

Reported using DrKonqi
Comment 1 collura 2010-10-15 21:34:13 UTC
closing this bug as duplicate of https://bugs.kde.org/show_bug.cgi?id=254150

filed since happened after the downstream fix and wanted to have a report on it available.

see also:

https://bugs.kde.org/show_bug.cgi?id=254175

which was closed as duplicate of

https://bugs.kde.org/show_bug.cgi?id=254150

which was closed as 'fix is downstream'
Comment 2 collura 2010-10-15 21:43:40 UTC
note: 

https://admin.fedoraproject.org/updates/polkit-qt-0.96.1-3.fc14?_csrf_token=8be42b62a36bb16534787af5019f45bb5f439383


Anonymous Tester - 2010-10-15 19:42:50
installed the polkit-qt-0.96.1-3.fc14 (x86_64) and polkit-qt-debug-0.96.1-3.fc14 (x86_64) then shutdown/rebooted (no crash) then on reboot installed a package (yay it worked) because i actually got the authentication window so was able to complete an install of a package then reboot (crashed on way down so filed https://bugs.kde.org/show_bug.cgi?id=254300 ) then rebooted and installed packages various times and had no further crashes at reboots. so not sure if completely fixed but definitely improved. the crashes were intermitant beforehand (https://bugs.kde.org/show_bug.cgi?id=254175 (closed as duplicate of 254150))