Bug 323801 - Unexpected Policy Kit crash
Summary: Unexpected Policy Kit crash
Status: RESOLVED UNMAINTAINED
Alias: None
Product: policykit-kde-agent-1
Classification: Plasma
Component: polkit-kde-authentication-agent-1 (other bugs)
Version First Reported In: 0.99.0
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Jaroslav Reznik
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2013-08-20 20:05 UTC by Peter C. Trenholme
Modified: 2018-10-31 23:14 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
New crash information added by DrKonqi (6.07 KB, text/plain)
2013-11-15 17:29 UTC, Peter C. Trenholme
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter C. Trenholme 2013-08-20 20:05:35 UTC
Application: polkit-kde-authentication-agent-1 (0.99.0)
KDE Platform Version: 4.11.00
Qt Version: 4.8.5
Operating System: Linux 3.11.0-0.rc5.git5.1.fc20.x86_64 x86_64
Distribution: "Fedora release 20 (Rawhide)"

-- Information about the crash:
- What I was doing when the application crashed: I'd plugged in a 1.5Tb USB drive, and openrd gparted to see what it could tell me. It poped a message that "/dev/sdd" (the new USB drive) had an unrecognized disk label (e.g., no partition table).

At the same time, the "policy kit crashed" message popped, and I thought you'd like to see it.

-- Backtrace:
Application: PolicyKit1-KDE (polkit-kde-authentication-agent-1), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fcad1e838c0 (LWP 1655))]

Thread 3 (Thread 0x7fcac6d10700 (LWP 1800)):
#0  0x0000003c5ecea90d in poll () from /lib64/libc.so.6
#1  0x0000003c62449314 in g_main_context_poll (priority=2147483647, n_fds=3, fds=0x7fcac00010c0, timeout=-1, context=0x1cb50c0) at gmain.c:4006
#2  g_main_context_iterate (context=0x1cb50c0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3707
#3  0x0000003c6244979a in g_main_loop_run (loop=0x1cb5050) at gmain.c:3906
#4  0x0000003c6a0d6d86 in gdbus_shared_thread_func (user_data=0x1cb5090) at gdbusprivate.c:278
#5  0x0000003c6246e5e5 in g_thread_proxy (data=0x1cb7050) at gthread.c:798
#6  0x0000003c5f807f33 in start_thread () from /lib64/libpthread.so.0
#7  0x0000003c5ecf4d2d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7fcac63ba700 (LWP 2167)):
#0  g_mutex_get_impl (mutex=0x1ddb0a0) at gthread-posix.c:126
#1  0x0000003c6248a179 in g_mutex_unlock (mutex=mutex@entry=0x1ddb0a0) at gthread-posix.c:232
#2  0x0000003c62449309 in g_main_context_poll (priority=2147483647, n_fds=1, fds=0x7fcab80008c0, timeout=-1, context=0x1ddb0a0) at gmain.c:4005
#3  g_main_context_iterate (context=context@entry=0x1ddb0a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3707
#4  0x0000003c6244943c in g_main_context_iteration (context=0x1ddb0a0, may_block=may_block@entry=1) at gmain.c:3773
#5  0x0000003c62449489 in glib_worker_main (data=<optimized out>) at gmain.c:5472
#6  0x0000003c6246e5e5 in g_thread_proxy (data=0x1cb7400) at gthread.c:798
#7  0x0000003c5f807f33 in start_thread () from /lib64/libpthread.so.0
#8  0x0000003c5ecf4d2d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fcad1e838c0 (LWP 1655)):
[KCrash Handler]
#6  g_type_check_instance (type_instance=type_instance@entry=0x7fcac0005e50) at gtype.c:4082
#7  0x0000003c63428a07 in g_signal_connect_data (instance=0x7fcac0005e50, detailed_signal=0x3c6880a109 "cancelled", c_handler=0x3c688091f0 <cancelled_cb(GCancellable*, gpointer)>, data=0x1ae2020, destroy_data=0x0, connect_flags=(unknown: 0)) at gsignal.c:2435
#8  0x0000003c68809845 in polkit_qt_listener_initiate_authentication (agent_listener=0x1ae2020, action_id=0x1eb9800 "org.freedesktop.udisks2.filesystem-mount-system", message=0x1eb9830 "Authentication is required to mount ST2000DL003-9VT166 (/dev/sdb3)", icon_name=0x1eb9873 "drive-removable-media", details=0x1d928a0, cookie=0x1eb98bc "cookie1", identities=0x1d92880 = {...}, cancellable=0x7fcac0005e50, callback=0x3c6e205ed0 <auth_cb>, user_data=0x1dda0e0) at /usr/src/debug/polkit-qt-1-0.103.0/agent/polkitqtlistener.cpp:136
#9  0x0000003c6e205d10 in auth_agent_handle_begin_authentication (invocation=0x7fcac00031e0, parameters=0xd12a09e59f9cd900, server=0x1c98970) at polkitagentlistener.c:681
#10 auth_agent_handle_method_call (connection=<optimized out>, sender=sender@entry=0x7fcac00849a0 ":1.6", object_path=object_path@entry=0x7fcac0084ba0 "/org/kde/PolicyKit1/AuthenticationAgent", interface_name=interface_name@entry=0x7fcac0084bd0 "org.freedesktop.PolicyKit1.AuthenticationAgent", method_name=method_name@entry=0x7fcac0084a20 "BeginAuthentication", parameters=parameters@entry=0x7fcac0093b90, invocation=invocation@entry=0x7fcac00031e0, user_data=user_data@entry=0x1c98970) at polkitagentlistener.c:294
#11 0x0000003c6a0c72fe in call_in_idle_cb (user_data=<optimized out>) at gdbusconnection.c:4868
#12 0x0000003c62449006 in g_main_dispatch (context=0x1ae1b40) at gmain.c:3065
#13 g_main_context_dispatch (context=context@entry=0x1ae1b40) at gmain.c:3641
#14 0x0000003c62449388 in g_main_context_iterate (context=context@entry=0x1ae1b40, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3712
#15 0x0000003c6244943c in g_main_context_iteration (context=0x1ae1b40, may_block=1) at gmain.c:3773
#16 0x0000003c6c5b31a6 in QEventDispatcherGlib::processEvents (this=0x1aaf690, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#17 0x0000003c6f26bd66 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#18 0x0000003c6c58312f in QEventLoop::processEvents (this=this@entry=0x7fff41baa780, flags=...) at kernel/qeventloop.cpp:149
#19 0x0000003c6c58347d in QEventLoop::exec (this=this@entry=0x7fff41baa780, flags=...) at kernel/qeventloop.cpp:204
#20 0x0000003c6c5889bb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1221
#21 0x0000003c6f1c841c in QApplication::exec () at kernel/qapplication.cpp:3823
#22 0x00000000004084ff in main (argc=1, argv=0x7fff41baa9d8) at /usr/src/debug/polkit-kde-agent-1-0.99.1/main.cpp:47

