Bug 258033

Summary: policy kit crash on logout
Product: [I don't know] kde Reporter: ian.fardoe
Component: generalAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: bugs
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description ian.fardoe 2010-11-27 02:17:06 UTC
Application: polkit-kde-authentication-agent-1 (0.1)
KDE Platform Version: 4.5.3 (KDE 4.5.3)
Qt Version: 4.7.1
Operating System: Linux 2.6.37-6-generic x86_64
Distribution: Ubuntu natty (development branch)

-- Information about the crash:
trying to logout of kde to shutdown.
errors shown on lack of permissions to write to configuration file.

The crash can be reproduced every time.

-- Backtrace:
Application: PolicyKit1-KDE (polkit-kde-authentication-agent-1), signal: Bus error
[Current thread is 1 (Thread 0x7ff458d66800 (LWP 2582))]

Thread 4 (Thread 0x7ff447f5a710 (LWP 2587)):
#0  0x00007ff455c20203 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007ff453b0c8e0 in g_main_context_poll (context=0x2138d40, block=<value optimized out>, dispatch=1, self=<value optimized out>) at /build/buildd/glib2.0-2.27.3/glib/gmain.c:3215
#2  g_main_context_iterate (context=0x2138d40, block=<value optimized out>, dispatch=1, self=<value optimized out>) at /build/buildd/glib2.0-2.27.3/glib/gmain.c:2897
#3  0x00007ff453b0d1ba in g_main_loop_run (loop=0x2138e20) at /build/buildd/glib2.0-2.27.3/glib/gmain.c:3110
#4  0x00007ff4546cfa34 in gdbus_shared_thread_func (data=<value optimized out>) at /build/buildd/glib2.0-2.27.3/gio/gdbusprivate.c:276
#5  0x00007ff453b33bc4 in g_thread_create_proxy (data=0x2138e40) at /build/buildd/glib2.0-2.27.3/glib/gthread.c:1897
#6  0x00007ff457579971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#7  0x00007ff455c2c94d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7ff446f1e710 (LWP 4182)):
#0  0x00007ff457580b8d in read () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007ff453b0e23b in read (data=<value optimized out>) at /usr/include/bits/unistd.h:45
#2  child_watch_helper_thread (data=<value optimized out>) at /build/buildd/glib2.0-2.27.3/glib/gmain.c:4104
#3  0x00007ff453b33bc4 in g_thread_create_proxy (data=0x2266c10) at /build/buildd/glib2.0-2.27.3/glib/gthread.c:1897
#4  0x00007ff457579971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#5  0x00007ff455c2c94d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7ff444845710 (LWP 4183)):
#0  __lll_unlock_wake () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:366
#1  0x00007ff45757cd66 in _L_unlock_696 () from /lib/libpthread.so.0
#2  0x00007ff45757cca3 in __pthread_mutex_unlock_usercnt (mutex=0x2295e68) at pthread_mutex_unlock.c:52
#3  __pthread_mutex_unlock (mutex=0x2295e68) at pthread_mutex_unlock.c:290
#4  0x00007ff453b0b7cf in g_main_context_prepare (context=0x2295e60, priority=0x7ff444844c0c) at /build/buildd/glib2.0-2.27.3/glib/gmain.c:2616
#5  0x00007ff453b0c764 in g_main_context_iterate (context=0x2295e60, block=1, dispatch=1, self=<value optimized out>) at /build/buildd/glib2.0-2.27.3/glib/gmain.c:2882
#6  0x00007ff453b0ce09 in g_main_context_iteration (context=0x2295e60, may_block=1) at /build/buildd/glib2.0-2.27.3/glib/gmain.c:2965
#7  0x00007ff457913f26 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#8  0x00007ff4578e8362 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#9  0x00007ff4578e859c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#10 0x00007ff4577ff274 in QThread::exec() () from /usr/lib/libQtCore.so.4
#11 0x00007ff4578ca82f in ?? () from /usr/lib/libQtCore.so.4
#12 0x00007ff457801a2e in ?? () from /usr/lib/libQtCore.so.4
#13 0x00007ff457579971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#14 0x00007ff455c2c94d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#15 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ff458d66800 (LWP 2582)):
[KCrash Handler]
#6  g_data_set_internal (datalist=0x205eab0, key_id=53, data=0x0, destroy_func=0) at /build/buildd/glib2.0-2.27.3/glib/gdataset.c:325
#7  g_datalist_id_set_data_full (datalist=0x205eab0, key_id=53, data=0x0, destroy_func=0) at /build/buildd/glib2.0-2.27.3/glib/gdataset.c:598
#8  0x00007ff4543d4dfa in g_object_unref (_object=0x205eaa0) at /build/buildd/glib2.0-2.27.3/gobject/gobject.c:2700
#9  0x00007ff458352660 in PolkitQt1::Agent::Listener::~Listener() () from /usr/lib/libpolkit-qt-agent-1.so.0
#10 0x00000000004079b5 in _start ()

This bug may be a duplicate of or related to bug 248636.

Possible duplicates by query: bug 256462, bug 254300, bug 254124, bug 254089, bug 252595.

Reported using DrKonqi
Comment 1 Christoph Feck 2010-11-27 03:02:13 UTC

*** This bug has been marked as a duplicate of bug 248636 ***
Comment 2 Eric Thiele 2010-12-02 22:10:29 UTC
Created attachment 54008 [details]
New crash information added by DrKonqi

polkit-kde-authentication-agent-1 (0.1) on KDE Platform 4.5.4 (KDE 4.5.4) using Qt 4.7.1

- What I was dong when the application crashed:
logout from kde

-- Backtrace (Reduced):
#6  g_data_set_internal (datalist=0x14296b0, key_id=54, data=0x0, destroy_func=0) at gdataset.c:325
#7  g_datalist_id_set_data_full (datalist=0x14296b0, key_id=54, data=0x0, destroy_func=0) at gdataset.c:598
#8  0x00007fa76d906164 in g_object_unref (_object=<value optimized out>) at gobject.c:2684
#9  0x00007fa7720e7e40 in PolkitQt1::Agent::Listener::~Listener (this=0x156e780, __in_chrg=<value optimized out>) at /var/tmp/portage/sys-auth/polkit-qt-0.96.1/work/polkit-qt-1-0.96.1/agent/polkitqt1-agent-listener.cpp:69
#10 0x00000000004086a5 in PolicyKitListener::~PolicyKitListener (this=0x156e780, __in_chrg=<value optimized out>) at /var/tmp/portage/sys-auth/polkit-kde-0.95.1-r1/work/polkit-kde-1-0.95.1/agent/policykitlistener.cpp:42