Bug 265123

Summary: PolicyKit1-KDE sometimes crashes when shutting down
Product: [Plasma] policykit-kde-agent-1 Reporter: Tom <thomasbelvin>
Component: polkit-kde-authentication-agent-1Assignee: Jaroslav Reznik <jreznik>
Status: RESOLVED DUPLICATE    
Severity: crash CC: alessandro_tedesco, alienisty, andresbajotierra, biasquez, c.w.j.lemmens, linuxhippy, sendel2000, sven.burmeister, syedibrahim
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi

Description Tom 2011-02-01 20:32:11 UTC
Application: polkit-kde-authentication-agent-1 (0.99.0)
KDE Platform Version: 4.6.00 (4.6.0)
Qt Version: 4.7.1
Operating System: Linux 2.6.38-0.rc2.git7.1.fc15.i686 i686
Distribution (Platform): Fedora RPMs

-- Information about the crash:
- What I was doing when the application crashed:
Sometimes I get a crash warning when shutting down computer from KDE with Fedora Rawhide.

The crash can be reproduced some of the time.

-- Backtrace:
Application: PolicyKit1-KDE (polkit-kde-authentication-agent-1), signal: Segmentation fault
[Current thread is 1 (Thread 0xb77429b0 (LWP 1867))]

Thread 3 (Thread 0xb5786b70 (LWP 1980)):
#0  0x00f16416 in __kernel_vsyscall ()
#1  0x4cde599e in __poll (fds=0xb4e029c0, nfds=3, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0x458d1dec in g_poll (fds=0xb4e029c0, nfds=3, timeout=-1) at gpoll.c:132
#3  0x458c2eb6 in g_main_context_poll (n_fds=3, fds=0xb4e029c0, timeout=<value optimized out>, context=0x9e5c928, priority=<value optimized out>) at gmain.c:3404
#4  g_main_context_iterate (context=0x9e5c928, block=1166876096, dispatch=1, self=<value optimized out>) at gmain.c:3086
#5  0x458c36bb in g_main_loop_run (loop=0x9e5c918) at gmain.c:3299
#6  0x45ae71e2 in gdbus_shared_thread_func (data=0x0) at gdbusprivate.c:276
#7  0x458eab35 in g_thread_create_proxy (data=0x9e5c9b8) at gthread.c:1897
#8  0x4ceb2c90 in start_thread (arg=0xb5786b70) at pthread_create.c:301
#9  0x4cdefe9e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 2 (Thread 0xb4c30b70 (LWP 23316)):
#0  0x00f16416 in __kernel_vsyscall ()
#1  0x4ceb97eb in read () at ../sysdeps/unix/syscall-template.S:82
#2  0x458c46af in read (__nbytes=20, __buf=0xb4c30258, __fd=<value optimized out>) at /usr/include/bits/unistd.h:45
#3  child_watch_helper_thread (data=0x0) at gmain.c:4293
#4  0x458eab35 in g_thread_create_proxy (data=0x9e6a358) at gthread.c:1897
#5  0x4ceb2c90 in start_thread (arg=0xb4c30b70) at pthread_create.c:301
#6  0x4cdefe9e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 1 (Thread 0xb77429b0 (LWP 1867)):
[KCrash Handler]
#7  g_type_check_instance_is_a (type_instance=0xb4e00f20, iface_type=80) at gtype.c:3957
#8  0x459b1666 in g_object_unref (_object=0xb4e00f20) at gobject.c:2668
#9  0x460a8453 in polkit_agent_session_finalize (object=0x9f69320 [PolkitAgentSession]) at polkitagentsession.c:127
#10 0x459b17f5 in g_object_unref (_object=0x9f69320) at gobject.c:2734
#11 0x460b4071 in PolkitQt1::Agent::Session::Private::~Private (this=0x9f64478, __in_chrg=<value optimized out>) at /usr/src/debug/polkit-qt-1-0.99.0/agent/polkitqt1-agent-session.cpp:49
#12 0x460b40b5 in PolkitQt1::Agent::Session::~Session (this=0x9f268a8, __in_chrg=<value optimized out>) at /usr/src/debug/polkit-qt-1-0.99.0/agent/polkitqt1-agent-session.cpp:77
#13 0x460b4113 in PolkitQt1::Agent::Session::~Session (this=0x9f268a8, __in_chrg=<value optimized out>) at /usr/src/debug/polkit-qt-1-0.99.0/agent/polkitqt1-agent-session.cpp:78
#14 0x45cd0d74 in qDeleteInEventHandler (o=0x9f268a8) at kernel/qobject.cpp:3980
#15 0x45cd6358 in QObject::event (this=0x9f268a8, e=0x9d96638) at kernel/qobject.cpp:1194
#16 0x465b9594 in notify_helper (e=0x9d96638, receiver=0x9f268a8, this=0x9d9f620) at kernel/qapplication.cpp:4445
#17 QApplicationPrivate::notify_helper (this=0x9d9f620, receiver=0x9f268a8, e=0x9d96638) at kernel/qapplication.cpp:4417
#18 0x465be8b5 in QApplication::notify (this=0x9d96638, receiver=0x9f268a8, e=0x9d96638) at kernel/qapplication.cpp:4192
#19 0x4711bf02 in KApplication::notify (this=0xbfcbc21c, receiver=0x9f268a8, event=0x9d96638) at /usr/src/debug/kdelibs-4.6.0/kdeui/kernel/kapplication.cpp:311
#20 0x45cbdd1e in QCoreApplication::notifyInternal (this=0xbfcbc21c, receiver=0x9f268a8, event=0x9d96638) at kernel/qcoreapplication.cpp:732
#21 0x45cc1558 in sendEvent (event=<value optimized out>, receiver=<value optimized out>) at kernel/qcoreapplication.h:215
#22 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=52, data=0x9d7fc78) at kernel/qcoreapplication.cpp:1373
#23 0x45cc171d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=52) at kernel/qcoreapplication.cpp:1266
#24 0x45cc17fe in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1016
#25 0x465b73a5 in QApplication::exec () at kernel/qapplication.cpp:3719
#26 0x080509f7 in main (argc=166485448, argv=0x9f5d108) at /usr/src/debug/polkit-kde-agent-1-0.99.0/main.cpp:44

