Bug 202872

Summary: plasma-desktop crash on logging in after giving kwallet password
Product: [Unmaintained] plasma4 Reporter: Magnus Bergmark <magnus.bergmark>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED NOT A BUG    
Severity: crash CC: andresbajotierra
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Magnus Bergmark 2009-08-06 22:16:26 UTC
Application that crashed: plasma-desktop
Version of the application: 0.3
KDE Version: 4.2.98 (KDE 4.2.98 (KDE 4.3 RC3))
Qt Version: 4.5.0
Operating System: Linux 2.6.28-15-generic x86_64
Distribution: Ubuntu 9.04

What I was doing when the application crashed:
Booted up system, plasma desktop loaded in background with a kwallet window on top. Entered my password and pressed enter. Instant crash from plasma-desktop with a fast restart.

Using Kubuntu 9.04, KDE 4.2.98.

 -- Backtrace:
Application: Plasma Workspace (kdeinit4), signal: Segmentation fault
[Current thread is 0 (LWP 5083)]

Thread 2 (Thread 0x7f2ff9809950 (LWP 5088)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f301d3c4939 in QWaitCondition::wait (this=0x314a070, mutex=0x314a068, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  0x00007f301c23f4cc in QHostInfoAgent::run (this=0x314a050) at kernel/qhostinfo.cpp:260
#3  0x00007f301d3c3952 in QThreadPrivate::start (arg=0x314a050) at thread/qthread_unix.cpp:189
#4  0x00007f30192433ba in start_thread (arg=<value optimized out>) at pthread_create.c:297
#5  0x00007f3019e27fcd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f301d987750 (LWP 5083)):
[KCrash Handler]
#5  qtcore_QStringToPyUnicode (qs=0x3964298) at /build/buildd/python-qt4-4.4.4/sip/QtCore/qstring.sip:605
#6  0x00007f2ffd37b627 in _PyObject_Str (v=0x35c56b0) at ../Objects/object.c:424
#7  0x00007f2ffd37b703 in PyObject_Str (v=0x3a700f0) at ../Objects/object.c:445
#8  0x00007f2ffd386a11 in string_new (type=0x7f2ffd73b600, args=<value optimized out>, kwds=<value optimized out>) at ../Objects/stringobject.c:4075
#9  0x00007f2ffd391913 in type_call (type=0x3a700f0, args=0x2e38510, kwds=0x0) at ../Objects/typeobject.c:731
#10 0x00007f2ffd333c48 in PyObject_Call (func=0x7f2ffd73b600, arg=0x2e38510, kw=0x0) at ../Objects/abstract.c:2492
#11 0x00007f2ffd3d950f in PyEval_EvalFrameEx (f=0x3a7e5f0, throwflag=<value optimized out>) at ../Python/ceval.c:3917
#12 0x00007f2ffd3dc9a9 in PyEval_EvalCodeEx (co=0x2f05918, globals=<value optimized out>, locals=<value optimized out>, args=0x2e384a8, argcount=1, kws=0x0, kwcount=0, defs=0x0, defcount=0, 
    closure=0x0) at ../Python/ceval.c:2968
#13 0x00007f2ffd362a3d in function_call (func=0x35abde8, arg=0x2e38490, kw=0x0) at ../Objects/funcobject.c:524
#14 0x00007f2ffd333c48 in PyObject_Call (func=0x35abde8, arg=0x2e38490, kw=0x0) at ../Objects/abstract.c:2492
#15 0x00007f2ffd3443c0 in instancemethod_call (func=0x35abde8, arg=0x2e38490, kw=0x0) at ../Objects/classobject.c:2579
#16 0x00007f2ffd333c48 in PyObject_Call (func=0x2989a50, arg=0x2908050, kw=0x0) at ../Objects/abstract.c:2492
#17 0x00007f2ffd3d57c6 in PyEval_CallObjectWithKeywords (func=0x2989a50, arg=0x2908050, kw=0x0) at ../Python/ceval.c:3575
#18 0x00007f2ffcb1ce70 in sip_api_invoke_slot (slot=0x2908050, sigargs=0x2e38450) at /build/buildd/sip4-qt3-4.7.9/siplib/qtlib.c:716
#19 0x00007f2ffcdb908d in PyQtProxy::invokeSlot (slot_conn=@0x34992f8, qargs=0x7fff259c14c0) at /build/buildd/python-qt4-4.4.4/sip/QtCore/qobject.sip:2241
#20 0x00007f2ffcdb9c7b in PyQtProxy::unislot (this=0x34992e0, qargs=0x7fff259c14c0) at /build/buildd/python-qt4-4.4.4/sip/QtCore/qobject.sip:2207
#21 0x00007f2ffcdb9d0d in PyQtProxy::qt_metacall (this=0x34992e0, _c=QMetaObject::InvokeMetaMethod, _id=61276426, _a=0x7fff259c14c0) at /build/buildd/python-qt4-4.4.4/sip/QtCore/qobject.sip:2160
#22 0x00007f301d4c21f2 in QMetaObject::activate (sender=0x3335420, from_signal_index=<value optimized out>, to_signal_index=8, argv=0x46e77c) at kernel/qobject.cpp:3069
#23 0x00007f301bbf9002 in KWallet::Wallet::walletOpened (this=0x3a700f0, _t1=true) at /build/buildd/kde4libs-4.2.98a/obj-x86_64-linux-gnu/kdeui/kwallet.moc:139
#24 0x00007f301bbf9db4 in KWallet::Wallet::qt_metacall (this=0x3335420, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff259c15f0)
    at /build/buildd/kde4libs-4.2.98a/obj-x86_64-linux-gnu/kdeui/kwallet.moc:99
#25 0x00007f301d4c21f2 in QMetaObject::activate (sender=0x3337c90, from_signal_index=<value optimized out>, to_signal_index=9, argv=0x46e77c) at kernel/qobject.cpp:3069
#26 0x00007f301bcbc03f in OrgKdeKWalletInterface::walletAsyncOpened (this=0x3a700f0, _t1=1, _t2=1842487678) at /build/buildd/kde4libs-4.2.98a/obj-x86_64-linux-gnu/kdeui/kwallet_interface.moc:300
#27 0x00007f301bcbd479 in OrgKdeKWalletInterface::qt_metacall (this=0x3337c90, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff259c1eb0)
    at /build/buildd/kde4libs-4.2.98a/obj-x86_64-linux-gnu/kdeui/kwallet_interface.moc:176
#28 0x00007f301b71bf83 in QDBusConnectionPrivate::deliverCall (this=0x23167d0, object=0x3337c90, msg=@0x3962c68, metaTypes=@0x3962c70, slotIdx=9) at qdbusintegrator.cpp:891
#29 0x00007f301b723d0f in QDBusCallDeliveryEvent::placeMetaCall (this=0x3a7010a, object=0x2f006f0) at qdbusintegrator_p.h:101
#30 0x00007f301d4bc848 in QObject::event (this=0x3337c90, e=0x3962c20) at kernel/qobject.cpp:1118
#31 0x00007f301aa3478d in QApplicationPrivate::notify_helper (this=0x231e1d0, receiver=0x3337c90, e=0x3962c20) at kernel/qapplication.cpp:4084
#32 0x00007f301aa3c97a in QApplication::notify (this=0x22df360, receiver=0x3337c90, e=0x3962c20) at kernel/qapplication.cpp:4049
#33 0x00007f301bb7771b in KApplication::notify (this=0x22df360, receiver=0x3337c90, event=0x3962c20) at /build/buildd/kde4libs-4.2.98a/kdeui/kernel/kapplication.cpp:302
#34 0x00007f301d4ac75c in QCoreApplication::notifyInternal (this=0x22df360, receiver=0x3337c90, event=0x3962c20) at kernel/qcoreapplication.cpp:602
#35 0x00007f301d4ad3ca in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x228d320) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#36 0x00007f301d4d61e3 in postEventSourceDispatch (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#37 0x00007f301949220a in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#38 0x00007f30194958e0 in ?? () from /usr/lib/libglib-2.0.so.0
#39 0x00007f3019495a7c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#40 0x00007f301d4d5e6f in QEventDispatcherGlib::processEvents (this=0x231dd00, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:323
#41 0x00007f301aaccbef in QGuiEventDispatcherGlib::processEvents (this=0x3a700f0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#42 0x00007f301d4ab002 in QEventLoop::processEvents (this=<value optimized out>, flags={i = 630990848}) at kernel/qeventloop.cpp:149
#43 0x00007f301d4ab3cd in QEventLoop::exec (this=0x7fff259c2840, flags={i = 630990928}) at kernel/qeventloop.cpp:200
#44 0x00007f301d4ad694 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:880
#45 0x00007f301137d6bb in kdemain (argc=1, argv=0x22cf9c0) at /build/buildd/kdebase-workspace-4.2.98/plasma/shells/desktop/main.cpp:50
#46 0x0000000000407215 in launch (argc=1, _name=0x22d2058 "/usr/bin/plasma-desktop", args=<value optimized out>, cwd=0x0, envc=0, envs=0x22d2078 "", reset_env=false, tty=0x0, avoid_loops=false, 
    startup_id_str=0x40a3c9 "0") at /build/buildd/kde4libs-4.2.98a/kinit/kinit.cpp:676
