Bug 203273

Summary: Plasma crashes when unplugging usb network
Product: [Unmaintained] Network Management Reporter: alvaro.manera
Component: Plasma WidgetAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra, asraniel, finex, sebas
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description alvaro.manera 2009-08-10 08:47:01 UTC
Application that crashed: plasma-desktop
Version of the application: 0.3
KDE Version: 4.3.00 (KDE 4.3.0)
Qt Version: 4.5.2
Operating System: Linux 2.6.28-14-generic i686
Distribution: Ubuntu 9.04

What I was doing when the application crashed:
In some cases when unplugging a usb network interface the whole plasma crashes. I think it is caused by the networkmanager plasmoid.

It is not 100% reproducible.

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

Thread 2 (Thread 0xa8184b90 (LWP 4326)):
#0  0xb80357f2 in ?? () from /lib/ld-linux.so.2
#1  0xb654a0e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb672a2ed in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb7e2c172 in QWaitCondition::wait (this=0x9f5f7e0, mutex=0x9f5f7dc, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  0xb776cac2 in QHostInfoAgent::run (this=0x9f5f7d0) at kernel/qhostinfo.cpp:260
#5  0xb7e2b132 in QThreadPrivate::start (arg=0x9f5f7d0) at thread/qthread_unix.cpp:188
#6  0xb65464ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0xb671b49e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb6054a10 (LWP 4323)):
[KCrash Handler]
#6  0xa85f91ad in ?? () from /usr/lib/kde4/plasma_applet_networkmanagement.so
#7  0xa860b7dd in ?? () from /usr/lib/kde4/plasma_applet_networkmanagement.so
#8  0xa85f6bfb in ?? () from /usr/lib/kde4/plasma_applet_networkmanagement.so
#9  0xb7f351b8 in QMetaObject::activate (sender=0x9ff0210, from_signal_index=5, to_signal_index=5, argv=0x0) at kernel/qobject.cpp:3113
#10 0xb7f35e42 in QMetaObject::activate (sender=0x9ff0210, m=0xa8628fe0, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3187
#11 0xa85f59d7 in ?? () from /usr/lib/kde4/plasma_applet_networkmanagement.so
#12 0xa85fb54b in ?? () from /usr/lib/kde4/plasma_applet_networkmanagement.so
#13 0xa85f6b23 in ?? () from /usr/lib/kde4/plasma_applet_networkmanagement.so
#14 0xa85f6bba in ?? () from /usr/lib/kde4/plasma_applet_networkmanagement.so
#15 0xb7f351b8 in QMetaObject::activate (sender=0x9d30278, from_signal_index=7, to_signal_index=7, argv=0xbfb4e998) at kernel/qobject.cpp:3113
#16 0xb7f35e42 in QMetaObject::activate (sender=0x9d30278, m=0xa85c8e44, local_signal_index=0, argv=0xbfb4e998) at kernel/qobject.cpp:3187
#17 0xa85c1b59 in NetworkManagerSettings::connectionAdded () from /usr/lib/libknmdbus.so.4
#18 0xa85c368f in NetworkManagerSettings::onConnectionAdded () from /usr/lib/libknmdbus.so.4
#19 0xa85c38ad in NetworkManagerSettings::qt_metacall () from /usr/lib/libknmdbus.so.4
#20 0xb7f351b8 in QMetaObject::activate (sender=0x9d30278, from_signal_index=5, to_signal_index=5, argv=0xbfb4eb2c) at kernel/qobject.cpp:3113
#21 0xb7f35e42 in QMetaObject::activate (sender=0x9d30278, m=0xa85c8df0, local_signal_index=0, argv=0xbfb4eb2c) at kernel/qobject.cpp:3187
#22 0xa85c1483 in OrgFreedesktopNetworkManagerSettingsInterface::NewConnection () from /usr/lib/libknmdbus.so.4
#23 0xa85c16da in OrgFreedesktopNetworkManagerSettingsInterface::qt_metacall () from /usr/lib/libknmdbus.so.4
#24 0xa85c380a in NetworkManagerSettings::qt_metacall () from /usr/lib/libknmdbus.so.4
#25 0xb72dae5a in QDBusConnectionPrivate::deliverCall (this=0x9def8d0, object=0x9d30278, msg=@0xae370a4, metaTypes=@0xae370a8, slotIdx=5) at qdbusintegrator.cpp:891
#26 0xb72e2eb7 in QDBusCallDeliveryEvent::placeMetaCall (this=0xae37078, object=0x9d30278) at qdbusintegrator_p.h:101
#27 0xb7f303b0 in QObject::event (this=0x9d30278, e=0xae37078) at kernel/qobject.cpp:1111
#28 0xb69e0d3c in QApplicationPrivate::notify_helper (this=0x98c5ba8, receiver=0x9d30278, e=0xae37078) at kernel/qapplication.cpp:4056
#29 0xb69e903e in QApplication::notify (this=0x98bff00, receiver=0x9d30278, e=0xae37078) at kernel/qapplication.cpp:3603
#30 0xb74f15cd in KApplication::notify (this=0x98bff00, receiver=0x9d30278, event=0xae37078) at /build/buildd/kde4libs-4.3.0/kdeui/kernel/kapplication.cpp:302
#31 0xb7f1fbcb in QCoreApplication::notifyInternal (this=0x98bff00, receiver=0x9d30278, event=0xae37078) at kernel/qcoreapplication.cpp:610
#32 0xb7f20825 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x9848b38) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#33 0xb7f20a1d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1140
#34 0xb7f4b6af in postEventSourceDispatch (s=0x98c7d10) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#35 0xb6593b88 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#36 0xb65970eb in ?? () from /usr/lib/libglib-2.0.so.0
#37 0xb6597268 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#38 0xb7f4b2f8 in QEventDispatcherGlib::processEvents (this=0x98c58c0, flags={i = -1078660296}) at kernel/qeventdispatcher_glib.cpp:327
#39 0xb6a82a75 in QGuiEventDispatcherGlib::processEvents (this=0x98c58c0, flags={i = -1078660248}) at kernel/qguieventdispatcher_glib.cpp:202
#40 0xb7f1e1fa in QEventLoop::processEvents (this=0xbfb4f3e0, flags={i = -1078660184}) at kernel/qeventloop.cpp:149
#41 0xb7f1e642 in QEventLoop::exec (this=0xbfb4f3e0, flags={i = -1078660120}) at kernel/qeventloop.cpp:201
#42 0xb7f20ae9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#43 0xb69e0bb7 in QApplication::exec () at kernel/qapplication.cpp:3525
#44 0xb3c43120 in kdemain (argc=1, argv=0x988d900) at /build/buildd/kdebase-workspace-4.3.0/plasma/shells/desktop/main.cpp:50
#45 0x0804e27d in launch (argc=1, _name=0x984957c "/usr/bin/plasma-desktop", args=0x9849594 "", cwd=0x0, envc=0, envs=0x9849598 "", reset_env=false, tty=0x0, avoid_loops=false, 
    startup_id_str=0x805136d "0") at /build/buildd/kde4libs-4.3.0/kinit/kinit.cpp:676
#46 0x0804ea5d in handle_launcher_request (sock=7, who=<value optimized out>) at /build/buildd/kde4libs-4.3.0/kinit/kinit.cpp:1168
#47 0x0804efe5 in handle_requests (waitForPid=0) at /build/buildd/kde4libs-4.3.0/kinit/kinit.cpp:1361
#48 0x0804fbca in main (argc=2, argv=0xbfb4fbd4, envp=0xbfb4fbe0) at /build/buildd/kde4libs-4.3.0/kinit/kinit.cpp:1788

Reported using DrKonqi
Comment 1 Dario Andres 2009-08-11 00:16:23 UTC
The current NM plasmoid is not stable. Remove it and use the normal app. (or update your networkmanager plasmoid from SVN) Thanks

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