Reported using DrKonqi
Comment 1 alienisty 2011-02-02 03:08:30 UTC
Created attachment 56773 [details]
New crash information added by DrKonqi

polkit-kde-authentication-agent-1 (0.97.1) on KDE Platform 4.6.00 (4.6.0) using Qt 4.7.0

- What I was doing when the application crashed:

While restarting the system this crash report has been prompted.

-- Backtrace (Reduced):
#7  0x074350d0 in g_type_check_instance_is_a () from /usr/lib/libgobject-2.0.so.0
#8  0x0741a4bc in g_object_unref () from /usr/lib/libgobject-2.0.so.0
[...]
#10 0x0741a654 in g_object_unref () from /usr/lib/libgobject-2.0.so.0
#11 0x002d5a30 in PolkitQt1::Agent::Session::Private::~Private() () from /usr/lib/libpolkit-qt-agent-1.so.1
#12 0x002d5c74 in PolkitQt1::Agent::Session::~Session() () from /usr/lib/libpolkit-qt-agent-1.so.1
Comment 2 sendel 2011-02-03 11:30:18 UTC
Created attachment 56820 [details]
New crash information added by DrKonqi

polkit-kde-authentication-agent-1 (0.97.1) on KDE Platform 4.6.00 (4.6.0) using Qt 4.7.0

- What I was doing when the application crashed: when shutdown. Kubuntu 10.10 Kde 4.6 from backports

-- Backtrace (Reduced):
#7  0xb5b456c0 in g_type_check_instance_is_a () from /usr/lib/libgobject-2.0.so.0
#8  0xb5b2a7fc in g_object_unref () from /usr/lib/libgobject-2.0.so.0
[...]
#10 0xb5b2a994 in g_object_unref () from /usr/lib/libgobject-2.0.so.0
#11 0xb7308a30 in PolkitQt1::Agent::Session::Private::~Private() () from /usr/lib/libpolkit-qt-agent-1.so.1
#12 0xb7308c74 in PolkitQt1::Agent::Session::~Session() () from /usr/lib/libpolkit-qt-agent-1.so.1
Comment 3 omega 2011-02-08 19:57:50 UTC
Created attachment 56997 [details]
New crash information added by DrKonqi

polkit-kde-authentication-agent-1 (0.99.0) on KDE Platform 4.6.00 (4.6.0) using Qt 4.7.1

- What I was doing when the application crashed:

Sometimes I get a crash warning when shutting down computer from KDE with Kubuntu 11.04

-- Backtrace (Reduced):
#6  g_type_check_instance_is_a (type_instance=0x22c2080, iface_type=<value optimized out>) at /build/buildd/glib2.0-2.27.93/gobject/gtype.c:3957
#7  0x00007f10a525fceb in g_object_unref (_object=0x22c2080) at /build/buildd/glib2.0-2.27.93/gobject/gobject.c:2668
[...]
#9  0x00007f10a525fe34 in g_object_unref (_object=0x22f4ea0) at /build/buildd/glib2.0-2.27.93/gobject/gobject.c:2734
#10 0x00007f10a9326be4 in PolkitQt1::Agent::Session::~Session() () from /usr/lib/libpolkit-qt-agent-1.so.1
#11 0x00007f10a9326c29 in PolkitQt1::Agent::Session::~Session() () from /usr/lib/libpolkit-qt-agent-1.so.1
Comment 4 SK 2011-02-09 12:24:10 UTC
Created attachment 57014 [details]
New crash information added by DrKonqi

