Bug 254175 - polkit crash : policykit seems to randomly fail
Summary: polkit crash : policykit seems to randomly fail
Status: RESOLVED DUPLICATE of bug 254150
Alias: None
Product: kde
Classification: I don't know
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-14 17:46 UTC by collura
Modified: 2010-10-14 20:17 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
xsession reported polkit errors (70.87 KB, text/plain)
2010-10-14 18:32 UTC, collura
Details

Note You need to log in before you can comment on or make changes to this bug.
Description collura 2010-10-14 17:46:36 UTC
Application: polkit-kde-authentication-agent-1 (0.1)
KDE Platform Version: 4.5.2 (KDE 4.5.2)
Qt Version: 4.7.0
Operating System: Linux 2.6.35.6-39.fc14.x86_64 x86_64
Distribution (Platform): Fedora RPMs

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

policykit intermitantly crashes.
the crash usually happens during a shutdown but at the point of the crash the bug reported wouldnt connect to report.

this time the crash happened while trying to install a package while the system was fully up so i am able to report it automagically.

just before the crash i had selected a package to install and selected apply in the kpackagekit program.  the program thought a while and then gave the bug report after quickly flashing to the  password authorization window for the package installation process.

The crash can be reproduced some of the time.

-- Backtrace:
Application: PolicyKit1-KDE (polkit-kde-authentication-agent-1), signal: Aborted
87	  int result = INLINE_SYSCALL (poll, 3, CHECK_N (fds, nfds), nfds, timeout);
[Current thread is 1 (Thread 0x7fb7fcc8b840 (LWP 2280))]

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

