Bug 292827 - PolicyKit1-KDE Crash
Summary: PolicyKit1-KDE Crash
Status: RESOLVED DUPLICATE of bug 270489
Alias: None
Product: policykit-kde-agent-1
Classification: Plasma
Component: polkit-kde-authentication-agent-1 (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Jaroslav Reznik
URL:
Keywords:
: 251444 307969 308603 309201 315992 316387 316514 317262 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-01-29 21:42 UTC by John Dowling
Modified: 2013-07-12 22:44 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Dowling 2012-01-29 21:42:49 UTC
Application: polkit-kde-authentication-agent-1 (0.99.0)
KDE Platform Version: 4.7.2 (4.7.2) "release 5"
Qt Version: 4.7.4
Operating System: Linux 3.1.0-1.2-default i686
Distribution: "openSUSE 12.1 (i586)"

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

I'd just opened Google Chrome, left the computer for a few minutes and when I returned, the crash message was on the screen.

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

Thread 3 (Thread 0xb3e4fb70 (LWP 6270)):
#0  0xb5cd9134 in __lll_lock_wait () from /lib/libpthread.so.0
#1  0xb5cd4c9f in _L_lock_708 () from /lib/libpthread.so.0
#2  0xb5cd4ae3 in pthread_mutex_lock () from /lib/libpthread.so.0
#3  0xb62325c4 in pthread_mutex_lock () from /lib/libc.so.6
#4  0xb5b4373a in g_signal_handlers_destroy (instance=0xb3503380) at gsignal.c:2449
#5  0xb5b2bc95 in g_object_real_dispose (object=0xb3503380) at gobject.c:894
#6  0xb5b2bf28 in g_object_unref (_object=0xb3503380) at gobject.c:2709
#7  0xb5a98893 in message_to_write_data_free (data=0x81f1a78) at gdbusprivate.c:858
#8  0xb5a9a147 in write_message_cb (source_object=0x0, res=0x82e7900, user_data=0x81f1a78) at gdbusprivate.c:1287
#9  0xb5a37ea5 in g_simple_async_result_complete (simple=0x82e7900) at gsimpleasyncresult.c:749
#10 0xb5a99883 in write_message_continue_writing (data=<optimized out>) at gdbusprivate.c:1051
#11 0xb5a99ded in maybe_write_next_message (worker=0x818fc58) at gdbusprivate.c:1452
#12 0xb5a99ea3 in write_message_in_idle_cb (user_data=0x818fc58) at gdbusprivate.c:1473
#13 0xb5baed10 in ?? () from /usr/lib/libglib-2.0.so.0
#14 0xb5bb2e2f in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#15 0xb5bb3560 in ?? () from /usr/lib/libglib-2.0.so.0
#16 0xb5bb3b6b in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#17 0xb5a9825a in gdbus_shared_thread_func (user_data=0x818ecc8) at gdbusprivate.c:276
#18 0xb5bda2e4 in ?? () from /usr/lib/libglib-2.0.so.0
#19 0xb5cd2a7d in start_thread () from /lib/libpthread.so.0
#20 0xb622489e in clone () from /lib/libc.so.6

Thread 2 (Thread 0xb34ffb70 (LWP 6522)):
#0  0xb61eb51c in nanosleep () from /lib/libc.so.6
#1  0xb5bdd73e in g_usleep () from /usr/lib/libglib-2.0.so.0
#2  0xb5baf38e in ?? () from /usr/lib/libglib-2.0.so.0
#3  0xb5bda2e4 in ?? () from /usr/lib/libglib-2.0.so.0
#4  0xb5cd2a7d in start_thread () from /lib/libpthread.so.0
#5  0xb622489e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb5719980 (LWP 6198)):
[KCrash Handler]
#6  0xb5b4cb05 in g_type_interfaces (type=135776672, n_interfaces=0xbffeb428) at gtype.c:3567
#7  0xb5b434c8 in signal_id_lookup (itype=135776672, quark=<optimized out>) at gsignal.c:337
#8  signal_parse_name (detail_p=<synthetic pointer>, itype=135776672, name=0xb744a861 "cancelled", force_quark=<optimized out>) at gsignal.c:983
#9  signal_parse_name (force_quark=1, detail_p=<synthetic pointer>, itype=135776672, name=0xb744a861 "cancelled") at gsignal.c:2250
#10 g_signal_connect_data (instance=0x817ca20, detailed_signal=0xb744a861 "cancelled", c_handler=0xb7449640 <cancelled_cb(GCancellable*, gpointer)>, data=0x807f750, destroy_data=0, connect_flags=0) at gsignal.c:2272
#11 0xb7449ea1 in polkit_qt_listener_initiate_authentication (agent_listener=0x807f750, action_id=0x1 <Address 0x1 out of bounds>, message=0x1 <Address 0x1 out of bounds>, icon_name=0x1 <Address 0x1 out of bounds>, details=0x1, cookie=0x1 <Address 0x1 out of bounds>, identities=0x1, cancellable=0x817ca20, callback=0x1, user_data=0x1) at /usr/src/debug/polkit-qt-1-0.99.1/agent/polkitqtlistener.cpp:136
#12 0xb59ccf40 in polkit_agent_listener_initiate_authentication (listener=0x807f750, action_id=0x82d2718 "org.kde.powerdevil.backlighthelper.brightness", message=0x82d2746 "System policies prevent you from getting the brightness level.", icon_name=0x82d2785 "kde", details=0xb35525c0, cookie=0x82d27bd "cookie4", identities=0xb3552780, cancellable=0x817ca20, callback=0xb59cd410 <auth_cb>, user_data=0x81e6290) at polkitagentlistener.c:748
#13 0xb59cd206 in auth_agent_handle_begin_authentication (invocation=0x81922c0, parameters=0xb3552918, server=0x818f658) at polkitagentlistener.c:635
#14 auth_agent_handle_method_call (connection=0x8189880, sender=0xb35523d0 ":1.6", object_path=0xb35488a0 "/org/kde/PolicyKit1/AuthenticationAgent", interface_name=0xb353ba48 "org.freedesktop.PolicyKit1.AuthenticationAgent", method_name=0xb3504010 "BeginAuthentication", parameters=0xb3552918, invocation=0x81922c0, user_data=0x818f658) at polkitagentlistener.c:288
#15 0xb5a86ca9 in call_in_idle_cb (user_data=0x81922c0) at gdbusconnection.c:4474
#16 0xb5baed10 in ?? () from /usr/lib/libglib-2.0.so.0
#17 0xb5bb2e2f in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#18 0xb5bb3560 in ?? () from /usr/lib/libglib-2.0.so.0
#19 0xb5bb37fa in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#20 0xb6fe5837 in QEventDispatcherGlib::processEvents (this=0x805ef28, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#21 0xb65a2b1a in QGuiEventDispatcherGlib::processEvents (this=0x805ef28, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#22 0xb6fb644d in QEventLoop::processEvents (this=0xbffeb8b4, flags=...) at kernel/qeventloop.cpp:149
#23 0xb6fb6691 in QEventLoop::exec (this=0xbffeb8b4, flags=...) at kernel/qeventloop.cpp:201
#24 0xb6fbadea in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#25 0xb64ecda4 in QApplication::exec () at kernel/qapplication.cpp:3755
#26 0x0804ef57 in ?? ()
#27 0xb6169003 in __libc_start_main () from /lib/libc.so.6
#28 0x0804efb5 in _start ()

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

Possible duplicates by query: bug 287531.

Reported using DrKonqi
Comment 1 Christoph Feck 2012-10-06 11:38:31 UTC
*** Bug 307969 has been marked as a duplicate of this bug. ***
Comment 2 Jekyll Wu 2012-10-18 18:25:42 UTC
*** Bug 308603 has been marked as a duplicate of this bug. ***
Comment 3 Jekyll Wu 2012-10-29 21:34:43 UTC
*** Bug 309201 has been marked as a duplicate of this bug. ***
Comment 4 Jekyll Wu 2013-03-08 22:29:47 UTC
*** Bug 316387 has been marked as a duplicate of this bug. ***
Comment 5 Jekyll Wu 2013-03-10 02:54:36 UTC
*** Bug 251444 has been marked as a duplicate of this bug. ***
Comment 6 Jekyll Wu 2013-03-10 02:55:47 UTC
*** Bug 315992 has been marked as a duplicate of this bug. ***
Comment 7 Jekyll Wu 2013-03-11 09:24:47 UTC
*** Bug 316514 has been marked as a duplicate of this bug. ***
Comment 8 Martin Bříza 2013-03-18 14:48:13 UTC
If there's still somebody able to reproduce the bug, I would be most glad. I'm trying to fix this but there's a small issue - I can't reproduce the behavior neither on Fedora 18 nor OpenSUSE 12.2 so I can't be sure the solution is proper.
Thank you all for any response.
Comment 9 Martin Bříza 2013-03-26 11:37:11 UTC
*** Bug 317262 has been marked as a duplicate of this bug. ***
Comment 10 Martin Bříza 2013-03-26 15:45:15 UTC
Hi everybody!
I see a lot of people were experiencing this particular crash and I hope we can find the solution together.
To do it, we'll need you to provide us the following information: 
Is the crash deterministically reproducible? If so, how? In which distribution and after updates?
If it still happens to you (nevermind if you know how to reproduce or not), could you please run polkit-kde-authentication-agent-1 in valgrind and post the output here in a file when it happens? (To do that, you'll need to kill the process first and then run command "valgrind /path/to/your/polkit-kde-authentication-agent-1 2>log.err" which will save the output into the log.err file)
Thank you very much.
Comment 11 Christoph Feck 2013-06-15 22:41:32 UTC
If you can provide the information requested in comment #10, please add it.
Comment 12 Martin Bříza 2013-07-12 22:44:42 UTC
I'm convinced I fixed this bug today (uh, yesterday...) with http://commits.kde.org/polkit-qt-1/57a81d . I managed to reproduce the same backtrace on my machine consistently today so here we go. :)
You're free and encouraged to reopen the report if it still happens, of course!
Cheers, and keep the reports coming,
Martin

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