Bug 270489 - i choose repozitary in the KpackageKit
Summary: i choose repozitary in the KpackageKit
Status: RESOLVED 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:
: 281051 286467 288452 291003 292827 294210 295036 306505 307995 316423 318758 320848 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-04-09 12:08 UTC by Alexander Serdts
Modified: 2013-07-12 22:44 UTC (History)
13 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (5.64 KB, text/plain)
2011-10-31 18:11 UTC, blackmetalowiec
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Serdts 2011-04-09 12:08:55 UTC
Application: polkit-kde-authentication-agent-1 (0.1)
KDE Platform Version: 4.5.5 (KDE 4.5.5)
Qt Version: 4.7.1
Operating System: Linux 2.6.35.11-83.fc14.i686.PAE i686
Distribution (Platform): Fedora RPMs

-- Information about the crash:
When I choose repozitary in the KpackageKit than windows crashed and system wrote about this mistake

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

Thread 3 (Thread 0xb58b0b70 (LWP 2695)):
#0  0x00b34424 in __kernel_vsyscall ()
#1  0x0052c072 in __lll_lock_wait () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S:142
#2  0x005270b0 in _L_lock_684 () from /lib/libpthread.so.0
#3  0x00526f81 in __pthread_mutex_lock (mutex=0x980b094) at pthread_mutex_lock.c:61
#4  0x01c44b8b in g_main_context_check (context=0x980b090, max_priority=2147483647, fds=0xb4f029c0, n_fds=3) at gmain.c:2595
#5  0x01c45742 in g_main_context_iterate (context=0x980b090, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2777
#6  0x01c4604b in g_main_loop_run (loop=0x980b110) at gmain.c:2988
#7  0x09494ed5 in gdbus_shared_thread_func (data=0x0) at gdbusprivate.c:277
#8  0x01c6ebd0 in g_thread_create_proxy (data=0x980b120) at gthread.c:1897
#9  0x00524e99 in start_thread (arg=0xb58b0b70) at pthread_create.c:301
#10 0x01a3bd2e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 2 (Thread 0xb4e64b70 (LWP 3007)):
#0  0x00b34424 in __kernel_vsyscall ()
#1  0x0052c3fb in read () at ../sysdeps/unix/syscall-template.S:82
#2  0x01c46f7d in read (data=0x0) at /usr/include/bits/unistd.h:45
#3  child_watch_helper_thread (data=0x0) at gmain.c:4011
#4  0x01c6ebd0 in g_thread_create_proxy (data=0x9890450) at gthread.c:1897
#5  0x00524e99 in start_thread (arg=0xb4e64b70) at pthread_create.c:301
#6  0x01a3bd2e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 1 (Thread 0xb78bd9b0 (LWP 2511)):
[KCrash Handler]
#7  0x08777243 in g_type_parent (type=301990143) at gtype.c:3345
#8  0x0876c3b4 in signal_id_lookup (instance=0x97f8f60, detailed_signal=0xed33e1 "cancelled", c_handler=0xed2300 <cancelled_cb(GCancellable*, gpointer)>, data=0x972bc30, destroy_data=0, connect_flags=0) at gsignal.c:332
#9  signal_parse_name (instance=0x97f8f60, detailed_signal=0xed33e1 "cancelled", c_handler=0xed2300 <cancelled_cb(GCancellable*, gpointer)>, data=0x972bc30, destroy_data=0, connect_flags=0) at gsignal.c:983
#10 g_signal_connect_data (instance=0x97f8f60, detailed_signal=0xed33e1 "cancelled", c_handler=0xed2300 <cancelled_cb(GCancellable*, gpointer)>, data=0x972bc30, destroy_data=0, connect_flags=0) at gsignal.c:2252
#11 0x00ed2972 in polkit_qt_listener_initiate_authentication (agent_listener=0x972bc30, action_id=0x98c9d40 "org.freedesktop.packagekit.system-sources-configure", message=0x98c9d74 "\320\224\320\273\321\217 \320\275\320\260\321\201\321\202\321\200\320\276\320\271\320\272\320\270 \320\270\321\201\321\202\320\276\321\207\320\275\320\270\320\272\320\276\320\262 \320\277\321\200\320\276\320\263\321\200\320\260\320\274\320\274 \320\275\320\265\320\276\320\261\321\205\320\276\320\264\320\270\320\274\320\276 \320\260\320\262\321\202\320\276\321\200\320\270\320\267\320\276\320\262\320\260\321\202\321\214\321\201\321\217", icon_name=0x98c9de6 "package-x-generic", details=0xb4f01000, cookie=0x98c9e72 "cookie2", identities=0x972bfb0, cancellable=0x97f8f60, callback=0xec0850 <auth_cb>, user_data=0x98910d0) at /usr/src/debug/polkit-qt-1-0.96.1/agent/polkitqtlistener.cpp:135
#12 0x00ec03ed in polkit_agent_listener_initiate_authentication (listener=0x972bc30, action_id=0x98c9d40 "org.freedesktop.packagekit.system-sources-configure", message=0x98c9d74 "\320\224\320\273\321\217 \320\275\320\260\321\201\321\202\321\200\320\276\320\271\320\272\320\270 \320\270\321\201\321\202\320\276\321\207\320\275\320\270\320\272\320\276\320\262 \320\277\321\200\320\276\320\263\321\200\320\260\320\274\320\274 \320\275\320\265\320\276\320\261\321\205\320\276\320\264\320\270\320\274\320\276 \320\260\320\262\321\202\320\276\321\200\320\270\320\267\320\276\320\262\320\260\321\202\321\214\321\201\321\217", icon_name=0x98c9de6 "package-x-generic", details=0xb4f01000, cookie=0x98c9e72 "cookie2", identities=0x972bfb0, cancellable=0x97f8f60, callback=0xec0850 <auth_cb>, user_data=0x98910d0) at polkitagentlistener.c:747
#13 0x00ec066d in auth_agent_handle_begin_authentication (connection=0x9806080, sender=0xb4f029b0 ":1.4", object_path=0xb4f05560 "/org/kde/PolicyKit1/AuthenticationAgent", interface_name=0xb4f05cf8 "org.freedesktop.PolicyKit1.AuthenticationAgent", method_name=0xb4f05c50 "BeginAuthentication", parameters=0xb4f07138, invocation=0xb4f034f0, user_data=0x980bbb0) at polkitagentlistener.c:634
#14 auth_agent_handle_method_call (connection=0x9806080, sender=0xb4f029b0 ":1.4", object_path=0xb4f05560 "/org/kde/PolicyKit1/AuthenticationAgent", interface_name=0xb4f05cf8 "org.freedesktop.PolicyKit1.AuthenticationAgent", method_name=0xb4f05c50 "BeginAuthentication", parameters=0xb4f07138, invocation=0xb4f034f0, user_data=0x980bbb0) at polkitagentlistener.c:288
#15 0x09484ee3 in call_in_idle_cb (user_data=0xb4f034f0) at gdbusconnection.c:4397
#16 0x01c41042 in g_idle_dispatch (source=0xb4f05dc0, callback=0x9484dd0 <call_in_idle_cb>, user_data=0xb4f034f0) at gmain.c:4254
#17 0x01c45192 in g_main_dispatch (context=0x972b0f8) at gmain.c:2149
#18 g_main_context_dispatch (context=0x972b0f8) at gmain.c:2702
#19 0x01c45978 in g_main_context_iterate (context=0x972b0f8, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2780
#20 0x01c45c35 in g_main_context_iteration (context=0x972b0f8, may_block=1) at gmain.c:2843
#21 0x009a6e0d in QEventDispatcherGlib::processEvents (this=0x970a180, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#22 0x010b60e6 in QGuiEventDispatcherGlib::processEvents (this=0x970a180, flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#23 0x009782aa in QEventLoop::processEvents (this=0xbfcf0c64, flags=...) at kernel/qeventloop.cpp:149
#24 0x0097855a in QEventLoop::exec (this=0xbfcf0c64, flags=...) at kernel/qeventloop.cpp:201
#25 0x0097d107 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#26 0x01000d58 in QApplication::exec () at kernel/qapplication.cpp:3719
#27 0x0804f020 in main (argc=321700, argv=0xb78c7910) at /usr/src/debug/polkit-kde-1-0.95.1/agent/main.cpp:42