Thread 2 (Thread 0x7fb7eff9f710 (LWP 2284)):
[KCrash Handler]
#6  0x0000003d25234065 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x0000003d25235a16 in abort () at abort.c:92
#8  0x0000003d2f26a5a4 in qt_message_output (msgType=<value optimized out>, buf=<value optimized out>) at global/qglobal.cpp:2259
#9  0x0000003d2f26a76d in qt_message(QtMsgType, const char *, typedef __va_list_tag __va_list_tag *) (msgType=QtFatalMsg, msg=0x3d2f3badd8 "ASSERT failure in %s: \"%s\", file %s, line %d", ap=0x7fb7eff9e220) at global/qglobal.cpp:2305
#10 0x0000003d2f26a905 in qFatal (msg=<value optimized out>) at global/qglobal.cpp:2488
#11 0x00000030d880b64b in operator[] (this=0x7fb7e00b3c00) at /usr/include/QtCore/qlist.h:463
#12 PolkitQt1::Authority::Private::init (this=0x7fb7e00b3c00) at /usr/src/debug/polkit-qt-1-0.96.1/core/polkitqt1-authority.cpp:214
#13 0x00000030d880cb71 in PolkitQt1::Authority::Authority (this=0x7fb7e00ae860, authority=0x0, parent=<value optimized out>) at /usr/src/debug/polkit-qt-1-0.96.1/core/polkitqt1-authority.cpp:152
#14 0x00000030d880cc32 in PolkitQt1::Authority::instance (authority=0x0) at /usr/src/debug/polkit-qt-1-0.96.1/core/polkitqt1-authority.cpp:49
#15 0x000000000040b0ce in AuthDialog::AuthDialog (this=0x7fb7e0003f10, actionId=..., message=<value optimized out>, iconName=..., details=0x7fb7e0003e30, identities=...) at /usr/src/debug/polkit-kde-1-0.95.1/agent/AuthDialog.cpp:68
#16 0x000000000040822d in PolicyKitListener::initiateAuthentication (this=0x2186bc0, actionId=..., message=..., iconName=..., details=0x7fb7e0003e30, cookie=..., identities=..., result=0x7fb7e0003d80) at /usr/src/debug/polkit-kde-1-0.95.1/agent/policykitlistener.cpp:73
#17 0x00000030d8c0847a in PolkitQt1::Agent::ListenerAdapter::polkit_qt_listener_initiate_authentication (this=<value optimized out>, listener=<value optimized out>, action_id=0x7fb7e0002800 "org.freedesktop.packagekit.package-install", message=0x7fb7e000282b "Authentication is required to install a signed package", icon_name=0x7fb7eff9e8d0 "", details=<value optimized out>, cookie=0x7fb7e00028e8 "cookie0", identities=0x7fb7e0001220 = {...}, cancellable=0x7fb7e80076f0 [GCancellable], result=0x21a2760) at /usr/src/debug/polkit-qt-1-0.96.1/agent/listeneradapter.cpp:103
#18 0x00000030d8c09369 in polkit_qt_listener_initiate_authentication (agent_listener=0x2096aa0 [PolkitQtListener], action_id=0x7fb7e0002800 "org.freedesktop.packagekit.package-install", message=0x7fb7e000282b "Authentication is required to install a signed package", icon_name=0x7fb7e0002862 "package-x-generic", details=0x7fb7e8001940, cookie=0x7fb7e00028e8 "cookie0", identities=0x7fb7e0001220 = {...}, cancellable=0x7fb7e80076f0 [GCancellable], callback=0x3d304055c0 <auth_cb>, user_data=0x7fb7e0002f00) at /usr/src/debug/polkit-qt-1-0.96.1/agent/polkitqtlistener.cpp:129
#19 0x0000003d304053d6 in auth_agent_handle_begin_authentication (connection=<value optimized out>, sender=<value optimized out>, object_path=<value optimized out>, interface_name=<value optimized out>, method_name=<value optimized out>, parameters=<value optimized out>, invocation=0x7fb7e80032a0, user_data=0x219cef0) at polkitagentlistener.c:634
#20 auth_agent_handle_method_call (connection=<value optimized out>, sender=<value optimized out>, object_path=<value optimized out>, interface_name=<value optimized out>, method_name=<value optimized out>, parameters=<value optimized out>, invocation=0x7fb7e80032a0, user_data=0x219cef0) at polkitagentlistener.c:288
#21 0x0000003d34c96df0 in call_in_idle_cb (user_data=<value optimized out>) at gdbusconnection.c:4397
#22 0x0000003d27641e33 in g_main_dispatch (context=0x7fb7e00008c0) at gmain.c:2149
#23 g_main_context_dispatch (context=0x7fb7e00008c0) at gmain.c:2702
#24 0x0000003d27642610 in g_main_context_iterate (context=0x7fb7e00008c0, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2780
#25 0x0000003d27642c82 in g_main_loop_run (loop=0x7fb7e00011a0) at gmain.c:2988
#26 0x0000003d30404af3 in server_thread_func (user_data=0x219cef0) at polkitagentlistener.c:355
#27 0x0000003d27669446 in g_thread_create_proxy (data=0x21a14e0) at gthread.c:1897
#28 0x0000003d25a06d5b in start_thread (arg=0x7fb7eff9f710) at pthread_create.c:301
#29 0x0000003d252e3f6d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7fb7fcc8b840 (LWP 2280)):
#0  0x0000003d252da573 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00000030d2008b6a in ?? () from /usr/lib64/libxcb.so.1
#2  0x00000030d20090b3 in ?? () from /usr/lib64/libxcb.so.1
#3  0x00000030d2009144 in xcb_writev () from /usr/lib64/libxcb.so.1
#4  0x00000030d244d546 in _XSend () from /usr/lib64/libX11.so.6
#5  0x00000030d244d8d1 in _XEventsQueued () from /usr/lib64/libX11.so.6
#6  0x00000030d24365df in XEventsQueued () from /usr/lib64/libX11.so.6
#7  0x00000030d6c58a98 in x11EventSourceDispatch (s=0x2099040, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:151
#8  0x0000003d27641e33 in g_main_dispatch (context=0x2098120) at gmain.c:2149
#9  g_main_context_dispatch (context=0x2098120) at gmain.c:2702
#10 0x0000003d27642610 in g_main_context_iterate (context=0x2098120, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2780
#11 0x0000003d276428ad in g_main_context_iteration (context=0x2098120, may_block=1) at gmain.c:2843
#12 0x0000003d2f386936 in QEventDispatcherGlib::processEvents (this=0x206dfb0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#13 0x00000030d6c587ae in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#14 0x0000003d2f35ab52 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#15 0x0000003d2f35ad9c in QEventLoop::exec (this=0x7fffff639280, flags=...) at kernel/qeventloop.cpp:201
#16 0x0000003d2f35f21b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#17 0x0000000000408736 in main (argc=3, argv=0x7fffff639568) at /usr/src/debug/polkit-kde-1-0.95.1/agent/main.cpp:42

Reported using DrKonqi
Comment 1 collura 2010-10-14 17:53:26 UTC
fedora core 14 beta kde

polkit-0.98-4.fc14
polkit-kde-0.95.1-6.fc14
Comment 2 collura 2010-10-14 18:15:13 UTC
hmm there was just a kpackagekit update to kpackagekit-0.6.2-1.fc14 (x86_64) just before this problem so maybe related as cant install any packages now due to authorization failure (no popup window at all)

dont see anything in messages
Comment 3 collura 2010-10-14 18:32:57 UTC
Created attachment 52516 [details]
xsession reported polkit errors
Comment 4 collura 2010-10-14 18:58:25 UTC
submitted:

   https://bugzilla.redhat.com/show_bug.cgi?id=643108

for tracking.
Comment 5 Christoph Feck 2010-10-14 20:17:17 UTC

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