Bug 331468

Summary: Plasma crash when add wicd
Product: [Applications] wicd-client-kde Reporter: Rodolfo <blitzkriegbop>
Component: generalAssignee: Anthony Vital <anthony.vital>
Status: RESOLVED DUPLICATE    
Severity: crash CC: sebas
Priority: NOR Keywords: drkonqi
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Rodolfo 2014-02-24 18:57:48 UTC
Application: plasma-windowed (0.1)
KDE Platform Version: 4.12.2
Qt Version: 4.8.6
Operating System: Linux 3.11.0-18-generic x86_64
Distribution: Ubuntu 13.10

-- Information about the crash:
- What I was doing when the application crashed:
Try to add WICD to system tray or to desktop
- Unusual behavior I noticed:
Plama crash, desktop became black, after few second, back OK.

The crash can be reproduced every time.

-- Backtrace:
Application: Shell degli oggetti di Plasma (plasma-windowed), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f06843937c0 (LWP 7197))]

Thread 2 (Thread 0x7f065f732700 (LWP 7198)):
#0  0x00007f06829d898a in idleTimerSourcePrepare (source=<optimized out>, timeout=0x7f065f731bb4) at kernel/qeventdispatcher_glib.cpp:217
#1  0x00007f0679e0ad4d in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f0679e0b5c3 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f0679e0b7ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f06829d8af6 in QEventDispatcherGlib::processEvents (this=0x7f06580008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#5  0x00007f06829aa30f in QEventLoop::processEvents (this=this@entry=0x7f065f731d70, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f06829aa605 in QEventLoop::exec (this=this@entry=0x7f065f731d70, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f06828a6c4f in QThread::exec (this=this@entry=0x16f5720) at thread/qthread.cpp:537
#8  0x00007f068298ba33 in QInotifyFileSystemWatcherEngine::run (this=0x16f5720) at io/qfilesystemwatcher_inotify.cpp:265
#9  0x00007f06828a931f in QThreadPrivate::start (arg=0x16f5720) at thread/qthread_unix.cpp:349
#10 0x00007f067a4d4f6e in start_thread (arg=0x7f065f732700) at pthread_create.c:311
#11 0x00007f0683e069cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7f06843937c0 (LWP 7197)):
[KCrash Handler]
#6  ref (this=0x0) at ../../include/QtCore/../../src/corelib/arch/qatomic_x86_64.h:121
#7  QString::operator= (this=0x7fff7bc1c300, other=...) at tools/qstring.cpp:1410
#8  0x00007f065e06e5da in ?? () from /usr/lib/kde4/plasma_engine_wicd.so
#9  0x00007f0683926671 in Plasma::DataEngineManager::loadEngine (this=0x161b9e0, name=...) at ../../plasma/dataenginemanager.cpp:140
#10 0x00007f0683957a6b in Plasma::DataEngineConsumer::dataEngine (this=0x17448d0, name=...) at ../../plasma/private/dataengineconsumer.cpp:105
#11 0x00007f06838eef7c in Plasma::Applet::dataEngine (this=0x1744590, name=...) at ../../plasma/applet.cpp:685
#12 0x00007f065ed234d8 in ?? () from /usr/lib/kde4/plasma_applet_wicd.so
#13 0x00007f068390d6e8 in Plasma::Containment::addApplet (this=0x14d3290, applet=0x1744590, pos=..., delayInit=delayInit@entry=false) at ../../plasma/containment.cpp:917
#14 0x00007f06840dacd1 in SingleView::SingleView (this=0x14e14d0, corona=<optimized out>, containment=<optimized out>, pluginName=..., appletId=<optimized out>, appletArgs=..., parent=0x0) at ../../../../../plasma/generic/shells/plasma-windowed/singleview.cpp:63
#15 0x00007f06840dcccb in PlasmaApp::newInstance (this=0x14c6960) at ../../../../../plasma/generic/shells/plasma-windowed/plasmaapp.cpp:144
#16 0x00007f06833fcecc in KUniqueApplicationAdaptor::newInstance (this=0x16101c0, asn_id=..., args=...) at ../../kdeui/kernel/kuniqueapplication.cpp:442
#17 0x00007f06833fcf55 in KUniqueApplicationAdaptor::qt_static_metacall (_o=_o@entry=0x16101c0, _id=_id@entry=0, _a=_a@entry=0x7fff7bc1cbc0, _c=QMetaObject::InvokeMetaMethod) at ./kuniqueapplication_p.moc:57
#18 0x00007f06833fd173 in qt_static_metacall (_a=0x7fff7bc1cbc0, _id=0, _c=QMetaObject::InvokeMetaMethod, _o=0x16101c0) at ./kuniqueapplication_p.moc:100
#19 KUniqueApplicationAdaptor::qt_metacall (this=0x16101c0, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fff7bc1cbc0) at ./kuniqueapplication_p.moc:101
#20 0x00007f067ad59226 in QDBusConnectionPrivate::deliverCall (this=this@entry=0x14e3200, object=object@entry=0x16101c0, msg=..., metaTypes=..., slotIdx=4) at qdbusintegrator.cpp:951
#21 0x00007f067ad5a329 in QDBusConnectionPrivate::activateCall (this=this@entry=0x14e3200, object=0x16101c0, flags=flags@entry=337, msg=...) at qdbusintegrator.cpp:856
#22 0x00007f067ad5ae0d in QDBusConnectionPrivate::activateObject (this=0x14e3200, node=..., msg=..., pathStartPos=<optimized out>) at qdbusintegrator.cpp:1427
#23 0x00007f067ad5aedb in QDBusActivateObjectEvent::placeMetaCall (this=0x16a7fd0) at qdbusintegrator.cpp:1541
#24 0x00007f06829c3e9e in QObject::event (this=this@entry=0x14c6960, e=e@entry=0x16a7fd0) at kernel/qobject.cpp:1194
#25 0x00007f06829aff6c in QCoreApplication::event (this=this@entry=0x14c6960, e=e@entry=0x16a7fd0) at kernel/qcoreapplication.cpp:1765
#26 0x00007f0681d49f23 in QApplication::event (this=0x14c6960, e=0x16a7fd0) at kernel/qapplication.cpp:2549
#27 0x00007f0681d44e7c in QApplicationPrivate::notify_helper (this=this@entry=0x14ed9b0, receiver=receiver@entry=0x14c6960, e=e@entry=0x16a7fd0) at kernel/qapplication.cpp:4567
#28 0x00007f0681d4b4f0 in QApplication::notify (this=this@entry=0x14c6960, receiver=receiver@entry=0x14c6960, e=e@entry=0x16a7fd0) at kernel/qapplication.cpp:4353
#29 0x00007f06833f5c6a in KApplication::notify (this=0x14c6960, receiver=0x14c6960, event=0x16a7fd0) at ../../kdeui/kernel/kapplication.cpp:311
#30 0x00007f06829ab73d in QCoreApplication::notifyInternal (this=0x14c6960, receiver=receiver@entry=0x14c6960, event=event@entry=0x16a7fd0) at kernel/qcoreapplication.cpp:953
#31 0x00007f06829aedaf in sendEvent (event=0x16a7fd0, receiver=0x14c6960) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#32 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x14a01f0) at kernel/qcoreapplication.cpp:1577
#33 0x00007f06829af253 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1470
#34 0x00007f06829d9213 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#35 postEventSourceDispatch (s=0x14ed190) at kernel/qeventdispatcher_glib.cpp:280
#36 0x00007f0679e0b3b6 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007f0679e0b708 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#38 0x00007f0679e0b7ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#39 0x00007f06829d8ad5 in QEventDispatcherGlib::processEvents (this=0x14a1af0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#40 0x00007f0681de6cb6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#41 0x00007f06829aa30f in QEventLoop::processEvents (this=this@entry=0x7fff7bc1d4e0, flags=...) at kernel/qeventloop.cpp:149
#42 0x00007f06829aa605 in QEventLoop::exec (this=this@entry=0x7fff7bc1d4e0, flags=...) at kernel/qeventloop.cpp:204
#43 0x00007f06829afdeb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#44 0x00007f0681d433cc in QApplication::exec () at kernel/qapplication.cpp:3828
#45 0x00007f06840dbb0a in kdemain (argc=2, argv=0x7fff7bc1d738) at ../../../../../plasma/generic/shells/plasma-windowed/main.cpp:56
#46 0x00007f0683d2dde5 in __libc_start_main (main=0x4006e0 <main(int, char**)>, argc=2, ubp_av=0x7fff7bc1d738, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff7bc1d728) at libc-start.c:260
#47 0x000000000040070e in _start ()

Possible duplicates by query: bug 207830.

Reported using DrKonqi
Comment 1 Sebastian Kügler 2014-02-25 12:49:04 UTC
I'm not sure where the wicd dataengine comes from, but it's not part of Plasma. Please file a bug against wicd / the wicd dataengine.
Comment 2 Jekyll Wu 2014-02-25 14:53:54 UTC
(In reply to comment #1)
> I'm not sure where the wicd dataengine comes from, but it's not part of
> Plasma. Please file a bug against wicd / the wicd dataengine.

Actually, it is a KDE project and tracked here.
Comment 3 Anthony Vital 2014-02-25 16:17:16 UTC
Hello, 
this happens because the wicd daemon is not running when you add the applet to the desktop.  So just make sure the daemon is running beforehand. This bug was corrected a long time ago in 0.3.1, but unfortunately the packages in debian and ubuntu are outdated. I'm going to ping the maintainer.

*** This bug has been marked as a duplicate of bug 304089 ***
Comment 4 Rodolfo 2014-02-25 18:01:22 UTC
Thanks, I have upgrade to 14.04 package. Now work.