Reported using DrKonqi
Comment 1 Christoph Feck 2011-08-30 23:24:34 UTC
*** Bug 281051 has been marked as a duplicate of this bug. ***
Comment 2 blackmetalowiec 2011-10-31 18:11:27 UTC
Created attachment 65084 [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.4

- What I was doing when the application crashed:

choose and apply debug repository in KPackageKit.

-- Backtrace (Reduced):
#7  0x42c53dab in g_type_parent (type=922747135) at gtype.c:3349
#8  0x42c495ac in signal_id_lookup (itype=162873632, quark=<optimized out>) at gsignal.c:332
#9  signal_parse_name (detail_p=<synthetic pointer>, itype=162873632, name=0x48be67e1 "cancelled", force_quark=<optimized out>) at gsignal.c:983
#10 signal_parse_name (force_quark=1, detail_p=<synthetic pointer>, itype=162873632, name=0x48be67e1 "cancelled") at gsignal.c:2230
#11 g_signal_connect_data (instance=0x9b54160, detailed_signal=0x48be67e1 "cancelled", c_handler=0x48be5650 <cancelled_cb(GCancellable*, gpointer)>, data=0x9acb250, destroy_data=0, connect_flags=0) at gsignal.c:2252
Comment 3 Christoph Feck 2011-11-13 09:52:22 UTC
*** Bug 286467 has been marked as a duplicate of this bug. ***
Comment 4 Christoph Feck 2011-12-08 11:38:01 UTC
*** Bug 288452 has been marked as a duplicate of this bug. ***
Comment 5 Christoph Feck 2012-01-09 00:46:28 UTC
*** Bug 291003 has been marked as a duplicate of this bug. ***
Comment 6 Jekyll Wu 2012-02-16 09:11:03 UTC
*** Bug 294210 has been marked as a duplicate of this bug. ***
Comment 7 Jekyll Wu 2012-07-05 17:14:49 UTC
*** Bug 295036 has been marked as a duplicate of this bug. ***
Comment 8 Jekyll Wu 2012-09-09 17:21:14 UTC
*** Bug 306505 has been marked as a duplicate of this bug. ***
Comment 9 Jekyll Wu 2013-03-10 02:56:57 UTC
*** Bug 316423 has been marked as a duplicate of this bug. ***
Comment 10 Jekyll Wu 2013-03-10 02:56:58 UTC
*** Bug 307995 has been marked as a duplicate of this bug. ***
Comment 11 Christoph Feck 2013-04-23 10:55:05 UTC
*** Bug 318758 has been marked as a duplicate of this bug. ***
Comment 12 Martin Bříza 2013-07-12 13:38:55 UTC
*** Bug 320848 has been marked as a duplicate of this bug. ***
Comment 13 Martin Bříza 2013-07-12 13:59:57 UTC
(added by hand because my second email isn't assigned to this BZ account)

Git commit 57a81d0c90fc509fd197b30378cc0ada3b7afbf1 by Martin Briza.
Committed on 12/07/2013 at 13:37.
Pushed by mbriza into branch 'master'.

Fixed GCancellable handling in PolkitQtListener

There was a race condition happening on two simultanneous requests to the agent, causing it to crash.

M  +7    -7    agent/polkitqtlistener.cpp

http://commits.kde.org/polkit-qt-1/57a81d0c90fc509fd197b30378cc0ada3b7afbf1
Comment 14 Martin Bříza 2013-07-12 22:44:42 UTC
*** Bug 292827 has been marked as a duplicate of this bug. ***