Bug 252417

Summary: plasma-desktop crash when deleting a network connection
Product: Network Management Reporter: vono22
Component: Plasma WidgetAssignee: Will Stephenson <wstephenson>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra, wstephenson
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

Description vono22 2010-09-26 12:57:19 UTC
Application: plasma-desktop (0.3)
KDE Platform Version: 4.5.1 (KDE 4.5.1)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-22-generic x86_64
Distribution: Ubuntu maverick (development branch)

-- Information about the crash:
- What I was doing when the application crashed:
I have setup another network connection on the same device (eth0) than the default (not visible), to change the default DNS.
It didn't change anything (dns takes too long to response), so I figure I done an error.
My new connection was active, and i delete it. -> Crash

- Step to reproduce (I test this scenario twice):

1) In the plasma network app (like the windows systray ?) left click to show the popup
2) Click the button "Manage connection"
3) Add a new Wired connection (may work with other type...)
4) Click ok to save this connection
5) Close the "Configure - KDE Control Module" by clicking the Ok button
6) In the network systray app, select your new connection
7) When this connection is active, reopen the network manager with the systray network app.
8) Delete your new connection
9) -> Crash.


OS: Kubuntu 10.10 x86_64 KDE 4.5.1

-- Backtrace:
Application: Plasma Workspace (plasma-desktop), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f16a5a007a0 (LWP 1574))]