#47 0x0000000000407a38 in handle_launcher_request (sock=7, who=<value optimized out>) at /build/buildd/kde4libs-4.2.98a/kinit/kinit.cpp:1168
#48 0x0000000000407fe5 in handle_requests (waitForPid=0) at /build/buildd/kde4libs-4.2.98a/kinit/kinit.cpp:1361
#49 0x0000000000408b26 in main (argc=2, argv=0x7fff259c36e8, envp=0x7fff259c3700) at /build/buildd/kde4libs-4.2.98a/kinit/kinit.cpp:1788

Reported using DrKonqi
Comment 1 Dario Andres 2009-08-07 14:09:09 UTC
You are using Qt4.5 but Python-Qt4.4.4 : 
"/build/buildd/python-qt4-4.4.4/sip/QtCore/qstring.sip:605"

Try updating the python-qt package (and pykde bindings); and check if it crashes again. 
Thanks
Comment 2 Dario Andres 2009-09-19 18:42:59 UTC
Marking as NEEDSINFO
Comment 3 Magnus Bergmark 2009-09-21 12:00:05 UTC
It still crashes often, but I think this might be a Kubuntu issue. Closing this as INVALID.

I'll make sure to report this manually in the correct places when I have had time to research more properly.

I am without an internet connection at home for the moment, making research and troubleshooting hard.