Bug 251667

Summary: polkit-kde authentification agent is crashing on reboot
Product: [Plasma] policykit-kde-agent-1 Reporter: Balcaen John <balcaen.john>
Component: polkit-kde-authentication-agent-1Assignee: Jaroslav Reznik <jreznik>
Status: RESOLVED DUPLICATE    
Severity: crash CC: kde
Priority: NOR    
Version: trunk   
Target Milestone: ---   
Platform: Mandriva RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Balcaen John 2010-09-18 14:57:29 UTC
Version:           trunk (using Devel) 
OS:                Linux

Polkit-kde is crashing when i'm choosing to reboot my workstation.

Reproducible: Always

Steps to Reproduce:
Ask for a reboot

Actual Results:  
polkit-kde is crashing

Expected Results:  
it should not crash on reboot

Application: polkit-kde-authentication-agent-1 (0.1)                                      
KDE Platform Version: 4.5.68 (4.6 >= 20100912)                                            
Qt Version: 4.7.0                                                                         
Operating System: Linux 2.6.35.4-desktop-1mnb x86_64                                      
Distribution: "Mandriva Linux 2010.1"                                                     
                                                                                          
-- Information about the crash:                                                           
- What I was doing when the application crashed:                                          
                                                                                          
The crash can be reproduced every time.                                                   
                                                                                          
-- Backtrace:                                                                             
Application: PolicyKit1-KDE (polkit-kde-authentication-agent-1), signal: Segmentation fault                                                                                         
[Current thread is 1 (Thread 0x7fc5ecdc5720 (LWP 4757))]                                  
                                                                                          
Thread 2 (Thread 0x7fc5dc949710 (LWP 4761)):                                              
#0  0x00007fc5e8c11c64 in __lll_lock_wait () from /lib64/libpthread.so.0                  
#1  0x00007fc5e8c0d0c5 in _L_lock_824 () from /lib64/libpthread.so.0                      
#2  0x00007fc5e8c0cf97 in pthread_mutex_lock () from /lib64/libpthread.so.0               
#3  0x00007fc5e829e2c5 in g_datalist_id_set_data_full (datalist=0x7fc5d8003f10, key_id=53, data=0x0, destroy_func=0) at gdataset.c:588                                              
#4  0x00007fc5e803590f in g_object_real_dispose (object=0x7fc5d8003f00 [GSimpleAsyncResult]) at gobject.c:769                                                                       
#5  0x00007fc5e8035b4a in g_object_unref (_object=0x7fc5d8003f00) at gobject.c:2543       
#6  0x00007fc5e7db64d3 in read_with_control_data_free (data=0x7fc5d80072e0) at gdbusprivate.c:122                                                                                   
#7  0x00007fc5e82b682e in g_source_callback_unref (cb_data=0x7fc5d8007100) at gmain.c:1152
#8  0x00007fc5e82b6d8a in g_source_destroy_internal (source=0x7fc5d8005040, context=0x1357280, have_lock=1) at gmain.c:931                                                          
#9  0x00007fc5e82ba441 in g_main_dispatch (context=0x1357280) at gmain.c:2144             
#10 g_main_context_dispatch (context=0x1357280) at gmain.c:2672                           
#11 0x00007fc5e82babb0 in g_main_context_iterate (context=0x1357280, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2750                                               
#12 0x00007fc5e82bb222 in g_main_loop_run (loop=0x13592f0) at gmain.c:2958                
#13 0x00007fc5e7db6614 in shared_thread_func (data=<value optimized out>) at gdbusprivate.c:248                                                                                     
#14 0x00007fc5e82e1c66 in g_thread_create_proxy (data=0x1357360) at gthread.c:1897        
#15 0x00007fc5e8c0aa5d in start_thread () from /lib64/libpthread.so.0                     
#16 0x00007fc5ea7cd15d in clone () from /lib64/libc.so.6                                  
#17 0x0000000000000000 in ?? ()                                                           
                                                                                          
Thread 1 (Thread 0x7fc5ecdc5720 (LWP 4757)):                                              
[KCrash Handler]                                                                          
#6  0x00007fc5e829e458 in g_data_set_internal (datalist=0x1194eb0, key_id=53, data=0x0, destroy_func=0) at gdataset.c:319                                                           
#7  g_datalist_id_set_data_full (datalist=0x1194eb0, key_id=53, data=0x0, destroy_func=0) at gdataset.c:592                                                                         
#8  0x00007fc5e8035b9a in g_object_unref (_object=0x1194ea0) at gobject.c:2567            
#9  0x00007fc5ec342630 in PolkitQt1::Agent::Listener::~Listener (this=0x1340d90, __in_chrg=<value optimized out>) at /usr/src/debug/polkit-qt-1-0.96.1/agent/polkitqt1-agent-listener.cpp:69                                                                                  
#10 0x00000000004079c5 in PolicyKitListener::~PolicyKitListener (this=0x1340d90, __in_chrg=<value optimized out>) at /usr/src/debug/polkit-kde-1-0.95.1/agent/policykitlistener.cpp:42                                                                                        
#11 0x00007fc5ebb5d1a4 in QObjectPrivate::deleteChildren (this=0x11945b0) at kernel/qobject.cpp:1949                                                                                
#12 0x00007fc5ebb61ce2 in QObject::~QObject (this=0x7fff16d5db70, __in_chrg=<value optimized out>) at kernel/qobject.cpp:945                                                        
#13 0x00007fc5eaf22e89 in QApplication::~QApplication (this=0x7fff16d5db70, __in_chrg=<value optimized out>) at kernel/qapplication.cpp:1031                                        
#14 0x000000000040893e in main (argc=<value optimized out>, argv=<value optimized out>) at /usr/src/debug/polkit-kde-1-0.95.1/agent/main.cpp:42
Comment 1 Christoph Feck 2010-09-25 20:11:35 UTC

*** This bug has been marked as a duplicate of bug 248636 ***