Bug 258916 - PolicyKit1-KDE (polkit-kde-authentication-agent-1) crash on shutdown [g_type_check_instance_is_a, g_object_unref, ..., PolkitQt1::Agent::Session::Private::~Private]
Summary: PolicyKit1-KDE (polkit-kde-authentication-agent-1) crash on shutdown [g_type_...
Status: CLOSED FIXED
Alias: None
Product: policykit-kde-agent-1
Classification: Plasma
Component: polkit-kde-authentication-agent-1 (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Jaroslav Reznik
URL:
Keywords:
: 259009 259227 265010 265123 265152 266324 267771 268261 268337 268616 269625 269847 270013 270172 270398 270905 272048 272747 272748 273492 273512 273625 273986 274241 274451 274614 275027 275208 275471 275886 275961 276087 276591 276728 276980 277092 277181 277243 277255 277778 277787 278241 278408 279773 279816 279920 280366 280547 280788 280866 280898 281558 281940 282171 282239 282247 282352 282725 282883 282937 282997 283007 283189 283585 283702 283941 284026 284079 284343 284379 284399 284497 284501 284716 284734 285144 285265 285318 285335 285354 285524 285593 285779 285946 286214 286339 286407 286586 287239 287376 287497 287498 287503 287711 287751 287790 287796 287808 287886 287999 288013 288061 288245 289141 289225 289278 289323 289557 289690 289824 290906 294802 294914 300588 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-12-05 15:45 UTC by omega
Modified: 2012-05-25 09:52 UTC (History)
168 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (4.11 KB, text/plain)
2010-12-14 18:54 UTC, Bruno Friedmann
Details
New crash information added by DrKonqi (4.60 KB, text/plain)
2011-01-12 18:24 UTC, Robby Engelmann
Details
New crash information added by DrKonqi (4.45 KB, text/plain)
2011-01-13 05:47 UTC, James Cain
Details
New crash information added by DrKonqi (3.39 KB, text/plain)
2011-01-17 16:40 UTC, Domingos Teruel
Details
New crash information added by DrKonqi (4.29 KB, text/plain)
2011-01-24 20:20 UTC, Roman N. Krivov
Details
New crash information added by DrKonqi (5.08 KB, text/plain)
2011-01-27 18:22 UTC, Bill Gong
Details
New crash information added by DrKonqi (4.19 KB, text/plain)
2011-01-28 17:46 UTC, Oleg Andreych
Details
New crash information added by DrKonqi (4.43 KB, text/plain)
2011-01-30 00:22 UTC, Martin Karing
Details
New crash information added by DrKonqi (5.08 KB, text/plain)
2011-01-31 08:18 UTC, Jonathan R
Details
New crash information added by DrKonqi (5.89 KB, text/plain)
2011-02-05 03:27 UTC, omega
Details
drkonqi crash report (3.35 KB, text/plain)
2011-02-27 18:35 UTC, modulistic
Details
New crash information added by DrKonqi (4.92 KB, text/plain)
2011-03-11 18:29 UTC, xejakig884
Details
New crash information added by DrKonqi (5.87 KB, text/plain)
2011-03-12 01:56 UTC, Andreas
Details
New crash information added by DrKonqi (4.39 KB, text/plain)
2011-03-23 23:50 UTC, omega
Details
New crash information added by DrKonqi (4.00 KB, text/plain)
2011-04-11 14:15 UTC, Diego
Details
New crash information added by DrKonqi (3.54 KB, text/plain)
2011-04-29 19:29 UTC, Johan Persson
Details
New crash information added by DrKonqi (4.95 KB, text/plain)
2011-05-04 19:50 UTC, bosstw
Details
New crash information added by DrKonqi (4.91 KB, text/plain)
2011-05-06 17:56 UTC, pop_sux
Details
New crash information added by DrKonqi (5.19 KB, text/plain)
2011-05-08 02:40 UTC, bernard.cluzel
Details
New crash information added by DrKonqi (4.88 KB, text/plain)
2011-05-24 17:00 UTC, Vassaux Fabien
Details
New crash information added by DrKonqi (5.88 KB, text/plain)
2011-05-26 19:05 UTC, Francisco Gonzalez
Details
New crash information added by DrKonqi (4.40 KB, text/plain)
2011-05-28 23:33 UTC, Volker Kuhlmann
Details
DrKonqui's crash information (4.01 KB, text/plain)
2011-05-30 16:43 UTC, Wonko
Details
New crash information added by DrKonqi (4.21 KB, text/plain)
2011-05-30 21:03 UTC, Bruno Friedmann
Details
New crash information added by DrKonqi (5.00 KB, text/plain)
2011-05-31 20:04 UTC, token
Details
New crash information added by DrKonqi (4.81 KB, text/plain)
2011-06-06 08:47 UTC, Bruno Friedmann
Details
New crash information added by DrKonqi (5.31 KB, text/plain)
2011-06-14 22:22 UTC, Joan
Details
New crash information added by DrKonqi (3.94 KB, text/plain)
2011-06-21 11:18 UTC, S. Burmeister
Details
New crash information added by DrKonqi (5.60 KB, text/plain)
2011-06-22 15:27 UTC, Thibaut Renaux
Details
New crash information added by DrKonqi (3.91 KB, text/plain)
2011-08-04 16:15 UTC, Bruno Friedmann
Details
New crash information added by DrKonqi (3.45 KB, text/plain)
2011-08-04 18:11 UTC, Jose
Details
New crash information added by DrKonqi (3.45 KB, text/plain)
2011-08-05 16:47 UTC, Pekka Karppelin
Details
New crash information added by DrKonqi (4.56 KB, text/plain)
2011-08-23 05:31 UTC, David McInnis
Details
backtrace (4.75 KB, application/octet-stream)
2011-08-23 18:35 UTC, Nikola Schnelle
Details
New crash information added by DrKonqi (4.37 KB, text/plain)
2011-08-26 19:34 UTC, leclerc.jean@hotmail.com
Details
New crash information added by DrKonqi (3.57 KB, text/plain)
2011-09-19 11:33 UTC, julian.ramos.m
Details
New crash information added by DrKonqi (4.91 KB, text/plain)
2011-10-04 22:20 UTC, quamis
Details
New crash information added by DrKonqi (5.08 KB, text/plain)
2011-10-05 01:48 UTC, Joan
Details
New crash information added by DrKonqi (5.13 KB, text/plain)
2011-10-07 09:07 UTC, David Charles Pyle
Details
New crash information added by DrKonqi (5.32 KB, text/plain)
2011-10-08 14:03 UTC, Justin
Details
New crash information added by DrKonqi (5.37 KB, text/plain)
2011-10-12 03:35 UTC, caidhliche
Details
New crash information added by DrKonqi (3.79 KB, text/plain)
2011-10-12 12:18 UTC, barthel.daniel
Details
New crash information added by DrKonqi (5.74 KB, text/plain)
2011-10-16 14:02 UTC, skomarov87
Details
New crash information added by DrKonqi (5.24 KB, text/plain)
2011-10-17 07:29 UTC, Frantisek Boranek
Details
New crash information added by DrKonqi (5.70 KB, text/plain)
2011-10-17 10:14 UTC, Flow2me
Details
New crash information added by DrKonqi (6.31 KB, text/plain)
2011-10-21 23:45 UTC, Jorge Barroso Barea
Details
New crash information added by DrKonqi (5.10 KB, text/plain)
2011-10-27 04:19 UTC, trong_c
Details
New crash information added by DrKonqi (3.73 KB, text/plain)
2011-10-31 16:48 UTC, Roland W. Jansen
Details
New crash information added by DrKonqi (5.36 KB, text/plain)
2011-11-02 08:10 UTC, poofeg
Details
New crash information added by DrKonqi (5.23 KB, text/plain)
2011-11-02 08:40 UTC, Ettore Atalan
Details
New crash information added by DrKonqi (5.08 KB, text/plain)
2011-11-03 07:57 UTC, Alexandru
Details
New crash information added by DrKonqi (5.74 KB, text/plain)
2011-11-06 04:05 UTC, yngwie
Details
New crash information added by DrKonqi (5.24 KB, text/plain)
2011-11-07 04:54 UTC, Rahul Mehta
Details
New crash information added by DrKonqi (5.26 KB, text/plain)
2011-11-07 22:41 UTC, Julien Boulay
Details
New crash information added by DrKonqi (5.10 KB, text/plain)
2011-11-16 14:22 UTC, mamor
Details
New crash information added by DrKonqi (3.66 KB, text/plain)
2011-11-20 17:23 UTC, Galeffi Christian
Details
New crash information added by DrKonqi (3.61 KB, text/plain)
2011-11-20 20:05 UTC, AlexCzar
Details
New crash information added by DrKonqi (5.75 KB, text/plain)
2011-11-20 21:22 UTC, Tempor
Details
New crash information added by DrKonqi (4.99 KB, text/plain)
2011-11-24 22:40 UTC, Ettore Atalan
Details
New crash information added by DrKonqi (5.20 KB, text/plain)
2011-11-25 20:35 UTC, blackmetalowiec
Details
New crash information added by DrKonqi (5.99 KB, text/plain)
2011-11-25 21:43 UTC, lara.kuzmina@gmail.com
Details
New crash information added by DrKonqi (3.55 KB, text/plain)
2011-11-26 19:33 UTC, Dmitry Koroktov
Details
New crash information added by DrKonqi (3.91 KB, text/plain)
2011-11-29 14:16 UTC, Venci
Details
New crash information added by DrKonqi (5.19 KB, text/plain)
2011-12-01 09:12 UTC, Marius Trandafir
Details
New crash information added by DrKonqi (3.87 KB, text/plain)
2011-12-07 14:29 UTC, for_dal
Details
New crash information added by DrKonqi (5.07 KB, text/plain)
2011-12-07 22:33 UTC, Silviu C.
Details
New crash information added by DrKonqi (4.13 KB, text/plain)
2011-12-08 22:31 UTC, Thomas
Details
compiled x64 binary with g_unref commented out (21.67 KB, application/x-bzip)
2011-12-08 23:19 UTC, Nick Shaforostoff
Details
x64 libpolkit with more logging (24.31 KB, application/x-bzip)
2011-12-09 21:21 UTC, Nick Shaforostoff
Details
New crash information added by DrKonqi (3.49 KB, text/plain)
2011-12-10 12:45 UTC, Feucht
Details
x64 libpolkit with more logging that SHOULD crash (25.02 KB, application/x-bzip)
2011-12-10 16:24 UTC, Nick Shaforostoff
Details
x64 binaries of agent and core polkit-qt libs with stricter refing (402.35 KB, application/x-bzip)
2011-12-11 17:28 UTC, Nick Shaforostoff
Details
fixed x64 polkit binaries (54.22 KB, application/x-bzip)
2011-12-11 23:06 UTC, Nick Shaforostoff
Details
New crash information added by DrKonqi (16.13 KB, text/plain)
2011-12-12 00:32 UTC, Silviu C.
Details
New crash information added by DrKonqi (3.46 KB, text/plain)
2012-01-01 04:24 UTC, sawaiborkar
Details
New crash information added by DrKonqi (5.51 KB, text/plain)
2012-01-25 12:00 UTC, Peter Schübel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description omega 2010-12-05 15:45:18 UTC
Application: polkit-kde-authentication-agent-1 (0.97.1)
KDE Platform Version: 4.5.80 (4.6 Beta1)
Qt Version: 4.7.1
Operating System: Linux 2.6.37-7-generic x86_64
Distribution: Ubuntu natty (development branch)

-- Information about the crash:
- What I was doing when the application crashed:

i had this crash on logout when i'm doing a reboot of my system

The crash does not seem to be reproducible.

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

Thread 4 (Thread 0x7f33c68bd710 (LWP 8805)):
#0  0x00007f33d5e24203 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f33d3e3b030 in g_main_context_poll (context=0x1085000, block=<value optimized out>, dispatch=1, self=<value optimized out>) at /build/buildd/glib2.0-2.27.4/glib/gmain.c:3400
#2  g_main_context_iterate (context=0x1085000, block=<value optimized out>, dispatch=1, self=<value optimized out>) at /build/buildd/glib2.0-2.27.4/glib/gmain.c:3082
#3  0x00007f33d3e3b90a in g_main_loop_run (loop=0x108a360) at /build/buildd/glib2.0-2.27.4/glib/gmain.c:3295
#4  0x00007f33d392c6c4 in gdbus_shared_thread_func (data=<value optimized out>) at /build/buildd/glib2.0-2.27.4/gio/gdbusprivate.c:276
#5  0x00007f33d3e62304 in g_thread_create_proxy (data=0x108a800) at /build/buildd/glib2.0-2.27.4/glib/gthread.c:1897
#6  0x00007f33d2bef971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#7  0x00007f33d5e3094d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f33c56c1710 (LWP 13968)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:39
#1  0x00007f33d5b465d6 in v4l1_read () from /usr/lib/libv4l1.so.0
#2  0x00007f33d86d2983 in read () from /usr/lib/libv4l/v4l1compat.so
#3  0x00007f33d3e3c98b in read (data=<value optimized out>) at /usr/include/bits/unistd.h:45
#4  child_watch_helper_thread (data=<value optimized out>) at /build/buildd/glib2.0-2.27.4/glib/gmain.c:4289
#5  0x00007f33d3e62304 in g_thread_create_proxy (data=0x162d110) at /build/buildd/glib2.0-2.27.4/glib/gthread.c:1897
#6  0x00007f33d2bef971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#7  0x00007f33d5e3094d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f33c2fbc710 (LWP 13969)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007f33c2fbba30 in ?? ()
#2  0x00007fffff3ff7b2 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 1 (Thread 0x7f33d8aaf800 (LWP 8763)):
[KCrash Handler]
#6  g_type_check_instance_is_a (type_instance=0x1089c20, iface_type=<value optimized out>) at /build/buildd/glib2.0-2.27.4/gobject/gtype.c:3941
#7  0x00007f33d3bb4cfb in g_object_unref (_object=0x1089c20) at /build/buildd/glib2.0-2.27.4/gobject/gobject.c:2648
#8  0x00007f33d34532ab in ?? () from /usr/lib/libpolkit-agent-1.so.0
#9  0x00007f33d3bb4e44 in g_object_unref (_object=0x1240980) at /build/buildd/glib2.0-2.27.4/gobject/gobject.c:2714
#10 0x00007f33d7c5dbe4 in PolkitQt1::Agent::Session::~Session() () from /usr/lib/libpolkit-qt-agent-1.so.0
#11 0x00007f33d7c5dc29 in PolkitQt1::Agent::Session::~Session() () from /usr/lib/libpolkit-qt-agent-1.so.0
#12 0x00007f33d71f2f58 in QObject::event (this=0x127dcd0, e=<value optimized out>) at kernel/qobject.cpp:1202
#13 0x00007f33d658db04 in QApplicationPrivate::notify_helper (this=0x1079c40, receiver=0x127dcd0, e=0x114c060) at kernel/qapplication.cpp:4445
#14 0x00007f33d659243a in QApplication::notify (this=<value optimized out>, receiver=0x127dcd0, e=0x114c060) at kernel/qapplication.cpp:4324
#15 0x00007f33d82b4906 in KApplication::notify (this=0x7fffff35a450, receiver=0x127dcd0, event=0x114c060) at ../../kdeui/kernel/kapplication.cpp:311
#16 0x00007f33d71def7c in QCoreApplication::notifyInternal (this=0x7fffff35a450, receiver=0x127dcd0, event=0x114c060) at kernel/qcoreapplication.cpp:732
#17 0x00007f33d71e2715 in sendEvent (receiver=0x0, event_type=52, data=0x1053a30) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#18 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=52, data=0x1053a30) at kernel/qcoreapplication.cpp:1373
#19 0x00007f33d71e29fe in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1016
#20 0x000000000040a563 in _start ()

Reported using DrKonqi
Comment 1 Pino Toscano 2010-12-06 14:43:08 UTC

*** This bug has been marked as a duplicate of bug 259009 ***
Comment 2 Pino Toscano 2010-12-06 14:44:17 UTC
*** Bug 259009 has been marked as a duplicate of this bug. ***
Comment 3 Dario Andres 2010-12-11 22:11:32 UTC
*** Bug 259227 has been marked as a duplicate of this bug. ***
Comment 4 Bruno Friedmann 2010-12-14 18:54:28 UTC
Created attachment 54554 [details]
New crash information added by DrKonqi

polkit-kde-authentication-agent-1 (0.99.0) on KDE Platform 4.5.85 (4.6 Beta2) using Qt 4.7.1

- What I was doing when the application crashed: close the kde session.
Polkit open 2 times a window asking authorization for ejecting a device not mounted by my user ( In fact, it was me which insert the cdrom and ask to open it with dolphin )

-- Backtrace (Reduced):
#6  g_type_check_instance_is_a (type_instance=0x82b2e0, iface_type=<value optimized out>) at gtype.c:3941
#7  0x00007f19f0aaa1fb in g_object_unref (_object=0x82b2e0) at gobject.c:2647
[...]
#9  0x00007f19f0aaa344 in g_object_unref (_object=0x834ea0) at gobject.c:2713
#10 0x00007f19f512edb4 in PolkitQt1::Agent::Session::~Session (this=0x996190, __in_chrg=<value optimized out>) at /usr/src/debug/polkit-qt-1-0.99.1/agent/polkitqt1-agent-session.cpp:77
#11 0x00007f19f512edf9 in PolkitQt1::Agent::Session::~Session (this=0x996190, __in_chrg=<value optimized out>) at /usr/src/debug/polkit-qt-1-0.99.1/agent/polkitqt1-agent-session.cpp:78
Comment 5 Robby Engelmann 2011-01-12 18:24:29 UTC
Created attachment 55939 [details]
New crash information added by DrKonqi

polkit-kde-authentication-agent-1 (0.97.1) on KDE Platform 4.5.95 (4.6 RC2) using Qt 4.7.0

- What I was doing when the application crashed:
I was just shutting down the system with 3 activities running and 2 stopped. I installed a few packages and worked in R before shutting down the system.

-- Backtrace (Reduced):
#7  0x00c146c0 in g_type_check_instance_is_a () from /usr/lib/libgobject-2.0.so.0
#8  0x00bf97fc in g_object_unref () from /usr/lib/libgobject-2.0.so.0
[...]
#10 0x00bf9994 in g_object_unref () from /usr/lib/libgobject-2.0.so.0
#11 0x0026da30 in PolkitQt1::Agent::Session::Private::~Private() () from /usr/lib/libpolkit-qt-agent-1.so.1
#12 0x0026dc74 in PolkitQt1::Agent::Session::~Session() () from /usr/lib/libpolkit-qt-agent-1.so.1
Comment 6 James Cain 2011-01-13 05:47:54 UTC
Created attachment 55953 [details]
New crash information added by DrKonqi

polkit-kde-authentication-agent-1 (0.97.1) on KDE Platform 4.5.95 (4.6 RC2) using Qt 4.7.0

- What I was doing when the application crashed: Selected system reboot. Crash happened immediately after.

-- Backtrace (Reduced):
#8  0x00a406c0 in g_type_check_instance_is_a () from /usr/lib/libgobject-2.0.so.0
#9  0x00a257fc in g_object_unref () from /usr/lib/libgobject-2.0.so.0
[...]
#11 0x00a25994 in g_object_unref () from /usr/lib/libgobject-2.0.so.0
#12 0x00113a30 in PolkitQt1::Agent::Session::Private::~Private() () from /usr/lib/libpolkit-qt-agent-1.so.1
#13 0x00113c74 in PolkitQt1::Agent::Session::~Session() () from /usr/lib/libpolkit-qt-agent-1.so.1
Comment 7 Domingos Teruel 2011-01-17 16:40:57 UTC
Created attachment 56132 [details]
New crash information added by DrKonqi

polkit-kde-authentication-agent-1 (0.99.0) on KDE Platform 4.5.95 (4.6 RC2) using Qt 4.7.1

When KDE send the term signal of shutdown or reboot, KDE crash unexpected.

-- Backtrace (Reduced):
#6  0x00007f4e69a1a5a8 in g_type_check_instance_is_a () from /lib64/libgobject-2.0.so.0
#7  0x00007f4e699f522b in g_object_unref () from /lib64/libgobject-2.0.so.0
[...]
#9  0x00007f4e699f5374 in g_object_unref () from /lib64/libgobject-2.0.so.0
#10 0x00007f4e6e07ddb4 in PolkitQt1::Agent::Session::~Session (this=0x899120, __in_chrg=<value optimized out>) at /usr/src/debug/polkit-qt-1-0.99.1/agent/polkitqt1-agent-session.cpp:77
#11 0x00007f4e6e07ddf9 in PolkitQt1::Agent::Session::~Session (this=0x899120, __in_chrg=<value optimized out>) at /usr/src/debug/polkit-qt-1-0.99.1/agent/polkitqt1-agent-session.cpp:78
Comment 8 Nick Shaforostoff 2011-01-23 15:26:12 UTC
happens also in the latest opensuse kde livecd build
Comment 9 Roman N. Krivov 2011-01-24 20:20:15 UTC
Created attachment 56397 [details]
New crash information added by DrKonqi

polkit-kde-authentication-agent-1 (0.97.1) on KDE Platform 4.5.95 (4.6 RC2) using Qt 4.7.0

- What I was doing when the application crashed:
Application was crashed when I reboot system

-- Backtrace (Reduced):
#7  0x00a230d0 in g_type_check_instance_is_a () from /usr/lib/libgobject-2.0.so.0
#8  0x00a084bc in g_object_unref () from /usr/lib/libgobject-2.0.so.0
[...]
#10 0x00a08654 in g_object_unref () from /usr/lib/libgobject-2.0.so.0
#11 0x009f0a30 in PolkitQt1::Agent::Session::Private::~Private() () from /usr/lib/libpolkit-qt-agent-1.so.1
#12 0x009f0c74 in PolkitQt1::Agent::Session::~Session() () from /usr/lib/libpolkit-qt-agent-1.so.1
Comment 10 Bill Gong 2011-01-27 18:22:58 UTC
Created attachment 56524 [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:

just shutdown, and I installed some packages before the last boot
I dob't know whether it will happen again if I don't install new packages. I will try
After crash, I can't shut down my computer normally, I can just only press "Power" button on my machine.

-- Backtrace (Reduced):
#6  0x081f80d0 in g_type_check_instance_is_a () from /usr/lib/libgobject-2.0.so.0
#7  0x081dd4bc in g_object_unref () from /usr/lib/libgobject-2.0.so.0
[...]
#9  0x081dd654 in g_object_unref () from /usr/lib/libgobject-2.0.so.0
#10 0x0012da30 in PolkitQt1::Agent::Session::Private::~Private() () from /usr/lib/libpolkit-qt-agent-1.so.1
#11 0x0012dc74 in PolkitQt1::Agent::Session::~Session() () from /usr/lib/libpolkit-qt-agent-1.so.1
Comment 11 Oleg Andreych 2011-01-28 17:46:12 UTC
Created attachment 56581 [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

Just shutting down my notebook

-- Backtrace (Reduced):
#7  0x04b866c0 in g_type_check_instance_is_a () from /usr/lib/libgobject-2.0.so.0
#8  0x04b6b7fc in g_object_unref () from /usr/lib/libgobject-2.0.so.0
[...]
#10 0x04b6b994 in g_object_unref () from /usr/lib/libgobject-2.0.so.0
#11 0x00b0ca30 in PolkitQt1::Agent::Session::Private::~Private() () from /usr/lib/libpolkit-qt-agent-1.so.1
#12 0x00b0cc74 in PolkitQt1::Agent::Session::~Session() () from /usr/lib/libpolkit-qt-agent-1.so.1
Comment 12 Martin Karing 2011-01-30 00:22:39 UTC
Created attachment 56639 [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:
Shutting down Kubuntu. Some applications, such as Kontact and Kopete were still running when doing so.

-- Backtrace (Reduced):
#7  0xb5bb40d0 in g_type_check_instance_is_a () from /usr/lib/libgobject-2.0.so.0
#8  0xb5b994bc in g_object_unref () from /usr/lib/libgobject-2.0.so.0
[...]
#10 0xb5b99654 in g_object_unref () from /usr/lib/libgobject-2.0.so.0
#11 0xb7376a30 in PolkitQt1::Agent::Session::Private::~Private() () from /usr/lib/libpolkit-qt-agent-1.so.1
#12 0xb7376c74 in PolkitQt1::Agent::Session::~Session() () from /usr/lib/libpolkit-qt-agent-1.so.1
Comment 13 Jonathan R 2011-01-31 08:18:01 UTC
Created attachment 56684 [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 crashes

-- Backtrace (Reduced):
#7  0x052cc6c0 in g_type_check_instance_is_a () from /usr/lib/libgobject-2.0.so.0
#8  0x052b17fc in g_object_unref () from /usr/lib/libgobject-2.0.so.0
[...]
#10 0x052b1994 in g_object_unref () from /usr/lib/libgobject-2.0.so.0
#11 0x00113a30 in PolkitQt1::Agent::Session::Private::~Private() () from /usr/lib/libpolkit-qt-agent-1.so.1
#12 0x00113c74 in PolkitQt1::Agent::Session::~Session() () from /usr/lib/libpolkit-qt-agent-1.so.1
Comment 14 omega 2011-02-05 03:27:34 UTC
Created attachment 56875 [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:

i had this crash when i do a shutdown of my system

-- Backtrace (Reduced):
#6  g_type_check_instance_is_a (type_instance=0x14db240, iface_type=<value optimized out>) at /build/buildd/glib2.0-2.27.93/gobject/gtype.c:3957
#7  0x00007fb6cb216ceb in g_object_unref (_object=0x14db240) at /build/buildd/glib2.0-2.27.93/gobject/gobject.c:2668
[...]
#9  0x00007fb6cb216e34 in g_object_unref (_object=0x151a6a0) at /build/buildd/glib2.0-2.27.93/gobject/gobject.c:2734
#10 0x00007fb6cf2debe4 in PolkitQt1::Agent::Session::~Session() () from /usr/lib/libpolkit-qt-agent-1.so.1
#11 0x00007fb6cf2dec29 in PolkitQt1::Agent::Session::~Session() () from /usr/lib/libpolkit-qt-agent-1.so.1
Comment 15 Dario Andres 2011-02-19 23:42:43 UTC
[Comment from a bug triager]
From bug 265123:
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 16 Dario Andres 2011-02-19 23:42:52 UTC
*** Bug 265123 has been marked as a duplicate of this bug. ***
Comment 17 Dario Andres 2011-02-19 23:42:59 UTC
*** Bug 265152 has been marked as a duplicate of this bug. ***
Comment 18 Dario Andres 2011-02-19 23:43:03 UTC
*** Bug 266324 has been marked as a duplicate of this bug. ***
Comment 19 Jaroslav Reznik 2011-02-21 13:43:42 UTC
Indeed, it's really annoying behaviour, I'm sorry, but I can't reproduce it anymore with current glib, gdbus, polkit and polkit-qt stack.

Could you share versions available on your systems?
Comment 20 modulistic 2011-02-27 18:35:08 UTC
Created attachment 57555 [details]
drkonqi crash report
Comment 21 modulistic 2011-02-27 18:36:52 UTC
I can confirm this is happening on OpenSUSE 11.4 RC2
I have attached a drkonqi report:

polkit-kde-authentication-agent-1-20110227-165917.kcrash
Comment 22 Dario Andres 2011-03-08 15:26:37 UTC
[Comment from a bug triager]
From 267771:
- What I was doing when the application crashed: Reboot my PC. Non-standart
config: Raster output in Qt settings. With X11 output works fine for me.
Comment 23 Dario Andres 2011-03-08 15:26:43 UTC
*** Bug 267771 has been marked as a duplicate of this bug. ***
Comment 24 xejakig884 2011-03-11 18:29:01 UTC
Created attachment 57876 [details]
New crash information added by DrKonqi

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

- What I was doing when the application crashed:

Had just run aptitude and upgraded several packages. When the upgrade had finished and with the terminal still open I rebooted. A crash warning and an option to report it appeared.

-- Backtrace (Reduced):
#7  0x01a7d998 in g_type_check_instance_is_a () from /usr/lib/libgobject-2.0.so.0
#8  0x01a587fc in g_object_unref () from /usr/lib/libgobject-2.0.so.0
[...]
#10 0x01a5898c in g_object_unref () from /usr/lib/libgobject-2.0.so.0
#11 0x00614bb0 in PolkitQt1::Agent::Session::Private::~Private() () from /usr/lib/libpolkit-qt-agent-1.so.1
#12 0x00614bf4 in PolkitQt1::Agent::Session::~Session() () from /usr/lib/libpolkit-qt-agent-1.so.1
Comment 25 Andreas 2011-03-12 01:56:46 UTC
Created attachment 57892 [details]
New crash information added by DrKonqi

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

- What I was doing when the application crashed:

i installed a few programms with kpackagekit and 
i made a normal shut down to end the system

-- Backtrace (Reduced):
#7  g_type_check_instance_is_a (type_instance=0x83ac800, iface_type=80) at /build/buildd/glib2.0-2.28.2/./gobject/gtype.c:3961
#8  0x037c27fc in g_object_unref (_object=0x83ac800) at /build/buildd/glib2.0-2.28.2/./gobject/gobject.c:2668
[...]
#10 0x037c298c in g_object_unref (_object=0x86c3c08) at /build/buildd/glib2.0-2.28.2/./gobject/gobject.c:2734
#11 0x00c8cbb0 in PolkitQt1::Agent::Session::Private::~Private() () from /usr/lib/libpolkit-qt-agent-1.so.1
#12 0x00c8cbf4 in PolkitQt1::Agent::Session::~Session() () from /usr/lib/libpolkit-qt-agent-1.so.1
Comment 26 Dario Andres 2011-03-13 14:06:56 UTC
[Comment from a bug triager]
From bug 268261 comment 1:
I see this error each time when I shutdown my desktop. I don't see the error on
my laptop that is running the same OS, but in VMware environment. Not sure if
it helps - I've installed lastest NVidia driver on the desktop.
Comment 27 Dario Andres 2011-03-13 14:07:01 UTC
*** Bug 268261 has been marked as a duplicate of this bug. ***
Comment 28 omega 2011-03-23 23:50:19 UTC
Created attachment 58299 [details]
New crash information added by DrKonqi

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

- What I was doing when the application crashed:

i had this crash on logout when i'm doing a shutdown of my system

-- Backtrace (Reduced):
#6  g_type_check_instance_is_a (type_instance=0x22dfc40, iface_type=<value optimized out>) at /build/buildd/glib2.0-2.28.4/./gobject/gtype.c:3961
#7  0x00007fe1d1cd4a9b in g_object_unref (_object=0x22dfc40) at /build/buildd/glib2.0-2.28.4/./gobject/gobject.c:2668
[...]
#9  0x00007fe1d1cd4be4 in g_object_unref (_object=0x22d22a0) at /build/buildd/glib2.0-2.28.4/./gobject/gobject.c:2734
#10 0x00007fe1d5bd3be4 in PolkitQt1::Agent::Session::~Session() () from /usr/lib/libpolkit-qt-agent-1.so.1
#11 0x00007fe1d5bd3c29 in PolkitQt1::Agent::Session::~Session() () from /usr/lib/libpolkit-qt-agent-1.so.1
Comment 29 Diego 2011-04-11 14:15:05 UTC
Created attachment 58798 [details]
New crash information added by DrKonqi

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

- What I was doing when the application crashed:

Rebooting the computer caused Polkit Crash

-- Backtrace (Reduced):
#6  g_type_check_instance_is_a (type_instance=0x1fe8280, iface_type=<value optimized out>) at gtype.c:3941
#7  0x0000003afe60f1ab in g_object_unref (_object=0x1fe8280) at gobject.c:2629
#8  0x0000003b04e042bb in polkit_agent_session_finalize (object=0x7f0e6c0034c0 [PolkitAgentSession]) at polkitagentsession.c:127
#9  0x0000003afe60f2f4 in g_object_unref (_object=0x7f0e6c0034c0) at gobject.c:2695
#10 0x0000003f58005124 in PolkitQt1::Agent::Session::~Session (this=0x22914e0, __in_chrg=<value optimized out>) at /usr/src/debug/polkit-qt-1-0.99.0/agent/polkitqt1-agent-session.cpp:77
Comment 30 Christoph Feck 2011-04-12 01:55:18 UTC
*** Bug 265010 has been marked as a duplicate of this bug. ***
Comment 31 Christoph Feck 2011-04-12 01:55:36 UTC
*** Bug 268337 has been marked as a duplicate of this bug. ***
Comment 32 Christoph Feck 2011-04-12 01:56:03 UTC
*** Bug 268616 has been marked as a duplicate of this bug. ***
Comment 33 Christoph Feck 2011-04-12 01:56:28 UTC
*** Bug 269625 has been marked as a duplicate of this bug. ***
Comment 34 Christoph Feck 2011-04-12 01:56:38 UTC
*** Bug 269847 has been marked as a duplicate of this bug. ***
Comment 35 Christoph Feck 2011-04-12 01:56:47 UTC
*** Bug 270013 has been marked as a duplicate of this bug. ***
Comment 36 Christoph Feck 2011-04-12 01:57:01 UTC
*** Bug 270172 has been marked as a duplicate of this bug. ***
Comment 37 Christoph Feck 2011-04-12 01:57:13 UTC
*** Bug 270398 has been marked as a duplicate of this bug. ***
Comment 38 Robert Simmons 2011-04-12 05:19:07 UTC
I can confirm that this bug still exists in KDE 4.6.2

I am running Kubuntu 10.10 with the KDE 4.6.2a packages.
Comment 39 Nick Shaforostoff 2011-04-13 21:44:43 UTC
do you also have an updated version of all polkit related packages?

i havent seen this bug for a while.
Comment 40 Robert Simmons 2011-04-13 22:16:44 UTC
I happens to me every once in a while.  Not every shutdown or reboot.  I am using version 0.99 which is AFAIK the most recent.  I am using Kubuntu 10.10 with the updates and backports PPAs installed.  I am going to be upgrading to Kubuntu 11.4 as soon as it comes out.  11.4 seems to be running polkit 0.101-1 according to the list of packages, so hopefully it is fixed in that version.  I will let you know.
Comment 41 Dario Andres 2011-04-14 12:38:23 UTC
[Comment from a bug triager]
From bug 270905 (KDE SC 4.6.0):
Distribution: "openSUSE 11.4 (x86_64)"
-- Information about the crash:
- What I was doing when the application crashed:
Rebooting the system, with running applications
- Unusual behavior I noticed:
Black/blank screen behin 1 running application (Google Chrome)
The crash can be reproduced some of the time.
Comment 42 Dario Andres 2011-04-14 12:38:30 UTC
*** Bug 270905 has been marked as a duplicate of this bug. ***
Comment 43 Johan Persson 2011-04-29 19:29:56 UTC
Created attachment 59443 [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:Loging out from the desktop with a normal logout.

-- Backtrace (Reduced):
#7  0xb5ac22f0 in g_type_check_instance_is_a () from /lib/libgobject-2.0.so.0
#8  0xb5a9cd1d in g_object_unref () from /lib/libgobject-2.0.so.0
[...]
#10 0xb5a9ce9d in g_object_unref () from /lib/libgobject-2.0.so.0
#11 0xb7337dbe in PolkitQt1::Agent::Session::Private::~Private() () from /usr/lib/libpolkit-qt-agent-1.so.1
#12 0xb7337e04 in PolkitQt1::Agent::Session::~Session() () from /usr/lib/libpolkit-qt-agent-1.so.1
Comment 44 Dario Andres 2011-05-01 14:40:20 UTC
[Comment from a bug triager]
From bug 272048 (KDE SC 4.6.2):
- What I was doing when the application crashed:  logging out
This bug is reproducible every logout
This seems to have been happening since removal of the qt3 rpm package using
YUM
Comment 45 Dario Andres 2011-05-01 14:40:51 UTC
*** Bug 272048 has been marked as a duplicate of this bug. ***
Comment 46 bosstw 2011-05-04 19:50:24 UTC
Created attachment 59625 [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:
PC was during logout to shutdown and reboot

-- Backtrace (Reduced):
#7  0x00aea998 in g_type_check_instance_is_a () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#8  0x00ac57fc in g_object_unref () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
[...]
#10 0x00ac598c in g_object_unref () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#11 0x0012cbb0 in PolkitQt1::Agent::Session::Private::~Private() () from /usr/lib/libpolkit-qt-agent-1.so.1
#12 0x0012cbf4 in PolkitQt1::Agent::Session::~Session() () from /usr/lib/libpolkit-qt-agent-1.so.1
Comment 47 pop_sux 2011-05-06 17:56:29 UTC
Created attachment 59706 [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

Crashes everytime I shutdown Kubuntu.

-- Backtrace (Reduced):
#7  0xb5c53998 in g_type_check_instance_is_a () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#8  0xb5c2e7fc in g_object_unref () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
[...]
#10 0xb5c2e98c in g_object_unref () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#11 0xb73bcbb0 in PolkitQt1::Agent::Session::Private::~Private() () from /usr/lib/libpolkit-qt-agent-1.so.1
#12 0xb73bcbf4 in PolkitQt1::Agent::Session::~Session() () from /usr/lib/libpolkit-qt-agent-1.so.1
Comment 48 bernard.cluzel 2011-05-08 02:40:10 UTC
Created attachment 59757 [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 reboot my PC.
I Had before a systematicvcrash of KOPETE (report sended) when i choose french language.

-- Backtrace (Reduced):
#7  0x0426a998 in g_type_check_instance_is_a () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#8  0x042457fc in g_object_unref () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
[...]
#10 0x0424598c in g_object_unref () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#11 0x004d6bb0 in PolkitQt1::Agent::Session::Private::~Private() () from /usr/lib/libpolkit-qt-agent-1.so.1
#12 0x004d6bf4 in PolkitQt1::Agent::Session::~Session() () from /usr/lib/libpolkit-qt-agent-1.so.1
Comment 49 Lamarque V. Souza 2011-05-08 19:41:08 UTC
*** Bug 272747 has been marked as a duplicate of this bug. ***
Comment 50 Lamarque V. Souza 2011-05-08 19:41:16 UTC
*** Bug 272748 has been marked as a duplicate of this bug. ***
Comment 51 Lamarque V. Souza 2011-05-17 23:23:16 UTC
*** Bug 273512 has been marked as a duplicate of this bug. ***
Comment 52 Lamarque V. Souza 2011-05-17 23:23:43 UTC
*** Bug 273492 has been marked as a duplicate of this bug. ***
Comment 53 Lamarque V. Souza 2011-05-19 17:39:44 UTC
*** Bug 273625 has been marked as a duplicate of this bug. ***
Comment 54 Vassaux Fabien 2011-05-24 17:00:08 UTC
Created attachment 60275 [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:
shutdown my computer.

- Unusual behavior I noticed:
nothing wrong, just this crash

- Custom settings of the application:
fresh Install of nvidia-server (switch from 177 to 173)

-- Backtrace (Reduced):
#7  0x00b60998 in g_type_check_instance_is_a () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#8  0x00b3b7fc in g_object_unref () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
[...]
#10 0x00b3b98c in g_object_unref () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#11 0x001c1bb0 in PolkitQt1::Agent::Session::Private::~Private() () from /usr/lib/libpolkit-qt-agent-1.so.1
#12 0x001c1bf4 in PolkitQt1::Agent::Session::~Session() () from /usr/lib/libpolkit-qt-agent-1.so.1
Comment 55 Lamarque V. Souza 2011-05-24 20:38:48 UTC
*** Bug 273986 has been marked as a duplicate of this bug. ***
Comment 56 Robert Simmons 2011-05-25 05:12:05 UTC
I can confirm that this bug still exists in Kubuntu 11.04 with KDE 4.6.3 and polkit-kde-1 0.99.0

In fact it was the first thing that happened after all the upgrade packages were installed and I went to reboot.
Comment 57 Francisco Gonzalez 2011-05-26 19:05:20 UTC
Created attachment 60357 [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:
Closing the session.
- I have noticed that this failure only happens after installing / removing applications from kpackagekit. Of course I need authentication for that action.

-- Backtrace (Reduced):
#7  g_type_check_instance_is_a (type_instance=0x9b65360, iface_type=80) at /build/buildd/glib2.0-2.28.6/./gobject/gtype.c:3961
#8  0xb5ce77fc in g_object_unref (_object=0x9b65360) at /build/buildd/glib2.0-2.28.6/./gobject/gobject.c:2668
[...]
#10 0xb5ce798c in g_object_unref (_object=0x9b604f8) at /build/buildd/glib2.0-2.28.6/./gobject/gobject.c:2734
#11 0xb7475bb0 in PolkitQt1::Agent::Session::Private::~Private() () from /usr/lib/libpolkit-qt-agent-1.so.1
#12 0xb7475bf4 in PolkitQt1::Agent::Session::~Session() () from /usr/lib/libpolkit-qt-agent-1.so.1
Comment 58 Lamarque V. Souza 2011-05-27 04:37:38 UTC
*** Bug 274241 has been marked as a duplicate of this bug. ***
Comment 59 Volker Kuhlmann 2011-05-28 23:33:08 UTC
Created attachment 60415 [details]
New crash information added by DrKonqi

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

- What I was doing when the application crashed:

Logging out of KDE session. Happens about on every second logout, and I logout at the end of each day. It's pretty annoying because it halts the logout and nobody stays around waiting for that to finish.

I can't say it's related to whether I installed packages before or not, but I'll keep an eye out.
It's definitely not related to whether selecting reboot or not when logging out. Selecting reboot is not required when logging out for the crash to occur.

Btw this time I'm impressed with drkonqi - the window manager is already dead, so no window frames and all windows on top of each other in the top left corner, and it still managed to ask for root password, run up yast to install more debuginfos, and ask for kde bugs password.
Last time I was not impressed as it repeated asked for root password without doing anything useful, and it only gave me 1 file for which a debuginfo was missing, although this time it still needed to install more of them. So when debuginfos are missing it needs to tell me all the missing ones, for when it doesn't manage to install them itself!

-- Backtrace (Reduced):
#6  g_type_check_instance_is_a (type_instance=0x7ab2a0, iface_type=<value optimized out>) at gtype.c:3957
#7  0x00002b214dbb9fcb in g_object_unref (_object=0x7ab2a0) at gobject.c:2668
#8  0x00002b214e34475b in polkit_agent_session_finalize (object=0x79caa0) at polkitagentsession.c:127
#9  0x00002b214dbba114 in g_object_unref (_object=0x79caa0) at gobject.c:2734
#10 0x00002b2149552db4 in PolkitQt1::Agent::Session::~Session (this=0x9cff20, __in_chrg=<value optimized out>) at /usr/src/debug/polkit-qt-1-0.99.1/agent/polkitqt1-agent-session.cpp:77
Comment 60 Wonko 2011-05-30 16:40:56 UTC
I also get a polkit-kde-authentication-agent-1 crash, I think it might be the same bug. Gut mine is reproducible every time, at least for me. Try this:

- Start systemsettings -> Login Manager, change some values
- press Apply
- Press Cancel in the authorization dialog

I get a dialog: "Unable to authenticate/execute the action: (code 4)". The polkit-kde-authentication-agent-1 crash dialog opens soon after. The "Unable to execute..." error then happens every time I try this again, but without the polkit crash. So I have to log out and in agani in order to make changes.
BTW, the Apply button is insensitive afterwards, as if the changes were applied.

Does anyone see the same effect? If not, I probably should write a new bug report.
Comment 61 Wonko 2011-05-30 16:43:23 UTC
Created attachment 60475 [details]
DrKonqui's crash information
Comment 62 Bruno Friedmann 2011-05-30 19:05:15 UTC
Wonko I just try your method, on a 4.6.3 kde with qt 4.7.3 and kernel is 2.6.39
(openSUSE_Factory)

I get everything also the code 4 error when I cancel the auth.
But no crash.
Comment 63 Bruno Friedmann 2011-05-30 21:03:10 UTC
Created attachment 60485 [details]
New crash information added by DrKonqi

polkit-kde-authentication-agent-1 (0.99.0) on KDE Platform 4.6.3 (4.6.3) using Qt 4.7.3

- What I was doing when the application crashed:
See my previous comment, nothing has crashed immediately, but the crash occur when closing kde session :-(

-- Backtrace (Reduced):
#6  g_type_check_instance_is_a (type_instance=0xc21760, iface_type=<optimized out>) at gtype.c:3961
#7  0x00007fb9fbb2315b in g_object_unref (_object=0xc21760) at gobject.c:2668
#8  0x00007fb9fb3c9e2a in polkit_agent_session_finalize (object=Traceback (most recent call last):
  File "/usr/share/glib-2.0/gdb/gobject.py", line 72, in to_string
    name = g_type_name_from_instance (self.val)
  File "/usr/share/glib-2.0/gdb/gobject.py", line 59, in g_type_name_from_instance
    name = g_type_to_name (gtype)
  File "/usr/share/glib-2.0/gdb/gobject.py", line 26, in g_type_to_name
    return glib.g_quark_to_string (typenode["qname"])
  File "/usr/share/glib-2.0/gdb/glib.py", line 13, in g_quark_to_string
    val = read_global_var ("g_quarks")
  File "/usr/share/glib-2.0/gdb/glib.py", line 5, in read_global_var
    return gdb.selected_frame().read_var(symname)
#9  0x00007fb9fbb232a4 in g_object_unref (_object=0x7d0d80) at gobject.c:2734
#10 0x00007fba001bfeb4 in PolkitQt1::Agent::Session::~Session (this=0x8195f0, __in_chrg=<optimized out>) at /usr/src/debug/polkit-qt-1-0.99.1/agent/polkitqt1-agent-session.cpp:77
Comment 64 token 2011-05-31 20:04:15 UTC
Created attachment 60523 [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'm shutdown the system and get this error (Segmentation fault in Policy1Kit-KDE). I have opened Firefox before logout from OS. Then I'm get error, the KDE task bar has dissappeared.

-- Backtrace (Reduced):
#7  0x03b78998 in g_type_check_instance_is_a () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#8  0x03b537fc in g_object_unref () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
[...]
#10 0x03b5398c in g_object_unref () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#11 0x00a45bb0 in PolkitQt1::Agent::Session::Private::~Private() () from /usr/lib/libpolkit-qt-agent-1.so.1
#12 0x00a45bf4 in PolkitQt1::Agent::Session::~Session() () from /usr/lib/libpolkit-qt-agent-1.so.1
Comment 65 Bruno Friedmann 2011-06-06 08:47:10 UTC
Created attachment 60682 [details]
New crash information added by DrKonqi

polkit-kde-authentication-agent-1 (0.99.0) on KDE Platform 4.6.3 (4.6.3) using Qt 4.7.3

- What I was doing when the application crashed: logout from kde4 desktop plasma
To be able to crash like that, just use the new pnm 0.9.2 and kde 4.6.3
Modify or add or delete a network connection, which ask you each time the root password, let checked the remember checkbox .

- Custom settings of the application:
Need to have a polkit authorization box popup one time or more during the kde session to have that crash on logout.

Same can be obtain on any systemsettings module that need root/admin right, and polkit dialog box is shown. It also crash if you cancel the authorization

-- Backtrace (Reduced):
#6  g_type_check_instance_is_a (type_instance=0x835a40, iface_type=<optimized out>) at gtype.c:3961
#7  0x00007f5f18c1b15b in g_object_unref (_object=0x835a40) at gobject.c:2668
#8  0x00007f5f184c1e2a in polkit_agent_session_finalize (object=0x81f2a0 [PolkitAgentSession]) at polkitagentsession.c:149
#9  0x00007f5f18c1b2a4 in g_object_unref (_object=0x81f2a0) at gobject.c:2734
#10 0x00007f5f1d2d2eb4 in PolkitQt1::Agent::Session::~Session (this=0x9995e0, __in_chrg=<optimized out>) at /usr/src/debug/polkit-qt-1-0.99.1/agent/polkitqt1-agent-session.cpp:77
Comment 66 Lamarque V. Souza 2011-06-09 08:36:55 UTC
*** Bug 274451 has been marked as a duplicate of this bug. ***
Comment 67 Lamarque V. Souza 2011-06-09 08:37:07 UTC
*** Bug 274614 has been marked as a duplicate of this bug. ***
Comment 68 Lamarque V. Souza 2011-06-09 08:37:19 UTC
*** Bug 275027 has been marked as a duplicate of this bug. ***
Comment 69 Lamarque V. Souza 2011-06-09 08:37:32 UTC
*** Bug 275208 has been marked as a duplicate of this bug. ***
Comment 70 Robert Simmons 2011-06-14 02:13:53 UTC
This problem still exists in Kubuntu 11.04 with KDE 4.6.4

Here is the backtrace output:

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

Thread 4 (Thread 0xb58afb70 (LWP 1792)):
#0  __pthread_mutex_lock (mutex=0x984bcdc) at pthread_mutex_lock.c:125
#1  0x00764616 in pthread_mutex_lock (mutex=0x984bcdc) at forward.c:182
#2  0x06c4933d in g_main_context_query () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x06c49e8c in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x06c4a92b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x01f8b304 in ?? () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
#6  0x06c732df in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#7  0x01a9de99 in start_thread (arg=0xb58afb70) at pthread_create.c:304
#8  0x0075673e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 3 (Thread 0xb4f08b70 (LWP 4667)):
#0  0x00ba5416 in __kernel_vsyscall ()
#1  0x01aa50b9 in __lll_lock_wait () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/lowlevellock.S:142
#2  0x01aa054b in _L_lock_791 () from /lib/i386-linux-gnu/libpthread.so.0
#3  0x01aa0371 in __pthread_mutex_lock (mutex=0x984bcdc) at pthread_mutex_lock.c:61
#4  0x00764616 in pthread_mutex_lock (mutex=0x984bcdc) at forward.c:182
#5  0x06c4b851 in g_main_context_wakeup () from /lib/i386-linux-gnu/libglib-2.0.so.0
#6  0x06c4b9e1 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#7  0x06c732df in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0x01a9de99 in start_thread (arg=0xb4f08b70) at pthread_create.c:304
#9  0x0075673e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xb38aab70 (LWP 4668)):
#0  0x00ba5416 in __kernel_vsyscall ()
#1  0x00747f76 in __poll (fds=0x9b6dec8, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0x06c5a84b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x06c4a1af in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x06c4a524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x00d28577 in QEventDispatcherGlib::processEvents (this=0x9891748, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#6  0x00cfa289 in QEventLoop::processEvents (this=0xb38aa240, flags=...) at kernel/qeventloop.cpp:149
#7  0x00cfa522 in QEventLoop::exec (this=0xb38aa240, flags=...) at kernel/qeventloop.cpp:201
#8  0x00c042a0 in QThread::exec (this=0x9b7caf8) at thread/qthread.cpp:492
#9  0x00cdbfdb in QInotifyFileSystemWatcherEngine::run (this=0x9b7caf8) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x00c06da2 in QThreadPrivate::start (arg=0x9b7caf8) at thread/qthread_unix.cpp:320
#11 0x01a9de99 in start_thread (arg=0xb38aab70) at pthread_create.c:304
#12 0x0075673e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb788caf0 (LWP 1770)):
[KCrash Handler]
#7  0x06de7998 in g_type_check_instance_is_a () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#8  0x06dc27fc in g_object_unref () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#9  0x00a9aa4f in ?? () from /usr/lib/libpolkit-agent-1.so.0
#10 0x06dc298c in g_object_unref () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#11 0x0067cbb0 in PolkitQt1::Agent::Session::Private::~Private() () from /usr/lib/libpolkit-qt-agent-1.so.1
#12 0x0067cbf4 in PolkitQt1::Agent::Session::~Session() () from /usr/lib/libpolkit-qt-agent-1.so.1
#13 0x0067cc52 in PolkitQt1::Agent::Session::~Session() () from /usr/lib/libpolkit-qt-agent-1.so.1
#14 0x00d0dbc5 in qDeleteInEventHandler (o=0x9ca5280) at kernel/qobject.cpp:3995
#15 0x00d103e8 in QObject::event (this=0x9ca5280, e=0x9bd5780) at kernel/qobject.cpp:1209
#16 0x00f96d24 in QApplicationPrivate::notify_helper (this=0x9787550, receiver=0x9ca5280, e=0x9bd5780) at kernel/qapplication.cpp:4462
#17 0x00f9b8ce in QApplication::notify (this=0xbfcc7b8c, receiver=0x9ca5280, e=0x9bd5780) at kernel/qapplication.cpp:3862
#18 0x002f236a in KApplication::notify (this=0xbfcc7b8c, receiver=0x9ca5280, event=0x9bd5780) at ../../kdeui/kernel/kapplication.cpp:311
#19 0x00cfb0bb in QCoreApplication::notifyInternal (this=0xbfcc7b8c, receiver=0x9ca5280, event=0x9bd5780) at kernel/qcoreapplication.cpp:731
#20 0x00cfec79 in sendEvent (receiver=0x0, event_type=52, data=0x974e6d8) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#21 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=52, data=0x974e6d8) at kernel/qcoreapplication.cpp:1372
#22 0x00cfee0d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=52) at kernel/qcoreapplication.cpp:1265
#23 0x00cfef16 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1015
#24 0x00f948e7 in QApplication::exec () at kernel/qapplication.cpp:3736
#25 0x08050951 in _start ()
Comment 71 Joan 2011-06-14 22:22:08 UTC
Created attachment 60999 [details]
New crash information added by DrKonqi

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

- What I was doing when the application crashed:

Shutdown the system, before I installed, removed and updated packages with KPackageKit.

-- Backtrace (Reduced):
#7  0x00e8e998 in g_type_check_instance_is_a () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#8  0x00e697fc in g_object_unref () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
[...]
#10 0x00e6998c in g_object_unref () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#11 0x00f4dbb0 in PolkitQt1::Agent::Session::Private::~Private() () from /usr/lib/libpolkit-qt-agent-1.so.1
#12 0x00f4dbf4 in PolkitQt1::Agent::Session::~Session() () from /usr/lib/libpolkit-qt-agent-1.so.1
Comment 72 Robert Simmons 2011-06-14 22:36:21 UTC
Actually, come to think of it, I can say that the one thing that each crash has in common for me is installing or removing software at some point before the crash and having to authenticate to do so.  I'm not sure if this has a causal relationship because there are times that I've had to install/remove with authentication and polkit does NOT crash at logout/shutdown/reboot.
Comment 73 Christoph Feck 2011-06-20 15:08:37 UTC
*** Bug 275471 has been marked as a duplicate of this bug. ***
Comment 74 Christoph Feck 2011-06-20 15:09:00 UTC
*** Bug 275886 has been marked as a duplicate of this bug. ***
Comment 75 Christoph Feck 2011-06-20 15:09:24 UTC
*** Bug 275961 has been marked as a duplicate of this bug. ***
Comment 76 Christoph Feck 2011-06-20 15:09:42 UTC
*** Bug 276087 has been marked as a duplicate of this bug. ***
Comment 77 S. Burmeister 2011-06-21 11:18:57 UTC
Created attachment 61200 [details]
New crash information added by DrKonqi

polkit-kde-authentication-agent-1 (0.99.0) on KDE Platform 4.6.4 (4.6.4) using Qt 4.7.3

- What I was doing when the application crashed:

IIt also crashed for me after I installed software via apper/kpackakit and the latter asked me for the password once for the proxy settings and the second time for the normal authentication.

-- Backtrace (Reduced):
#6  g_type_check_instance_is_a (type_instance=0x73a6a0, iface_type=<value optimized out>) at gtype.c:3957
#7  0x00007fac4d2d4fcb in g_object_unref (_object=0x73a6a0) at gobject.c:2668
[...]
#9  0x00007fac4d2d5114 in g_object_unref (_object=0x72aea0) at gobject.c:2734
#10 0x00007fac519b0db4 in PolkitQt1::Agent::Session::~Session (this=0x821c50, __in_chrg=<value optimized out>) at /usr/src/debug/polkit-qt-1-0.99.1/agent/polkitqt1-agent-session.cpp:77
#11 0x00007fac519b0df9 in PolkitQt1::Agent::Session::~Session (this=0x821c50, __in_chrg=<value optimized out>) at /usr/src/debug/polkit-qt-1-0.99.1/agent/polkitqt1-agent-session.cpp:78
Comment 78 Reartes Guillermo 2011-06-22 14:40:09 UTC
(polkit-kde-authentication-agent-1 crashes at log off / reboot / shutdown.
It happens sometimes, and when i have used virt-manager

F15 X86_64, KDE 4.6.3

------

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 0x7f3c8b0bc860 (LWP 25773))]

Thread 3 (Thread 0x7f3c7f83d700 (LWP 25790)):
#0  0x00000038a5ad73e3 in __poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00000038a56430a4 in g_main_context_poll (n_fds=3, fds=0x7f3c78001110, priority=<optimized out>, timeout=-1, context=0x1bb82b0) at gmain.c:3404
#2  g_main_context_iterate (context=0x1bb82b0, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3086
#3  0x00000038a564398d in g_main_loop_run (loop=0x1bb8290) at gmain.c:3299
#4  0x00000038b58b45b4 in gdbus_shared_thread_func (data=<optimized out>) at gdbusprivate.c:276
#5  0x00000038a56686e4 in g_thread_create_proxy (data=0x1bb8390) at gthread.c:1897
#6  0x00000038a5e07cd1 in start_thread (arg=0x7f3c7f83d700) at pthread_create.c:305
#7  0x00000038a5adfd3d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7f3c7ee51700 (LWP 26154)):
#0  __lll_unlock_wake () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:377
#1  0x00000038a5e0aee5 in _L_unlock_661 () from /lib64/libpthread.so.0
#2  0x00000038a5e0ae43 in __pthread_mutex_unlock_usercnt (mutex=<optimized out>, decr=<optimized out>) at pthread_mutex_unlock.c:53
#3  __pthread_mutex_unlock (mutex=0x1bb82b8) at pthread_mutex_unlock.c:298
#4  0x00000038a5644a51 in child_watch_helper_thread (data=<optimized out>) at gmain.c:4316
#5  0x00000038a56686e4 in g_thread_create_proxy (data=0x1b57780) at gthread.c:1897
#6  0x00000038a5e07cd1 in start_thread (arg=0x7f3c7ee51700) at pthread_create.c:305
#7  0x00000038a5adfd3d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7f3c8b0bc860 (LWP 25773)):
[KCrash Handler]
#6  g_type_check_instance_is_a (type_instance=0x7f3c78001240, iface_type=<optimized out>) at gtype.c:3961
#7  0x00000038a920f50b in g_object_unref (_object=0x7f3c78001240) at gobject.c:2668
#8  0x00000038b080496a in polkit_agent_session_finalize (object=0x1b996a0) at polkitagentsession.c:149
#9  0x00000038a920f661 in g_object_unref (_object=0x1b996a0) at gobject.c:2734
#10 0x00000038b50050a4 in PolkitQt1::Agent::Session::~Session() () from /usr/lib64/libpolkit-qt-agent-1.so.1
#11 0x00000038b50050e9 in PolkitQt1::Agent::Session::~Session() () from /usr/lib64/libpolkit-qt-agent-1.so.1
#12 0x00000038af770ab8 in QObject::event (this=0x1be59e0, e=<optimized out>) at kernel/qobject.cpp:1200
#13 0x0000003e28bb73d4 in notify_helper (e=0x1a78a30, receiver=0x1be59e0, this=0x1a835e0) at kernel/qapplication.cpp:4462
#14 QApplicationPrivate::notify_helper (this=0x1a835e0, receiver=0x1be59e0, e=0x1a78a30) at kernel/qapplication.cpp:4434
#15 0x0000003e28bbc261 in QApplication::notify (this=0x7fffc26f7a40, receiver=0x1be59e0, e=0x1a78a30) at kernel/qapplication.cpp:4341
#16 0x0000003e27c41806 in KApplication::notify (this=0x7fffc26f7a40, receiver=0x1be59e0, event=0x1a78a30) at /usr/src/debug/kdelibs-4.6.3/kdeui/kernel/kapplication.cpp:311
#17 0x00000038af75a1bc in QCoreApplication::notifyInternal (this=0x7fffc26f7a40, receiver=0x1be59e0, event=0x1a78a30) at kernel/qcoreapplication.cpp:731
#18 0x00000038af75d784 in sendEvent (event=0x1a78a30, receiver=0x1be59e0) at kernel/qcoreapplication.h:215
#19 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=52, data=0x1a5d5b0) at kernel/qcoreapplication.cpp:1372
#20 0x00000038af75da4e in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1015
#21 0x000000000040853e in ?? ()
#22 0x00000038a5a2143d in __libc_start_main (main=0x4082b0, argc=1, ubp_av=0x7fffc26f7c88, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffc26f7c78) at libc-start.c:226
#23 0x00000000004085a5 in _start ()
Comment 79 Thibaut Renaux 2011-06-22 15:27:46 UTC
Created attachment 61236 [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:
Shutting down computer. 

I installed KDE a few days ago and this bug has been appearing each time I tried to shut it down.

-- Backtrace (Reduced):
#6  g_type_check_instance_is_a (type_instance=0xce7c40, iface_type=<value optimized out>) at /build/buildd/glib2.0-2.28.6/./gobject/gtype.c:3961
#7  0x00007f81a0a6ba9b in g_object_unref (_object=0xce7c40) at /build/buildd/glib2.0-2.28.6/./gobject/gobject.c:2668
[...]
#9  0x00007f81a0a6bbe4 in g_object_unref (_object=0xce18c0) at /build/buildd/glib2.0-2.28.6/./gobject/gobject.c:2734
#10 0x00007f81a495bbe4 in PolkitQt1::Agent::Session::~Session() () from /usr/lib/libpolkit-qt-agent-1.so.1
#11 0x00007f81a495bc29 in PolkitQt1::Agent::Session::~Session() () from /usr/lib/libpolkit-qt-agent-1.so.1
Comment 80 Saurav Sengupta 2011-07-02 18:58:17 UTC
This bug plagues KDE since version 4.6. It needs to be corrected ASAP.
Comment 81 Dario Andres 2011-07-10 22:55:36 UTC
*** Bug 276591 has been marked as a duplicate of this bug. ***
Comment 82 Dario Andres 2011-07-10 22:55:37 UTC
*** Bug 276980 has been marked as a duplicate of this bug. ***
Comment 83 Dario Andres 2011-07-10 22:55:39 UTC
*** Bug 277092 has been marked as a duplicate of this bug. ***
Comment 84 Dario Andres 2011-07-10 22:55:41 UTC
*** Bug 277243 has been marked as a duplicate of this bug. ***
Comment 85 Dario Andres 2011-07-10 22:59:34 UTC
*** Bug 277181 has been marked as a duplicate of this bug. ***
Comment 86 Christoph Feck 2011-07-11 22:22:57 UTC
*** Bug 277255 has been marked as a duplicate of this bug. ***
Comment 87 Volker Kuhlmann 2011-07-12 07:24:26 UTC
There will be a point in time when fixing it is less effort than marking duplicates... ;-)
But thanks for working on KDE.
Comment 88 Corrado Mella 2011-07-17 00:54:46 UTC
This bug has been reported in December 2010. It's now July 2011 and after umpteen reports, backtraces and a ridiculous amount of duplicates, is still marked as UNCONFIRMED.

THIS IS UNACCEPTABLE.
Comment 89 Saurav Sengupta 2011-07-18 14:30:00 UTC
+1
Comment 90 Christoph Feck 2011-07-18 19:46:46 UTC
*** Bug 277778 has been marked as a duplicate of this bug. ***
Comment 91 Christoph Feck 2011-07-18 19:47:33 UTC
*** Bug 277787 has been marked as a duplicate of this bug. ***
Comment 92 Christoph Feck 2011-07-18 19:51:26 UTC
Corrado, feel free to add the patch if you confirmed where the bug is.
Comment 93 Saurav Sengupta 2011-07-19 08:37:21 UTC
(In reply to comment #92)
> Corrado, feel free to add the patch if you confirmed where the bug is.

What is this? Can't the KDE devs find the cause of a single SIGSEGV? Isn't anyone using debugging tools? Each and every error report is pointing out polkitqt1-agent-session.cpp, gobject.c and libgobject-2.0.so.0, along with the entire backtraces. The problem occurs so frequently too. Just invoke the authentication dialog more than once, for example, install a package but DON'T cause it to remember the password (even for the session), then install another package, again not causing it remember the password, or make modifications to the login screen settings through systemsettings and don't make it remember the password. Once the auth dialog has been used more than once and each time the option to remember the password has been turned off, finally turn off (not restart or logout) the computer. This should cause the crash. If not, perform the whole procedure a few times. It will surely crop up. Just run it through a debugging session and you should have the culprit.
Comment 94 Nick Shaforostoff 2011-07-19 10:32:34 UTC
anyone had luck to reproduce the bug in distro other than kubuntu?
Comment 95 Bruno Friedmann 2011-07-19 17:35:38 UTC
C4 was from openSUSE.
I'm now under kde4.7 rc qt4.7.3

Will try if this always reproductible, or is fixed in 4.7
Comment 96 Saurav Sengupta 2011-07-19 18:19:31 UTC
(In reply to comment #94)
> anyone had luck to reproduce the bug in distro other than kubuntu?

Fedora 15
Comment 97 Corrado Mella 2011-07-19 18:44:25 UTC
(In reply to comment #92)
> Corrado, feel free to add the patch if you confirmed where the bug is.

This is an unnecessary and childish comment.

1) The problem is the bug status is UNCONFIRMED after 7 months, after 50 reports and backtraces. This bug should have been marked as CONFIRMED months ago, and some action taken to triage and debug it.

2) The only actions you've taken so far is to mark other bug reports as duplicates. Hardly the position where you can judge other's commitment.

3) Do you expect to be given the solution to a problem you are not even bothered to investigate?

4) You have been given plenty of information, and a reproducible scenario. Work with this information.
Comment 98 Wonko 2011-07-19 18:58:30 UTC
In reply to #62: Same here, the crash no longer happens. Gentoo Linux, now with KDE 4.6.5.
Comment 99 artkun 2011-07-19 19:01:16 UTC
I had this bug today in openSUSE 11.4 with all updates (from default repositories only) installed. I was really surprised - this bug exists in distro with completely different package management system and philosophy.
Comment 100 artkun 2011-07-23 09:14:13 UTC
I don't know why but this crash no longer happens in Kubuntu 11.04 for 2 or 3 days.
Comment 101 Saurav Sengupta 2011-07-23 15:23:06 UTC
(In reply to comment #100)
> I don't know why but this crash no longer happens in Kubuntu 11.04 for 2 or 3
> days.

What exact version of KDE are you using in which the problem isn't occurring? Have you upgraded to 4.6.5?
Comment 102 artkun 2011-07-24 17:14:04 UTC
(In reply to comment #101)
> (In reply to comment #100)
> > I don't know why but this crash no longer happens in Kubuntu 11.04 for 2 or 3
> > days.
> 
> What exact version of KDE are you using in which the problem isn't occurring?
> Have you upgraded to 4.6.5?

I used KDE 4.6.5, BUT this bug happened many times in 4.6.5 too, and disappeared just a few days ago. It was Kubuntu 11.04 64-bit with Kubuntu PPA and Backports PPA enabled, with all updates installed. Unfortunately, HDD with that system is broken and yesterday I had to format it :(
Comment 103 Saurav Sengupta 2011-07-30 10:38:41 UTC
This bug still exists in KDE 4.7.0.
Comment 104 Bruno Friedmann 2011-08-04 16:15:57 UTC
Created attachment 62543 [details]
New crash information added by DrKonqi

polkit-kde-authentication-agent-1 (0.99.0) on KDE Platform 4.7.00 (4.7.0) using Qt 4.7.3

- What I was doing when the application crashed:
With new 4.7, nm09, pnm0.9
after having edited several vpn connexions (those migrated from nm08 this morning) and entering root password for each connection you edit (even if the remember checkbox is here)
I close (try to) my kde4 session .

Start to be bugging ...

-- Backtrace (Reduced):
#6  0x00007fe70db33930 in g_type_check_instance_is_a () from /usr/lib64/libgobject-2.0.so.0
[...]
#8  0x00007fe70d39edca in polkit_agent_session_finalize (object=0xc5fc60) at polkitagentsession.c:149
[...]
#10 0x00007fe71225ce54 in PolkitQt1::Agent::Session::~Session (this=0x9baf60, __in_chrg=<optimized out>) at /usr/src/debug/polkit-qt-1-0.99.1/agent/polkitqt1-agent-session.cpp:77
#11 0x00007fe71225ce99 in PolkitQt1::Agent::Session::~Session (this=0x9baf60, __in_chrg=<optimized out>) at /usr/src/debug/polkit-qt-1-0.99.1/agent/polkitqt1-agent-session.cpp:78
#12 0x00007fe7117e9ab8 in QObject::event (this=0x9baf60, e=<optimized out>) at kernel/qobject.cpp:1200
Comment 105 artkun 2011-08-04 17:44:36 UTC
Bug still exists in openSUSE 11.4 with Tumbleweed and KDE 4.7 repositories enabled. Kernel 3.0 is installed.
Comment 106 Jose 2011-08-04 18:11:31 UTC
Created attachment 62551 [details]
New crash information added by DrKonqi

polkit-kde-authentication-agent-1 (0.99.0) on KDE Platform 4.7.00 (4.7.0) "release 6" using Qt 4.7.3

- What I was doing when the application crashed:

After a system update, I tried to restart the system, there is where the crash appeared.

-- Backtrace (Reduced):
#7  0xb59bb2f0 in g_type_check_instance_is_a () from /lib/libgobject-2.0.so.0
[...]
#11 0xb7290dbe in PolkitQt1::Agent::Session::Private::~Private (this=0x81e3e90, __in_chrg=<value optimized out>) at /usr/src/debug/polkit-qt-1-0.99.1/agent/polkitqt1-agent-session.cpp:49
#12 0xb7290e04 in PolkitQt1::Agent::Session::~Session (this=0x81d5f68, __in_chrg=<value optimized out>) at /usr/src/debug/polkit-qt-1-0.99.1/agent/polkitqt1-agent-session.cpp:77
#13 0xb7290e62 in PolkitQt1::Agent::Session::~Session (this=0x81d5f68, __in_chrg=<value optimized out>) at /usr/src/debug/polkit-qt-1-0.99.1/agent/polkitqt1-agent-session.cpp:78
#14 0xb6e10713 in qDeleteInEventHandler (o=0x81d5f68) at kernel/qobject.cpp:3986
Comment 107 Pekka Karppelin 2011-08-05 16:47:20 UTC
Created attachment 62580 [details]
New crash information added by DrKonqi

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

- What I was doing when the application crashed:
I was waiting a banking application (Nordea bank Finland/'Verkkopankki') to close, then the process stuck. I had to Control+Alt+Del to go on.
Hope this gives you people some idea.

Pekka

-- Backtrace (Reduced):
#6  g_type_check_instance_is_a (type_instance=0x75b1a0, iface_type=<value optimized out>) at gtype.c:3957
#7  0x00007f1195cabfcb in g_object_unref (_object=0x75b1a0) at gobject.c:2668
#8  0x00007f119555275b in polkit_agent_session_finalize (object=0x73a2a0) at polkitagentsession.c:127
#9  0x00007f1195cac114 in g_object_unref (_object=0x73a2a0) at gobject.c:2734
#10 0x00007f119a338db4 in PolkitQt1::Agent::Session::~Session (this=0x76de70, __in_chrg=<value optimized out>) at /usr/src/debug/polkit-qt-1-0.99.1/agent/polkitqt1-agent-session.cpp:77
Comment 108 Dario Andres 2011-08-07 19:36:44 UTC
[Comment from a bug triager]
From bug 278241 (KDE SC 4.6.95):
After a kde4 session, where policykit ask root password, crash at shutdown
- What I was doing when the application crashed: during this kde session, root
password has been used several times, network modification, kdm themes edition
etc. Then I've several pacakges to update, correctly done, then shutdown computer
lead to that crash.
Comment 109 Dario Andres 2011-08-07 19:36:49 UTC
*** Bug 278241 has been marked as a duplicate of this bug. ***
Comment 110 David McInnis 2011-08-23 05:31:42 UTC
Created attachment 63064 [details]
New crash information added by DrKonqi

polkit-kde-authentication-agent-1 (0.99.0) on KDE Platform 4.6.5 (4.6.5) using Qt 4.7.3

I started the KDE from the text console using the "startx" command.  I went to log out of my session, and received the crash after my screen went blank, but the crash stopped my log-out process to that I can file this report.

The screen is completely black except for this report window and my Mouse.

Important custom information:  I installed the Nvidia driver from the Vendor supplied binary.

-- Backtrace (Reduced):
#6  g_type_check_instance_is_a (type_instance=0x1b5c0a0, iface_type=<optimized out>) at gtype.c:3952
#7  0x0000003fd0a0f56b in g_object_unref (_object=0x1b5c0a0) at gobject.c:2668
#8  0x0000003fd5e0496a in polkit_agent_session_finalize (object=0x1c7eea0 [PolkitAgentSession]) at polkitagentsession.c:149
#9  0x0000003fd0a0f6c1 in g_object_unref (_object=0x1c7eea0) at gobject.c:2734
#10 0x0000003fdbc050a4 in PolkitQt1::Agent::Session::~Session (this=0x1d644b0, __in_chrg=<optimized out>) at /usr/src/debug/polkit-qt-1-0.99.0/agent/polkitqt1-agent-session.cpp:77
Comment 111 Nikola Schnelle 2011-08-23 18:35:58 UTC
Created attachment 63081 [details]
backtrace 

One more backtrace of the crash
Comment 112 Christoph Feck 2011-08-25 14:48:57 UTC
*** Bug 280547 has been marked as a duplicate of this bug. ***
Comment 113 Christoph Feck 2011-08-25 14:49:35 UTC
*** Bug 280366 has been marked as a duplicate of this bug. ***
Comment 114 Christoph Feck 2011-08-25 14:50:56 UTC
*** Bug 279920 has been marked as a duplicate of this bug. ***
Comment 115 Christoph Feck 2011-08-25 14:51:16 UTC
*** Bug 279816 has been marked as a duplicate of this bug. ***
Comment 116 Christoph Feck 2011-08-25 14:51:36 UTC
*** Bug 279773 has been marked as a duplicate of this bug. ***
Comment 117 leclerc.jean@hotmail.com 2011-08-26 19:34:04 UTC
Created attachment 63161 [details]
New crash information added by DrKonqi

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

I deconnected my session for restore dashbord

-- Backtrace (Reduced):
#7  g_type_check_instance_is_a (type_instance=0x82662b0, iface_type=80) at gtype.c:3957
#8  0xb5a2ed1d in g_object_unref (_object=0x82662b0) at gobject.c:2668
#9  0xb58e8880 in polkit_agent_session_finalize (object=0x8270100) at polkitagentsession.c:127
#10 0xb5a2ee9d in g_object_unref (_object=0x8270100) at gobject.c:2734
#11 0xb72b4dbe in PolkitQt1::Agent::Session::Private::~Private (this=0x82998d8, __in_chrg=<value optimized out>) at /usr/src/debug/polkit-qt-1-0.99.1/agent/polkitqt1-agent-session.cpp:49
Comment 118 dmitryunruh 2011-09-02 09:51:57 UTC
Application: polkit-kde-authentication-agent-1 (0.99.0)
KDE Platform Version: 4.6.2 (4.6.2)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-11-generic i686
Distribution: Ubuntu 11.04

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 0xb781faf0 (LWP 1634))]

Thread 4 (Thread 0xb55d4b70 (LWP 1647)):
#0  0x00a1c416 in __kernel_vsyscall ()
#1  0x04a78f76 in poll () from /lib/i386-linux-gnu/libc.so.6
#2  0x0266084b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x026501af in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x0265092b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x04040304 in ?? () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
#6  0x026792df in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#7  0x076fae99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8  0x04a8773e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 3 (Thread 0xb4b04b70 (LWP 2387)):
#0  0x00a1c416 in __kernel_vsyscall ()
#1  0x077020b9 in __lll_lock_wait () from /lib/i386-linux-gnu/libpthread.so.0
#2  0x076fd54b in _L_lock_791 () from /lib/i386-linux-gnu/libpthread.so.0
#3  0x076fd371 in pthread_mutex_lock () from /lib/i386-linux-gnu/libpthread.so.0
#4  0x04a95616 in pthread_mutex_lock () from /lib/i386-linux-gnu/libc.so.6
#5  0x02651851 in g_main_context_wakeup () from /lib/i386-linux-gnu/libglib-2.0.so.0
#6  0x026519e1 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#7  0x026792df in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0x076fae99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#9  0x04a8773e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 2 (Thread 0xb3465b70 (LWP 2388)):
#0  0x04a95616 in pthread_mutex_lock () from /lib/i386-linux-gnu/libc.so.6
#1  0x0264f009 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#2  0x0264fe63 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x02650524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x00b9f577 in QEventDispatcherGlib::processEvents (this=0x8efc748, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00b71289 in QEventLoop::processEvents (this=0xb3465240, flags=...) at kernel/qeventloop.cpp:149
#6  0x00b71522 in QEventLoop::exec (this=0xb3465240, flags=...) at kernel/qeventloop.cpp:201
#7  0x00a7b2a0 in QThread::exec (this=0x91f4560) at thread/qthread.cpp:492
#8  0x00b52fdb in QInotifyFileSystemWatcherEngine::run (this=0x91f4560) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00a7dda2 in QThreadPrivate::start (arg=0x91f4560) at thread/qthread_unix.cpp:320
#10 0x076fae99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#11 0x04a8773e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 1 (Thread 0xb781faf0 (LWP 1634)):
[KCrash Handler]
#7  0x06f17998 in g_type_check_instance_is_a () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#8  0x06ef27fc in g_object_unref () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#9  0x001a4a4f in ?? () from /usr/lib/libpolkit-agent-1.so.0
#10 0x06ef298c in g_object_unref () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#11 0x0012cbb0 in PolkitQt1::Agent::Session::Private::~Private() () from /usr/lib/libpolkit-qt-agent-1.so.1
#12 0x0012cbf4 in PolkitQt1::Agent::Session::~Session() () from /usr/lib/libpolkit-qt-agent-1.so.1
#13 0x0012cc52 in PolkitQt1::Agent::Session::~Session() () from /usr/lib/libpolkit-qt-agent-1.so.1
#14 0x00b84bc5 in qDeleteInEventHandler (o=0x8ed6a10) at kernel/qobject.cpp:3995
#15 0x00b873e8 in QObject::event (this=0x8ed6a10, e=0x8e37d10) at kernel/qobject.cpp:1209
#16 0x00ddcd24 in QApplicationPrivate::notify_helper (this=0x8de0ab0, receiver=0x8ed6a10, e=0x8e37d10) at kernel/qapplication.cpp:4462
#17 0x00de18ce in QApplication::notify (this=0xbfc24a8c, receiver=0x8ed6a10, e=0x8e37d10) at kernel/qapplication.cpp:3862
#18 0x003aa3ca in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#19 0x00b720bb in QCoreApplication::notifyInternal (this=0xbfc24a8c, receiver=0x8ed6a10, event=0x8e37d10) at kernel/qcoreapplication.cpp:731
#20 0x00b75c79 in sendEvent (receiver=0x0, event_type=52, data=0x8da86d8) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#21 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=52, data=0x8da86d8) at kernel/qcoreapplication.cpp:1372
#22 0x00b75e0d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=52) at kernel/qcoreapplication.cpp:1265
#23 0x00b75f16 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1015
#24 0x00dda8e7 in QApplication::exec () at kernel/qapplication.cpp:3736
#25 0x08050951 in _start ()
Comment 119 Christoph Feck 2011-09-17 12:09:14 UTC
*** Bug 280788 has been marked as a duplicate of this bug. ***
Comment 120 Christoph Feck 2011-09-17 12:09:50 UTC
*** Bug 280866 has been marked as a duplicate of this bug. ***
Comment 121 Christoph Feck 2011-09-17 12:10:20 UTC
*** Bug 280898 has been marked as a duplicate of this bug. ***
Comment 122 Christoph Feck 2011-09-17 12:10:52 UTC
*** Bug 281558 has been marked as a duplicate of this bug. ***
Comment 123 Christoph Feck 2011-09-17 12:11:13 UTC
*** Bug 281940 has been marked as a duplicate of this bug. ***
Comment 124 Christoph Feck 2011-09-17 12:11:48 UTC
*** Bug 282171 has been marked as a duplicate of this bug. ***
Comment 125 julian.ramos.m 2011-09-19 11:33:14 UTC
Created attachment 63767 [details]
New crash information added by DrKonqi

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

- What I was doing when the application crashed:

shutdown the computer,I am using a VM <VMWare Player>

-- Backtrace (Reduced):
#7  g_type_check_instance_is_a (type_instance=0x8080a10, iface_type=80) at gtype.c:3957
#8  0xb5b88d1d in g_object_unref (_object=0x8080a10) at gobject.c:2668
#9  0xb5a42880 in polkit_agent_session_finalize (object=0x80c6e18) at polkitagentsession.c:127
#10 0xb5b88e9d in g_object_unref (_object=0x80c6e18) at gobject.c:2734
#11 0xb740edbe in PolkitQt1::Agent::Session::Private::~Private (this=0x81d85c0, __in_chrg=<value optimized out>) at /usr/src/debug/polkit-qt-1-0.99.1/agent/polkitqt1-agent-session.cpp:49
Comment 126 Christoph Feck 2011-10-03 22:41:45 UTC
*** Bug 283189 has been marked as a duplicate of this bug. ***
Comment 127 Christoph Feck 2011-10-03 22:42:48 UTC
*** Bug 283007 has been marked as a duplicate of this bug. ***
Comment 128 Christoph Feck 2011-10-03 22:43:19 UTC
*** Bug 282997 has been marked as a duplicate of this bug. ***
Comment 129 Christoph Feck 2011-10-03 22:43:56 UTC
*** Bug 282937 has been marked as a duplicate of this bug. ***
Comment 130 Christoph Feck 2011-10-03 22:44:22 UTC
*** Bug 282883 has been marked as a duplicate of this bug. ***
Comment 131 Christoph Feck 2011-10-03 22:44:47 UTC
*** Bug 282725 has been marked as a duplicate of this bug. ***
Comment 132 Christoph Feck 2011-10-03 22:45:10 UTC
*** Bug 282352 has been marked as a duplicate of this bug. ***
Comment 133 Christoph Feck 2011-10-03 22:45:34 UTC
*** Bug 282247 has been marked as a duplicate of this bug. ***
Comment 134 Christoph Feck 2011-10-03 22:46:05 UTC
*** Bug 282239 has been marked as a duplicate of this bug. ***
Comment 135 Christoph Feck 2011-10-03 23:44:31 UTC
Dario, do you know who currently maintains polkit-kde-authentication-agent-1? Looking at the git repository, I actually see no commits from Jaroslav, so I wonder why he is the default assignee.
Comment 136 Saurav Sengupta 2011-10-04 13:33:40 UTC
As a long-time KDE user, I can and must say with all seriousness that the desktop environment has become literally unusable just because of this one bug, and the bug is still marked unconfirmed after such a long time, let alone be resolved.
Comment 137 Dario Freddi 2011-10-04 13:39:28 UTC
@Christoph: He should still be. Will have a look at this bug in the next days though.
Comment 138 quamis 2011-10-04 22:20:54 UTC
Created attachment 64219 [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:

shutting the computer down, it happened twice in 3 days(2 crashes from 3 shutdowns)

-- Backtrace (Reduced):
#7  0xb5c9a998 in g_type_check_instance_is_a () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#8  0xb5c757fc in g_object_unref () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
[...]
#10 0xb5c7598c in g_object_unref () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#11 0xb7406bb0 in PolkitQt1::Agent::Session::Private::~Private() () from /usr/lib/libpolkit-qt-agent-1.so.1
#12 0xb7406bf4 in PolkitQt1::Agent::Session::~Session() () from /usr/lib/libpolkit-qt-agent-1.so.1
Comment 139 Joan 2011-10-05 01:48:36 UTC
Created attachment 64222 [details]
New crash information added by DrKonqi

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

- What I was doing when the application crashed:
Shutdown the computer.
- Custom settings of the application:
I removed various packages with KPackageKit before.

-- Backtrace (Reduced):
#7  0x00727998 in g_type_check_instance_is_a () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
[...]
#11 0x0079abb0 in PolkitQt1::Agent::Session::Private::~Private() () from /usr/lib/libpolkit-qt-agent-1.so.1
#12 0x0079abf4 in PolkitQt1::Agent::Session::~Session() () from /usr/lib/libpolkit-qt-agent-1.so.1
#13 0x0079ac52 in PolkitQt1::Agent::Session::~Session() () from /usr/lib/libpolkit-qt-agent-1.so.1
#14 0x0102bbc5 in qDeleteInEventHandler (o=0x8e57e60) at kernel/qobject.cpp:3995
Comment 140 David Charles Pyle 2011-10-07 09:07:01 UTC
Created attachment 64303 [details]
New crash information added by DrKonqi

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

- What I was doing when the application crashed:
I was logging off of KDE 4.7.2 to log into a problem Gnome 3.2.0 installation that I have reinstalled and removed configuration files. 

- Unusual behavior I noticed:

I had attempted to reinstall now missing KDE applications and the sound server for KDE, which had gone missing on the reinstall of Gnome 3.2.0. The software installer kept failing to complete its task due to dependency problems created by the previous reinstallation. The installer kept crashing after authentication.

This happened several times. Each time the installation would be started the authentication dialog never would show up unless I clicked the close button on the dialog that gave details about the installation. Then, the dialog would appear and I would authenticate the installation, which then would hang while attempting to simulate the installation.

Using Gnome 3.2.0 and KDE 4.7.2 on a Dell Inspiron 560 MT machine running Fedora 16-Beta on grub (I never could get the system to boot with grub2, no matter what I tried). A similar crash had happened repeatedly on Fedora 15 as well.

-- Backtrace (Reduced):
#6  g_type_check_instance_is_a (type_instance=<optimized out>, iface_type=<optimized out>) at gtype.c:3952
[...]
#8  0x00007f771637398a in polkit_agent_session_finalize (object=0x152f700 [PolkitAgentSession]) at polkitagentsession.c:149
[...]
#10 0x0000003155e050a4 in PolkitQt1::Agent::Session::~Session (this=0x14211b0, __in_chrg=<optimized out>) at /usr/src/debug/polkit-qt-1-0.99.0/agent/polkitqt1-agent-session.cpp:77
#11 0x0000003155e050e9 in PolkitQt1::Agent::Session::~Session (this=0x14211b0, __in_chrg=<optimized out>) at /usr/src/debug/polkit-qt-1-0.99.0/agent/polkitqt1-agent-session.cpp:78
#12 0x00007f77197e4c98 in QObject::event (this=0x14211b0, e=<optimized out>) at kernel/qobject.cpp:1175
Comment 141 Justin 2011-10-08 14:03:52 UTC
Created attachment 64338 [details]
New crash information added by DrKonqi

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

- What I was doing when the application crashed: Every time I try and reboot I get an error about this that hang up the system.

-- Backtrace (Reduced):
#8  0x04618998 in g_type_check_instance_is_a () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#9  0x045f37fc in g_object_unref () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
[...]
#11 0x045f398c in g_object_unref () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#12 0x00522bb0 in PolkitQt1::Agent::Session::Private::~Private() () from /usr/lib/libpolkit-qt-agent-1.so.1
#13 0x00522bf4 in PolkitQt1::Agent::Session::~Session() () from /usr/lib/libpolkit-qt-agent-1.so.1
Comment 142 Dario Andres 2011-10-10 14:21:28 UTC
*** Bug 283585 has been marked as a duplicate of this bug. ***
Comment 143 Dario Andres 2011-10-10 14:21:38 UTC
*** Bug 283702 has been marked as a duplicate of this bug. ***
Comment 144 caidhliche 2011-10-12 03:35:11 UTC
Created attachment 64445 [details]
New crash information added by DrKonqi

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

- What I was doing when the application crashed:
I was logging out (with the log out dialog) after killing Amarok.
- Unusual behavior I noticed:
Amarok stalled, which meant that I could not use X. I switched from tty7 to tty1 to stop Amarok, then returned to tty7. I killed the program there; my logout sequence seemed normal until polkit crashed.

-- Backtrace (Reduced):
#7  0xb5bb3998 in g_type_check_instance_is_a () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
[...]
#11 0xb7320bb0 in PolkitQt1::Agent::Session::Private::~Private() () from /usr/lib/libpolkit-qt-agent-1.so.1
#12 0xb7320bf4 in PolkitQt1::Agent::Session::~Session() () from /usr/lib/libpolkit-qt-agent-1.so.1
#13 0xb7320c52 in PolkitQt1::Agent::Session::~Session() () from /usr/lib/libpolkit-qt-agent-1.so.1
#14 0xb6f08bc5 in qDeleteInEventHandler (o=0x95c3e20) at kernel/qobject.cpp:3995
Comment 145 Jaroslav Reznik 2011-10-12 07:53:16 UTC
(In reply to comment #97)
> (In reply to comment #92)
> > Corrado, feel free to add the patch if you confirmed where the bug is.
> 
> This is an unnecessary and childish comment.
> 
> 1) The problem is the bug status is UNCONFIRMED after 7 months, after 50
> reports and backtraces. This bug should have been marked as CONFIRMED months
> ago, and some action taken to triage and debug it.

I can't mark it as CONFIRMED...

> 2) The only actions you've taken so far is to mark other bug reports as
> duplicates. Hardly the position where you can judge other's commitment.
> 
> 3) Do you expect to be given the solution to a problem you are not even
> bothered to investigate?

I'm sorry about this bug, the short term solution is just remove one line from source code, but it's a hack, some distros went this way, otherwise the whole PolicyKit stack rebuild helped us in Fedora. I see some people hitting the bug even there but I can't reproduce it anymore (now I see most logouts/turnsoff crashing Plasma :). 

So the question now is - use that incorrect one liner? I can't reproduce this bug anymore. And I have to admit - I don't know how to fix this, patches welcomed :(

Long term could be direct DBus usage and avoid using gobject based library or GI autogenerated bindings?

> 4) You have been given plenty of information, and a reproducible scenario. Work
> with this information.

As I said, I can't reproduce it anymore...

Thanks for working on bug triage Dario.
Comment 146 Dario Freddi 2011-10-12 08:10:15 UTC
I would ask people to remember nobody here is getting paid for fixing that, so sentences like "work with this information" are slightly unfortunate, and I hope you can see that.

That said, if you feel knowledgeable enough to believe we have enough information, you are probably also knowledgeable enough to solve this yourself. Otherwise, please accept the fact we are still unable to find a definitive solution to that, and obviously not for a lack of information, even though we are trying hard to find one.
Comment 147 barthel.daniel 2011-10-12 12:18:53 UTC
Created attachment 64460 [details]
New crash information added by DrKonqi

polkit-kde-authentication-agent-1 (0.99.0) on KDE Platform 4.7.2 (4.7.2) "release 9" using Qt 4.7.4

- What I was doing when the application crashed:
i was shutting down my computer and it crashed

-- Backtrace (Reduced):
#7  0xb5a1e300 in g_type_check_instance_is_a () from /lib/libgobject-2.0.so.0
[...]
#9  0xb58b1ef0 in polkit_agent_session_finalize (object=0x8263af0) at polkitagentsession.c:149
[...]
#11 0xb7303dbe in PolkitQt1::Agent::Session::Private::~Private (this=0x81c4018, __in_chrg=<value optimized out>) at /usr/src/debug/polkit-qt-1-0.99.1/agent/polkitqt1-agent-session.cpp:49
#12 0xb7303e04 in PolkitQt1::Agent::Session::~Session (this=0x8079f50, __in_chrg=<value optimized out>) at /usr/src/debug/polkit-qt-1-0.99.1/agent/polkitqt1-agent-session.cpp:77
#13 0xb7303e62 in PolkitQt1::Agent::Session::~Session (this=0x8079f50, __in_chrg=<value optimized out>) at /usr/src/debug/polkit-qt-1-0.99.1/agent/polkitqt1-agent-session.cpp:78
Comment 148 Saurav Sengupta 2011-10-12 13:36:57 UTC
(In reply to comment #146)
> I would ask people to remember nobody here is getting paid for fixing that, so
> sentences like "work with this information" are slightly unfortunate, and I
> hope you can see that.
> 
> That said, if you feel knowledgeable enough to believe we have enough
> information, you are probably also knowledgeable enough to solve this yourself.
> Otherwise, please accept the fact we are still unable to find a definitive
> solution to that, and obviously not for a lack of information, even though we
> are trying hard to find one.

I hope KDE developers will understand that the ordinary methods of resolution of bugs of this severity do not consist of end users debugging the source code. That said, since this is FOSS, I also hope that someone should be able to solve this. It is known, however, that this bug does not exist up to KDE 4.5.5 but does exist from 4.6.0 onwards (or 4.6 beta versions). Can you not compare the two to investigate the matter?
Comment 149 Dario Freddi 2011-10-12 14:13:38 UTC
Of course we do understand that - for this very reason, users who do not know how to debug the source should restrain from giving "advices"- because if you do, we assume you are in a position in which you are able to give out an informed technical opinion, hence finding a solution yourself. So if you are not, please avoid telling us what to do, as it's not as obvious as it appears: we just expect you to report bugs, give out informations, and most of all, act politely and respectful towards us like we strive to do towards all of you.

The issue is not as easy at it appears as it is also strongly dependent on the installed polkit version. For this reason, simply comparing the revisions wouldn't scale, and is also not even guaranteed to provide a solution even if  the middleware issue didn't exist.
Comment 150 Saurav Sengupta 2011-10-13 13:39:47 UTC
(In reply to comment #149)
> Of course we do understand that - for this very reason, users who do not know
> how to debug the source should restrain from giving "advices"- because if you
> do, we assume you are in a position in which you are able to give out an
> informed technical opinion, hence finding a solution yourself. So if you are
> not, please avoid telling us what to do, as it's not as obvious as it appears:
> we just expect you to report bugs, give out informations, and most of all, act
> politely and respectful towards us like we strive to do towards all of you.
> 
> The issue is not as easy at it appears as it is also strongly dependent on the
> installed polkit version. For this reason, simply comparing the revisions
> wouldn't scale, and is also not even guaranteed to provide a solution even if 
> the middleware issue didn't exist.

OK. As you wish.
Comment 151 Dario Freddi 2011-10-13 14:18:34 UTC
Of course, one thing I omitted is that we tried already (or at least, I did) to track the issue to a regression without any success - and the fact I cannot reproduce the bug here doesn't help of course. But don't interpret my answer as "we don't want users to help". We NEED users to help, but in the right way. I hope this makes the whole deal clearer. Dealing with bugs for developers is not easy. We are already grateful to all of you for your report, and as we strive to do better and better towards you, we are also asking to help us in the best possible way and keep the noise/signal ratio to a minimum, especially in extremely complex bugs like this one here.
Comment 152 Corrado Mella 2011-10-13 14:56:49 UTC
(In reply to comment #149)
> Of course we do understand that - for this very reason, users who do not know
> how to debug the source should restrain from giving "advices"- because if you
> do, we assume you are in a position in which you are able to give out an
> informed technical opinion, hence finding a solution yourself.
I'm sorry to shatter your ideal world, but I know how to debug, I know how to read a backtrace, I know how to code, and I'm very good at that.
That's why I don't have time to give away for nought, because it's my livelihood and I'm in very high demand.
You don't need to reproduce a bug to fix a problem with the logic in the code: you *must* be able to see the problem.

> So if you are
> not, please avoid telling us what to do, as it's not as obvious as it appears:
> we just expect you to report bugs, give out informations, and most of all, act
> politely and respectful towards us like we strive to do towards all of you.
Politeness is a finite resource, like patience and empathy.
If a major bug in a critical beam of the security architecture of an OS is still standing after months and a large number of reports and backtraces, it's obvious to anybody that has a bit of management knowledge that the complexity of the problem has surpassed the capacity of the assignee.
And please read "capacity" to the maximum extent possible: not just skills, but also time or resources.

> The issue is not as easy at it appears as it is also strongly dependent on the
> installed polkit version. For this reason, simply comparing the revisions
> wouldn't scale, and is also not even guaranteed to provide a solution even if 
> the middleware issue didn't exist.
In my job position I have to deal weekly with this occurrences.
Sadly too often I have to take a project off of the hands of somebody and turn it around to somebody else. Usually this - a pair of new eyes and a new mindset - irons out the kinks.
And regretfully sometimes I get better results scrapping the lot and starting afresh.

It's up to the bug assignees to take these decisions: what I see here is missing leadership, not a lack of will, intelligence, knowledge, skills or dedication.

I'm sorry if my comments will upset somebody, or even everybody, but I just wanted you to make a reality check.

Thanks for all the efforts all of you have put into this.
Comment 153 Dario Freddi 2011-10-13 16:07:59 UTC
You are missing quite something in your reality check: we have jobs as well, and are as busy as you. Constructive comments are always appreciated, but it's the attitude which matters, and I think I have been quite clear in this regard.

And, please. If you are painting yourself as a skilled developer, you know the assumption of being able to detect a problem which is clearly reproducible only through a combination of different versions of software of which you have no power on by looking at the source is bogus. In this specific case, we don't even know where is the bug. If you were right, the world would be bugless. Reality check: it isn't, and there's a reason.

And, the most important part. We are not talking about a company, your analysis does not scale in open source. All of your assumptions would be true, if I had the ability of managing human resources and assigning people and pushing them to fix a bug. I clearly stated I'll look at this bug when I'll have time, because it's the only thing I can do and I could not have been more honest about that. Please do not underestimate the skills of our developers: they're way better than you might think, and their low availabilty due to their intense work schedule should tell you something about it.

Not wanting to upset you, but I really believe you are mistaking your personal experience with reality, which in open source is completely different from what you just painted. We are developers like you who have a busy schedule like you. For this reason, if you care about a bug, you should strive to help in any way you can - which includes coding, if you are able to do it. You wouldn't be the first nor the last to attach a patch to a bug, which I would gladly apply.
Comment 154 Saurav Sengupta 2011-10-13 22:29:23 UTC
This is really getting out of hand. I hope the bug itself doesn't get sidelined by in-fighting.

However, the bug can be reproduced. From my comment #93,
Use KDE 4.6.0.
Invoke the authentication dialog more than once, for example, install a package but DON'T cause it to remember the password (even for the session), then install another package, again not causing it to remember the password, or make modifications to the login screen settings through systemsettings and don't make it remember the password (anything that requires the PolKit authentication dialog will do). Once the authentication dialog has been used more than once and each time the option to remember the password has been turned off, finally turn off (not restart or logout) the computer. This should cause the crash.
Comment 155 Dario Freddi 2011-10-13 23:17:50 UTC
@Saurav: you are right. Sorry for the OT and thank you for your effort in getting the discussion back on track.

That said, sorry for not having seen your comment, but I've been CC'ed to this bug just recently and obviously couldn't have a look at the previous hundred and something comments. I will try doing what you said and tell you if I experience the bug in my installation. Be aware, though, that the fact you are using KDE 4.6.0 is irrelevant: polkit-kde comes in a separate package with a different versioning scheme than KDE itself. In ubuntu, the package is called polkit-kde-1 - might be similar in other distros. Knowing the version of this package, which might as well be a snapshot, could be useful in reproducing the problem.

And again, just to make it clear and end the off-topic: this bug reached my inbox just a few days ago. I am already trying to book some time in my schedule for fixing that, but please try and be patient and comprehensive in the meanwhile, I can assure this is one of my next priorities in the forthcoming days. Thanks.
Comment 156 Dario Freddi 2011-10-13 23:27:20 UTC
Jaroslav, reading backlog I see you appear to know the cause of this bug. Mind to brief me about that and what is the issue I should solve? That would indeed save me quite some time.
Comment 157 Saurav Sengupta 2011-10-14 00:42:17 UTC
(In reply to comment #155)
> I will try doing what you said and tell you if I experience the bug in my
> installation. Be aware, though, that the fact you are using KDE 4.6.0 is
> irrelevant: polkit-kde comes in a separate package with a different
> versioning scheme than KDE itself. In ubuntu, the package is called
> polkit-kde-1 - might be similar in other distros. Knowing the version of this
> package, which might as well be a snapshot, could be useful in reproducing
> the problem.

The polkit-kde-1 version that causes the problem on Kubuntu 11.04 is 0.99.0-0ubuntu3. However, this bug appears on other distributions I have tested, including Fedora 15 on which polkit-kde is polkit-kde-0.99.0-2.fc15.
Comment 158 Saurav Sengupta 2011-10-14 00:56:21 UTC
In addition to comment #157, the last update to Kubuntu 11.04 through the Updates and Backports repositories did not include any update to polkit-kde-1, which causes the bug to appear in KDE 4.7 too, updated from 4.6 through Backports. This is, of course, specific to Ubuntu but if this is the case with other distributions too, that is, if there is no update to polkit-kde beyond 0.99.0-2 in any distribution, then the bug will be present regardless of the KDE SC version. On Kubuntu 11.10 polkit-kde-1 is at version 0.99.0-3, but since this bug has not been resolved yet, I do not know whether this minor update affects it in any way.
Comment 159 Volker Kuhlmann 2011-10-14 06:49:10 UTC
I am seeing this bug all the time on openSUSE 11.4. 12 packages with polkit in the name, stripping some variations leaves:

libpolkit-qt-1-1-0.99.1-5.1.x86_64
libpolkit0-0.99-5.6.1.x86_64
polkit-0.99-5.6.1.x86_64
polkit-default-privs-0.1_201102151742-1.2.1.noarch
polkit-kde-agent-1-0.99.0-3.1.x86_64
polkit-kde-kcmmodules-1-0.98.1-3.2.x86_64

I can confirm most of comment #c154 - the password-request dialog keeps on popping up. I set system security level to "secure", from the default "easy". That also causes the screen locker to keep on requesting the password for "brightness level". I don't think there's a day where polkit doesn't exit stage left before I log out at the end of the day, polkit certainly doesn't see the end of the day when there have been updates to install (which is most days).
Comment 160 barthel.daniel 2011-10-14 09:39:22 UTC
hi there, first pls dont argue with each other. the problem occurs with me with openSuse 11.4 and KDE 4.7.2 (RC9) and mostly after i installed updates
Comment 161 Andre Klapper 2011-10-14 10:52:15 UTC
*** Bug 283941 has been marked as a duplicate of this bug. ***
Comment 162 Christoph Feck 2011-10-15 12:01:40 UTC
*** Bug 284026 has been marked as a duplicate of this bug. ***
Comment 163 Christoph Feck 2011-10-15 12:01:54 UTC
*** Bug 284079 has been marked as a duplicate of this bug. ***
Comment 164 Saurav Sengupta 2011-10-16 07:14:30 UTC
The last polkit-kde version which does not have the bug and works correctly is 0.95.1.
Comment 165 Saurav Sengupta 2011-10-16 07:24:33 UTC
Also, it seems that the KDE SC release is at least indirectly tied to polkit-kde. For example, on Kubuntu 11.04, polkit-kde-1 0.99 depends on libpolkit-qt-1-1 while polkit-kde-1 0.95 depends on libpolkit-qt-1-0, and finally, kdelibs5-plugins 4.6.2 depends on libpolkit-qt-1-1. Therefore, it becomes impossible to downgrade libpolkit-qt-1-1 to 1-0 and downgrading just polkit-kde-1 from 0.99 to 0.95 causes the authentication dialog to stop appearing at all and the authentication to  automatically fail every time. The situation is similar on other distributions.
Comment 166 skomarov87 2011-10-16 14:02:04 UTC
Created attachment 64587 [details]
New crash information added by DrKonqi

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

- What I was doing when the application crashed:

As many other users, I'm rebooting my PC after installing some programms (pidgin, software center).

-- Backtrace (Reduced):
#7  0xb5ba8ba0 in g_type_check_instance_is_a () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
[...]
#11 0xb7445e9e in PolkitQt1::Agent::Session::Private::~Private() () from /usr/lib/libpolkit-qt-agent-1.so.1
#12 0xb7445ee4 in PolkitQt1::Agent::Session::~Session() () from /usr/lib/libpolkit-qt-agent-1.so.1
#13 0xb7445f42 in PolkitQt1::Agent::Session::~Session() () from /usr/lib/libpolkit-qt-agent-1.so.1
#14 0xb6fd85f3 in qDeleteInEventHandler (o=0x93574e0) at kernel/qobject.cpp:3986
Comment 167 Frantisek Boranek 2011-10-17 07:29:39 UTC
Created attachment 64621 [details]
New crash information added by DrKonqi

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

- What I was doing when the application crashed:
I just shutdown PC using button in KDE and in the middle of action crash hedles was appearing.

-- Backtrace (Reduced):
#6  0x00007f1b8f5dff40 in g_type_check_instance_is_a () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
[...]
#10 0x00007f1b93520d44 in PolkitQt1::Agent::Session::~Session() () from /usr/lib/libpolkit-qt-agent-1.so.1
#11 0x00007f1b93520d89 in PolkitQt1::Agent::Session::~Session() () from /usr/lib/libpolkit-qt-agent-1.so.1
#12 0x00007f1b92ab6a88 in QObject::event (this=0x24482d0, e=<optimized out>) at kernel/qobject.cpp:1200
#13 0x00007f1b91e50424 in notify_helper (e=0x237fd40, receiver=0x24482d0, this=0x1e605e0) at kernel/qapplication.cpp:4486
Comment 168 Flow2me 2011-10-17 10:14:14 UTC
Created attachment 64630 [details]
New crash information added by DrKonqi

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

The program crashes everytime when i want to reboot the PC

-- Backtrace (Reduced):
#7  0x03a2dba0 in g_type_check_instance_is_a () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
[...]
#11 0x00112e9e in PolkitQt1::Agent::Session::Private::~Private() () from /usr/lib/libpolkit-qt-agent-1.so.1
#12 0x00112ee4 in PolkitQt1::Agent::Session::~Session() () from /usr/lib/libpolkit-qt-agent-1.so.1
#13 0x00112f42 in PolkitQt1::Agent::Session::~Session() () from /usr/lib/libpolkit-qt-agent-1.so.1
#14 0x00c755f3 in qDeleteInEventHandler (o=0x83661a0) at kernel/qobject.cpp:3986
Comment 169 skomarov87 2011-10-18 03:59:44 UTC
Hello.

I suppose that I had noticed smth: there're no crash when you don't
press reboot or off button immediately, without waiting.

2011/10/17, Flow2me <johnnyw_nl@hotmail.com>:
> https://bugs.kde.org/show_bug.cgi?id=258916
>
>
>
>
>
> --- Comment #168 from Flow2me <johnnyw_nl hotmail com>  2011-10-17 10:14:14
> ---
> Created an attachment (id=64630)
>  --> (http://bugs.kde.org/attachment.cgi?id=64630)
> New crash information added by DrKonqi
>
> polkit-kde-authentication-agent-1 (0.99.0) on KDE Platform 4.7.1 (4.7.1)
> using
> Qt 4.7.4
>
> The program crashes everytime when i want to reboot the PC
>
> -- Backtrace (Reduced):
> #7  0x03a2dba0 in g_type_check_instance_is_a () from
> /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
> [...]
> #11 0x00112e9e in PolkitQt1::Agent::Session::Private::~Private() () from
> /usr/lib/libpolkit-qt-agent-1.so.1
> #12 0x00112ee4 in PolkitQt1::Agent::Session::~Session() () from
> /usr/lib/libpolkit-qt-agent-1.so.1
> #13 0x00112f42 in PolkitQt1::Agent::Session::~Session() () from
> /usr/lib/libpolkit-qt-agent-1.so.1
> #14 0x00c755f3 in qDeleteInEventHandler (o=0x83661a0) at
> kernel/qobject.cpp:3986
>
> --
> Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You are on the CC list for the bug.
>
Comment 170 Christoph Feck 2011-10-18 11:14:07 UTC
*** Bug 284343 has been marked as a duplicate of this bug. ***
Comment 171 Christoph Feck 2011-10-20 18:28:18 UTC
*** Bug 284501 has been marked as a duplicate of this bug. ***
Comment 172 Christoph Feck 2011-10-20 18:28:43 UTC
*** Bug 284497 has been marked as a duplicate of this bug. ***
Comment 173 Christoph Feck 2011-10-20 18:29:07 UTC
*** Bug 284399 has been marked as a duplicate of this bug. ***
Comment 174 Christoph Feck 2011-10-20 18:29:30 UTC
*** Bug 284379 has been marked as a duplicate of this bug. ***
Comment 175 Jorge Barroso Barea 2011-10-21 23:45:37 UTC
Created attachment 64773 [details]
New crash information added by DrKonqi

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

- What I was doing when the application crashed:
I just was shutingdown my PC, after making an installation of pidgin, GetDeb repository and scrensavers, from Muon packages manager. When I finished installing and actualizations I just press the shutdown button, press again on shutdown on the shutdown button when the Pc asked me for a confirmation, and then policy1-KDE1 appeared with that error. I personaly think it's a libraries configuration error, buecause it's ever happened to me with Kubuntu 11.10 when I'm installed it with a clean/full/new installation, and when I istall the gtk+ package and it's libraries or another ones (but specially with that) that error dissapeears

-- Backtrace (Reduced):
#7  0x03228ba0 in g_type_check_instance_is_a () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
[...]
#11 0x0012be9e in PolkitQt1::Agent::Session::Private::~Private() () from /usr/lib/libpolkit-qt-agent-1.so.1
#12 0x0012bee4 in PolkitQt1::Agent::Session::~Session() () from /usr/lib/libpolkit-qt-agent-1.so.1
#13 0x0012bf42 in PolkitQt1::Agent::Session::~Session() () from /usr/lib/libpolkit-qt-agent-1.so.1
#14 0x008d05f3 in qDeleteInEventHandler (o=0xa0d53c8) at kernel/qobject.cpp:3986
Comment 176 Volker Kuhlmann 2011-10-22 20:20:26 UTC
The crashes might be annoying, but the positive is that it doesn't severely affect anything else running, like open editors or web browsers. The annoyance is restricted to:
1) The services provided are no longer available. Basically that is asking for a password for privileged operations, e.g. when plugging in a USB storage device for mounting. Things seem to run smoothly again when polkit is restarted by running /usr/lib64/kde4/libexec/polkit-kde-authentication-agent-1
2) A crash on logout stalls the logout forever. That could also be a security risk. A timeout of something like 20-60s (that can be cancelled if user wants to interact) would be useful.

Would it be easy to implement auto-restart (after timeout) and logout timeout in lieu of the elusive bug fix? That would at least largely remove the user annoyance. Even a bad workaround is better than the current situation.
Comment 177 Saurav Sengupta 2011-10-23 19:29:48 UTC
(In reply to comment #176)
> 2) A crash on logout stalls the logout forever. That could also be a security
> risk. A timeout of something like 20-60s (that can be cancelled if user wants
> to interact) would be useful.
> 
> Would it be easy to implement auto-restart (after timeout) and logout timeout
> in lieu of the elusive bug fix? That would at least largely remove the user
> annoyance. Even a bad workaround is better than the current situation.

A crash stalling the logout is the least of my problems with this bug, personally. The crash creates an extremely irritating disruption, just like a grain of sand in your eye, which does not severely affect you but is one your biggest immediate problems nonetheless.
Comment 178 Robert Simmons 2011-10-24 17:09:31 UTC
(In reply to comment #145)
> I'm sorry about this bug, the short term solution is just remove one line from
> source code, but it's a hack, some distros went this way, otherwise the whole
> PolicyKit stack rebuild helped us in Fedora. I see some people hitting the bug
> even there but I can't reproduce it anymore (now I see most logouts/turnsoff
> crashing Plasma :). 
> 
> So the question now is - use that incorrect one liner? I can't reproduce this
> bug anymore. And I have to admit - I don't know how to fix this, patches
> welcomed :(

I had forgotten to ask this earlier, but could you please tell me what the one liner change is so that I can patch the code and recompile it on my own, and have the problem at least be hidden until there is a better patch?

Also, just as an aside, what does confirmed/unconfirmed mean in KDE's bug tracker?  What criteria must be met before a bug's status is confirmed?
Comment 179 Christoph Feck 2011-10-25 09:50:07 UTC
*** Bug 284734 has been marked as a duplicate of this bug. ***
Comment 180 Christoph Feck 2011-10-25 09:50:24 UTC
*** Bug 284716 has been marked as a duplicate of this bug. ***
Comment 181 trong_c 2011-10-27 04:19:48 UTC
Created attachment 64930 [details]
New crash information added by DrKonqi

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

- What I was doing when the application crashed:

Shutting down Kubuntu causes this crash.  This has happened often since I upgraded to the latest Kubuntu.

-- Backtrace (Reduced):
#6  0x00007f584ead2f40 in g_type_check_instance_is_a () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
[...]
#10 0x00007f5852a13d44 in PolkitQt1::Agent::Session::~Session() () from /usr/lib/libpolkit-qt-agent-1.so.1
#11 0x00007f5852a13d89 in PolkitQt1::Agent::Session::~Session() () from /usr/lib/libpolkit-qt-agent-1.so.1
#12 0x00007f5851fa9a88 in QObject::event (this=0x23d2ea0, e=<optimized out>) at kernel/qobject.cpp:1200
#13 0x00007f5851343424 in notify_helper (e=0x1fec6a0, receiver=0x23d2ea0, this=0x1f577f0) at kernel/qapplication.cpp:4486
Comment 182 Christoph Feck 2011-10-28 09:42:10 UTC
*** Bug 285144 has been marked as a duplicate of this bug. ***
Comment 183 Lamarque V. Souza 2011-10-29 16:47:28 UTC
*** Bug 285265 has been marked as a duplicate of this bug. ***
Comment 184 Roland W. Jansen 2011-10-31 16:48:25 UTC
Created attachment 65079 [details]
New crash information added by DrKonqi

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

- What I was doing when the application crashed:

Nach der Bestätigung für einen Reboot kam diese Fehlermeldung vom System. Da aber alle Anwendungen, die ich gestartet hatte mittlerweile beendet waren, ist nicht wirklich etwas "abgestürzt".

-- Backtrace (Reduced):
#7  g_type_check_instance_is_a (type_instance=0x82153a0, iface_type=80) at gtype.c:3957
#8  0xb5b89d1d in g_object_unref (_object=0x82153a0) at gobject.c:2668
#9  0xb5a43880 in polkit_agent_session_finalize (object=0x828ac90) at polkitagentsession.c:127
#10 0xb5b89e9d in g_object_unref (_object=0x828ac90) at gobject.c:2734
#11 0xb7410dbe in PolkitQt1::Agent::Session::Private::~Private (this=0x826de78, __in_chrg=<value optimized out>) at /usr/src/debug/polkit-qt-1-0.99.1/agent/polkitqt1-agent-session.cpp:49
Comment 185 Christoph Feck 2011-11-01 17:11:59 UTC
*** Bug 285318 has been marked as a duplicate of this bug. ***
Comment 186 Christoph Feck 2011-11-01 17:12:16 UTC
*** Bug 285335 has been marked as a duplicate of this bug. ***
Comment 187 Christoph Feck 2011-11-01 17:12:34 UTC
*** Bug 285354 has been marked as a duplicate of this bug. ***
Comment 188 poofeg 2011-11-02 08:10:53 UTC
Created attachment 65141 [details]
New crash information added by DrKonqi

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

- What I was doing when the application crashed:

reboot laptop via GUI of KDE.................

-- Backtrace (Reduced):
#7  0x00ee2ba0 in g_type_check_instance_is_a () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
[...]
#11 0x00ea6e9e in PolkitQt1::Agent::Session::Private::~Private() () from /usr/lib/libpolkit-qt-agent-1.so.1
#12 0x00ea6ee4 in PolkitQt1::Agent::Session::~Session() () from /usr/lib/libpolkit-qt-agent-1.so.1
#13 0x00ea6f42 in PolkitQt1::Agent::Session::~Session() () from /usr/lib/libpolkit-qt-agent-1.so.1
#14 0x011395f3 in qDeleteInEventHandler (o=0x9efb658) at kernel/qobject.cpp:3986
Comment 189 Ettore Atalan 2011-11-02 08:40:14 UTC
Created attachment 65144 [details]
New crash information added by DrKonqi

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

- What I was doing when the application crashed:

Kubuntu was shutting down until PolicyKit crashed.

-- Backtrace (Reduced):
#6  0x00007fa1ae7b1f40 in g_type_check_instance_is_a () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
[...]
#10 0x00007fa1b26f2d44 in PolkitQt1::Agent::Session::~Session() () from /usr/lib/libpolkit-qt-agent-1.so.1
#11 0x00007fa1b26f2d89 in PolkitQt1::Agent::Session::~Session() () from /usr/lib/libpolkit-qt-agent-1.so.1
#12 0x00007fa1b1c88a88 in QObject::event (this=0xb2b0f0, e=<optimized out>) at kernel/qobject.cpp:1200
#13 0x00007fa1b1022424 in notify_helper (e=0x754a50, receiver=0xb2b0f0, this=0x763800) at kernel/qapplication.cpp:4486
Comment 190 Alexandru 2011-11-03 07:57:21 UTC
Created attachment 65184 [details]
New crash information added by DrKonqi

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

- What I was doing when the application crashed:
Shutting down Linux. This happens every time.

-- Backtrace (Reduced):
#6  0x00007f3366a7df40 in g_type_check_instance_is_a () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
[...]
#10 0x00007f336a9bed44 in PolkitQt1::Agent::Session::~Session() () from /usr/lib/libpolkit-qt-agent-1.so.1
#11 0x00007f336a9bed89 in PolkitQt1::Agent::Session::~Session() () from /usr/lib/libpolkit-qt-agent-1.so.1
#12 0x00007f3369f54a88 in QObject::event (this=0x20e2d50, e=<optimized out>) at kernel/qobject.cpp:1200
#13 0x00007f33692ee424 in notify_helper (e=0x20db740, receiver=0x20e2d50, this=0x1cfdf90) at kernel/qapplication.cpp:4486
Comment 191 Will Stephenson 2011-11-04 10:43:58 UTC
*** Bug 285524 has been marked as a duplicate of this bug. ***
Comment 192 Will Stephenson 2011-11-04 10:44:21 UTC
*** Bug 285593 has been marked as a duplicate of this bug. ***
Comment 193 yngwie 2011-11-06 04:05:26 UTC
Created attachment 65282 [details]
New crash information added by DrKonqi

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

That crash occured after exiting Systemsettings KDE apps (changing KDM theme) and wanting to disconnect (logout).

-- Backtrace (Reduced):
#7  0xb5a8fba0 in g_type_check_instance_is_a () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
[...]
#11 0xb732ce9e in PolkitQt1::Agent::Session::Private::~Private() () from /usr/lib/libpolkit-qt-agent-1.so.1
#12 0xb732cee4 in PolkitQt1::Agent::Session::~Session() () from /usr/lib/libpolkit-qt-agent-1.so.1
#13 0xb732cf42 in PolkitQt1::Agent::Session::~Session() () from /usr/lib/libpolkit-qt-agent-1.so.1
#14 0xb6ebf5f3 in qDeleteInEventHandler (o=0x8963ea0) at kernel/qobject.cpp:3986
Comment 194 Lamarque V. Souza 2011-11-07 01:02:21 UTC
*** Bug 276728 has been marked as a duplicate of this bug. ***
Comment 195 Lamarque V. Souza 2011-11-07 01:02:32 UTC
*** Bug 278408 has been marked as a duplicate of this bug. ***
Comment 196 Lamarque V. Souza 2011-11-07 01:02:43 UTC
*** Bug 285779 has been marked as a duplicate of this bug. ***
Comment 197 Lamarque V. Souza 2011-11-07 01:02:53 UTC
*** Bug 285946 has been marked as a duplicate of this bug. ***
Comment 198 Rahul Mehta 2011-11-07 04:54:59 UTC
Created attachment 65324 [details]
New crash information added by DrKonqi

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

- What I was doing when the application crashed:

Tried to shut down the computer and the crash happened.

-- Backtrace (Reduced):
#6  0x00007f38cd6dbf40 in g_type_check_instance_is_a () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
[...]
#10 0x00007f38d161cd44 in PolkitQt1::Agent::Session::~Session() () from /usr/lib/libpolkit-qt-agent-1.so.1
#11 0x00007f38d161cd89 in PolkitQt1::Agent::Session::~Session() () from /usr/lib/libpolkit-qt-agent-1.so.1
#12 0x00007f38d0bb2a88 in QObject::event (this=0x20b3ac0, e=<optimized out>) at kernel/qobject.cpp:1200
#13 0x00007f38cff4c424 in notify_helper (e=0x23ec040, receiver=0x20b3ac0, this=0x1ece9b0) at kernel/qapplication.cpp:4486
Comment 199 Julien Boulay 2011-11-07 22:41:14 UTC
Created attachment 65370 [details]
New crash information added by DrKonqi

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

- What I was doing when the application crashed:

Shutting down the system after new installed components (Adobe Reader and Kubuntu updates)

-- Backtrace (Reduced):
#6  0x00007f1808ff5f40 in g_type_check_instance_is_a () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
[...]
#10 0x00007f180cf36d44 in PolkitQt1::Agent::Session::~Session() () from /usr/lib/libpolkit-qt-agent-1.so.1
#11 0x00007f180cf36d89 in PolkitQt1::Agent::Session::~Session() () from /usr/lib/libpolkit-qt-agent-1.so.1
#12 0x00007f180c4cca88 in QObject::event (this=0xbefad0, e=<optimized out>) at kernel/qobject.cpp:1200
#13 0x00007f180b866424 in notify_helper (e=0x96afd0, receiver=0xbefad0, this=0x7e1ec0) at kernel/qapplication.cpp:4486
Comment 200 Nikola Schnelle 2011-11-10 18:17:16 UTC
This bug is very serious.

Yesterday I had to leave my appartmant, and I set kshutdown to shutdown laptop within 2 hours. Today when I got home, laptop was still running!!! Why? Because policykit-kde crashed while system was shutting down and dr konqi window didn't let system to shut down. 

Please fix this bug, almost 1 year passed after it is filed. At least mark it as confirmed, for the start.
Comment 201 Robert Simmons 2011-11-10 21:02:03 UTC
I asked this earlier, but didn't get an answer.

Can a KDE developer please explain the difference between CONFIRMED and UNCONFIRMED?  What conditions need to be met for something to be CONFIRMED?
Comment 202 Christoph Feck 2011-11-13 09:56:43 UTC
*** Bug 286407 has been marked as a duplicate of this bug. ***
Comment 203 Christoph Feck 2011-11-13 09:56:57 UTC
*** Bug 286339 has been marked as a duplicate of this bug. ***
Comment 204 Christoph Feck 2011-11-13 09:57:11 UTC
*** Bug 286214 has been marked as a duplicate of this bug. ***
Comment 205 Christoph Feck 2011-11-13 09:59:25 UTC
Robert, in the KDE's bug tracker, we do not make a difference between those two states.
Comment 206 Robert Simmons 2011-11-13 15:40:58 UTC
(In reply to comment #205)
> Robert, in the KDE's bug tracker, we do not make a difference between those two
> states.

Fair enough.  Next question: I think I've seen developers on here discussing this bug, correct?  So, why has it not been changed to "NEW" or "ASSIGNED"?
Comment 207 Lamarque V. Souza 2011-11-15 01:06:30 UTC
*** Bug 286586 has been marked as a duplicate of this bug. ***
Comment 208 mamor 2011-11-16 14:22:46 UTC
Created attachment 65750 [details]
New crash information added by DrKonqi

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

Logging out from KDE with an open Webdav session in Dolphin

-- Backtrace (Reduced):
#7  0xb5a8fba0 in g_type_check_instance_is_a () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
[...]
#11 0xb732ce9e in PolkitQt1::Agent::Session::Private::~Private() () from /usr/lib/libpolkit-qt-agent-1.so.1
#12 0xb732cee4 in PolkitQt1::Agent::Session::~Session() () from /usr/lib/libpolkit-qt-agent-1.so.1
#13 0xb732cf42 in PolkitQt1::Agent::Session::~Session() () from /usr/lib/libpolkit-qt-agent-1.so.1
#14 0xb6ebf5f3 in qDeleteInEventHandler (o=0x9e46c40) at kernel/qobject.cpp:3986
Comment 209 Toby Fox 2011-11-18 14:16:52 UTC
Application: polkit-kde-authentication-agent-1 (0.99.0)
KDE Platform Version: 4.7.2 (4.7.2)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-12-generic x86_64
Distribution: Ubuntu 11.10

-- Information about the crash:
- What I was doing when the application crashed:
Shutting down the computer. I had just installed a bunch of updates and some new packages.

This is just to confirm that this bug is still a problem - not sure if my backtrace will be any more helpful than the hundred before me. I'm running Kubuntu 11.10, with polkit-kde-1 version 0.99.0-3ubuntu1. I've also seen it sometimes on Kubuntu 11.04 with polkit version 0.99.0-0ubuntu3. Both with KDE 4.7.2.

I appreciate everyone's time and effort on this, and your attempts to stay polite and civil even as users get frustrated with this bug. Wish I could help myself with a patch but I have zero experience with debugging KDE. I can't help but ask: what's so hackish about the one-liner fix - is it simply inelegant, or is it likely to break things further down the line? The bug is pretty irritating - I keep getting phone calls from my mother about how she can't shut down her computer. Fingers crossed for a patch!

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 0x7f84e19a9840 (LWP 1705))]

Thread 4 (Thread 0x7f84d1835700 (LWP 1713)):
#0  0x00007f84deea1773 in poll () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007f84dd060f68 in g_main_context_poll (n_fds=3, fds=0xfa5d60, timeout=-1, context=0xfa4220, priority=<optimized out>) at /build/buildd/glib2.0-2.30.0/./glib/gmain.c:3402
#2  g_main_context_iterate (context=0xfa4220, block=<optimized out>, dispatch=1, self=<optimized out>) at /build/buildd/glib2.0-2.30.0/./glib/gmain.c:3084
#3  0x00007f84dd061792 in g_main_loop_run (loop=0xfa41d0) at /build/buildd/glib2.0-2.30.0/./glib/gmain.c:3297
#4  0x00007f84dcb47516 in gdbus_shared_thread_func (user_data=0xfa41f0) at /build/buildd/glib2.0-2.30.0/./gio/gdbusprivate.c:276
#5  0x00007f84dd0862b6 in g_thread_create_proxy (data=0xfa4310) at /build/buildd/glib2.0-2.30.0/./glib/gthread.c:1962
#6  0x00007f84dbe09efc in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#7  0x00007f84deead89d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#8  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f84cbfff700 (LWP 3209)):
#0  0x00007f84dee7951d in nanosleep () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007f84dd0896d2 in g_usleep (microseconds=<optimized out>) at /build/buildd/glib2.0-2.30.0/./glib/gtimer.c:253
#2  0x00007f84dd05ccfc in unix_signal_helper_thread (data=<optimized out>) at /build/buildd/glib2.0-2.30.0/./glib/gmain.c:4575
#3  0x00007f84dd0862b6 in g_thread_create_proxy (data=0x11d45e0) at /build/buildd/glib2.0-2.30.0/./glib/gthread.c:1962
#4  0x00007f84dbe09efc in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#5  0x00007f84deead89d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f84ca55f700 (LWP 3210)):
#0  0x00007f84dbe0c034 in pthread_mutex_lock () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007f84dd060fcc in g_main_context_iterate (context=0x12e9050, block=<optimized out>, dispatch=1, self=<optimized out>) at /build/buildd/glib2.0-2.30.0/./glib/gmain.c:3095
#2  0x00007f84dd061429 in g_main_context_iteration (context=0x12e9050, may_block=1) at /build/buildd/glib2.0-2.30.0/./glib/gmain.c:3152
#3  0x00007f84e02e8f3e in QEventDispatcherGlib::processEvents (this=0x1189f10, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f84e02bccf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f84e02bcef7 in QEventLoop::exec (this=0x7f84ca55ed10, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f84e01d427f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#7  0x00007f84e029fcbf in QInotifyFileSystemWatcherEngine::run (this=0x11a7a20) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f84e01d6d05 in QThreadPrivate::start (arg=0x11a7a20) at thread/qthread_unix.cpp:331
#9  0x00007f84dbe09efc in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#10 0x00007f84deead89d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f84e19a9840 (LWP 1705)):
[KCrash Handler]
#6  g_type_check_instance_is_a (type_instance=<optimized out>, iface_type=<optimized out>) at /build/buildd/glib2.0-2.30.0/./gobject/gtype.c:3952
#7  0x00007f84dcddc8cd in g_object_unref (_object=0xfa6ca0) at /build/buildd/glib2.0-2.30.0/./gobject/gobject.c:2680
#8  0x00007f84dc66d8da in ?? () from /usr/lib/libpolkit-agent-1.so.0
#9  0x00007f84dcddc9f0 in g_object_unref (_object=0x1190580) at /build/buildd/glib2.0-2.30.0/./gobject/gobject.c:2746
#10 0x00007f84e0d3ed44 in PolkitQt1::Agent::Session::~Session() () from /usr/lib/libpolkit-qt-agent-1.so.1
#11 0x00007f84e0d3ed89 in PolkitQt1::Agent::Session::~Session() () from /usr/lib/libpolkit-qt-agent-1.so.1
#12 0x00007f84e02d4a88 in QObject::event (this=0x11ced10, e=<optimized out>) at kernel/qobject.cpp:1200
#13 0x00007f84df66e424 in notify_helper (e=0xea8b10, receiver=0x11ced10, this=0xdf8700) at kernel/qapplication.cpp:4486
#14 QApplicationPrivate::notify_helper (this=0xdf8700, receiver=0x11ced10, e=0xea8b10) at kernel/qapplication.cpp:4458
#15 0x00007f84df673291 in QApplication::notify (this=0x7fffff3b2ce0, receiver=0x11ced10, e=0xea8b10) at kernel/qapplication.cpp:4365
#16 0x00007f84e1390126 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#17 0x00007f84e02bdafc in QCoreApplication::notifyInternal (this=0x7fffff3b2ce0, receiver=0x11ced10, event=0xea8b10) at kernel/qcoreapplication.cpp:787
#18 0x00007f84e02c151f in sendEvent (event=0xea8b10, receiver=0x11ced10) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#19 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=52, data=0xdd25f0) at kernel/qcoreapplication.cpp:1428
#20 0x00007f84e02c17c4 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1071
#21 0x000000000040847e in ?? ()
#22 0x00007f84deded30d in __libc_start_main () from /lib/x86_64-linux-gnu/libc.so.6
#23 0x00000000004084e5 in _start ()

Possible duplicates by query: bug 286586, bug 286407, bug 286339, bug 286214, bug 285946.
Comment 210 Dario Freddi 2011-11-18 21:50:54 UTC
Please don't focus on the bug state: we do not make a difference between anything, we just care about "fixed" and "reopened" state. Be sure we know perfectly this bug exists. I apologize for not having the time (yet) to look at this, and did not manage to get in touch with Jaroslav either, who looked like had a possible solution.

I will try my best to book some time for that, sorry again, and thanks for your patience and support on this issue.
Comment 211 Dario Freddi 2011-11-18 22:11:34 UTC
Ok, I had a very quick look at the code now. Can anybody with an environment compiled try this workaround? Would be helpful in finding out the cause.

In polkit-qt-1 master, comment out line 49 of file agent/polkitqt1-agent-session.cpp (g_object_unref(polkitAgentSession);) and see if the issue persists. If that is NOT the case (so the bug disappears), please do the following:

After line 82 of the same file, (polkit_agent_session_initiate(d->polkitAgentSession);) enter a new line with the following content:

qDebug() << polkitAgentSession;

Get back to line 49, and after that line add once again after it. Now, recompile polkit-qt-1 and polkit-kde-1 (no need to recompile kdelibs or anything else).

Now log the output of polkit-kde-authentication-agent-1 when trying to reproduce the bug. Start it with "killall polkit-kde-authentication-agent-1 && polkit-kde-authentication-agent-1". Of course, do that with line 49 commented, or it will be useless as the application will crash before that. It might as well be that adding this line reintroduces the bug - please notify me if that's the case.

Please also report if the workaround does not fix this bug indeed.

Also, a backtrace with debug symbols from polkit-1 would be helpful, as this bug might as well be upstream.
Comment 212 Galeffi Christian 2011-11-20 17:23:26 UTC
Created attachment 65871 [details]
New crash information added by DrKonqi

polkit-kde-authentication-agent-1 (0.99.0) on KDE Platform 4.7.3 (4.7.3) "release 10" using Qt 4.7.4

- What I was doing when the application crashed:
I was reboot my system on openSUSE 12.1 KDE 4.7.3

-- Backtrace (Reduced):
#6  g_type_check_instance_is_a (type_instance=<optimized out>, iface_type=<optimized out>) at gtype.c:3952
[...]
#8  0x00007fbaeac98e1a in polkit_agent_session_finalize (object=) at polkitagentsession.c:149
[...]
#10 0x00007fbaefb6ce64 in PolkitQt1::Agent::Session::~Session (this=0x87dba0, __in_chrg=<optimized out>) at /usr/src/debug/polkit-qt-1-0.99.1/agent/polkitqt1-agent-session.cpp:77
#11 0x00007fbaefb6cea9 in PolkitQt1::Agent::Session::~Session (this=0x87dba0, __in_chrg=<optimized out>) at /usr/src/debug/polkit-qt-1-0.99.1/agent/polkitqt1-agent-session.cpp:78
#12 0x00007fbaef0f9178 in QObject::event (this=0x87dba0, e=<optimized out>) at kernel/qobject.cpp:1209
Comment 213 AlexCzar 2011-11-20 20:05:15 UTC
Created attachment 65878 [details]
New crash information added by DrKonqi

polkit-kde-authentication-agent-1 (0.99.0) on KDE Platform 4.7.2 (4.7.2) "release 5" using Qt 4.7.4

- What I was doing when the application crashed:

restarting the system. 
This crash happens almost every time. Maybe it's related to sending my laptop to sleep and waking it up before restarting or shutting down - not sure.

-- Backtrace (Reduced):
#6  0x00007fc21bccd890 in g_type_check_instance_is_a () from /usr/lib64/libgobject-2.0.so.0
[...]
#10 0x00007fc22040de64 in PolkitQt1::Agent::Session::~Session() () from /usr/lib64/libpolkit-qt-agent-1.so.1
#11 0x00007fc22040dea9 in PolkitQt1::Agent::Session::~Session() () from /usr/lib64/libpolkit-qt-agent-1.so.1
#12 0x00007fc21f99a178 in QObject::event (this=0x8eb110, e=<optimized out>) at kernel/qobject.cpp:1209
#13 0x00007fc21ed52be4 in notify_helper (e=0x6e8ec0, receiver=0x8eb110, this=0x6448f0) at kernel/qapplication.cpp:4481
Comment 214 Tempor 2011-11-20 21:22:43 UTC
Created attachment 65881 [details]
New crash information added by DrKonqi

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

- What I was doing when the application crashed:
Shutdown (restart) the system.

- Unusual behavior I noticed:
System after oneiric upgrade general instability. Before shutdown many programs behaved erratically. Programs closing (instantly) for no reason.

-- Backtrace (Reduced):
#7  0xb5a2dba0 in g_type_check_instance_is_a () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
[...]
#11 0xb72cae9e in PolkitQt1::Agent::Session::Private::~Private() () from /usr/lib/libpolkit-qt-agent-1.so.1
#12 0xb72caee4 in PolkitQt1::Agent::Session::~Session() () from /usr/lib/libpolkit-qt-agent-1.so.1
#13 0xb72caf42 in PolkitQt1::Agent::Session::~Session() () from /usr/lib/libpolkit-qt-agent-1.so.1
#14 0xb6e5d5f3 in qDeleteInEventHandler (o=0x978c680) at kernel/qobject.cpp:3986
Comment 215 Lamarque V. Souza 2011-11-23 18:56:31 UTC
*** Bug 287376 has been marked as a duplicate of this bug. ***
Comment 216 Christoph Feck 2011-11-24 13:03:02 UTC
*** Bug 287239 has been marked as a duplicate of this bug. ***
Comment 217 Ettore Atalan 2011-11-24 22:40:38 UTC
Created attachment 66053 [details]
New crash information added by DrKonqi

polkit-kde-authentication-agent-1 (0.99.0) on KDE Platform 4.7.3 (4.7.3) using Qt 4.7.4

PLEASE FIX THIS BUG!!!


- What I was doing when the application crashed:
I was shutting down Kubuntu 11.10 and PolicyKit crashed again. Really annoying!

-- Backtrace (Reduced):
#6  0x00007fc697628f40 in g_type_check_instance_is_a () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
[...]
#10 0x00007fc69b569d44 in PolkitQt1::Agent::Session::~Session() () from /usr/lib/libpolkit-qt-agent-1.so.1
#11 0x00007fc69b569d89 in PolkitQt1::Agent::Session::~Session() () from /usr/lib/libpolkit-qt-agent-1.so.1
#12 0x00007fc69aaffa88 in QObject::event (this=0x256d440, e=<optimized out>) at kernel/qobject.cpp:1200
#13 0x00007fc699e99424 in notify_helper (e=0x22f0390, receiver=0x256d440, this=0x21a5900) at kernel/qapplication.cpp:4486
Comment 218 Dario Freddi 2011-11-24 22:58:14 UTC
(In reply to comment #217)
> PLEASE FIX THIS BUG!!!

I would love to, if somebody answered comment #211
Comment 219 Ettore Atalan 2011-11-25 14:50:55 UTC
(In reply to comment #211)
> Ok, I had a very quick look at the code now. Can anybody with an environment
> compiled try this workaround? Would be helpful in finding out the cause.

I do not have a build environment for KDE.


> In polkit-qt-1 master, comment out line 49 of file
> agent/polkitqt1-agent-session.cpp (g_object_unref(polkitAgentSession);) and see
> if the issue persists. If that is NOT the case (so the bug disappears), please
> do the following:
> 
> After line 82 of the same file,
> (polkit_agent_session_initiate(d->polkitAgentSession);) enter a new line with
> the following content:
> 
> qDebug() << polkitAgentSession;
> 
> Get back to line 49, and after that line add once again after it. Now,
> recompile polkit-qt-1 and polkit-kde-1 (no need to recompile kdelibs or
> anything else).
> 
> Now log the output of polkit-kde-authentication-agent-1 when trying to
> reproduce the bug. Start it with "killall polkit-kde-authentication-agent-1 &&
> polkit-kde-authentication-agent-1". Of course, do that with line 49 commented,
> or it will be useless as the application will crash before that. It might as
> well be that adding this line reintroduces the bug - please notify me if that's
> the case.
> 
> Please also report if the workaround does not fix this bug indeed.
> 
> Also, a backtrace with debug symbols from polkit-1 would be helpful, as this
> bug might as well be upstream.

Do you have a x64 DEB package of your patched polkit-1?
Comment 220 blackmetalowiec 2011-11-25 20:35:34 UTC
Created attachment 66079 [details]
New crash information added by DrKonqi

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

- What I was doing when the application crashed:

cruhed when i shutdown computer tralalala

-- Backtrace (Reduced):
#7  0x006aaba0 in g_type_check_instance_is_a () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
[...]
#11 0x00760e9e in PolkitQt1::Agent::Session::Private::~Private() () from /usr/lib/libpolkit-qt-agent-1.so.1
#12 0x00760ee4 in PolkitQt1::Agent::Session::~Session() () from /usr/lib/libpolkit-qt-agent-1.so.1
#13 0x00760f42 in PolkitQt1::Agent::Session::~Session() () from /usr/lib/libpolkit-qt-agent-1.so.1
#14 0x003925f3 in qDeleteInEventHandler (o=0x8f463d8) at kernel/qobject.cpp:3986
Comment 221 lara.kuzmina@gmail.com 2011-11-25 21:43:42 UTC
Created attachment 66085 [details]
New crash information added by DrKonqi

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

- What I was doing when the application crashed:
close console, kate and go to restart laptop. sometimes i had segmentation fault on shutdown with plasma and decide to reinstall my system, but after that i had one crash of jokey and this one. i not found problems in memtest86

-- Backtrace (Reduced):
#7  0x021f0ba0 in g_type_check_instance_is_a () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
[...]
#11 0x00fa8e9e in PolkitQt1::Agent::Session::Private::~Private() () from /usr/lib/libpolkit-qt-agent-1.so.1
#12 0x00fa8ee4 in PolkitQt1::Agent::Session::~Session() () from /usr/lib/libpolkit-qt-agent-1.so.1
#13 0x00fa8f42 in PolkitQt1::Agent::Session::~Session() () from /usr/lib/libpolkit-qt-agent-1.so.1
#14 0x00a375f3 in qDeleteInEventHandler (o=0xa0120e8) at kernel/qobject.cpp:3986
Comment 222 Dario Freddi 2011-11-25 23:28:18 UTC
(In reply to comment #219)
> Do you have a x64 DEB package of your patched polkit-1?

Unfortunately not, and I don't know how to create one. I can provide you the patch file(s) if the instructions are not clear, or we can meet on IRC and try to figure out the problem together
Comment 223 Ettore Atalan 2011-11-26 00:46:44 UTC
(In reply to comment #222)
> I can provide you the patch file(s) if the instructions are not clear, ...

Can you attach your patch file(s)?
Comment 224 Dmitry Koroktov 2011-11-26 19:33:00 UTC
Created attachment 66102 [details]
New crash information added by DrKonqi

polkit-kde-authentication-agent-1 (0.99.0) on KDE Platform 4.7.2 (4.7.2) "release 5" using Qt 4.7.4

- What I was doing when the application crashed:
Power off my Laptop running OpenSuSE 12.1 full updated.

-- Backtrace (Reduced):
#6  g_type_check_instance_is_a (type_instance=<optimized out>, iface_type=<optimized out>) at gtype.c:3952
[...]
#8  0x00007f49e281ee1a in polkit_agent_session_finalize (object=) at polkitagentsession.c:149
[...]
#10 0x00007f49e76f2e64 in PolkitQt1::Agent::Session::~Session (this=0x860880, __in_chrg=<optimized out>) at /usr/src/debug/polkit-qt-1-0.99.1/agent/polkitqt1-agent-session.cpp:77
#11 0x00007f49e76f2ea9 in PolkitQt1::Agent::Session::~Session (this=0x860880, __in_chrg=<optimized out>) at /usr/src/debug/polkit-qt-1-0.99.1/agent/polkitqt1-agent-session.cpp:78
#12 0x00007f49e6c7f178 in QObject::event (this=0x860880, e=<optimized out>) at kernel/qobject.cpp:1209
Comment 225 Myriam Schweingruber 2011-11-28 13:51:41 UTC
*** Bug 287497 has been marked as a duplicate of this bug. ***
Comment 226 Myriam Schweingruber 2011-11-28 14:00:33 UTC
Setting status correctly.
Comment 227 Myriam Schweingruber 2011-11-28 14:01:53 UTC
*** Bug 287498 has been marked as a duplicate of this bug. ***
Comment 228 Myriam Schweingruber 2011-11-28 14:04:46 UTC
*** Bug 287503 has been marked as a duplicate of this bug. ***
Comment 229 Venci 2011-11-29 14:16:42 UTC
Created attachment 66190 [details]
New crash information added by DrKonqi

polkit-kde-authentication-agent-1 (0.99.0) on KDE Platform 4.7.2 (4.7.2) "release 5" using Qt 4.7.4

- What I was doing when the application crashed:

I just reboot my computer and then it just crash

-- Backtrace (Reduced):
#6  g_type_check_instance_is_a (type_instance=0x830b8c0, iface_type=80) at gtype.c:3952
[...]
#8  0xb59a9ef2 in polkit_agent_session_finalize (object=0x8310718) at polkitagentsession.c:149
[...]
#10 0xb7422e9e in PolkitQt1::Agent::Session::Private::~Private (this=0x834ad08, __in_chrg=<optimized out>) at /usr/src/debug/polkit-qt-1-0.99.1/agent/polkitqt1-agent-session.cpp:49
#11 0xb7422ee4 in PolkitQt1::Agent::Session::~Session (this=0x8359910, __in_chrg=<optimized out>) at /usr/src/debug/polkit-qt-1-0.99.1/agent/polkitqt1-agent-session.cpp:77
#12 0xb7422f42 in PolkitQt1::Agent::Session::~Session (this=0x8359910, __in_chrg=<optimized out>) at /usr/src/debug/polkit-qt-1-0.99.1/agent/polkitqt1-agent-session.cpp:78
Comment 230 Lamarque V. Souza 2011-11-29 14:42:47 UTC
*** Bug 287711 has been marked as a duplicate of this bug. ***
Comment 231 Lamarque V. Souza 2011-11-29 20:57:27 UTC
*** Bug 287751 has been marked as a duplicate of this bug. ***
Comment 232 Marius Trandafir 2011-12-01 09:12:57 UTC
Created attachment 66250 [details]
New crash information added by DrKonqi

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

- What I was doing when the application crashed:

I tried to restart my laptop via the GUI, when suddenly it crashed.

-- Backtrace (Reduced):
#7  0x00a0fba0 in g_type_check_instance_is_a () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
[...]
#11 0x0054be9e in PolkitQt1::Agent::Session::Private::~Private() () from /usr/lib/libpolkit-qt-agent-1.so.1
#12 0x0054bee4 in PolkitQt1::Agent::Session::~Session() () from /usr/lib/libpolkit-qt-agent-1.so.1
#13 0x0054bf42 in PolkitQt1::Agent::Session::~Session() () from /usr/lib/libpolkit-qt-agent-1.so.1
#14 0x010cd5f3 in qDeleteInEventHandler (o=0x9f38f40) at kernel/qobject.cpp:3986
Comment 233 Myriam Schweingruber 2011-12-01 15:15:53 UTC
*** Bug 287886 has been marked as a duplicate of this bug. ***
Comment 234 Myriam Schweingruber 2011-12-01 15:16:24 UTC
*** Bug 287808 has been marked as a duplicate of this bug. ***
Comment 235 Lamarque V. Souza 2011-12-01 17:44:55 UTC
*** Bug 287999 has been marked as a duplicate of this bug. ***
Comment 236 Lamarque V. Souza 2011-12-01 17:45:03 UTC
*** Bug 287790 has been marked as a duplicate of this bug. ***
Comment 237 Lamarque V. Souza 2011-12-01 20:40:41 UTC
*** Bug 288013 has been marked as a duplicate of this bug. ***
Comment 238 Lamarque V. Souza 2011-12-02 15:06:46 UTC
*** Bug 288061 has been marked as a duplicate of this bug. ***
Comment 239 Lamarque V. Souza 2011-12-02 15:06:54 UTC
*** Bug 287796 has been marked as a duplicate of this bug. ***
Comment 240 Lamarque V. Souza 2011-12-05 10:03:34 UTC
*** Bug 288245 has been marked as a duplicate of this bug. ***
Comment 241 for_dal 2011-12-07 14:29:05 UTC
Created attachment 66478 [details]
New crash information added by DrKonqi

polkit-kde-authentication-agent-1 (0.99.0) on KDE Platform 4.7.2 (4.7.2) "release 5" using Qt 4.7.4

- What I was doing when the application crashed:

this occured on two occasions when i was about to shut down. once after i had tried changing the time on the clock and second after i had finished doing an update

-- Backtrace (Reduced):
#6  g_type_check_instance_is_a (type_instance=0x8174a60, iface_type=80) at gtype.c:3952
[...]
#8  0xb5869ef2 in polkit_agent_session_finalize (object=0x824c848) at polkitagentsession.c:149
[...]
#10 0xb72e2e9e in PolkitQt1::Agent::Session::Private::~Private (this=0x824b6d8, __in_chrg=<optimized out>) at /usr/src/debug/polkit-qt-1-0.99.1/agent/polkitqt1-agent-session.cpp:49
#11 0xb72e2ee4 in PolkitQt1::Agent::Session::~Session (this=0x826fb70, __in_chrg=<optimized out>) at /usr/src/debug/polkit-qt-1-0.99.1/agent/polkitqt1-agent-session.cpp:77
#12 0xb72e2f42 in PolkitQt1::Agent::Session::~Session (this=0x826fb70, __in_chrg=<optimized out>) at /usr/src/debug/polkit-qt-1-0.99.1/agent/polkitqt1-agent-session.cpp:78
Comment 242 Silviu C. 2011-12-07 22:33:13 UTC
Created attachment 66489 [details]
New crash information added by DrKonqi

polkit-kde-authentication-agent-1 (0.99.0) on KDE Platform 4.7.3 (4.7.3) using Qt 4.7.4

I was trying to shutdown my computer. It showed me a windows that something crashed and now I'm filling this bug report.

-- Backtrace (Reduced):
#6  0x00007f150892cf40 in g_type_check_instance_is_a () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
[...]
#10 0x00007f150c86dd44 in PolkitQt1::Agent::Session::~Session() () from /usr/lib/libpolkit-qt-agent-1.so.1
#11 0x00007f150c86dd89 in PolkitQt1::Agent::Session::~Session() () from /usr/lib/libpolkit-qt-agent-1.so.1
#12 0x00007f150be03a88 in QObject::event (this=0x1cfeb10, e=<optimized out>) at kernel/qobject.cpp:1200
#13 0x00007f150b19d424 in notify_helper (e=0x19e2500, receiver=0x1cfeb10, this=0x1945880) at kernel/qapplication.cpp:4486
Comment 243 Thomas 2011-12-08 22:31:47 UTC
Created attachment 66520 [details]
New crash information added by DrKonqi

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

- What I was doing when the application crashed: logging out/rebooting after some days of running and coming back from standby too

-- Backtrace (Reduced):
#6  0x00007f84b4c51f40 in g_type_check_instance_is_a () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
[...]
#10 0x00007f84b8b92d44 in PolkitQt1::Agent::Session::~Session() () from /usr/lib/libpolkit-qt-agent-1.so.1
#11 0x00007f84b8b92d89 in PolkitQt1::Agent::Session::~Session() () from /usr/lib/libpolkit-qt-agent-1.so.1
#12 0x00007f84b8128a88 in QObject::event (this=0x16b5af0, e=<optimized out>) at kernel/qobject.cpp:1200
#13 0x00007f84b74c2424 in notify_helper (e=0x15352a0, receiver=0x16b5af0, this=0x13da810) at kernel/qapplication.cpp:4486
Comment 244 Nick Shaforostoff 2011-12-08 23:19:16 UTC
Created attachment 66521 [details]
compiled x64 binary with g_unref commented out

this is x64 binary of polkit library built with g_object_unref call disabled.

those who experience crash and has debian/ubuntu x64 system please replace the library you have in your system with the one from the archive and report if the bug is still there (after restart).

for example on my system the library is /usr/lib/libpolkit-qt-agent-1.so.1.99.0
so the commands would be:
tar xjf libpolkit-qt-agent-1.so..tar.bz2
sudo mv /usr/lib/libpolkit-qt-agent-1.so.1.99.0 /usr/lib/libpolkit-qt-agent-1.so.1.99.0_std
sudo mv libpolkit-qt-agent-1.so.1.99.1 /usr/lib/libpolkit-qt-agent-1.so.1.99.0

i will attach an x86 binary for debian/ubuntu tomorrow
Comment 245 Robert Simmons 2011-12-09 01:05:33 UTC
(In reply to comment #244)
> Created an attachment (id=66521) [details]
> compiled x64 binary with g_unref commented out
> 
> this is x64 binary of polkit library built with g_object_unref call disabled.
> 
> those who experience crash and has debian/ubuntu x64 system please replace the
> library you have in your system with the one from the archive and report if the
> bug is still there (after restart).
> 
> for example on my system the library is /usr/lib/libpolkit-qt-agent-1.so.1.99.0
> so the commands would be:
> tar xjf libpolkit-qt-agent-1.so..tar.bz2
> sudo mv /usr/lib/libpolkit-qt-agent-1.so.1.99.0
> /usr/lib/libpolkit-qt-agent-1.so.1.99.0_std
> sudo mv libpolkit-qt-agent-1.so.1.99.1 /usr/lib/libpolkit-qt-agent-1.so.1.99.0
> 
> i will attach an x86 binary for debian/ubuntu tomorrow

Can you please also attach a patch, not just a binary?
Comment 246 Nick Shaforostoff 2011-12-09 01:16:52 UTC
@Robert: see comment #211

this is for those users who cannot setup build env
Comment 247 Thomas 2011-12-09 01:42:15 UTC
Thanks. I downloaded and renamed-replaced that binary for x64. Let me gather some experience now for a week or two.
Comment 248 Ivo Anjo 2011-12-09 11:28:13 UTC
Thank you Nick for your binary.

Short results from my testing: it works, no more crashes.

Long results:
I have Ubuntu 11.10, with the following libpolkit:
44d440120d6f6175f68f050cd12103be  libpolkit-qt-agent-1.so.1.99.0
and I replaced it with Nick's (after renaming):
72ce23e99f3c444b4708254895dac86b  libpolkit-qt-agent-1.so.1.99.1

To test, I used apper to install xbill (polkit asks for password) and then immediately remove it (asks for password again).
I then closed apper, and repeated it.
So basically each test was open apper -> install xbill -> remove xbill -> close apper -> open apper -> install xbill -> remove xbill -> close apper.

I tested this twice with the old libpolkit, and twice I got crashes at logout.
Then I replaced with Nick's libpolkit, tested twice, no crashes.
Then I replaced the original libpolkit, and just to be sure repeated the test and got a crash again.

Hope this helps, and thanks to all the people working on this damn awful bug.
Comment 249 Saurav Sengupta 2011-12-09 14:14:56 UTC
Finally! Thanks to everyone who has been working on this, especially Dario Freddi for quick response. I hope this can finally be fixed once and for all now.
Comment 250 Nick Shaforostoff 2011-12-09 21:21:38 UTC
Created attachment 66564 [details]
x64 libpolkit with more logging

please try with the new version of binary.

i added logging to it as described by Dario.

issue the following commands:
touch ~/polkit-debug.txt
killall polkit-kde-authentication-agent-1
/usr/lib/kde4/libexec/polkit-kde-authentication-agent-1
try to repro the crash and send us terminal output.

apart from terminal output some info is written to the ~/polkit-debug.txt file.




p.S.
i myself am unable to repro the crash,  but i see messages like:
polkit_qt_listener_initiate_authentication callback for  0x184b500 

(process:2632): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
0x1c376d0 initiate 0x1c03c00 

(process:2632): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
REQUEST 

they are unrelated to our issue, so its just FYI.
Comment 251 Nick Shaforostoff 2011-12-09 21:51:24 UTC
i think contents of ~/polkit-debug.txt would be interesting too.

on my system analyzing it has shown that while all unsuccessful sessions are destroyed immediately, the successful ones are only destroyed when polkit agent process finishes, although they appear to be not reused (otherwise i would not need to enter password second time).
Comment 252 Ivo Anjo 2011-12-10 10:47:13 UTC
I am unsure if this new binary is supposed to still crash or not, but on my computer it doesn't.

The output on the console for the same test as before was:
================================================
$ /usr/lib/kde4/libexec/polkit-kde-authentication-agent-1
11 New PolkitAgentListener  0x1737f00
Adding new listener  PolkitQt1::Agent::Listener(0x1886fa0) for  0x1737f00
Listener adapter polkit_qt_listener_initiate_authentication
GSimpleAsyncResult: 0x18e7b00
polkit_qt_listener_initiate_authentication callback for  0x1737f00

(process:5615): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
0x1b19d10 initiate 0x1ae41e0

(process:5615): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
REQUEST
COMPLETED
Listener adapter polkit_qt_listener_initiate_authentication_finish
polkit_qt_listener_initiate_authentication_finish callback for  0x1737f00
Listener adapter polkit_qt_listener_initiate_authentication
GSimpleAsyncResult: 0x18e7b00
polkit_qt_listener_initiate_authentication callback for  0x1737f00
0x1c9fb20 initiate 0x1ce4060

(process:5615): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
REQUEST
COMPLETED
Listener adapter polkit_qt_listener_initiate_authentication_finish
polkit_qt_listener_initiate_authentication_finish callback for  0x1737f00
Listener adapter polkit_qt_listener_initiate_authentication
GSimpleAsyncResult: 0x17390c0
polkit_qt_listener_initiate_authentication callback for  0x1737f00
0x1d79e10 initiate 0x1ae4580

(process:5615): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
REQUEST
COMPLETED
Listener adapter polkit_qt_listener_initiate_authentication_finish
polkit_qt_listener_initiate_authentication_finish callback for  0x1737f00
Listener adapter polkit_qt_listener_initiate_authentication
GSimpleAsyncResult: 0x1ae44c0
polkit_qt_listener_initiate_authentication callback for  0x1737f00
0x1e0bb90 initiate 0x18edd20

(process:5615): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
REQUEST
COMPLETED
Listener adapter polkit_qt_listener_initiate_authentication_finish
polkit_qt_listener_initiate_authentication_finish callback for  0x1737f00
0x1b19d10 Session::Private::~Private() 0x1ae41e0
0x1c9fb20 Session::Private::~Private() 0x1ce4060
0x1d79e10 Session::Private::~Private() 0x1ae4580
0x1e0bb90 Session::Private::~Private() 0x18edd20
Destroying listener
Removing listener  PolkitQt1::Agent::Listener(0x1886fa0)
================================================

And on the polkit-debug file I got:
================================================
37481312 Session::initiate() 37263456
39115728 Session::initiate() 35201600
40025760 Session::initiate() 37253888
40494528 Session::initiate() 37252288
37481312 Session::Private::~Private() 37263456
39115728 Session::Private::~Private() 35201600
40025760 Session::Private::~Private() 37253888
40494528 Session::Private::~Private() 37252288
40993824 Session::initiate() 40774112
42628832 Session::initiate() 42907744
43483744 Session::initiate() 40759136
43552736 Session::initiate() 40759488
40993824 Session::Private::~Private() 40774112
42628832 Session::Private::~Private() 42907744
43483744 Session::Private::~Private() 40759136
43552736 Session::Private::~Private() 40759488
28417296 Session::initiate() 28197344
30014240 Session::initiate() 30294112
30907920 Session::initiate() 28198272
31505296 Session::initiate() 26139936
28417296 Session::Private::~Private() 28197344
30014240 Session::Private::~Private() 30294112
30907920 Session::Private::~Private() 28198272
31505296 Session::Private::~Private() 26139936
================================================
Comment 253 Feucht 2011-12-10 12:45:29 UTC
Created attachment 66586 [details]
New crash information added by DrKonqi

polkit-kde-authentication-agent-1 (0.99.0) on KDE Platform 4.7.2 (4.7.2) "release 5" using Qt 4.7.4

- What I was doing when the application crashed:
During klick on "restart" from the desktop KDE crashed.

-- Backtrace (Reduced):
#6  0xb5b22490 in g_type_check_instance_is_a () from /usr/lib/libgobject-2.0.so.0
[...]
#10 0xb7418e9e in PolkitQt1::Agent::Session::Private::~Private() () from /usr/lib/libpolkit-qt-agent-1.so.1
#11 0xb7418ee4 in PolkitQt1::Agent::Session::~Session() () from /usr/lib/libpolkit-qt-agent-1.so.1
#12 0xb7418f42 in PolkitQt1::Agent::Session::~Session() () from /usr/lib/libpolkit-qt-agent-1.so.1
#13 0xb6f9e263 in qDeleteInEventHandler (o=0x818f860) at kernel/qobject.cpp:3995
Comment 254 Nick Shaforostoff 2011-12-10 16:24:57 UTC
Created attachment 66598 [details]
x64 libpolkit with more logging that SHOULD crash

i'm attaching same binary as the previous one, but it should crash for you.
(i didn't disable g_object_unref() call).

please send us polkit-debug.txt contents that you get with this beinary so i could see where crash occurs (for which session object)

@Dario: do you have any ideas?
Comment 255 Silviu C. 2011-12-10 18:48:26 UTC
Got this yesterday with the more "verbose" lib in place:

Application: plasma-desktop (0.4)
KDE Platform Version: 4.7.3 (4.7.3)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-13-generic x86_64
Distribution: Ubuntu 11.10

-- Information about the crash:
This is a report created with a more verbose libpolkit-agent.*.so

The crash can be reproduced every time.

-- Backtrace:
Application: Plasma Desktop Shell (plasma-desktop), signal: Segmentation fault
[Current thread is 1 (Thread 0x7ff5b6af27c0 (LWP 1714))]

Thread 12 (Thread 0x7ff592735700 (LWP 1715)):
#0  0x00007ff5b63d0773 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007ff5aa95af68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ff5aa95b429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ff5b35c1f3e in QEventDispatcherGlib::processEvents (this=0x10bbf90, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007ff5b3595cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007ff5b3595ef7 in QEventLoop::exec (this=0x7ff592734cd0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007ff5b34ad27f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#7  0x00007ff5b3578cbf in QInotifyFileSystemWatcherEngine::run (this=0x10d21a0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007ff5b34afd05 in QThreadPrivate::start (arg=0x10d21a0) at thread/qthread_unix.cpp:331
#9  0x00007ff5a7c7456c in ?? () from /usr/lib/nvidia-current/libGL.so.1
#10 0x00007ff5ab467efc in start_thread (arg=0x7ff592735700) at pthread_create.c:304
#11 0x00007ff5b63dc89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 11 (Thread 0x7ff58feae700 (LWP 1716)):
#0  0x00007ff5b63d0773 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007ff5aa95af68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ff5aa95b429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ff5b35c1f3e in QEventDispatcherGlib::processEvents (this=0x1271310, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007ff5b3595cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007ff5b3595ef7 in QEventLoop::exec (this=0x7ff58feadcd0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007ff5b34ad27f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#7  0x00007ff5b3578cbf in QInotifyFileSystemWatcherEngine::run (this=0x12705e0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007ff5b34afd05 in QThreadPrivate::start (arg=0x12705e0) at thread/qthread_unix.cpp:331
#9  0x00007ff5a7c7456c in ?? () from /usr/lib/nvidia-current/libGL.so.1
#10 0x00007ff5ab467efc in start_thread (arg=0x7ff58feae700) at pthread_create.c:304
#11 0x00007ff5b63dc89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7ff58cc5f700 (LWP 1722)):
#0  0x00007ff5b63d0773 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007ff5aa95af68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ff5aa95b792 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ff58d73d516 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007ff5aa9802b6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007ff5a7c7456c in ?? () from /usr/lib/nvidia-current/libGL.so.1
#6  0x00007ff5ab467efc in start_thread (arg=0x7ff58cc5f700) at pthread_create.c:304
#7  0x00007ff5b63dc89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7ff585c71700 (LWP 2019)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007ff5b34b01ab in wait (time=18446744073709551615, this=0x10f5e90) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x1119620, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007ff5af2aa864 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1190250, th=0x2851410) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007ff5af2ace0b in ThreadWeaver::WorkingHardState::applyForWork (this=0x112cbe0, th=0x2851410) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007ff5af2abccf in ThreadWeaver::ThreadRunHelper::run (this=0x7ff585c70d20, parent=0x1190250, th=0x2851410) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007ff5af2abd5b in ThreadWeaver::Thread::run (this=0x2851410) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007ff5b34afd05 in QThreadPrivate::start (arg=0x2851410) at thread/qthread_unix.cpp:331
#8  0x00007ff5a7c7456c in ?? () from /usr/lib/nvidia-current/libGL.so.1
#9  0x00007ff5ab467efc in start_thread (arg=0x7ff585c71700) at pthread_create.c:304
#10 0x00007ff5b63dc89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7ff58f069700 (LWP 2020)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007ff5b34b01ab in wait (time=18446744073709551615, this=0x10f5e90) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x1119620, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007ff5af2aa864 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1190250, th=0x1ec0d10) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007ff5af2ace0b in ThreadWeaver::WorkingHardState::applyForWork (this=0x112cbe0, th=0x1ec0d10) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007ff5af2abccf in ThreadWeaver::ThreadRunHelper::run (this=0x7ff58f068d20, parent=0x1190250, th=0x1ec0d10) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007ff5af2abd5b in ThreadWeaver::Thread::run (this=0x1ec0d10) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007ff5b34afd05 in QThreadPrivate::start (arg=0x1ec0d10) at thread/qthread_unix.cpp:331
#8  0x00007ff5a7c7456c in ?? () from /usr/lib/nvidia-current/libGL.so.1
#9  0x00007ff5ab467efc in start_thread (arg=0x7ff58f069700) at pthread_create.c:304
#10 0x00007ff5b63dc89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7ff58d460700 (LWP 2021)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007ff5b34b01ab in wait (time=18446744073709551615, this=0x10f5e90) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x1119620, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007ff5af2aa864 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1190250, th=0x2054da0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007ff5af2ace0b in ThreadWeaver::WorkingHardState::applyForWork (this=0x112cbe0, th=0x2054da0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007ff5af2ace24 in ThreadWeaver::WorkingHardState::applyForWork (this=0x112cbe0, th=0x2054da0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007ff5af2abccf in ThreadWeaver::ThreadRunHelper::run (this=0x7ff58d45fd20, parent=0x1190250, th=0x2054da0) at ../../../threadweaver/Weaver/Thread.cpp:87
#7  0x00007ff5af2abd5b in ThreadWeaver::Thread::run (this=0x2054da0) at ../../../threadweaver/Weaver/Thread.cpp:142
#8  0x00007ff5b34afd05 in QThreadPrivate::start (arg=0x2054da0) at thread/qthread_unix.cpp:331
#9  0x00007ff5a7c7456c in ?? () from /usr/lib/nvidia-current/libGL.so.1
#10 0x00007ff5ab467efc in start_thread (arg=0x7ff58d460700) at pthread_create.c:304
#11 0x00007ff5b63dc89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7ff582fd8700 (LWP 2022)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007ff5b34b01ab in wait (time=18446744073709551615, this=0x10f5e90) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x1119620, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007ff5af2aa864 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1190250, th=0x2af3a00) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007ff5af2ace0b in ThreadWeaver::WorkingHardState::applyForWork (this=0x112cbe0, th=0x2af3a00) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007ff5af2ace24 in ThreadWeaver::WorkingHardState::applyForWork (this=0x112cbe0, th=0x2af3a00) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007ff5af2abccf in ThreadWeaver::ThreadRunHelper::run (this=0x7ff582fd7d20, parent=0x1190250, th=0x2af3a00) at ../../../threadweaver/Weaver/Thread.cpp:87
#7  0x00007ff5af2abd5b in ThreadWeaver::Thread::run (this=0x2af3a00) at ../../../threadweaver/Weaver/Thread.cpp:142
#8  0x00007ff5b34afd05 in QThreadPrivate::start (arg=0x2af3a00) at thread/qthread_unix.cpp:331
#9  0x00007ff5a7c7456c in ?? () from /usr/lib/nvidia-current/libGL.so.1
#10 0x00007ff5ab467efc in start_thread (arg=0x7ff582fd8700) at pthread_create.c:304
#11 0x00007ff5b63dc89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7ff5827d7700 (LWP 2023)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007ff5b34b01ab in wait (time=18446744073709551615, this=0x10f5e90) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x1119620, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007ff5af2aa864 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1190250, th=0x1ca1b10) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007ff5af2ace0b in ThreadWeaver::WorkingHardState::applyForWork (this=0x112cbe0, th=0x1ca1b10) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007ff5af2abccf in ThreadWeaver::ThreadRunHelper::run (this=0x7ff5827d6d20, parent=0x1190250, th=0x1ca1b10) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007ff5af2abd5b in ThreadWeaver::Thread::run (this=0x1ca1b10) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007ff5b34afd05 in QThreadPrivate::start (arg=0x1ca1b10) at thread/qthread_unix.cpp:331
#8  0x00007ff5a7c7456c in ?? () from /usr/lib/nvidia-current/libGL.so.1
#9  0x00007ff5ab467efc in start_thread (arg=0x7ff5827d7700) at pthread_create.c:304
#10 0x00007ff5b63dc89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7ff581250700 (LWP 12344)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007ff5b34b01ab in wait (time=18446744073709551615, this=0x10f5e90) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x1119620, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007ff5af2aa864 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1190250, th=0x1c43850) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007ff5af2ace0b in ThreadWeaver::WorkingHardState::applyForWork (this=0x112cbe0, th=0x1c43850) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007ff5af2abccf in ThreadWeaver::ThreadRunHelper::run (this=0x7ff58124fd20, parent=0x1190250, th=0x1c43850) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007ff5af2abd5b in ThreadWeaver::Thread::run (this=0x1c43850) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007ff5b34afd05 in QThreadPrivate::start (arg=0x1c43850) at thread/qthread_unix.cpp:331
#8  0x00007ff5a7c7456c in ?? () from /usr/lib/nvidia-current/libGL.so.1
#9  0x00007ff5ab467efc in start_thread (arg=0x7ff581250700) at pthread_create.c:304
#10 0x00007ff5b63dc89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7ff580a4f700 (LWP 12345)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007ff5b34b01ab in wait (time=18446744073709551615, this=0x10f5e90) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x1119620, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007ff5af2aa864 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1190250, th=0x2b08350) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007ff5af2ace0b in ThreadWeaver::WorkingHardState::applyForWork (this=0x112cbe0, th=0x2b08350) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007ff5af2ace24 in ThreadWeaver::WorkingHardState::applyForWork (this=0x112cbe0, th=0x2b08350) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007ff5af2abccf in ThreadWeaver::ThreadRunHelper::run (this=0x7ff580a4ed20, parent=0x1190250, th=0x2b08350) at ../../../threadweaver/Weaver/Thread.cpp:87
#7  0x00007ff5af2abd5b in ThreadWeaver::Thread::run (this=0x2b08350) at ../../../threadweaver/Weaver/Thread.cpp:142
#8  0x00007ff5b34afd05 in QThreadPrivate::start (arg=0x2b08350) at thread/qthread_unix.cpp:331
#9  0x00007ff5a7c7456c in ?? () from /usr/lib/nvidia-current/libGL.so.1
#10 0x00007ff5ab467efc in start_thread (arg=0x7ff580a4f700) at pthread_create.c:304
#11 0x00007ff5b63dc89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7ff57bfff700 (LWP 12346)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007ff5b34b01ab in wait (time=18446744073709551615, this=0x10f5e90) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x1119620, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007ff5af2aa864 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1190250, th=0x2632c30) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007ff5af2ace0b in ThreadWeaver::WorkingHardState::applyForWork (this=0x112cbe0, th=0x2632c30) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007ff5af2abccf in ThreadWeaver::ThreadRunHelper::run (this=0x7ff57bffed20, parent=0x1190250, th=0x2632c30) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007ff5af2abd5b in ThreadWeaver::Thread::run (this=0x2632c30) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007ff5b34afd05 in QThreadPrivate::start (arg=0x2632c30) at thread/qthread_unix.cpp:331
#8  0x00007ff5a7c7456c in ?? () from /usr/lib/nvidia-current/libGL.so.1
#9  0x00007ff5ab467efc in start_thread (arg=0x7ff57bfff700) at pthread_create.c:304
#10 0x00007ff5b63dc89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ff5b6af27c0 (LWP 1714)):
[KCrash Handler]
#6  0x0000000000872508 in ?? ()
#7  0x00007ff59b4c9b96 in TaskGroupItem::~TaskGroupItem (this=0x26a2860, __in_chrg=<optimized out>) at ../../../../../plasma/desktop/applets/tasks/taskgroupitem.cpp:82
#8  0x00007ff59b4c9c59 in TaskGroupItem::~TaskGroupItem (this=0x26a2860, __in_chrg=<optimized out>) at ../../../../../plasma/desktop/applets/tasks/taskgroupitem.cpp:84
#9  0x00007ff5b35ada88 in QObject::event (this=0x26a2860, e=<optimized out>) at kernel/qobject.cpp:1200
#10 0x00007ff5b2f6589b in QGraphicsWidget::event (this=0x26a2860, event=0x1c2edc0) at graphicsview/qgraphicswidget.cpp:1455
#11 0x00007ff5b2947424 in notify_helper (e=0x1c2edc0, receiver=0x26a2860, this=0x6cb980) at kernel/qapplication.cpp:4486
#12 QApplicationPrivate::notify_helper (this=0x6cb980, receiver=0x26a2860, e=0x1c2edc0) at kernel/qapplication.cpp:4458
#13 0x00007ff5b294c291 in QApplication::notify (this=0x6b83b0, receiver=0x26a2860, e=0x1c2edc0) at kernel/qapplication.cpp:4365
#14 0x00007ff5b4245126 in KApplication::notify (this=0x6b83b0, receiver=0x26a2860, event=0x1c2edc0) at ../../kdeui/kernel/kapplication.cpp:311
#15 0x00007ff5b3596afc in QCoreApplication::notifyInternal (this=0x6b83b0, receiver=0x26a2860, event=0x1c2edc0) at kernel/qcoreapplication.cpp:787
#16 0x00007ff5b359a51f in sendEvent (event=0x1c2edc0, receiver=0x26a2860) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#17 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=52, data=0x615430) at kernel/qcoreapplication.cpp:1428
#18 0x00007ff5b359a7c4 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1071
#19 0x00007ff5b66db1a3 in kdemain (argc=1, argv=0x7fff7a7fc168) at ../../../../plasma/desktop/shell/main.cpp:120
#20 0x00007ff5b631c30d in __libc_start_main (main=0x400640 <main(int, char**)>, argc=1, ubp_av=0x7fff7a7fc168, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff7a7fc158) at libc-start.c:226
#21 0x0000000000400671 in _start ()
Comment 256 Nick Shaforostoff 2011-12-11 02:21:59 UTC
@Silviu:  please help us by running https://bugs.kde.org/attachment.cgi?id=66598 and sending us the report it produces (see my previous comments in the bug report)
Comment 257 Silviu C. 2011-12-11 10:47:51 UTC
Hey,

I have installed the "crashy and verbose" lib and currently trying to make it crash. I suspect that privilege escalation made it crash but so far nothing that required me to enter the admin password caused a crash. I'll give it a few days... I can see now why this thing is so "elusive" :)
Comment 258 Ivo Anjo 2011-12-11 12:52:17 UTC
Here are the results of the latest tests with
7081fd7faea216c78f972a2e68a5e0be  libpolkit-qt-agent-1.so.1.99.1

This version, as expected, crashes.
Output of /usr/lib/kde4/libexec/polkit-kde-authentication-agent-1:
================================================
11 New PolkitAgentListener  0x133af00
Adding new listener  PolkitQt1::Agent::Listener(0x1489fa0) for  0x133af00
Listener adapter polkit_qt_listener_initiate_authentication
GSimpleAsyncResult: 0x14ea700
polkit_qt_listener_initiate_authentication callback for  0x133af00

(process:3402): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
0x171c500 initiate 0x16e6120

(process:3402): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
REQUEST
COMPLETED
Listener adapter polkit_qt_listener_initiate_authentication_finish
polkit_qt_listener_initiate_authentication_finish callback for  0x133af00
AsyncResult::setCompleted 1
AsyncResult::setCompleted 2
Listener adapter polkit_qt_listener_initiate_authentication
GSimpleAsyncResult: 0x14e18c0
polkit_qt_listener_initiate_authentication callback for  0x133af00
0x18a4f40 initiate 0x16d5000

(process:3402): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
REQUEST
COMPLETED
Listener adapter polkit_qt_listener_initiate_authentication_finish
polkit_qt_listener_initiate_authentication_finish callback for  0x133af00
AsyncResult::setCompleted 1
AsyncResult::setCompleted 2
Listener adapter polkit_qt_listener_initiate_authentication
GSimpleAsyncResult: 0x14e1920
polkit_qt_listener_initiate_authentication callback for  0x133af00
0x19830e0 initiate 0x16e64c0

(process:3402): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
REQUEST
COMPLETED
Listener adapter polkit_qt_listener_initiate_authentication_finish
polkit_qt_listener_initiate_authentication_finish callback for  0x133af00
AsyncResult::setCompleted 1
AsyncResult::setCompleted 2
Listener adapter polkit_qt_listener_initiate_authentication
GSimpleAsyncResult: 0x16e6400
polkit_qt_listener_initiate_authentication callback for  0x133af00
0x19a0ec0 initiate 0x1979400

(process:3402): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
REQUEST
COMPLETED
Listener adapter polkit_qt_listener_initiate_authentication_finish
polkit_qt_listener_initiate_authentication_finish callback for  0x133af00
AsyncResult::setCompleted 1
AsyncResult::setCompleted 2
0x171c500 Session::Private::~Private() 1 0x16e6120

(process:3402): GLib-WARNING **: Failed to read from child watch wake up pipe: Bad file descriptor
KCrash: Application 'polkit-kde-authentication-agent-1' crashing...
KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi from kdeinit
sock_file=/home/knuckles/.kde/socket-mayushi/kdeinit4__0

(process:3402): GLib-WARNING **: Failed to read from child watch wake up pipe: Bad file descriptor

(process:3402): GLib-WARNING **: Failed to read from child watch wake up pipe: Bad file descriptor

(process:3402): GLib-WARNING **: Failed to read from child watch wake up pipe: Bad file descriptor
QSocketNotifier: Invalid socket 15 and type 'Read', disabling...

(process:3402): GLib-WARNING **: Failed to read from child watch wake up pipe: Bad file descriptor

(process:3402): GLib-WARNING **: Failed to read from child watch wake up pipe: Bad file descriptor

(process:3402): GLib-WARNING **: Failed to read from child watch wake up pipe: Bad file descriptor

(process:3402): GLib-WARNING **: Failed to read from child watch wake up pipe: Bad file descriptor
================================================

polkit-debug.txt:
================================================
24233216 Session::initiate() 24011040
25841472 Session::initiate() 23941120
26751200 Session::initiate() 24011968
26873536 Session::initiate() 26711040
24233216 Session::Private::~Private() 24011040
================================================

Also the backtrace from kcrash seems the same as always:
================================================
Thread 1 (Thread 0x7f7bd78f7840 (LWP 3402)):
[KCrash Handler]
#6  0x00007f7bd2d48f40 in g_type_check_instance_is_a () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#7  0x00007f7bd2d278cd in g_object_unref () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#8  0x00007f7bd25b88da in ?? () from /usr/lib/libpolkit-agent-1.so.0
#9  0x00007f7bd2d279f0 in g_object_unref () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#10 0x00007f7bd6c8e105 in PolkitQt1::Agent::Session::Private::~Private() () from /usr/lib/libpolkit-qt-agent-1.so.1
#11 0x00007f7bd6c8eb94 in PolkitQt1::Agent::Session::~Session() () from /usr/lib/libpolkit-qt-agent-1.so.1
#12 0x00007f7bd6c8ec04 in PolkitQt1::Agent::Session::~Session() () from /usr/lib/libpolkit-qt-agent-1.so.1
#13 0x00007f7bd621fa88 in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#14 0x00007f7bd55b9424 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#15 0x00007f7bd55be291 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#16 0x00007f7bd72e0126 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#17 0x00007f7bd6208afc in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#18 0x00007f7bd620c51f in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#19 0x00007f7bd620c7c4 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#20 0x000000000040847e in ?? ()
#21 0x00007f7bd4d3830d in __libc_start_main () from /lib/x86_64-linux-gnu/libc.so.6
#22 0x00000000004084e5 in _start ()
================================================
Comment 259 Nick Shaforostoff 2011-12-11 17:28:43 UTC
Created attachment 66635 [details]
x64 binaries of agent and core polkit-qt libs with stricter refing

please test if the attached libs (note the core lib needs to be copied as well) still crash.

i added more refing/unrefing for identity pointer (in core lib), and also made the code remove sessions immediately in 'completed' signal handler (as polkit docs ask) in agent lib.
Comment 260 Ivo Anjo 2011-12-11 17:58:42 UTC
Ok, here are the results with the latest agent+core:
8996ca80a7ca5e0f2462a043fcc482af  /usr/lib/libpolkit-qt-agent-1.so.1.99.0
e24617829e2bc8dc189ca0bca2725eb1  /usr/lib/libpolkit-qt-core-1.so.1.99.0

This version does not crash (I tried it thrice). Logs are below. I don't know if that is important, but I'm still prompted for the password for every action (4 times total).

Btw, if it would help, I can easily give you ssh access to this machine.

Output of /usr/lib/kde4/libexec/polkit-kde-authentication-agent-1:
================================================
11 New PolkitAgentListener  0x211af00
Adding new listener  PolkitQt1::Agent::Listener(0x226d280) for  0x211af00
ggg1 1
ggg2 3
Listener adapter polkit_qt_listener_initiate_authentication
GSimpleAsyncResult: 0x22ca700
polkit_qt_listener_initiate_authentication callback for  0x211af00
gggh 1
gggh 2
0x24f43c0 initiate 0x7f4f380085e0

(process:4437): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
REQUEST
gggh 1
gggh 2
COMPLETED
Listener adapter polkit_qt_listener_initiate_authentication_finish
polkit_qt_listener_initiate_authentication_finish callback for  0x211af00
Listener adapter polkit_qt_listener_initiate_authentication
GSimpleAsyncResult: 0x7f4f380085e0
polkit_qt_listener_initiate_authentication callback for  0x211af00
gggh 1
gggh 2
0x2699760 initiate 0x7f4f3803a120

(process:4437): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
REQUEST
gggh 1
gggh 2
COMPLETED
Listener adapter polkit_qt_listener_initiate_authentication_finish
polkit_qt_listener_initiate_authentication_finish callback for  0x211af00
Listener adapter polkit_qt_listener_initiate_authentication
GSimpleAsyncResult: 0x7f4f380085e0
polkit_qt_listener_initiate_authentication callback for  0x211af00
gggh 1
gggh 2
0x2703360 initiate 0x7f4f380051e0

(process:4437): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
REQUEST
gggh 1
gggh 2
COMPLETED
Listener adapter polkit_qt_listener_initiate_authentication_finish
polkit_qt_listener_initiate_authentication_finish callback for  0x211af00
Listener adapter polkit_qt_listener_initiate_authentication
GSimpleAsyncResult: 0x7f4f38005120
polkit_qt_listener_initiate_authentication callback for  0x211af00
gggh 1
gggh 2
0x2772460 initiate 0x22cf5e0

(process:4437): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
REQUEST
gggh 1
gggh 2
COMPLETED
Listener adapter polkit_qt_listener_initiate_authentication_finish
polkit_qt_listener_initiate_authentication_finish callback for  0x211af00
0x24f43c0 Session::Private::~Private() 1 0x0
0x24f43c0 Session::Private::~Private() 2 0x0
0x2699760 Session::Private::~Private() 1 0x0
0x2699760 Session::Private::~Private() 2 0x0
0x2703360 Session::Private::~Private() 1 0x0
0x2703360 Session::Private::~Private() 2 0x0
0x2772460 Session::Private::~Private() 1 0x0
0x2772460 Session::Private::~Private() 2 0x0
gggh 1
gggh 2
Destroying listener 
Removing listener  PolkitQt1::Agent::Listener(0x226d280)
ggg 1
ggg 2
================================================

polkit-debug.txt:
================================================
38749120 Session::initiate() 139978218702304
40474464 Session::initiate() 139978218905888
40907616 Session::initiate() 139978218688992
41362528 Session::initiate() 36500960
38749120 Session::Private::~Private() 0
38749120 Session::Private::~Private() 0--ok
40474464 Session::Private::~Private() 0
40474464 Session::Private::~Private() 0--ok
40907616 Session::Private::~Private() 0
40907616 Session::Private::~Private() 0--ok
41362528 Session::Private::~Private() 0
41362528 Session::Private::~Private() 0--ok
================================================
Comment 261 Nick Shaforostoff 2011-12-11 22:48:30 UTC
ok, so this means i fixed the problem. i'll cleanup the code and commit the changes in the near time...
Comment 262 Ivo Anjo 2011-12-11 22:58:24 UTC
(In reply to comment #261)
> ok, so this means i fixed the problem. i'll cleanup the code and commit the
> changes in the near time...

Thanks a lot for looking into this :)
Comment 263 Nick Shaforostoff 2011-12-11 23:06:37 UTC
Created attachment 66642 [details]
fixed x64 polkit binaries

i'm attaching cleaned up version of the previous binaries, the one that will go into master in a few minutes.

please report if you nevertheless get crashes using it.
otherwise you can use them until your distro provide packages with this fix.
Comment 264 Nick Shaforostoff 2011-12-11 23:12:23 UTC
Git commit d3c337da01f3887da031fdb5c2ac784fb3e79210 by Nick Shaforostoff.
Committed on 12/12/2011 at 00:03.
Pushed by shaforo into branch 'master'.

BUG: 258916

use stricter refing in all places of 'identity' keeping.
it is interesting that it would be much harder
to accidentaly make same mistake if G API was C++ style and not C.

i also moved cleanup of successful sessions in time from system shutdown
to session completion as polkit docs say it should be

M  +11   -3    agent/polkitqt1-agent-session.cpp
M  +13   -2    core/polkitqt1-identity.cpp

http://commits.kde.org/polkit-qt-1/d3c337da01f3887da031fdb5c2ac784fb3e79210
Comment 265 Ivo Anjo 2011-12-11 23:20:46 UTC
(In reply to comment #263)
> Created an attachment (id=66642) [details]
> fixed x64 polkit binaries
> 
> i'm attaching cleaned up version of the previous binaries, the one that will go
> into master in a few minutes.
> 
> please report if you nevertheless get crashes using it.
> otherwise you can use them until your distro provide packages with this fix.

I can confirm that the latest binaries still work fine, no crashes.

Now it's up to the guys at the top of Mt. Kubuntu to deliver updated packages.
Comment 266 Silviu C. 2011-12-12 00:32:51 UTC
Created attachment 66644 [details]
New crash information added by DrKonqi

plasma-desktop (0.4) on KDE Platform 4.7.3 (4.7.3) using Qt 4.7.4

Well, it finally did produce a crash. Hope this confirms your fix.

-- Backtrace (Reduced):
#7  0x00007f16a52e0b96 in TaskGroupItem::~TaskGroupItem (this=0x4d5c090, __in_chrg=<optimized out>) at ../../../../../plasma/desktop/applets/tasks/taskgroupitem.cpp:82
#8  0x00007f16a52e0c59 in TaskGroupItem::~TaskGroupItem (this=0x4d5c090, __in_chrg=<optimized out>) at ../../../../../plasma/desktop/applets/tasks/taskgroupitem.cpp:84
#9  0x00007f16bd41fa88 in QObject::event (this=0x4d5c090, e=<optimized out>) at kernel/qobject.cpp:1200
#10 0x00007f16bcdd789b in QGraphicsWidget::event (this=0x4d5c090, event=0x43a7d50) at graphicsview/qgraphicswidget.cpp:1455
#11 0x00007f16bc7b9424 in notify_helper (e=0x43a7d50, receiver=0x4d5c090, this=0x24468c0) at kernel/qapplication.cpp:4486
Comment 267 Nick Shaforostoff 2011-12-12 00:44:40 UTC
> -- Backtrace (Reduced):
> #7  0x00007f16a52e0b96 in TaskGroupItem::~TaskGroupItem (this=0x4d5c090,
__in_chrg=<optimized out>)

no, you hit completely different crash
Comment 268 Saurav Sengupta 2011-12-12 03:42:45 UTC
(In reply to comment #263)
> Created an attachment (id=66642) [details]
> fixed x64 polkit binaries
> 
> i'm attaching cleaned up version of the previous binaries, the one that will go
> into master in a few minutes.
> 
> please report if you nevertheless get crashes using it.
> otherwise you can use them until your distro provide packages with this fix.

Finally, after more than a year! Thanks a ton, Nick, and all the users who helped out!
Comment 269 Casey 2011-12-12 22:30:45 UTC
please un subsribe me 




  Casey Cooper - Wild Child Sound 

(517)507-2785 - wildchildsound@comcast.net 
----- Original Message -----
From: "Nick Shaforostoff" <shafff@ukr.net> 
To: wildchildsound@comcast.net 
Sent: Sunday, December 11, 2011 7:44:52 PM 
Subject: [Bug 258916] PolicyKit1-KDE (polkit-kde-authentication-agent-1) crash on shutdown [g_type_check_instance_is_a, g_object_unref, ..., PolkitQt1::Agent::Session::Private::~Private] 

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





--- Comment #267 from Nick Shaforostoff <shafff ukr net>  2011-12-12 00:44:40 --- 
> -- Backtrace (Reduced): 
> #7  0x00007f16a52e0b96 in TaskGroupItem::~TaskGroupItem (this=0x4d5c090, 
__in_chrg=<optimized out>) 

no, you hit completely different crash
Comment 270 Ettore Atalan 2011-12-13 18:43:42 UTC
Many special thanks to you, Nick.
Comment 271 Nick Shaforostoff 2011-12-13 20:14:40 UTC
you're welcome :)

now is your turn - to point your favourite distro to the fix.
i already submitted a request to debian.
Comment 272 Dario Freddi 2011-12-14 00:15:43 UTC
I would like to first of all apologize to everybody, but due to travels and work I didn't manage to follow the issue in the last two weeks. Besides that, thanks everybody for the contributions and the fix, you all rock.

I will release a new version of polkit-qt shortly with this fix.
Comment 273 Saurav Sengupta 2011-12-14 08:08:46 UTC
@Nick, @Dario: You have done a great job! In the end our success is measured by the success of our software and it is due to people like you that the community wins. Thanks for making KDE such a great community! I hope that we do not face such long disputed bugs in future but, more importantly, I also hope that there will always be people like you to help out. :-)
Comment 274 Scott Kitterman 2011-12-14 15:01:49 UTC
(In reply to comment #265)
...
> Now it's up to the guys at the top of Mt. Kubuntu to deliver updated packages.

Fixed in the development release (Precise) and I've uploaded a post-release update for 11.10 (Oneiric) that will be available shortly.
Comment 275 Dario Freddi 2011-12-15 14:24:12 UTC
Thanks to everybody, this issue is now closed.

https://projects.kde.org/news/106
Comment 276 Scott Kitterman 2011-12-15 23:50:10 UTC
Anyone who is experiencing this problem on Kubuntu 11.10 can install updated packages from the oneiric-proposed repository.  Once you've tested them, please comment in the relevant Ubuntu bug ( https://bugs.launchpad.net/ubuntu/+source/polkit-qt-1/+bug/904245 ) so we can get the update approved for release to all users.
Comment 277 Simon Andric 2011-12-16 02:40:37 UTC
how can i vote for this bug? :)

Simon
Comment 278 Lamarque V. Souza 2011-12-17 13:32:36 UTC
*** Bug 289141 has been marked as a duplicate of this bug. ***
Comment 279 Christoph Feck 2011-12-17 19:12:21 UTC
*** Bug 289225 has been marked as a duplicate of this bug. ***
Comment 280 Christoph Feck 2011-12-19 01:28:48 UTC
*** Bug 289323 has been marked as a duplicate of this bug. ***
Comment 281 Christoph Feck 2011-12-19 01:29:00 UTC
*** Bug 289278 has been marked as a duplicate of this bug. ***
Comment 282 Lamarque V. Souza 2011-12-22 12:08:20 UTC
*** Bug 289557 has been marked as a duplicate of this bug. ***
Comment 283 Lamarque V. Souza 2011-12-26 11:32:36 UTC
*** Bug 289824 has been marked as a duplicate of this bug. ***
Comment 284 sawaiborkar 2012-01-01 04:24:49 UTC
Created attachment 67290 [details]
New crash information added by DrKonqi

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

- What I was doing when the application crashed:

I was browsing internet through FireFox and and after downloading some files and updating system, I was trying to shutdown the system.

-- Backtrace (Reduced):
#6  g_type_check_instance_is_a (type_instance=0x6c58e0, iface_type=<value optimized out>) at gtype.c:3957
#7  0x00007f5223715fcb in g_object_unref (_object=0x6c58e0) at gobject.c:2668
#8  0x00007f5222fbc75b in polkit_agent_session_finalize (object=0x6d76a0) at polkitagentsession.c:127
#9  0x00007f5223716114 in g_object_unref (_object=0x6d76a0) at gobject.c:2734
#10 0x00007f5227da3db4 in PolkitQt1::Agent::Session::~Session (this=0x787f40, __in_chrg=<value optimized out>) at /usr/src/debug/polkit-qt-1-0.99.1/agent/polkitqt1-agent-session.cpp:77
Comment 285 Peter Schübel 2012-01-25 12:00:52 UTC
Created attachment 68161 [details]
New crash information added by DrKonqi

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

- What I was doing when the application crashed:

- shutting down Kubuntu/KDE for system restart
- I had a network hard drive mounted using sshfs (rather than NFS) and I didn't unmount it before clicking 'restart system'
- open apps before shutdown:
  - Dolphin
  - XChat
  - Terminal window
- open apps at time of crash: XChat

-- Backtrace (Reduced):
#7  0x0891b998 in g_type_check_instance_is_a () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
[...]
#11 0x009ffbb0 in PolkitQt1::Agent::Session::Private::~Private() () from /usr/lib/libpolkit-qt-agent-1.so.1
#12 0x009ffbf4 in PolkitQt1::Agent::Session::~Session() () from /usr/lib/libpolkit-qt-agent-1.so.1
#13 0x009ffc52 in PolkitQt1::Agent::Session::~Session() () from /usr/lib/libpolkit-qt-agent-1.so.1
#14 0x00d24bc5 in qDeleteInEventHandler (o=0x91618d8) at kernel/qobject.cpp:3995
Comment 286 Christoph Feck 2012-02-25 16:08:54 UTC
*** Bug 289690 has been marked as a duplicate of this bug. ***
Comment 287 Christoph Feck 2012-02-25 16:09:29 UTC
*** Bug 290906 has been marked as a duplicate of this bug. ***
Comment 288 Christoph Feck 2012-02-25 16:09:51 UTC
*** Bug 294802 has been marked as a duplicate of this bug. ***
Comment 289 Jekyll Wu 2012-02-27 11:48:45 UTC
*** Bug 294914 has been marked as a duplicate of this bug. ***
Comment 290 Christoph Feck 2012-05-25 09:52:30 UTC
*** Bug 300588 has been marked as a duplicate of this bug. ***