Bug 287519 - KPackagekit crash when running multiple desktop sessions
Summary: KPackagekit crash when running multiple desktop sessions
Status: RESOLVED DUPLICATE of bug 235686
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:
Depends on:
Blocks:
 
Reported: 2011-11-25 09:38 UTC by Mike McCarthy
Modified: 2011-11-29 13:16 UTC (History)
2 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 Mike McCarthy 2011-11-25 09:38:42 UTC
Application: polkit-kde-authentication-agent-1 (0.99.0)
KDE Platform Version: 4.6.00 (4.6.0) "release 6"
Qt Version: 4.7.1
Operating System: Linux 2.6.37.6-0.9-desktop i686
Distribution: "openSUSE 11.4 (i586)"

-- Information about the crash:
I had two desktop sessions running. After switching back to the first session, I was greeted by the KDE crash handler.

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 0xb572f980 (LWP 6982))]

Thread 3 (Thread 0xb29f4b70 (LWP 7033)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb5cc2ca9 in __lll_lock_wait () from /lib/libpthread.so.0
#2  0xb5cbe1b5 in _L_lock_790 () from /lib/libpthread.so.0
#3  0xb5cbdfd3 in pthread_mutex_lock () from /lib/libpthread.so.0
#4  0xb61adcc4 in pthread_mutex_lock () from /lib/libc.so.6
#5  0xb5b3388a in g_signal_handlers_destroy (instance=0x810d830) at gsignal.c:2429
#6  0xb5b1ab05 in g_object_real_dispose (object=0x810d830) at gobject.c:894
#7  0xb5b1addc in g_object_unref (_object=0x810d830) at gobject.c:2697
#8  0xb5a97f03 in message_to_write_data_free (data=0x81e9800) at gdbusprivate.c:880
#9  0xb5a9a3bd in write_message_cb (source_object=0x0, res=0x810b418, user_data=0x81e9800) at gdbusprivate.c:1270
#10 0xb5a3d969 in g_simple_async_result_complete (simple=0x810b418) at gsimpleasyncresult.c:747
#11 0xb5a99f10 in write_message_continue_writing (data=0x81e9800) at gdbusprivate.c:1031
#12 0xb5a99fff in maybe_write_next_message (worker=0x8108000) at gdbusprivate.c:1343
#13 0xb5a9a125 in write_message_in_idle_cb (user_data=0x8108000) at gdbusprivate.c:1356
#14 0xb5b9de50 in ?? () from /lib/libglib-2.0.so.0
#15 0xb5ba2509 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#16 0xb5ba2d10 in ?? () from /lib/libglib-2.0.so.0
#17 0xb5ba33ef in g_main_loop_run () from /lib/libglib-2.0.so.0
#18 0xb5a97f91 in gdbus_shared_thread_func (data=0x0) at gdbusprivate.c:276
#19 0xb5bcbf44 in ?? () from /lib/libglib-2.0.so.0
#20 0xb5cbbb05 in start_thread () from /lib/libpthread.so.0
#21 0xb619fd1e in clone () from /lib/libc.so.6

Thread 2 (Thread 0xb2110b70 (LWP 8205)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb618f05b in read () from /lib/libc.so.6
#2  0xb5ba43f7 in ?? () from /lib/libglib-2.0.so.0
#3  0xb5bcbf44 in ?? () from /lib/libglib-2.0.so.0
#4  0xb5cbbb05 in start_thread () from /lib/libpthread.so.0
#5  0xb619fd1e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb572f980 (LWP 6982)):
[KCrash Handler]
#7  0xb5b3e311 in g_type_parent (type=167772415) at gtype.c:3358
#8  0xb5b33596 in signal_id_lookup (instance=0x80fd960, detailed_signal=0xb73a75e1 "cancelled", c_handler=0xb73a6530 <cancelled_cb(GCancellable*, gpointer)>, data=0x8080850, destroy_data=0, connect_flags=0) at gsignal.c:332
#9  signal_parse_name (instance=0x80fd960, detailed_signal=0xb73a75e1 "cancelled", c_handler=0xb73a6530 <cancelled_cb(GCancellable*, gpointer)>, data=0x8080850, destroy_data=0, connect_flags=0) at gsignal.c:983
#10 g_signal_connect_data (instance=0x80fd960, detailed_signal=0xb73a75e1 "cancelled", c_handler=0xb73a6530 <cancelled_cb(GCancellable*, gpointer)>, data=0x8080850, destroy_data=0, connect_flags=0) at gsignal.c:2252
#11 0xb73a6c11 in polkit_qt_listener_initiate_authentication (agent_listener=0x8080850, action_id=0xa0000fc <Address 0xa0000fc out of bounds>, message=0xa0000fc <Address 0xa0000fc out of bounds>, icon_name=0xa0000fc <Address 0xa0000fc out of bounds>, details=0xa0000fc, cookie=0xa0000fc <Address 0xa0000fc out of bounds>, identities=0xa0000fc, cancellable=0x80fd960, callback=0xa0000fc, user_data=0xa0000fc) at /usr/src/debug/polkit-qt-1-0.99.1/agent/polkitqtlistener.cpp:136
#12 0xb59d58a0 in polkit_agent_listener_initiate_authentication (listener=0x8080850, action_id=0x8177108 "org.freedesktop.packagekit.system-sources-refresh", message=0x817713a "Authentication is required to refresh the system sources", icon_name=0x8177173 "package-x-generic", details=0x81098a0, cookie=0x8177185 "cookie2", identities=0x824ee00, cancellable=0x80fd960, callback=0xb59d5d70 <auth_cb>, user_data=0x8179810) at polkitagentlistener.c:747
#13 0xb59d5b73 in auth_agent_handle_begin_authentication (connection=0x8103080, sender=0x81f0690 ":1.5", object_path=0x811f4b8 "/org/kde/PolicyKit1/AuthenticationAgent", interface_name=0x82283b8 "org.freedesktop.PolicyKit1.AuthenticationAgent", method_name=0x8110e20 "BeginAuthentication", parameters=0x824ebb0, invocation=0x807faf0, user_data=0x810e480) at polkitagentlistener.c:634
#14 auth_agent_handle_method_call (connection=0x8103080, sender=0x81f0690 ":1.5", object_path=0x811f4b8 "/org/kde/PolicyKit1/AuthenticationAgent", interface_name=0x82283b8 "org.freedesktop.PolicyKit1.AuthenticationAgent", method_name=0x8110e20 "BeginAuthentication", parameters=0x824ebb0, invocation=0x807faf0, user_data=0x810e480) at polkitagentlistener.c:288
#15 0xb5a87c49 in call_in_idle_cb (user_data=0x807faf0) at gdbusconnection.c:4429
#16 0xb5b9de50 in ?? () from /lib/libglib-2.0.so.0
#17 0xb5ba2509 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#18 0xb5ba2d10 in ?? () from /lib/libglib-2.0.so.0
#19 0xb5ba2fce in g_main_context_iteration () from /lib/libglib-2.0.so.0
#20 0xb6f6d74b in QEventDispatcherGlib::processEvents (this=0x8060470, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#21 0xb651d55a in QGuiEventDispatcherGlib::processEvents (this=0x8060470, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#22 0xb6f3e29d in QEventLoop::processEvents (this=0xbfab9f14, flags=...) at kernel/qeventloop.cpp:149
#23 0xb6f3e4c9 in QEventLoop::exec (this=0xbfab9f14, flags=...) at kernel/qeventloop.cpp:201
#24 0xb6f42f70 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#25 0xb6465104 in QApplication::exec () at kernel/qapplication.cpp:3719
#26 0x080513c1 in _start ()

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

Possible duplicates by query: bug 286467, bug 281051, bug 270489.

Reported using DrKonqi
Comment 1 Bogdan Udrescu 2011-11-26 21:57:34 UTC
I did not encounter any problem doing this with 4.7.2 version. Please upgrade and check if it's fixed.
Comment 2 Myriam Schweingruber 2011-11-29 13:16:57 UTC

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