Thread 2 (Thread 0x7f167e335710 (LWP 1577)):
#0  0x00007f16a53091e3 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f1699ef14a9 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f1699ef18fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007f16a29be1e6 in QEventDispatcherGlib::processEvents (this=0x13318b0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#4  0x00007f16a2990a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007f16a2990dec in QEventLoop::exec (this=0x7f167e334d70, flags=) at kernel/qeventloop.cpp:201
#6  0x00007f16a289b2fd in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#7  0x00007f16a29705f8 in QInotifyFileSystemWatcherEngine::run (this=0x135cdb0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f16a289e27e in QThreadPrivate::start (arg=0x135cdb0) at thread/qthread_unix.cpp:266
#9  0x00007f16a2613971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#10 0x00007f16a531592d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f16a5a007a0 (LWP 1574)):
[KCrash Handler]
#6  0x00007f16a29a9569 in QObject::disconnect (sender=0x16bfd10, signal=<value optimized out>, receiver=0xeef910, method=<value optimized out>) at kernel/qobject.cpp:2749
#7  0x00007f167c10e108 in disconnect (this=0x16bfd10) at /usr/include/qt4/QtCore/qobject.h:229
#8  InterfaceItem::currentConnectionChanged (this=0x16bfd10) at ../../applet/interfaceitem.cpp:311
#9  0x00007f167c10eacf in InterfaceItem::connectionStateChanged (this=0x16bfd10, state=Solid::Control::NetworkInterface::Disconnected) at ../../applet/interfaceitem.cpp:426
#10 0x00007f167c1037c1 in InterfaceItem::qt_metacall (this=0x16bfd10, _c=<value optimized out>, _id=<value optimized out>, _a=0x7fff3014cd90) at moc_interfaceitem.cpp:120
#11 0x00007f16a29a9b27 in QMetaObject::activate (sender=0x14f1fb0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x15af878) at kernel/qobject.cpp:3280
#12 0x00007f16879b68ad in Solid::Control::NetworkInterface::connectionStateChanged (this=0xeef910, _t1=3, _t2=8, _t3=38) at ./networkinterface.moc:157
#13 0x00007f16879b69c0 in Solid::Control::NetworkInterface::qt_metacall (this=0x14f1fb0, _c=<value optimized out>, _id=<value optimized out>, _a=0x7fff3014cf10) at ./networkinterface.moc:125
#14 0x00007f16879b9190 in Solid::Control::WiredNetworkInterface::qt_metacall (this=0xeef910, _c=806669056, _id=2083657056, _a=0x15af878) at ./wirednetworkinterface.moc:74
#15 0x00007f16a29a9b27 in QMetaObject::activate (sender=0x14f6bd0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x15af878) at kernel/qobject.cpp:3280
#16 0x00007f167b5f3a0d in NMNetworkInterface::connectionStateChanged (this=0xeef910, _t1=3, _t2=8, _t3=38) at ./networkinterface.moc:183
#17 0x00007f167b5f487c in NMNetworkInterface::qt_metacall (this=0x14f6bd0, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0x7fff3014d140) at ./networkinterface.moc:120
#18 0x00007f167b5f7855 in NMWiredNetworkInterface::qt_metacall (this=0xeef910, _c=806669056, _id=2083657056, _a=0x15af878) at ./wirednetworkinterface.moc:87
#19 0x00007f16a29a9b27 in QMetaObject::activate (sender=0x15b4260, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x15af878) at kernel/qobject.cpp:3280
#20 0x00007f167b5fd57a in OrgFreedesktopNetworkManagerDeviceInterface::StateChanged (this=0xeef910, _t1=3, _t2=8, _t3=38) at ./nm-deviceinterface.moc:134
#21 0x00007f167b5fd5d3 in OrgFreedesktopNetworkManagerDeviceInterface::qt_metacall (this=0x15b4260, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fff3014d4b0) at ./nm-deviceinterface.moc:90
#22 0x00007f16a2ce80ee in QDBusConnectionPrivate::deliverCall (this=<value optimized out>, object=<value optimized out>, msg=<value optimized out>, metaTypes=..., slotIdx=<value optimized out>) at qdbusintegrator.cpp:919
#23 0x00007f16a2cf30ef in QDBusCallDeliveryEvent::placeMetaCall (this=0x0, object=0x7fff3014cb00) at qdbusintegrator_p.h:103
#24 0x00007f16a29a3bde in QObject::event (this=0x15b4260, e=0xeef910) at kernel/qobject.cpp:1219
#25 0x00007f16a1adbfdc in QApplicationPrivate::notify_helper (this=0xbe93c0, receiver=0x15b4260, e=0x2010d20) at kernel/qapplication.cpp:4396
#26 0x00007f16a1ae1aed in QApplication::notify (this=0xbd9f80, receiver=0x15b4260, e=0x2010d20) at kernel/qapplication.cpp:4277
#27 0x00007f16a362d156 in KApplication::notify (this=0xbd9f80, receiver=0x15b4260, event=0x2010d20) at ../../kdeui/kernel/kapplication.cpp:310
#28 0x00007f16a2991cdc in QCoreApplication::notifyInternal (this=0xbd9f80, receiver=0x15b4260, event=0x2010d20) at kernel/qcoreapplication.cpp:732
#29 0x00007f16a2994c22 in sendEvent (receiver=0x0, event_type=<value optimized out>, data=0xbbe560) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#30 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0xbbe560) at kernel/qcoreapplication.cpp:1373
#31 0x00007f16a29be653 in sendPostedEvents (s=0xbecb40) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#32 postEventSourceDispatch (s=0xbecb40) at kernel/qeventdispatcher_glib.cpp:277
#33 0x00007f1699eed7e2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#34 0x00007f1699ef1748 in ?? () from /lib/libglib-2.0.so.0
#35 0x00007f1699ef18fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#36 0x00007f16a29be193 in QEventDispatcherGlib::processEvents (this=0xbbe070, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#37 0x00007f16a1b8ea6e in QGuiEventDispatcherGlib::processEvents (this=0xeef910, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#38 0x00007f16a2990a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#39 0x00007f16a2990dec in QEventLoop::exec (this=0x7fff3014def0, flags=) at kernel/qeventloop.cpp:201
#40 0x00007f16a2994ebb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#41 0x00007f16a55eca56 in kdemain (argc=<value optimized out>, argv=<value optimized out>) at ../../../../plasma/desktop/shell/main.cpp:118
#42 0x00007f16a524dd8e in __libc_start_main (main=<value optimized out>, argc=<value optimized out>, ubp_av=<value optimized out>, init=<value optimized out>, fini=<value optimized out>, rtld_fini=<value optimized out>, stack_end=0x7fff3014e2b8) at libc-start.c:226
#43 0x0000000000400669 in _start ()

This bug may be a duplicate of or related to bug 240285.

Possible duplicates by query: bug 240285.

Reported using DrKonqi
Comment 1 Dario Andres 2010-11-17 13:17:10 UTC
[Comment from a bug triager]
This issue is being tracked at bug 240285. Merging. Thanks for the detailed information and steps to reproduce!

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