Bug 304089

Summary: Plasma crash if I add "Wicd client" when wicd daemon isn't launched
Product: [Applications] wicd-client-kde Reporter: ariasuni <aria>
Component: generalAssignee: Anthony Vital <anthony.vital>
Status: RESOLVED FIXED    
Severity: crash CC: admin, blitzkriegbop, nlminhtl
Priority: NOR    
Version: 0.3.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Application: Plasma Desktop Shell (kdeinit4), signal: Aborted Using host libthread_db library "/lib/libthread_db.so.1". [Current thread is 1 (Thread 0x7f9b6bf33780 (LWP 23699))] Thread 4 (Thread 0x7f

Description ariasuni 2012-07-26 13:23:04 UTC
Application: plasma-desktop (0.4)
KDE Platform Version: 4.8.4 (4.8.4)
Qt Version: 4.8.2
Operating System: Linux 3.4.6-1-ARCH x86_64
Distribution (Platform): Archlinux Packages

-- Information about the crash:
- What I was doing when the application crashed:
In "System Tray Settings",  select "Wicd client", and when I click on "OK" or "Apply", Plasma crash, and Wicd client doesn't appear in System Tray.
- Custom settings of the application:
I installed Wicd-kde 0.3.0 (build it via AUR). However It works fine if I add it manually to the panel.

The crash can be reproduced every time.

-- Backtrace:
Application: Plasma Desktop Shell (kdeinit4), signal: Segmentation fault
Using host libthread_db library "/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fd5aa500780 (LWP 6795))]

Thread 3 (Thread 0x7fd588dff700 (LWP 6796)):
#0  0x00007fff804688bf in clock_gettime ()
#1  0x00007fd5a4d18f8d in clock_gettime () from /lib/librt.so.1
#2  0x00007fd5a90aa544 in ?? () from /lib/libQtCore.so.4
#3  0x00007fd5a917e44d in ?? () from /lib/libQtCore.so.4
#4  0x00007fd5a917e793 in ?? () from /lib/libQtCore.so.4
#5  0x00007fd5a917d30c in ?? () from /lib/libQtCore.so.4
#6  0x00007fd5a917d3b5 in ?? () from /lib/libQtCore.so.4
#7  0x00007fd5a4a67f7f in g_main_context_prepare () from /lib/libglib-2.0.so.0
#8  0x00007fd5a4a6866b in ?? () from /lib/libglib-2.0.so.0
#9  0x00007fd5a4a68864 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#10 0x00007fd5a917dc46 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/libQtCore.so.4
#11 0x00007fd5a914e77f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/libQtCore.so.4
#12 0x00007fd5a914ea08 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/libQtCore.so.4
#13 0x00007fd5a9051700 in QThread::exec() () from /lib/libQtCore.so.4
#14 0x00007fd5a912f1af in ?? () from /lib/libQtCore.so.4
#15 0x00007fd5a905469b in ?? () from /lib/libQtCore.so.4
#16 0x00007fd5981084d4 in ?? () from /lib/libGL.so.1
#17 0x00007fd5a8dc4e0f in start_thread () from /lib/libpthread.so.0
#18 0x00007fd5a7b5804d in clone () from /lib/libc.so.6

Thread 2 (Thread 0x7fd57e912700 (LWP 6800)):
#0  0x00007fd5a8dc8954 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fd59bd70aa7 in ?? () from /lib/libQtScript.so.4
#2  0x00007fd59bd70ad9 in ?? () from /lib/libQtScript.so.4
#3  0x00007fd5981084d4 in ?? () from /lib/libGL.so.1
#4  0x00007fd5a8dc4e0f in start_thread () from /lib/libpthread.so.0
#5  0x00007fd5a7b5804d in clone () from /lib/libc.so.6

Thread 1 (Thread 0x7fd5aa500780 (LWP 6795)):
[KCrash Handler]
#5  0x00007fd5a909e517 in QString::operator=(QString const&) () from /lib/libQtCore.so.4
#6  0x00007fd5770fb62a in ?? () from /usr/lib/kde4/plasma_engine_wicd.so
#7  0x00007fd59dfb49b1 in Plasma::DataEngineManager::loadEngine(QString const&) () from /usr/lib/libplasma.so.3
#8  0x00007fd59dfe9573 in ?? () from /usr/lib/libplasma.so.3
#9  0x00007fd59df7a3bc in Plasma::Applet::dataEngine(QString const&) const () from /usr/lib/libplasma.so.3
#10 0x00007fd57c12b518 in ?? () from /usr/lib/kde4/plasma_applet_wicd.so
#11 0x00007fd58b65fec3 in ?? () from /usr/lib/kde4/plasma_applet_systemtray.so
#12 0x00007fd58b6577ea in ?? () from /usr/lib/kde4/plasma_applet_systemtray.so
#13 0x00007fd58b671a66 in ?? () from /usr/lib/kde4/plasma_applet_systemtray.so
#14 0x00007fd58b671e06 in ?? () from /usr/lib/kde4/plasma_applet_systemtray.so
#15 0x00007fd5a9164f0f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /lib/libQtCore.so.4
#16 0x00007fd58b65695f in ?? () from /usr/lib/kde4/plasma_applet_systemtray.so
#17 0x00007fd58b656ae5 in ?? () from /usr/lib/kde4/plasma_applet_systemtray.so
#18 0x00007fd5a9164f0f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /lib/libQtCore.so.4
#19 0x00007fd58b65724f in ?? () from /usr/lib/kde4/plasma_applet_systemtray.so
#20 0x00007fd58b65e2f9 in ?? () from /usr/lib/kde4/plasma_applet_systemtray.so
#21 0x00007fd58b6567b6 in ?? () from /usr/lib/kde4/plasma_applet_systemtray.so
#22 0x00007fd58b6684ac in ?? () from /usr/lib/kde4/plasma_applet_systemtray.so
#23 0x00007fd5a9164f0f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /lib/libQtCore.so.4
#24 0x00007fd5a9e52a77 in KDialog::slotButtonClicked(int) () from /lib/libkdeui.so.5
#25 0x00007fd5a9e52fb4 in ?? () from /lib/libkdeui.so.5
#26 0x00007fd5a9164f0f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /lib/libQtCore.so.4
#27 0x00007fd5a916ae7e in QSignalMapper::mapped(int) () from /lib/libQtCore.so.4
#28 0x00007fd5a916b085 in QSignalMapper::map(QObject*) () from /lib/libQtCore.so.4
#29 0x00007fd5a9164f0f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /lib/libQtCore.so.4
#30 0x00007fd5a8949fc2 in QAbstractButton::clicked(bool) () from /lib/libQtGui.so.4
#31 0x00007fd5a869df5e in ?? () from /lib/libQtGui.so.4
#32 0x00007fd5a869e790 in ?? () from /lib/libQtGui.so.4
#33 0x00007fd5a869e9fc in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /lib/libQtGui.so.4
#34 0x00007fd5a83345d0 in QWidget::event(QEvent*) () from /lib/libQtGui.so.4
#35 0x00007fd5a82e4f8c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/libQtGui.so.4
#36 0x00007fd5a82e9c6b in QApplication::notify(QObject*, QEvent*) () from /lib/libQtGui.so.4
#37 0x00007fd5a9ef1c86 in KApplication::notify(QObject*, QEvent*) () from /lib/libkdeui.so.5
#38 0x00007fd5a914fa2e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /lib/libQtCore.so.4
#39 0x00007fd5a82e5dcb in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /lib/libQtGui.so.4
#40 0x00007fd5a83606c4 in ?? () from /lib/libQtGui.so.4
#41 0x00007fd5a835f451 in QApplication::x11ProcessEvent(_XEvent*) () from /lib/libQtGui.so.4
#42 0x00007fd5a8385572 in ?? () from /lib/libQtGui.so.4
#43 0x00007fd5a4a68475 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#44 0x00007fd5a4a687a8 in ?? () from /lib/libglib-2.0.so.0
#45 0x00007fd5a4a68864 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#46 0x00007fd5a917dc46 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/libQtCore.so.4
#47 0x00007fd5a83851ee in ?? () from /lib/libQtGui.so.4
#48 0x00007fd5a914e77f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/libQtCore.so.4
#49 0x00007fd5a914ea08 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/libQtCore.so.4
#50 0x00007fd5a91536a8 in QCoreApplication::exec() () from /lib/libQtCore.so.4
#51 0x00007fd593b96f85 in kdemain () from /usr/lib/libkdeinit4_plasma-desktop.so
#52 0x0000000000408292 in _start ()

Possible duplicates by query: bug 207830.

Reported using DrKonqi
Comment 1 Jekyll Wu 2012-07-26 13:34:07 UTC
It would be great if you can build wicd-kde with debugging symbols kept to get a more helpful backtrace.
Comment 2 ariasuni 2012-07-26 14:14:45 UTC
How do to do that ? I tried with the cmake option "-DCMAKE_BUILD_TYPE=debugfull" but It seems it doesn't work…
Comment 3 Jekyll Wu 2012-07-26 14:26:13 UTC
You also need to add another line in the PKGBUILD:  
   
       options=('!strip')
Comment 4 ariasuni 2012-07-26 15:00:32 UTC
Created attachment 72772 [details]
Application: Plasma Desktop Shell (kdeinit4), signal: Aborted Using host libthread_db library "/lib/libthread_db.so.1". [Current thread is 1 (Thread 0x7f9b6bf33780 (LWP 23699))]  Thread 4 (Thread 0x7f

backtrace with debug symbols
Comment 5 ariasuni 2012-07-26 15:10:53 UTC
OK, I forgot to launch wicd… So, Plasma crash when adding Wicd client to the panel or in the system tray while wicd isn't runing.
Comment 6 Jekyll Wu 2012-07-26 15:22:16 UTC
That crash should have been fixed by http://commits.kde.org/wicd-kde/f34c2bb1dcd687654918f29c7eb5004be5279767 . 

Use wicd-kde-git instead if you can't wait for a release containing that fix.
Comment 7 Jekyll Wu 2012-09-01 12:15:03 UTC
*** Bug 306130 has been marked as a duplicate of this bug. ***
Comment 8 Anthony Vital 2014-02-25 16:17:16 UTC
*** Bug 331468 has been marked as a duplicate of this bug. ***
Comment 9 Jekyll Wu 2014-03-01 11:13:17 UTC
*** Bug 331634 has been marked as a duplicate of this bug. ***
Comment 10 Jekyll Wu 2014-03-04 01:17:36 UTC
*** Bug 331634 has been marked as a duplicate of this bug. ***
Comment 11 Jekyll Wu 2014-03-11 03:06:36 UTC
*** Bug 331634 has been marked as a duplicate of this bug. ***