Bug 320942 - Plasma Desktop Crashes on Removal of USB Network Device
Summary: Plasma Desktop Crashes on Removal of USB Network Device
Status: RESOLVED DUPLICATE of bug 304466
Alias: None
Product: plasma4
Classification: Plasma
Component: general (show other bugs)
Version: 4.10.3
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-09 00:11 UTC by yo
Modified: 2013-10-09 06:19 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (9.14 KB, text/plain)
2013-08-25 15:14 UTC, Michcioperz
Details
New crash information added by DrKonqi (10.13 KB, text/plain)
2013-10-09 06:19 UTC, paulmaximov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description yo 2013-06-09 00:11:39 UTC
Application: plasma-desktop (4.10.3)
KDE Platform Version: 4.10.3
Qt Version: 4.8.4
Operating System: Linux 3.8.0-25-generic x86_64
Distribution: Ubuntu 13.04

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

I had my Nexus 4 device plugged in as a tethered device. It was providing me with Internet access and I had the detailed view with the network traffic and what not open. When I removed the device from my machine with no direct unmounting or removal of devices; the Plasma Desktop crashed.

- Unusual behavior I noticed:

Nothing aside from the desktop shell crashing a few moments after I removed the device.

The crash does not seem to be reproducible.

-- Backtrace:
Application: Plasma Desktop Shell (plasma-desktop), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f5321f8f7c0 (LWP 2500))]

