Bug 317955

Summary: Crash when a network interface is removed
Product: [Unmaintained] Network Management Reporter: Daniel Vrátil <dvratil>
Component: Plasma WidgetAssignee: Lamarque V. Souza <lamarque>
Status: RESOLVED DUPLICATE    
Severity: crash CC: wstephenson
Priority: NOR    
Version: 0.9   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Daniel Vrátil 2013-04-06 23:25:21 UTC
Application: plasma-desktop (0.4)
KDE Platform Version: 4.10.1
Qt Version: 4.8.4
Operating System: Linux 3.8.4-202.fc18.x86_64 x86_64
Distribution: "Fedora release 18 (Spherical Cow)"

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

When I disconnect BlackBerry Z10, the applet sometime crashes. This is because BB creates usb0 network device, which suddenly disappears when the USB cable is unplugged.

The crash can be reproduced sometimes.

-- Backtrace:
Application: Plasma Desktop Shell (plasma-desktop), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
81	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7fb36c1f3880 (LWP 17249))]

Thread 4 (Thread 0x7fb35b344700 (LWP 17250)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:165
#1  0x0000003368d868c7 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x3369094660 <QTWTF::pageheap_memory>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x0000003368d868f9 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x0000003362aaa764 in ?? () from /usr/lib64/nvidia/libGL.so.1
#4  0x000000334f807d15 in start_thread (arg=0x7fb35b344700) at pthread_create.c:308
#5  0x000000334f0f248d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:114

Thread 3 (Thread 0x7fb2cdc4a700 (LWP 17271)):
#0  0x000000334f0e99ad in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x0000003351047d24 in g_main_context_poll (priority=2147483647, n_fds=1, fds=0x7fb2c80029e0, timeout=-1, context=0x7fb2c80009d0) at gmain.c:3584
#2  g_main_context_iterate (context=context@entry=0x7fb2c80009d0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3285
#3  0x0000003351047e44 in g_main_context_iteration (context=0x7fb2c80009d0, may_block=1) at gmain.c:3351
#4  0x00000033571a6126 in QEventDispatcherGlib::processEvents (this=0x7fb2c80008f0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x000000335717680f in QEventLoop::processEvents (this=this@entry=0x7fb2cdc49c10, flags=...) at kernel/qeventloop.cpp:149
#6  0x0000003357176a98 in QEventLoop::exec (this=0x7fb2cdc49c10, flags=...) at kernel/qeventloop.cpp:204
#7  0x0000003357078980 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#8  0x000000335715703f in QInotifyFileSystemWatcherEngine::run (this=0x2c27170) at io/qfilesystemwatcher_inotify.cpp:256
#9  0x000000335707b95c in QThreadPrivate::start (arg=0x2c27170) at thread/qthread_unix.cpp:338
#10 0x0000003362aaa764 in ?? () from /usr/lib64/nvidia/libGL.so.1
#11 0x000000334f807d15 in start_thread (arg=0x7fb2cdc4a700) at pthread_create.c:308
#12 0x000000334f0f248d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:114

Thread 2 (Thread 0x7fb2c3b55700 (LWP 20972)):
#0  __lll_lock_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135
#1  0x000000334f809cc1 in _L_lock_885 () from /lib64/libpthread.so.0
#2  0x000000334f809bda in __GI___pthread_mutex_lock (mutex=0x3362d07a40) at pthread_mutex_lock.c:85
#3  0x0000003362aa5042 in ?? () from /usr/lib64/nvidia/libGL.so.1
#4  0x0000003362aa92a0 in ?? () from /usr/lib64/nvidia/libGL.so.1
#5  0x0000003362aa9776 in ?? () from /usr/lib64/nvidia/libGL.so.1
#6  0x0000003362e01be7 in ?? () from /usr/lib64/nvidia/tls/libnvidia-tls.so.304.64
#7  0x00000033510840df in read (__nbytes=16, __buf=0x7fb2c3b54a50, __fd=<optimized out>) at /usr/include/bits/unistd.h:44
#8  g_wakeup_acknowledge (wakeup=0x7fb2b4001c20) at gwakeup.c:212
#9  0x00000033510478b4 in g_main_context_check (context=context@entry=0x7fb2bc002000, max_priority=2147483647, fds=fds@entry=0x7fb2bc002520, n_fds=n_fds@entry=1) at gmain.c:3129
#10 0x0000003351047cc2 in g_main_context_iterate (context=context@entry=0x7fb2bc002000, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3287
#11 0x0000003351047e44 in g_main_context_iteration (context=0x7fb2bc002000, may_block=1) at gmain.c:3351
#12 0x00000033571a6126 in QEventDispatcherGlib::processEvents (this=0x7fb2bc002e70, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#13 0x000000335717680f in QEventLoop::processEvents (this=this@entry=0x7fb2c3b54c40, flags=...) at kernel/qeventloop.cpp:149
#14 0x0000003357176a98 in QEventLoop::exec (this=0x7fb2c3b54c40, flags=...) at kernel/qeventloop.cpp:204
#15 0x0000003357078980 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#16 0x000000335707b95c in QThreadPrivate::start (arg=0x7fb2b4003340) at thread/qthread_unix.cpp:338
#17 0x0000003362aaa764 in ?? () from /usr/lib64/nvidia/libGL.so.1
#18 0x000000334f807d15 in start_thread (arg=0x7fb2c3b55700) at pthread_create.c:308
#19 0x000000334f0f248d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:114

Thread 1 (Thread 0x7fb36c1f3880 (LWP 17249)):
[KCrash Handler]
#6  0x00007fb2cc516ba4 in InterfaceDetailsWidget::handleConnectionStateChange (this=0x390ebb0, new_state=30, old_state=<optimized out>, reason=<optimized out>) at /usr/src/debug/networkmanagement-0.9.0.8/applet/interfacedetailswidget.cpp:558
#7  0x000000335718ceef in QMetaObject::activate (sender=0x4b0a860, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffba06b810) at kernel/qobject.cpp:3539
#8  0x00007fb2c795447d in Solid::Control::NetworkInterfaceNm09::connectionStateChanged (this=<optimized out>, _t1=30, _t2=10, _t3=38) at /usr/src/debug/networkmanagement-0.9.0.8/x86_64-redhat-linux-gnu/solidcontrolfuture/libs/solid/control/networkinterface.moc:180
#9  0x000000335718ceef in QMetaObject::activate (sender=0x4a6d370, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffba06b970) at kernel/qobject.cpp:3539
#10 0x00007fb2c65cef1d in NMNetworkInterface::connectionStateChanged (this=<optimized out>, _t1=30, _t2=10, _t3=38) at /usr/src/debug/networkmanagement-0.9.0.8/x86_64-redhat-linux-gnu/solidcontrolfuture/solid/networkmanager-0.9/networkinterface.moc:199
#11 0x000000335718ceef in QMetaObject::activate (sender=0x366a8f8, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffba06bad0) at kernel/qobject.cpp:3539
#12 0x00007fb2c65db45a in OrgFreedesktopNetworkManagerDeviceInterface::StateChanged (this=this@entry=0x366a8f8, _t1=30, _t2=10, _t3=38) at /usr/src/debug/networkmanagement-0.9.0.8/x86_64-redhat-linux-gnu/solidcontrolfuture/solid/networkmanager-0.9/nm-deviceinterface.moc:165
#13 0x00007fb2c65db4e7 in qt_static_metacall (_c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fffba06be80, _o=0x366a8f8) at /usr/src/debug/networkmanagement-0.9.0.8/x86_64-redhat-linux-gnu/solidcontrolfuture/solid/networkmanager-0.9/nm-deviceinterface.moc:77
#14 OrgFreedesktopNetworkManagerDeviceInterface::qt_static_metacall (_o=0x366a8f8, _c=<optimized out>, _id=<optimized out>, _a=0x7fffba06be80) at /usr/src/debug/networkmanagement-0.9.0.8/x86_64-redhat-linux-gnu/solidcontrolfuture/solid/networkmanager-0.9/nm-deviceinterface.moc:71
#15 0x00007fb2c65db80f in OrgFreedesktopNetworkManagerDeviceInterface::qt_metacall (this=0x366a8f8, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fffba06be80) at /usr/src/debug/networkmanagement-0.9.0.8/x86_64-redhat-linux-gnu/solidcontrolfuture/solid/networkmanager-0.9/nm-deviceinterface.moc:118
#16 0x000000335d4230c3 in QDBusConnectionPrivate::deliverCall (this=0x1772370, object=0x366a8f8, msg=..., metaTypes=..., slotIdx=5) at qdbusintegrator.cpp:951
#17 0x000000335718c3ce in QObject::event (this=0x366a8f8, e=<optimized out>) at kernel/qobject.cpp:1194
#18 0x0000003358fca5cc in QApplicationPrivate::notify_helper (this=0x15fc220, receiver=0x366a8f8, e=0x60b1b70) at kernel/qapplication.cpp:4562
#19 0x0000003358fcea4a in QApplication::notify (this=0x15de490, receiver=0x366a8f8, e=0x60b1b70) at kernel/qapplication.cpp:4423
#20 0x000000335f8473c6 in KApplication::notify (this=0x15de490, receiver=0x366a8f8, event=0x60b1b70) at /usr/src/debug/kdelibs-4.10.1/kdeui/kernel/kapplication.cpp:311
#21 0x0000003357177abe in QCoreApplication::notifyInternal (this=0x15de490, receiver=receiver@entry=0x366a8f8, event=event@entry=0x60b1b70) at kernel/qcoreapplication.cpp:946
#22 0x000000335717b571 in sendEvent (event=0x60b1b70, receiver=0x366a8f8) at kernel/qcoreapplication.h:231
#23 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x14fcfb0) at kernel/qcoreapplication.cpp:1570
#24 0x00000033571a5f73 in sendPostedEvents () at kernel/qcoreapplication.h:236
#25 postEventSourceDispatch (s=s@entry=0x15fd380) at kernel/qeventdispatcher_glib.cpp:279
#26 0x0000003351047a55 in g_main_dispatch (context=0x15fd800) at gmain.c:2715
#27 g_main_context_dispatch (context=context@entry=0x15fd800) at gmain.c:3219
#28 0x0000003351047d88 in g_main_context_iterate (context=context@entry=0x15fd800, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3290
#29 0x0000003351047e44 in g_main_context_iteration (context=0x15fd800, may_block=1) at gmain.c:3351
#30 0x00000033571a6106 in QEventDispatcherGlib::processEvents (this=0x14fe910, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#31 0x000000335906a73e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#32 0x000000335717680f in QEventLoop::processEvents (this=this@entry=0x7fffba06c800, flags=...) at kernel/qeventloop.cpp:149
#33 0x0000003357176a98 in QEventLoop::exec (this=0x7fffba06c800, flags=...) at kernel/qeventloop.cpp:204
#34 0x000000335717b888 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#35 0x00007fb36f4a18d1 in kdemain (argc=1, argv=0x7fffba06caf8) at /usr/src/debug/kde-workspace-4.10.1/plasma/desktop/shell/main.cpp:126
#36 0x000000334f021a05 in __libc_start_main (main=0x400940 <main(int, char**)>, argc=1, ubp_av=0x7fffba06caf8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffba06cae8) at libc-start.c:225
#37 0x0000000000400971 in _start ()

Reported using DrKonqi
Comment 1 Lamarque V. Souza 2013-04-07 01:20:18 UTC

*** This bug has been marked as a duplicate of bug 314200 ***