Bug 254150 - Policykit-kde1 crash on starting Virtual Machine Manager
Summary: Policykit-kde1 crash on starting Virtual Machine Manager
Status: RESOLVED DOWNSTREAM
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:
: 254175 254841 265613 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-10-14 14:20 UTC by Jason Harvey
Modified: 2011-02-06 16:49 UTC (History)
4 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 Jason Harvey 2010-10-14 14:20:10 UTC
Application: polkit-kde-authentication-agent-1 (0.1)
KDE Platform Version: 4.5.2 (KDE 4.5.2)
Qt Version: 4.7.0
Operating System: Linux 2.6.35.6-39.fc14.x86_64 x86_64
Distribution: "Fedora release 14 (Laughlin)"

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

Starting Virtual Machine Manager on Fedora 14 beta crashed Policykit-kde.
VMM starts and tries to connect to locaclhost(QEMU) and after a minute reports authentication failed

Details reported by VMM 
Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/connection.py", line 983, in _try_open
    None], flags)
  File "/usr/lib64/python2.7/site-packages/libvirt.py", line 111, in openAuth
    if ret is None:raise libvirtError('virConnectOpenAuth() failed')
libvirtError: authentication failed

The crash can be reproduced every time.

-- Backtrace:
Application: PolicyKit1-KDE (polkit-kde-authentication-agent-1), signal: Aborted
87	  int result = INLINE_SYSCALL (poll, 3, CHECK_N (fds, nfds), nfds, timeout);
[Current thread is 1 (Thread 0x7f584a437840 (LWP 3120))]