polkit-kde-authentication-agent-1 (0.97.1) on KDE Platform 4.6.00 (4.6.0) using Qt 4.7.0

- What I was doing when the application crashed:

was about to shut down my pc.
i clicked the turn off button. the black screen appeared. then it showed that the "polkit-kde-authentication-agent-1 (0.97.1)" has crashed.

-- Backtrace (Reduced):
#7  0x006a90d0 in g_type_check_instance_is_a () from /usr/lib/libgobject-2.0.so.0
#8  0x0068e4bc in g_object_unref () from /usr/lib/libgobject-2.0.so.0
[...]
#10 0x0068e654 in g_object_unref () from /usr/lib/libgobject-2.0.so.0
#11 0x0012da30 in PolkitQt1::Agent::Session::Private::~Private() () from /usr/lib/libpolkit-qt-agent-1.so.1
#12 0x0012dc74 in PolkitQt1::Agent::Session::~Session() () from /usr/lib/libpolkit-qt-agent-1.so.1
Comment 5 Clemens Eisserer 2011-02-10 00:36:05 UTC
Created attachment 57069 [details]
New crash information added by DrKonqi

polkit-kde-authentication-agent-1 (0.99.0) on KDE Platform 4.6.00 (4.6.0) using Qt 4.7.1

- What I was doing when the application crashed:

Just shut down the computer, when policykit crashed.

-- Backtrace (Reduced):
#7  g_type_check_instance_is_a (type_instance=0xb4e00f20, iface_type=80) at gtype.c:3941
#8  0x00da2fad in g_object_unref (_object=0xb4e00f20) at gobject.c:2629
#9  0x0080a420 in polkit_agent_session_finalize (object=0x9da2f58 [PolkitAgentSession]) at polkitagentsession.c:127
#10 0x00da313c in g_object_unref (_object=0x9da2f58) at gobject.c:2695
#11 0x0083c071 in PolkitQt1::Agent::Session::Private::~Private (this=0x9cff190, __in_chrg=<value optimized out>) at /usr/src/debug/polkit-qt-1-0.99.0/agent/polkitqt1-agent-session.cpp:49
Comment 6 S. Burmeister 2011-02-14 23:58:00 UTC
Created attachment 57263 [details]
New crash information added by DrKonqi

polkit-kde-authentication-agent-1 (0.99.0) on KDE Platform 4.6.00 (4.6.0) using Qt 4.7.1

- What I was doing when the application crashed:

While shutting down KDE policykit crashed.

-- Backtrace (Reduced):
#7  g_type_check_instance_is_a (type_instance=0x817c820, iface_type=80) at gtype.c:3957
#8  0xb5b0bf9d in g_object_unref (_object=0x817c820) at gobject.c:2668
#9  0xb59bb880 in polkit_agent_session_finalize (object=0x8140e70) at polkitagentsession.c:127
#10 0xb5b0c11d in g_object_unref (_object=0x8140e70) at gobject.c:2734
#11 0xb73c5dbe in PolkitQt1::Agent::Session::Private::~Private (this=0x815f0e0, __in_chrg=<value optimized out>) at /usr/src/debug/polkit-qt-1-0.99.1/agent/polkitqt1-agent-session.cpp:49
Comment 7 C W J Lemmens 2011-02-15 21:53:22 UTC
FYI: I am using Slackware current with the latest KDE 4.5.5 and QT 4.7.0 and I can confirm that exactly the system is happening on my 2 systems (both 64-bit slack). Not always but quite often at logout and always very annoying :-)
Comment 8 Dario Andres 2011-02-19 23:42:52 UTC
[Comment from a bug triager]
This issue is being tracked at bug 258916. Merging. Thanks

*** This bug has been marked as a duplicate of bug 258916 ***
Comment 9 alessandro_tedesco 2011-07-26 00:08:19 UTC
Created attachment 62189 [details]
New crash information added by DrKonqi

polkit-kde-authentication-agent-1 (0.99.0) on KDE Platform 4.6.2 (4.6.2) using Qt 4.7.2

- What I was doing when the application crashed: I was just shutting down the computer, and sometimes it happens that policy gives this error.

-- Backtrace (Reduced):
#7  0x05db0998 in g_type_check_instance_is_a () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#8  0x05d8b7fc in g_object_unref () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
[...]
#10 0x05d8b98c in g_object_unref () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#11 0x00dbebb0 in PolkitQt1::Agent::Session::Private::~Private() () from /usr/lib/libpolkit-qt-agent-1.so.1
#12 0x00dbebf4 in PolkitQt1::Agent::Session::~Session() () from /usr/lib/libpolkit-qt-agent-1.so.1