Bug 291003 - seg fault when hitting "apply" button in KPackagekit
Summary: seg fault when hitting "apply" button in KPackagekit
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: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Jaroslav Reznik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-08 22:37 UTC by Mark Rooks
Modified: 2012-01-09 00:46 UTC (History)
0 users

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 Mark Rooks 2012-01-08 22:37:47 UTC
Application: polkit-kde-authentication-agent-1 (0.99.0)
KDE Platform Version: 4.6.5 (4.6.5)
Qt Version: 4.7.4
Operating System: Linux 2.6.41.4-1.fc15.i686.PAE i686
Distribution: "Fedora release 15 (Lovelock)"

-- Information about the crash:
- What I was doing when the application crashed:
I started KPackagekit as a regular user
I went tothe sources view
I de-selected 3xsources and clicked on "apply"
segfault occurs

The crash can be reproduced every time.

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

Thread 3 (Thread 0xb5883b70 (LWP 2853)):
#0  0x00c58424 in __kernel_vsyscall ()
#1  0x49facc3e in __GI___poll (fds=0xb4f029c0, nfds=3, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0x4a14caac in g_poll (fds=0xb4f029c0, nfds=3, timeout=-1) at gpoll.c:132
#3  0x4a13dc36 in g_main_context_poll (n_fds=3, fds=0x4a07b5d0, priority=<optimized out>, timeout=<optimized out>, context=0x8679198) at gmain.c:3405
#4  g_main_context_iterate (context=0x8679198, block=1242876544, dispatch=1, self=0x8679228) at gmain.c:3087
#5  0x4a13e457 in g_main_loop_run (loop=0x8679188) at gmain.c:3300
#6  0x46541032 in gdbus_shared_thread_func (data=0x0) at gdbusprivate.c:276
#7  0x4a165535 in g_thread_create_proxy (data=0x8679228) at gthread.c:1955
#8  0x4a078a2e in start_thread (arg=0xb5883b70) at pthread_create.c:305
#9  0x49fb734e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 2 (Thread 0xb4d14b70 (LWP 2979)):
#0  0x4a13f349 in g_main_context_wakeup (context=<optimized out>) at gmain.c:3772
#1  0x4a13f499 in child_watch_helper_thread (data=0x0) at gmain.c:4329
#2  0x4a165535 in g_thread_create_proxy (data=0x8730b80) at gthread.c:1955
#3  0x4a078a2e in start_thread (arg=0xb4d14b70) at pthread_create.c:305
#4  0x49fb734e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 1 (Thread 0xb78629b0 (LWP 2817)):
[KCrash Handler]
#7  0x4a3fddab in g_type_parent (type=905969919) at gtype.c:3349
#8  0x4a3f35ac in signal_id_lookup (itype=140862112, quark=<optimized out>) at gsignal.c:332
#9  signal_parse_name (detail_p=<synthetic pointer>, itype=140862112, name=0xeaa801 "cancelled", force_quark=<optimized out>) at gsignal.c:983
#10 signal_parse_name (force_quark=1, detail_p=<synthetic pointer>, itype=140862112, name=0xeaa801 "cancelled") at gsignal.c:2230
#11 g_signal_connect_data (instance=0x86562e0, detailed_signal=0xeaa801 "cancelled", c_handler=0xea9660 <cancelled_cb(GCancellable*, gpointer)>, data=0x85ecc50, destroy_data=0, connect_flags=0) at gsignal.c:2252
#12 0x00ea9d54 in polkit_qt_listener_initiate_authentication (agent_listener=0x85ecc50 [PolkitQtListener], action_id=0x360000fc <Address 0x360000fc out of bounds>, message=0x360000fc <Address 0x360000fc out of bounds>, icon_name=0x360000fc <Address 0x360000fc out of bounds>, details=0x360000fc, cookie=0x360000fc <Address 0x360000fc out of bounds>, identities=0x360000fc = {...}, cancellable=0x86562e0, callback=0x360000fc, user_data=0x360000fc) at /usr/src/debug/polkit-qt-1-0.103.0/agent/polkitqtlistener.cpp:136
#13 0x41047ab0 in polkit_agent_listener_initiate_authentication (listener=0x85ecc50 [PolkitQtListener], action_id=0x87420b0 "org.freedesktop.packagekit.system-sources-configure", message=0x87420e4 "Authentication is required to change software source parameters", icon_name=0x8742124 "package-x-generic", details=0xb4f00e60, cookie=0x8742169 "cookie2", identities=0x8734c50 = {...}, cancellable=0x86562e0, callback=0x41047f80 <auth_cb>, user_data=0x8699438) at polkitagentlistener.c:748
#14 0x41047d76 in auth_agent_handle_begin_authentication (invocation=0xb4f03490 [GDBusMethodInvocation], parameters=0xb4f01200, server=0x86794d8) at polkitagentlistener.c:635
#15 auth_agent_handle_method_call (connection=0x8674000 [GDBusConnection], sender=0xb4f04688 ":1.6", object_path=0xb4f04870 "/org/kde/PolicyKit1/AuthenticationAgent", interface_name=0xb4f049b8 "org.freedesktop.PolicyKit1.AuthenticationAgent", method_name=0xb4f04910 "BeginAuthentication", parameters=0xb4f01200, invocation=0xb4f03490 [GDBusMethodInvocation], user_data=0x86794d8) at polkitagentlistener.c:288
#16 0x46530fea in call_in_idle_cb (user_data=0xb4f03490) at gdbusconnection.c:4445
#17 0x4a1395d1 in g_idle_dispatch (source=0xb4f049f0, callback=0x46530ed0 <call_in_idle_cb>, user_data=0xb4f03490) at gmain.c:4558
#18 0x4a13d5bf in g_main_dispatch (context=0x85ec270) at gmain.c:2441
#19 g_main_context_dispatch (context=0x85ec270) at gmain.c:3014
#20 0x4a13dd30 in g_main_context_iterate (context=0x85ec270, block=1242876544, dispatch=1, self=0x85e9b00) at gmain.c:3092
#21 0x4a13e06f in g_main_context_iteration (context=0x85ec270, may_block=1) at gmain.c:3155
#22 0x4fb96108 in QEventDispatcherGlib::processEvents (this=0x85cb988, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#23 0x442dac1b in QGuiEventDispatcherGlib::processEvents (this=0x85cb988, flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#24 0x4fb66e0e in QEventLoop::processEvents (this=0xbf9fe714, flags=...) at kernel/qeventloop.cpp:149
#25 0x4fb67061 in QEventLoop::exec (this=0xbf9fe714, flags=...) at kernel/qeventloop.cpp:201
#26 0x4fb6b7bb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#27 0x44223f45 in QApplication::exec () at kernel/qapplication.cpp:3755
#28 0x0804e67d in main (argc=1, argv=0xbf9fe8d4) at /usr/src/debug/polkit-kde-agent-1-0.99.0/main.cpp:47

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

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

Reported using DrKonqi
Comment 1 Christoph Feck 2012-01-09 00:46:28 UTC

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