Bug 196600 - Plasma crash when new interface added and network management widget is in panel
Summary: Plasma crash when new interface added and network management widget is in panel
Status: RESOLVED DUPLICATE of bug 192790
Alias: None
Product: Network Management
Classification: Miscellaneous
Component: Plasma Widget (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Will Stephenson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-15 12:16 UTC by Adam Hill
Modified: 2009-06-20 21:10 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Hill 2009-06-15 12:16:17 UTC
Version:            (using KDE 4.2.4)
OS:                Linux
Installed from:    Ubuntu Packages

When the Network Management widget is present in the panel tray, creating or removing a network interface causes plasma to crash. The backtrace is not useful for some reason ( the possible stack corruption message ) and so I won't post it here.

This happens at least with interfaces that are created by applications using the tun/tap driver or the dummy interface driver. The easiest way to reproduce it is:

With the Network Management widget present, in a terminal do "sudo modprobe dummy". After a few seconds, plasma crashes. Doing "sodo rmmod dummy" has the same affect.
Comment 1 Dario Andres 2009-06-15 13:56:40 UTC
If you can reproduce the crash at will, may you read http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports and post a complete backtrace here? You need to install some "-dbg" packages (likely: kdebase-workspace-dbg and kdeplasma-addons-dbg) Thanks
Comment 2 Adam Hill 2009-06-16 11:12:27 UTC
The trouble is that I seem to be missing a libqt4-dbg package that most of the rest seem to depend on ( eventually. ) In order to try to resolve this, I tried to update to the KUbuntu packages in the ppa repository ( backports to Ubuntu 9.04 ) but I still have the same issue. The problem that I seem to have is that my installed version of libqt4-core is 4.5.1 whilst I am only seeing libqt4-dbg version 4.5.0 as an installation candidate. I will try to solve this when I have time but I haven't got much of that at the moment :(. ( Though in the mean time if anyone has any pointers that would help. )

At least I can confirm that the plasma crash still happens with 4.3 beta 2 from the KUbuntu ppa jaunty backports repository.
Comment 3 Adam Hill 2009-06-17 08:39:17 UTC
Ok, found the debug package. Trace below.

Application: Plasma Workspace (kdeinit), signal: Segmentation fault
[Current thread is 0 (LWP 14415)]

Thread 2 (Thread 0x7f8d7738a950 (LWP 14418)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f8d968fbce9 in QWaitCondition::wait (this=0x22441e0, mutex=0x22441d8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  0x00007f8d957875dc in QHostInfoAgent::run (this=0x22441c0) at kernel/qhostinfo.cpp:260
#3  0x00007f8d968fad02 in QThreadPrivate::start (arg=0x22441c0) at thread/qthread_unix.cpp:189
#4  0x00007f8d927cb3ba in start_thread (arg=<value optimized out>) at pthread_create.c:297
#5  0x00007f8d933affcd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f8d96eb9750 (LWP 14415)):
[KCrash Handler]
#5  memcpy () at ../sysdeps/x86_64/memcpy.S:524
#6  0x00007f8d9691ebfc in QListData::detach2 (this=0x7fff9eef57f0) at /usr/include/bits/string3.h:52
#7  0x00007f8d78c9e6f3 in QList<QString>::detach_helper (this=0x7f8d3ce7ee10) at /usr/include/qt4/QtCore/qlist.h:524
#8  0x00007f8d78c9d58f in WirelessConnectionInspector::watchedNetworks (this=0x2795fb0) at /usr/include/qt4/QtCore/qlist.h:111
#9  0x00007f8d78cae9dc in InterfaceGroup::updateConnections (this=0x232c810) at /build/buildd/plasma-widget-network-manager-0.0+svn966653/applet/interfacegroup.cpp:147
#10 0x00007f8d78c9b700 in InterfaceGroup::qt_metacall (this=0x232c810, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff9eef58f0)
    at /build/buildd/plasma-widget-network-manager-0.0+svn966653/obj-x86_64-linux-gnu/applet/moc_interfacegroup.cpp:91
#11 0x00007f8d969f98d2 in QMetaObject::activate (sender=0x232c810, from_signal_index=<value optimized out>, to_signal_index=5, argv=0x6f7c83) at kernel/qobject.cpp:3120
#12 0x00007f8d78c9f4e2 in ConnectionList::connectionRemovedFromService (this=0x232c810, service=<value optimized out>, connectionPath=<value optimized out>)
    at /build/buildd/plasma-widget-network-manager-0.0+svn966653/applet/connectionlist.cpp:152
#13 0x00007f8d78c9b613 in ConnectionList::qt_metacall (this=0x232c810, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff9eef5b00)
    at /build/buildd/plasma-widget-network-manager-0.0+svn966653/obj-x86_64-linux-gnu/applet/moc_connectionlist.cpp:83
#14 0x00007f8d78c9b6a5 in InterfaceGroup::qt_metacall (this=0x7f8d3ce7ee10, _c=41508784, _id=938459160, _a=0x6f7c83)
    at /build/buildd/plasma-widget-network-manager-0.0+svn966653/obj-x86_64-linux-gnu/applet/moc_interfacegroup.cpp:78
#15 0x00007f8d969f98d2 in QMetaObject::activate (sender=0x1e0daf0, from_signal_index=<value optimized out>, to_signal_index=8, argv=0x6f7c83) at kernel/qobject.cpp:3120
#16 0x00007f8d78a7a817 in NetworkManagerSettings::connectionRemoved (this=0x7f8d3ce7ee10, _t1=0x1e0daf0, _t2=<value optimized out>)
    at /build/buildd/plasma-widget-network-manager-0.0+svn966653/obj-x86_64-linux-gnu/libs/dbus/networkmanagersettings.moc:112
#17 0x00007f8d78a7bca0 in NetworkManagerSettings::onConnectionRemoved (this=0x1e0daf0) at /build/buildd/plasma-widget-network-manager-0.0+svn966653/libs/dbus/networkmanagersettings.cpp:103
#18 0x00007f8d78a7c3e0 in NetworkManagerSettings::qt_metacall (this=0x1e0daf0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff9eef5c50)
    at /build/buildd/plasma-widget-network-manager-0.0+svn966653/obj-x86_64-linux-gnu/libs/dbus/networkmanagersettings.moc:91
#19 0x00007f8d969f98d2 in QMetaObject::activate (sender=0x1e1f710, from_signal_index=<value optimized out>, to_signal_index=5, argv=0x6f7c83) at kernel/qobject.cpp:3120
#20 0x00007f8d78a79580 in OrgFreedesktopNetworkManagerSettingsConnectionInterface::qt_metacall (this=0x1e1f710, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff9eef6060)
    at /build/buildd/plasma-widget-network-manager-0.0+svn966653/obj-x86_64-linux-gnu/libs/dbus/nm-exported-connectioninterface.moc:76
#21 0x00007f8d94c69433 in QDBusConnectionPrivate::deliverCall (this=0x1e33970, object=0x1e1f710, msg=@0x2741418, metaTypes=@0x2741420, slotIdx=5) at qdbusintegrator.cpp:891
#22 0x00007f8d94c70e1f in QDBusCallDeliveryEvent::placeMetaCall (this=0x1b0500001db9, object=0x2795fb0) at qdbusintegrator_p.h:101
#23 0x00007f8d969f3f28 in QObject::event (this=0x1e1f710, e=0x27413d0) at kernel/qobject.cpp:1118
#24 0x00007f8d93f86b9d in QApplicationPrivate::notify_helper (this=0x191a5e0, receiver=0x1e1f710, e=0x27413d0) at kernel/qapplication.cpp:4057
#25 0x00007f8d93f8edea in QApplication::notify (this=0x18d9590, receiver=0x1e1f710, e=0x27413d0) at kernel/qapplication.cpp:4022
#26 0x00007f8d950c306b in KApplication::notify (this=0x18d9590, receiver=0x1e1f710, event=0x27413d0) at /build/buildd/kde4libs-4.2.90/kdeui/kernel/kapplication.cpp:302
#27 0x00007f8d969e3dfc in QCoreApplication::notifyInternal (this=0x18d9590, receiver=0x1e1f710, event=0x27413d0) at kernel/qcoreapplication.cpp:610
#28 0x00007f8d969e4a6a in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x187c100) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#29 0x00007f8d96a0d8a3 in postEventSourceDispatch (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#30 0x00007f8d92a1a20a in IA__g_main_context_dispatch (context=0x191d120) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:1814
#31 0x00007f8d92a1d8e0 in g_main_context_iterate (context=0x191d120, block=1, dispatch=1, self=<value optimized out>) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:2448
#32 0x00007f8d92a1da7c in IA__g_main_context_iteration (context=0x191d120, may_block=1) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:2511
#33 0x00007f8d96a0d52f in QEventDispatcherGlib::processEvents (this=0x1919a70, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:324
#34 0x00007f8d9401f70f in QGuiEventDispatcherGlib::processEvents (this=0x7f8d3ce7ee10, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#35 0x00007f8d969e26a2 in QEventLoop::processEvents (this=<value optimized out>, flags={i = -1628477008}) at kernel/qeventloop.cpp:149
#36 0x00007f8d969e2a6d in QEventLoop::exec (this=0x7fff9eef69f0, flags={i = -1628476928}) at kernel/qeventloop.cpp:200
#37 0x00007f8d969e4d34 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#38 0x00007f8d8b65f7eb in kdemain (argc=1, argv=0x187c7e0) at /build/buildd/kdebase-workspace-4.2.90/plasma/shells/desktop/main.cpp:50
#39 0x000000000040714e in launch (argc=1, _name=0x18cdd88 "/usr/bin/plasma-desktop", args=<value optimized out>, cwd=0x0, envc=0, envs=0x18cdda8 "", reset_env=false, tty=0x0, avoid_loops=false, 
    startup_id_str=0x40a308 "0") at /build/buildd/kde4libs-4.2.90/kinit/kinit.cpp:671
#40 0x0000000000407978 in handle_launcher_request (sock=7, who=<value optimized out>) at /build/buildd/kde4libs-4.2.90/kinit/kinit.cpp:1163
#41 0x0000000000407f25 in handle_requests (waitForPid=0) at /build/buildd/kde4libs-4.2.90/kinit/kinit.cpp:1356
#42 0x0000000000408a66 in main (argc=2, argv=0x7fff9eef7888, envp=0x7fff9eef78a0) at /build/buildd/kde4libs-4.2.90/kinit/kinit.cpp:1783
Comment 4 Dario Andres 2009-06-20 21:10:56 UTC
Thanks a lot, marking as dupe of bug 192790.

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