Thread 3 (Thread 0x7f583e249710 (LWP 3310)):
#0  0x00000030cd0da573 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00000030ccc42374 in ?? () from /lib64/libglib-2.0.so.0
#2  0x00000030ccc42c82 in g_main_loop_run () from /lib64/libglib-2.0.so.0
#3  0x00000030d4ca5774 in ?? () from /lib64/libgio-2.0.so.0
#4  0x00000030ccc69446 in ?? () from /lib64/libglib-2.0.so.0
#5  0x00000030cdc06d5b in start_thread (arg=0x7f583e249710) at pthread_create.c:301
#6  0x00000030cd0e3f6d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7f583da48710 (LWP 3311)):
[KCrash Handler]
#6  0x00000030cd034065 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00000030cd035a16 in abort () at abort.c:92
#8  0x00000030d806a5a4 in qt_message_output (msgType=<value optimized out>, buf=<value optimized out>) at global/qglobal.cpp:2259
#9  0x00000030d806a76d in qt_message(QtMsgType, const char *, typedef __va_list_tag __va_list_tag *) (msgType=QtFatalMsg, msg=0x30d81badd8 "ASSERT failure in %s: \"%s\", file %s, line %d", ap=0x7f583da47220) at global/qglobal.cpp:2305
#10 0x00000030d806a905 in qFatal (msg=<value optimized out>) at global/qglobal.cpp:2488
#11 0x000000316260b64b in operator[] (this=0x7f58300644a0) at /usr/include/QtCore/qlist.h:463
#12 PolkitQt1::Authority::Private::init (this=0x7f58300644a0) at /usr/src/debug/polkit-qt-1-0.96.1/core/polkitqt1-authority.cpp:214
#13 0x000000316260cb71 in PolkitQt1::Authority::Authority (this=0x7f5830008d80, authority=0x0, parent=<value optimized out>) at /usr/src/debug/polkit-qt-1-0.96.1/core/polkitqt1-authority.cpp:152
#14 0x000000316260cc32 in PolkitQt1::Authority::instance (authority=0x0) at /usr/src/debug/polkit-qt-1-0.96.1/core/polkitqt1-authority.cpp:49
#15 0x000000000040b0ce in AuthDialog::AuthDialog (this=0x7f5830003e40, actionId=..., message=<value optimized out>, iconName=..., details=0x7f5830003960, identities=...) at /usr/src/debug/polkit-kde-1-0.95.1/agent/AuthDialog.cpp:68
#16 0x000000000040822d in PolicyKitListener::initiateAuthentication (this=0xb5d700, actionId=..., message=..., iconName=..., details=0x7f5830003960, cookie=..., identities=..., result=0x7f5830003820) at /usr/src/debug/polkit-kde-1-0.95.1/agent/policykitlistener.cpp:73
#17 0x000000316220847a in PolkitQt1::Agent::ListenerAdapter::polkit_qt_listener_initiate_authentication (this=<value optimized out>, listener=<value optimized out>, action_id=0x7f5830002950 "org.libvirt.unix.manage", message=0x7f5830002968 "System policy prevents management of local virtualized systems", icon_name=0x7f583da478d0 "\220=", details=<value optimized out>, cookie=0x7f58300029a8 "cookie0", identities=0x7f5830001340 = {...}, cancellable=0xcfc890, result=0xd11f60) at /usr/src/debug/polkit-qt-1-0.96.1/agent/listeneradapter.cpp:103
#18 0x0000003162209369 in polkit_qt_listener_initiate_authentication (agent_listener=0xb5eaa0, action_id=0x7f5830002950 "org.libvirt.unix.manage", message=0x7f5830002968 "System policy prevents management of local virtualized systems", icon_name=0x7f58300029a7 "", details=0x7f58300012a0, cookie=0x7f58300029a8 "cookie0", identities=0x7f5830001340 = {...}, cancellable=0xcfc890, callback=0x30d6c055c0, user_data=0x7f5830002f50) at /usr/src/debug/polkit-qt-1-0.96.1/agent/polkitqtlistener.cpp:129
#19 0x00000030d6c053d6 in ?? () from /usr/lib64/libpolkit-agent-1.so.0
#20 0x00000030d4c96df0 in ?? () from /lib64/libgio-2.0.so.0
#21 0x00000030ccc41e33 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#22 0x00000030ccc42610 in ?? () from /lib64/libglib-2.0.so.0
#23 0x00000030ccc42c82 in g_main_loop_run () from /lib64/libglib-2.0.so.0
#24 0x00000030d6c04af3 in ?? () from /usr/lib64/libpolkit-agent-1.so.0
#25 0x00000030ccc69446 in ?? () from /lib64/libglib-2.0.so.0
#26 0x00000030cdc06d5b in start_thread (arg=0x7f583da48710) at pthread_create.c:301
#27 0x00000030cd0e3f6d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7f584a437840 (LWP 3120)):
#0  0x00000030cd0da573 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00000030cf008b6a in ?? () from /usr/lib64/libxcb.so.1
#2  0x00000030cf0090b3 in ?? () from /usr/lib64/libxcb.so.1
#3  0x00000030cf009144 in xcb_writev () from /usr/lib64/libxcb.so.1
#4  0x00000030cf44d546 in _XSend () from /usr/lib64/libX11.so.6
#5  0x00000030cf44d8d1 in _XEventsQueued () from /usr/lib64/libX11.so.6
#6  0x00000030cf4365df in XEventsQueued () from /usr/lib64/libX11.so.6
#7  0x00000037cc2585fc in x11EventSourceCheck (s=0xb611b0) at kernel/qguieventdispatcher_glib.cpp:85
#8  0x00000030ccc41ab8 in g_main_context_check () from /lib64/libglib-2.0.so.0
#9  0x00000030ccc42392 in ?? () from /lib64/libglib-2.0.so.0
#10 0x00000030ccc428ad in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#11 0x00000030d81868df in QEventDispatcherGlib::processEvents (this=0xb34fb0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#12 0x00000037cc2587ae in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#13 0x00000030d815ab52 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#14 0x00000030d815ad9c in QEventLoop::exec (this=0x7fff588ff9f0, flags=...) at kernel/qeventloop.cpp:201
#15 0x00000030d815f21b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#16 0x0000000000408736 in main (argc=1, argv=0x7fff588ffcd8) at /usr/src/debug/polkit-kde-1-0.95.1/agent/main.cpp:42

Reported using DrKonqi
Comment 1 Jaroslav Reznik 2010-10-14 17:26:50 UTC
This is Fedora only issue. It's caused by polkit-qt-0.96.1-fix-deprecated-warnings.patch patch that makes use of newly introduced polkit methods. I'm going to revert this patch for now in Fedora. We need much more work to make polkit-qt and polkit-kde match the current polkit (as we're unfortunately tied to its development :(.
Comment 2 Jason Harvey 2010-10-14 17:42:00 UTC
Thank you Jaroslav, removing that patch has fixed it for me.
Comment 3 Christoph Feck 2010-10-14 20:17:18 UTC
*** Bug 254175 has been marked as a duplicate of this bug. ***
Comment 4 Jaroslav Reznik 2010-10-15 13:07:44 UTC
It was (accidentally) fixed by http://websvn.kde.org/?view=revision&revision=1183766 in upstream now, so closing here.

For Fedora bug - check https://bugzilla.redhat.com/show_bug.cgi?id=643108.
Comment 5 Dario Andres 2011-01-23 16:26:41 UTC
*** Bug 254841 has been marked as a duplicate of this bug. ***
Comment 6 Christoph Feck 2011-02-06 16:49:00 UTC
*** Bug 265613 has been marked as a duplicate of this bug. ***