Reported using DrKonqi
Comment 1 Peter C. Trenholme 2013-11-15 17:29:41 UTC
Created attachment 83588 [details]
New crash information added by DrKonqi

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

- What I was doing when the application crashed: Opening gparted from a terminal

- Unusual behavior I noticed: Lot's of G:ib-CRITICAL error messages from gpartedbin:2406 like these:
$ sudo gparted
======================
libparted : 3.1
======================

(gpartedbin:2406): GLib-CRITICAL **: Source ID 7 was not found when attempting to remove it

(gpartedbin:2406): GLib-CRITICAL **: Source ID 6 was not found when attempting to remove it

[....]
(gpartedbin:2406): GLib-CRITICAL **: Source ID 295 was not found when attempting to remove it

(gpartedbin:2406): GLib-CRITICAL **: Source ID 303 was not found when attempting to remove it

(gpartedbin:2406): GLib-CRITICAL **: Source ID 302 was not found when attempting to remove it

(gpartedbin:2406): GLib-CRITICAL **: Source ID 324 was not found when attempting to remove it

(gpartedbin:2406): GLib-CRITICAL **: Source ID 323 was not found when attempting to remove it

-- Backtrace (Reduced):
#6  g_type_check_instance (type_instance=type_instance@entry=0x7f4a4c004a10) at gtype.c:4082
#7  0x0000003cc58284d7 in g_signal_connect_data (instance=0x7f4a4c004a10, detailed_signal=0x3ccc80a109 "cancelled", c_handler=0x3ccc8091f0 <cancelled_cb(GCancellable*, gpointer)>, data=0xb98620, destroy_data=0x0, connect_flags=(unknown: 0)) at gsignal.c:2435
#8  0x0000003ccc809845 in polkit_qt_listener_initiate_authentication (agent_listener=0xb98620, action_id=0xf6f240 "org.freedesktop.udisks2.filesystem-mount-system", message=0xf6f270 "Authentication is required to mount ST2000DL003-9VT166 (/dev/sdb3)", icon_name=0xf6f2b3 "drive-removable-media", details=0xdbcce0, cookie=0xf6f2fc "cookie1", identities=0xdbccc0 = {...}, cancellable=0x7f4a4c004a10, callback=0x3cca805eb0 <auth_cb>, user_data=0xe81740) at /usr/src/debug/polkit-qt-1-0.103.0/agent/polkitqtlistener.cpp:136
#9  0x0000003cca805cf0 in auth_agent_handle_begin_authentication (invocation=0x7f4a4c003160, parameters=0x6fdb38d398784d00, server=0xd21fb0) at polkitagentlistener.c:681
#10 auth_agent_handle_method_call (connection=<optimized out>, sender=sender@entry=0x7f4a4c084f50 ":1.7", object_path=object_path@entry=0x7f4a4c0845d0 "/org/kde/PolicyKit1/AuthenticationAgent", interface_name=interface_name@entry=0x7f4a4c0844c0 "org.freedesktop.PolicyKit1.AuthenticationAgent", method_name=method_name@entry=0x7f4a4c084fb0 "BeginAuthentication", parameters=parameters@entry=0x7f4a4c084a30, invocation=invocation@entry=0x7f4a4c003160, user_data=user_data@entry=0xd21fb0) at polkitagentlistener.c:294
Comment 2 Andrew Crouthamel 2018-10-31 03:58:59 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Peter C. Trenholme 2018-10-31 23:14:16 UTC
Sorry, I don't have that drive anymore, and it was reported more as a FYI than a bug needing fixing.

It's five years old now, and not worth keeping.

Changed status to Resolved, Unmaintained.