Thread 5 (Thread 0x7f5302656700 (LWP 2502)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f531acc3e77 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007f531acc3ea9 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007f53153bef8e in start_thread (arg=0x7f5302656700) at pthread_create.c:311
#4  0x00007f5321880e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 4 (Thread 0x7f52ef3ec700 (LWP 2517)):
#0  0x00007f53218743cd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f5314cbc1dc in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f5314cbc304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f531e460036 in QEventDispatcherGlib::processEvents (this=0x7f52e80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f531e43038f in QEventLoop::processEvents (this=this@entry=0x7f52ef3ebd90, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f531e430618 in QEventLoop::exec (this=this@entry=0x7f52ef3ebd90, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f531e332410 in QThread::exec (this=this@entry=0x160c450) at thread/qthread.cpp:542
#7  0x00007f531e411edf in QInotifyFileSystemWatcherEngine::run (this=0x160c450) at io/qfilesystemwatcher_inotify.cpp:256
#8  0x00007f531e334bec in QThreadPrivate::start (arg=0x160c450) at thread/qthread_unix.cpp:338
#9  0x00007f53153bef8e in start_thread (arg=0x7f52ef3ec700) at pthread_create.c:311
#10 0x00007f5321880e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 3 (Thread 0x7f52ed15c700 (LWP 2519)):
#0  0x00007f53153c1075 in __GI___pthread_mutex_lock (mutex=0x7f52e4000a60) at pthread_mutex_lock.c:95
#1  0x00007f5314cfb5c1 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f5314cbbabb in g_main_context_query () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f5314cbc14c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f5314cbc304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f531e460036 in QEventDispatcherGlib::processEvents (this=0x7f52e40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f531e43038f in QEventLoop::processEvents (this=this@entry=0x7f52ed15bd90, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f531e430618 in QEventLoop::exec (this=this@entry=0x7f52ed15bd90, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f531e332410 in QThread::exec (this=this@entry=0x1cb8480) at thread/qthread.cpp:542
#9  0x00007f531e411edf in QInotifyFileSystemWatcherEngine::run (this=0x1cb8480) at io/qfilesystemwatcher_inotify.cpp:256
#10 0x00007f531e334bec in QThreadPrivate::start (arg=0x1cb8480) at thread/qthread_unix.cpp:338
#11 0x00007f53153bef8e in start_thread (arg=0x7f52ed15c700) at pthread_create.c:311
#12 0x00007f5321880e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7f52dc832700 (LWP 2520)):
#0  0x00007f5314cfb359 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f5314cfb5b9 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f5314cbb34e in g_main_context_acquire () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f5314cbc0b4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f5314cbc304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f531e460036 in QEventDispatcherGlib::processEvents (this=0x7f52d80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f531e43038f in QEventLoop::processEvents (this=this@entry=0x7f52dc831d80, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f531e430618 in QEventLoop::exec (this=this@entry=0x7f52dc831d80, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f531e332410 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#9  0x00007f52de76f6e5 in KCupsConnection::run() () from /usr/lib/libkcupslib.so
#10 0x00007f531e334bec in QThreadPrivate::start (arg=0x2bcd550) at thread/qthread_unix.cpp:338
#11 0x00007f53153bef8e in start_thread (arg=0x7f52dc832700) at pthread_create.c:311
#12 0x00007f5321880e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7f5321f8f7c0 (LWP 2500)):
[KCrash Handler]
#6  0x00007f52f202614e in InterfaceDetailsWidget::handleConnectionStateChange(int, int, int) () from /usr/lib/kde4/plasma_applet_networkmanagement.so
#7  0x00007f52f200944f in InterfaceDetailsWidget::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/kde4/plasma_applet_networkmanagement.so
#8  0x00007f531e4460ef in QMetaObject::activate (sender=0x40dcb60, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff3f2a2a70) at kernel/qobject.cpp:3539
#9  0x00007f52f14e06ea in Solid::Control::NetworkInterfaceNm09::connectionStateChanged(int, int, int) () from /usr/lib/libsolidcontrolnm09.so.4
#10 0x00007f52f14e04c3 in Solid::Control::NetworkInterfaceNm09::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libsolidcontrolnm09.so.4
#11 0x00007f531e4460ef in QMetaObject::activate (sender=0x342c2a0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff3f2a2c20) at kernel/qobject.cpp:3539
#12 0x00007f52f09013ce in NMNetworkInterface::connectionStateChanged(int, int, int) () from /usr/lib/kde4/solid_networkmanager09.so
#13 0x00007f52f0900c5c in NMNetworkInterface::stateChanged(unsigned int, unsigned int, unsigned int) () from /usr/lib/kde4/solid_networkmanager09.so
#14 0x00007f52f0900d76 in NMNetworkInterface::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/kde4/solid_networkmanager09.so
#15 0x00007f531e4460ef in QMetaObject::activate (sender=0x1ed2d38, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff3f2a2e20) at kernel/qobject.cpp:3539
#16 0x00007f52f090cb10 in OrgFreedesktopNetworkManagerDeviceInterface::StateChanged(unsigned int, unsigned int, unsigned int) () from /usr/lib/kde4/solid_networkmanager09.so
#17 0x00007f52f090c656 in OrgFreedesktopNetworkManagerDeviceInterface::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/kde4/solid_networkmanager09.so
#18 0x00007f52f090c78f in OrgFreedesktopNetworkManagerDeviceInterface::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/kde4/solid_networkmanager09.so
#19 0x00007f531e7b4063 in QDBusConnectionPrivate::deliverCall (this=0xa4a8c0, object=0x1ed2d38, msg=..., metaTypes=..., slotIdx=5) at qdbusintegrator.cpp:951
#20 0x00007f531e44b5be in QObject::event (this=0x1ed2d38, e=<optimized out>) at kernel/qobject.cpp:1194
#21 0x00007f531d7d78ec in QApplicationPrivate::notify_helper (this=this@entry=0x953be0, receiver=receiver@entry=0x1ed2d38, e=e@entry=0x4c54970) at kernel/qapplication.cpp:4567
#22 0x00007f531d7da25b in QApplication::notify (this=this@entry=0x946450, receiver=receiver@entry=0x1ed2d38, e=e@entry=0x4c54970) at kernel/qapplication.cpp:4428
#23 0x00007f531f0f5af6 in KApplication::notify (this=0x946450, receiver=0x1ed2d38, event=0x4c54970) at ../../kdeui/kernel/kapplication.cpp:311
#24 0x00007f531e43163e in QCoreApplication::notifyInternal (this=0x946450, receiver=receiver@entry=0x1ed2d38, event=event@entry=0x4c54970) at kernel/qcoreapplication.cpp:946
#25 0x00007f531e435171 in sendEvent (event=0x4c54970, receiver=0x1ed2d38) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#26 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x8bc1f0) at kernel/qcoreapplication.cpp:1570
#27 0x00007f531e4354a3 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1463
#28 0x00007f531e45fe83 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#29 postEventSourceDispatch (s=0x93ea30) at kernel/qeventdispatcher_glib.cpp:279
#30 0x00007f5314cbbf05 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007f5314cbc248 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007f5314cbc304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#33 0x00007f531e460016 in QEventDispatcherGlib::processEvents (this=0x8bdad0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#34 0x00007f531d87d1ae in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#35 0x00007f531e43038f in QEventLoop::processEvents (this=this@entry=0x7fff3f2a39c0, flags=...) at kernel/qeventloop.cpp:149
#36 0x00007f531e430618 in QEventLoop::exec (this=this@entry=0x7fff3f2a39c0, flags=...) at kernel/qeventloop.cpp:204
#37 0x00007f531e435cf6 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#38 0x00007f531d7d5ffc in QApplication::exec () at kernel/qapplication.cpp:3828
#39 0x00007f5321b8c46b in kdemain (argc=1, argv=0x7fff3f2a3cb8) at ../../../../plasma/desktop/shell/main.cpp:126
#40 0x00007f53217a8ea5 in __libc_start_main (main=0x4006e0 <main(int, char**)>, argc=1, ubp_av=0x7fff3f2a3cb8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff3f2a3ca8) at libc-start.c:260
#41 0x0000000000400711 in _start ()

Reported using DrKonqi
Comment 1 Hrvoje Senjan 2013-06-09 01:48:06 UTC

*** This bug has been marked as a duplicate of bug 304466 ***
Comment 2 Michcioperz 2013-08-25 15:14:41 UTC
Created attachment 81921 [details]
New crash information added by DrKonqi

plasma-desktop (4.10.5) on KDE Platform 4.10.5 using Qt 4.8.4

- What I was doing when the application crashed:

I unplugged my Huawei U8500 from USB when it was connected for tethering.

-- Backtrace (Reduced):
#7  0xa3ea3ed5 in InterfaceDetailsWidget::handleConnectionStateChange(int, int, int) () from /usr/lib/kde4/plasma_applet_networkmanagement.so
#8  0xa3e88afd in InterfaceDetailsWidget::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/kde4/plasma_applet_networkmanagement.so
[...]
#10 0xa3a0943a in Solid::Control::NetworkInterfaceNm09::connectionStateChanged(int, int, int) () from /usr/lib/libsolidcontrolnm09.so.4
#11 0xa3a091d5 in Solid::Control::NetworkInterfaceNm09::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libsolidcontrolnm09.so.4
[...]
#13 0xa38df326 in NMNetworkInterface::connectionStateChanged(int, int, int) () from /usr/lib/kde4/solid_networkmanager09.so
Comment 3 paulmaximov 2013-10-09 06:19:34 UTC
Created attachment 82737 [details]
New crash information added by DrKonqi

plasma-desktop (4.10.5) on KDE Platform 4.10.5 using Qt 4.8.4

The application has fallen on removal of a HTC Sensation phone in usb networking mode. I just unplug a usb cable from my PC.

-- Backtrace (Reduced):
#7  0xa70b7ed5 in InterfaceDetailsWidget::handleConnectionStateChange(int, int, int) () from /usr/lib/kde4/plasma_applet_networkmanagement.so
#8  0xa709cafd in InterfaceDetailsWidget::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/kde4/plasma_applet_networkmanagement.so
[...]
#10 0xa6fa943a in Solid::Control::NetworkInterfaceNm09::connectionStateChanged(int, int, int) () from /usr/lib/libsolidcontrolnm09.so.4
#11 0xa6fa91d5 in Solid::Control::NetworkInterfaceNm09::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libsolidcontrolnm09.so.4
[...]
#13 0xa6e6a326 in NMNetworkInterface::connectionStateChanged(int, int, int) () from /usr/lib/kde4/solid_networkmanager09.so