Bug 240285

Summary: Plasma segfault activating or deleting a wired network connection [QObject::disconnect, InterfaceItem::currentConnectionChanged, InterfaceItem::connectionStateChanged]
Product: [Unmaintained] solid Reporter: Kevin Piette <kpiette.kde>
Component: networkmanagementAssignee: Sebastian Kügler <sebas>
Status: RESOLVED DUPLICATE    
Severity: crash CC: abhijeet.linux, alvarogili, andresbajotierra, arthur, aseigo, cortesa, EmpatheticMrSmiley, gronslet, jdonbook, kimera.4, lamarque, luca.mastronardi, m.wege, manoharviswanatha, matthew.flaschen, mega408, moll1, nusch88, red4fireluv04, rohan, russianneuromancer, sebas, solovjevps, v.kiril, vcato1701, vono22
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi

Description Kevin Piette 2010-05-31 23:17:46 UTC
Application: plasma-desktop (0.3)
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-22-generic x86_64
Distribution: Ubuntu 10.04 LTS

-- Information about the crash:
This segfault occurs about 1 in 8 times when activating a wired network connection.  I'm not certain that the traceback is the same each time but will pay more attention to it and follow-up if I encounter alternates.
Additional details for this networking scenario:
* Primary interface is wlan0
* eth0 is used for direct connection to embedded device
* A static address/netmask wired network connection "CameraNet" is selected manually.  This replaces the "auto" wired network connection enabled by default which is likely involved in various stages of DHCP / zero config when the switch occurs.

The crash can be reproduced some of the time.

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

Thread 2 (Thread 0x7faeb0920710 (LWP 1577)):
#0  0x00007faecdbb4f53 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007faeca5794a9 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007faeca5798fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007faecf1bc566 in QEventDispatcherGlib::processEvents (this=0x1860950, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#4  0x00007faecf191992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007faecf191d6c in QEventLoop::exec (this=0x7faeb091fdb0, flags=) at kernel/qeventloop.cpp:201
#6  0x00007faecf09bd59 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007faecf172178 in QInotifyFileSystemWatcherEngine::run (this=0x186bf90) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007faecf09e775 in QThreadPrivate::start (arg=0x186bf90) at thread/qthread_unix.cpp:248
#9  0x00007faecee0e9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007faecdbc16cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7faed0bc9760 (LWP 1575)):
[KCrash Handler]
#5  0x00007faecf1a94f1 in QObject::disconnect (sender=0x18e69f0, signal=<value optimized out>, receiver=0x22de350, method=<value optimized out>) at kernel/qobject.cpp:2764
#6  0x00007faeabdef128 in QObject::disconnect (this=0x18e69f0) at /usr/include/qt4/QtCore/qobject.h:229
#7  InterfaceItem::currentConnectionChanged (this=0x18e69f0) at ../../applet/interfaceitem.cpp:276
#8  0x00007faeabdefae6 in InterfaceItem::connectionStateChanged (this=0x18e69f0, state=Solid::Control::NetworkInterface::Disconnected) at ../../applet/interfaceitem.cpp:390
#9  0x00007faeabde5c21 in InterfaceItem::qt_metacall (this=0x18e69f0, _c=<value optimized out>, _id=<value optimized out>, _a=0x7fffb2164d20) at moc_interfaceitem.cpp:112
#10 0x00007faecf1a5e3f in QMetaObject::activate (sender=0x18b22b0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x333d4e8) at kernel/qobject.cpp:3293
#11 0x00007faeb64f52fd in Solid::Control::NetworkInterface::connectionStateChanged (this=0x22de350, _t1=3, _t2=8, _t3=0) at ./networkinterface.moc:157
#12 0x00007faeb64f5410 in Solid::Control::NetworkInterface::qt_metacall (this=0x18b22b0, _c=<value optimized out>, _id=<value optimized out>, _a=0x7fffb2164ea0) at ./networkinterface.moc:125
#13 0x00007faeb64f7b40 in Solid::Control::WiredNetworkInterface::qt_metacall (this=0x22de350, _c=2987805312, _id=-1409301280, _a=0x333d4e8) at ./wirednetworkinterface.moc:74
#14 0x00007faecf1a5e3f in QMetaObject::activate (sender=0x18b7880, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x333d4e8) at kernel/qobject.cpp:3293
#15 0x00007faeab557bed in NMNetworkInterface::connectionStateChanged (this=0x22de350, _t1=3, _t2=8, _t3=0) at ./networkinterface.moc:183
#16 0x00007faeab558a6c in NMNetworkInterface::qt_metacall (this=0x18b7880, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0x7fffb21650d0) at ./networkinterface.moc:120
#17 0x00007faeab55b365 in NMWiredNetworkInterface::qt_metacall (this=0x22de350, _c=2987805312, _id=-1409301280, _a=0x333d4e8) at ./wirednetworkinterface.moc:87
#18 0x00007faecf1a5e3f in QMetaObject::activate (sender=0x18b8400, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x333d4e8) at kernel/qobject.cpp:3293
#19 0x00007faeab56139a in OrgFreedesktopNetworkManagerDeviceInterface::StateChanged (this=0x22de350, _t1=3, _t2=8, _t3=0) at ./nm-deviceinterface.moc:134
#20 0x00007faeab5613f3 in OrgFreedesktopNetworkManagerDeviceInterface::qt_metacall (this=0x18b8400, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fffb2165440) at ./nm-deviceinterface.moc:90
#21 0x00007faecd558486 in QDBusConnectionPrivate::deliverCall (this=<value optimized out>, object=<value optimized out>, msg=<value optimized out>, metaTypes=..., slotIdx=<value optimized out>)
    at qdbusintegrator.cpp:904
#22 0x00007faecd56305f in QDBusCallDeliveryEvent::placeMetaCall(QObject*) () from /usr/lib/libQtDBus.so.4
#23 0x00007faecf1a2d49 in QObject::event (this=0x18b8400, e=0x330c400) at kernel/qobject.cpp:1248
#24 0x00007faece32f22c in QApplicationPrivate::notify_helper (this=0x13a18b0, receiver=0x18b8400, e=0x330c400) at kernel/qapplication.cpp:4300
#25 0x00007faece3356fb in QApplication::notify (this=0x138b3a0, receiver=0x18b8400, e=0x330c400) at kernel/qapplication.cpp:4183
#26 0x00007faecf6da526 in KApplication::notify (this=0x138b3a0, receiver=0x18b8400, event=0x330c400) at ../../kdeui/kernel/kapplication.cpp:302
#27 0x00007faecf19306c in QCoreApplication::notifyInternal (this=0x138b3a0, receiver=0x18b8400, event=0x330c400) at kernel/qcoreapplication.cpp:704
#28 0x00007faecf1957e7 in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x131ec30) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#29 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x131ec30) at kernel/qcoreapplication.cpp:1345
#30 0x00007faecf1bc9d3 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#31 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:276
#32 0x00007faeca5758c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#33 0x00007faeca579748 in ?? () from /lib/libglib-2.0.so.0
#34 0x00007faeca5798fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#35 0x00007faecf1bc513 in QEventDispatcherGlib::processEvents (this=0x1320140, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#36 0x00007faece3df46e in QGuiEventDispatcherGlib::processEvents (this=0x22de350, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#37 0x00007faecf191992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#38 0x00007faecf191d6c in QEventLoop::exec (this=0x7fffb2165e80, flags=) at kernel/qeventloop.cpp:201
#39 0x00007faecf195aab in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#40 0x00007faec41d1fb2 in kdemain (argc=<value optimized out>, argv=<value optimized out>) at ../../../../plasma/desktop/shell/main.cpp:112
#41 0x00000000004070f3 in launch (argc=1, _name=<value optimized out>, args=<value optimized out>, cwd=<value optimized out>, envc=0, envs=<value optimized out>, reset_env=false, tty=0x0, 
    avoid_loops=false, startup_id_str=0x40a4f9 "0") at ../../kinit/kinit.cpp:717
#42 0x0000000000407cb0 in handle_launcher_request (sock=8, who=<value optimized out>) at ../../kinit/kinit.cpp:1209
#43 0x000000000040823a in handle_requests (waitForPid=0) at ../../kinit/kinit.cpp:1402
#44 0x0000000000408e22 in main (argc=4, argv=<value optimized out>, envp=<value optimized out>) at ../../kinit/kinit.cpp:1845

Reported using DrKonqi
Comment 1 Pino Toscano 2010-08-27 19:21:03 UTC
*** Bug 249247 has been marked as a duplicate of this bug. ***
Comment 2 Rohan Garg 2010-10-23 11:00:24 UTC
Created attachment 52792 [details]
New crash information added by DrKonqi

plasma-desktop (0.3) on KDE Platform 4.5.2 (KDE 4.5.2) using Qt 4.7.0

- What I was doing when the application crashed:
Tried activatiing a Custom wired connection
- Unusual behavior I noticed:
Plasma crashed while activating the connection
- Custom settings of the application:
Custom DNS entries in network management plasmoid

-- Backtrace (Reduced):
#6  0x00007fbe4cd2f569 in QObject::disconnect (sender=0x2bde990, signal=<value optimized out>, receiver=0x2a95300, method=<value optimized out>) at kernel/qobject.cpp:2749
#7  0x00007fbe2ee0b108 in disconnect (this=0x2bde990) at /usr/include/qt4/QtCore/qobject.h:229
#8  InterfaceItem::currentConnectionChanged (this=0x2bde990) at ../../applet/interfaceitem.cpp:311
#9  0x00007fbe2ee0bacf in InterfaceItem::connectionStateChanged (this=0x2bde990, state=Solid::Control::NetworkInterface::Disconnected) at ../../applet/interfaceitem.cpp:426
#10 0x00007fbe2ee007c1 in InterfaceItem::qt_metacall (this=0x2bde990, _c=<value optimized out>, _id=<value optimized out>, _a=0x7fff2210eeb0) at moc_interfaceitem.cpp:120
Comment 3 Beat Wolf 2010-10-28 10:33:14 UTC
*** Bug 255354 has been marked as a duplicate of this bug. ***
Comment 4 Beat Wolf 2010-10-28 10:39:02 UTC
*** Bug 255468 has been marked as a duplicate of this bug. ***
Comment 5 Andres 2010-10-28 22:38:37 UTC
Created attachment 52954 [details]
New crash information added by DrKonqi

plasma-desktop (0.3) on KDE Platform 4.5.1 (KDE 4.5.1) using Qt 4.7.0

- What I was doing when the application crashed:
reconectando la red despues de que esta no pudiera conectarse de forma automatica.

-- Backtrace (Reduced):
#6  0x00007f351072f7e0 in QMapData::shared_null () from /usr/lib/libQtCore.so.4
#7  0x00007f351041556b in QObject::disconnect (sender=0x13ceb00, signal=<value optimized out>, receiver=0x1742b50, method=<value optimized out>) at kernel/qobject.cpp:2749
#8  0x00007f34ef29f108 in disconnect (this=0x13ceb00) at /usr/include/qt4/QtCore/qobject.h:229
#9  InterfaceItem::currentConnectionChanged (this=0x13ceb00) at ../../applet/interfaceitem.cpp:311
#10 0x00007f34ef29facf in InterfaceItem::connectionStateChanged (this=0x13ceb00, state=Solid::Control::NetworkInterface::Disconnected) at ../../applet/interfaceitem.cpp:426
Comment 6 Rohan Garg 2010-11-11 17:07:57 UTC
Created attachment 53323 [details]
New crash information added by DrKonqi

plasma-desktop (0.3) on KDE Platform 4.5.3 (KDE 4.5.3) using Qt 4.7.0

- What I was doing when the application crashed:
Same things as described before
- Unusual behavior I noticed:
Plasma crashes
- Custom settings of the application:
Custom DNS Entries for wired connection

Still happens with KDE 4.5.3

-- Backtrace (Reduced):
#7  0x00007fada3add56b in QObject::disconnect (sender=0x20fb240, signal=<value optimized out>, receiver=0x5219660, method=<value optimized out>) at kernel/qobject.cpp:2749
#8  0x00007fad7ae62108 in disconnect (this=0x20fb240) at /usr/include/qt4/QtCore/qobject.h:229
#9  InterfaceItem::currentConnectionChanged (this=0x20fb240) at ../../applet/interfaceitem.cpp:311
#10 0x00007fad7ae62acf in InterfaceItem::connectionStateChanged (this=0x20fb240, state=Solid::Control::NetworkInterface::Disconnected) at ../../applet/interfaceitem.cpp:426
#11 0x00007fad7ae577c1 in InterfaceItem::qt_metacall (this=0x20fb240, _c=<value optimized out>, _id=<value optimized out>, _a=0x7fff05bf8000) at moc_interfaceitem.cpp:120
Comment 7 zless 2010-11-14 20:44:21 UTC
Created attachment 53413 [details]
New crash information added by DrKonqi

plasma-desktop (0.3) on KDE Platform 4.5.3 (KDE 4.5.3) using Qt 4.7.0

- What I was doing when the application crashed:

I resumed the laptop from standby and at the same time I plugged the net cable. I also have a wireless connection but the wired connection has priority.

-- Backtrace (Reduced):
#6  0x00007f1b6980d569 in QObject::disconnect (sender=0x20e19b0, signal=<value optimized out>, receiver=0x3b3c240, method=<value optimized out>) at kernel/qobject.cpp:2749
#7  0x00007f1b481b6108 in disconnect (this=0x20e19b0) at /usr/include/qt4/QtCore/qobject.h:229
#8  InterfaceItem::currentConnectionChanged (this=0x20e19b0) at ../../applet/interfaceitem.cpp:311
#9  0x00007f1b481b6acf in InterfaceItem::connectionStateChanged (this=0x20e19b0, state=Solid::Control::NetworkInterface::Unmanaged) at ../../applet/interfaceitem.cpp:426
#10 0x00007f1b481ab7c1 in InterfaceItem::qt_metacall (this=0x20e19b0, _c=<value optimized out>, _id=<value optimized out>, _a=0x7fffb0ebb320) at moc_interfaceitem.cpp:120
Comment 8 nusch 2010-11-17 12:37:23 UTC
Created attachment 53487 [details]
New crash information added by DrKonqi

plasma-desktop (0.3) on KDE Platform 4.5.1 (KDE 4.5.1) using Qt 4.7.0

- What I was doing when the application crashed:

Same as above - using wlan0 for internet connection, but using eth0 to configure some routers- I hav some predefined IPs and DHCP connection, very often selecting one of them while already connected to wlan causes plasma crash. I don't know if it could be caused by automatically connect with DHCP, and crash when those happens in the same time - autoconfiguration and IP address asigning, and clicking one of connection in plasma

-- Backtrace (Reduced):
#7  0x00007fd1e550456b in QObject::disconnect (sender=0x1f46d10, signal=<value optimized out>, receiver=0x3714930, method=<value optimized out>) at kernel/qobject.cpp:2749
#8  0x00007fd1c8dda108 in disconnect (this=0x1f46d10) at /usr/include/qt4/QtCore/qobject.h:229
#9  InterfaceItem::currentConnectionChanged (this=0x1f46d10) at ../../applet/interfaceitem.cpp:311
#10 0x00007fd1c8ddaacf in InterfaceItem::connectionStateChanged (this=0x1f46d10, state=Solid::Control::NetworkInterface::Disconnected) at ../../applet/interfaceitem.cpp:426
#11 0x00007fd1c8dcf7c1 in InterfaceItem::qt_metacall (this=0x1f46d10, _c=<value optimized out>, _id=<value optimized out>, _a=0x7fff91721580) at moc_interfaceitem.cpp:120
Comment 9 Dario Andres 2010-11-17 13:17:03 UTC
[Comment from a bug triager]
From bug 252417:
- 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.
Comment 10 Dario Andres 2010-11-17 13:17:10 UTC
*** Bug 252417 has been marked as a duplicate of this bug. ***
Comment 11 Dario Andres 2010-11-17 13:17:17 UTC
*** Bug 256479 has been marked as a duplicate of this bug. ***
Comment 12 Dario Andres 2010-11-17 13:17:19 UTC
*** Bug 257113 has been marked as a duplicate of this bug. ***
Comment 13 Dario Andres 2010-11-17 13:17:23 UTC
*** Bug 234393 has been marked as a duplicate of this bug. ***
Comment 14 Dario Andres 2010-11-17 13:17:25 UTC
*** Bug 235442 has been marked as a duplicate of this bug. ***
Comment 15 Dario Andres 2010-11-17 13:19:14 UTC
*** Bug 234254 has been marked as a duplicate of this bug. ***
Comment 16 Luca 2010-11-17 14:27:03 UTC
Created attachment 53491 [details]
New crash information added by DrKonqi

plasma-desktop (0.3) on KDE Platform 4.5.1 (KDE 4.5.1) using Qt 4.7.0

- What I was doing when the application crashed:
when i click for active network on rightdown notife area.
thanks

-- Backtrace (Reduced):
#7  0x048230e2 in QObject::disconnect (sender=0x8e48b30, signal=0x0, receiver=0x87b7ec0, method=0x2ad8732 "2hasDefaultRouteChanged(bool)") at kernel/qobject.cpp:2749
#8  0x02ac809d in disconnect (this=0x8e48b30) at /usr/include/qt4/QtCore/qobject.h:229
#9  InterfaceItem::currentConnectionChanged (this=0x8e48b30) at ../../applet/interfaceitem.cpp:311
#10 0x02ac8a6b in InterfaceItem::connectionStateChanged (this=0x8e48b30, state=Solid::Control::NetworkInterface::Disconnected) at ../../applet/interfaceitem.cpp:426
#11 0x02ac772b in InterfaceItem::handleConnectionStateChange (this=0x8e48b30, new_state=3, old_state=8, reason=0) at ../../applet/interfaceitem.cpp:358
Comment 17 Dario Andres 2010-11-17 23:48:26 UTC
*** Bug 257203 has been marked as a duplicate of this bug. ***
Comment 18 Beat Wolf 2010-11-26 13:27:58 UTC
*** Bug 257896 has been marked as a duplicate of this bug. ***
Comment 19 Dario Andres 2010-12-12 15:13:14 UTC
*** Bug 258139 has been marked as a duplicate of this bug. ***
Comment 20 Dario Andres 2010-12-17 18:50:04 UTC
*** Bug 242890 has been marked as a duplicate of this bug. ***
Comment 21 Dario Andres 2010-12-17 18:50:22 UTC
*** Bug 260390 has been marked as a duplicate of this bug. ***
Comment 22 Sean Murphy 2011-01-18 22:03:44 UTC
Created attachment 56175 [details]
New crash information added by DrKonqi

plasma-netbook (0.1) on KDE Platform 4.5.1 (KDE 4.5.1) using Qt 4.7.0

- What I was doing when the application crashed:
Connecting to Wired connection upon changing from wireless. Plama Netbook came with a bug?
- Custom settings of the application:

-- Backtrace (Reduced):
#8  0x025b20e4 in QObject::disconnect (sender=0xa85f468, signal=0x0, receiver=0xa782928, method=0x23f0732 "2hasDefaultRouteChanged(bool)") at kernel/qobject.cpp:2749
#9  0x023e009d in disconnect (this=0xa85f468) at /usr/include/qt4/QtCore/qobject.h:229
#10 InterfaceItem::currentConnectionChanged (this=0xa85f468) at ../../applet/interfaceitem.cpp:311
#11 0x023e0a6b in InterfaceItem::connectionStateChanged (this=0xa85f468, state=Solid::Control::NetworkInterface::Disconnected) at ../../applet/interfaceitem.cpp:426
#12 0x023df72b in InterfaceItem::handleConnectionStateChange (this=0xa85f468, new_state=3, old_state=7, reason=0) at ../../applet/interfaceitem.cpp:358
Comment 23 Dario Andres 2011-01-23 16:11:04 UTC
*** Bug 263506 has been marked as a duplicate of this bug. ***
Comment 24 Dario Andres 2011-01-23 16:25:10 UTC
*** Bug 263220 has been marked as a duplicate of this bug. ***
Comment 25 Dario Andres 2011-01-29 14:26:49 UTC
[Comment from a bug triager]
Note: bug 262878 contain a similar backtrace but about a Wireless interface
Comment 26 Dario Andres 2011-02-13 13:03:57 UTC
[Comment from a bug triager]
From bug 266188 (KDE SC 4.5.1):
- What I was doing when the application crashed:
Sometimes network manager crashes (or plasma desktop) after clicking to
"statusbar icon"->"connections"->"auto eth0"
The crash can be reproduced some of the time.

- Backtrace:
[KCrash Handler]
#6  indexOfMethodRelative<0> (this=0x7fabba848270, method=0x3baaef9
"hasDefaultRouteChanged(bool)") at kernel/qmetaobject.cpp:503
#7  QMetaObject::indexOfMethod (this=0x7fabba848270, method=0x3baaef9
"hasDefaultRouteChanged(bool)") at kernel/qmetaobject.cpp:558
#8  0x00007fabba53457b in QObject::disconnect (sender=0x30ab290, signal=<value
optimized out>, receiver=0x3130700, method=<value optimized out>) at
kernel/qobject.cpp:2751
#9  0x00007fab98faf108 in disconnect (this=0x30ab290) at
/usr/include/qt4/QtCore/qobject.h:229
#10 InterfaceItem::currentConnectionChanged (this=0x30ab290) at
../../applet/interfaceitem.cpp:311
#11 0x00007fab98fafacf in InterfaceItem::connectionStateChanged
(this=0x30ab290, state=Solid::Control::NetworkInterface::Disconnected) at
../../applet/interfaceitem.cpp:426
#12 0x00007fab98fa47c1 in InterfaceItem::qt_metacall (this=0x30ab290, _c=<value
optimized out>, _id=<value optimized out>, _a=0x7fff03ae6f60) at
moc_interfaceitem.cpp:120
#13 0x00007fabba534b27 in QMetaObject::activate (sender=0x2aafd40, m=<value
optimized out>, local_signal_index=<value optimized out>, argv=0x3baaef8) at
kernel/qobject.cpp:3280
#14 0x00007fab9e2948ad in
Solid::Control::NetworkInterface::connectionStateChanged (this=0x7fabba848270,
_t1=3, _t2=7, _t3=0) at ./networkinterface.moc:157
...
Comment 27 Dario Andres 2011-02-13 13:04:06 UTC
*** Bug 266188 has been marked as a duplicate of this bug. ***
Comment 28 Sebastian Kügler 2011-02-13 13:34:29 UTC
These backtraces look all outdated. :/

The problematic line (311 in interfaceitem.cpp) doesn't disconnnect anymore,  but is guarded by a nullpointer check, the pointer is correctly reset there, it seems.

Can anyone who has been seeing this crash update to the latest Git version (git clone kde:networkmanager) , and confirm is this is fixed or not? Until then, I can't do anything sensible about this bug. Please note the exact git commit you're testing.

If you're not using the Git version, please don't add your backtraces to this bugreport, it'll only make it harder to find a valid one.

If you've been encountering this problem before, and it's gone by updating to Git's tip, please report that as well.

I'm leaving this bug in UNCONFIRMED state, until I can verify it's still there in Git master.

thanks!
Comment 29 Dario Andres 2011-02-13 21:27:11 UTC
[Comment from a bug triager]
From bug 266205:
- What I was doing when the application crashed:
I selected the wired ethernet profile to switch over from the Auto eth0
profile, to enable the custom settings (Auto DHCP but manual DNS) on that
connection.
Comment 30 Dario Andres 2011-02-13 21:27:18 UTC
*** Bug 266205 has been marked as a duplicate of this bug. ***
Comment 31 Dario Andres 2011-03-07 22:35:35 UTC
*** Bug 266967 has been marked as a duplicate of this bug. ***
Comment 32 Matthew Flaschen 2011-03-23 19:00:56 UTC
Created attachment 58291 [details]
New crash information added by DrKonqi

plasma-desktop (0.3) on KDE Platform 4.5.1 (KDE 4.5.1) using Qt 4.7.0

I had lost my (wired) internet connection for an unknown reason, so I tried several things, including using Plasma to disconnect then reconnect, and physically unplugging and replugging the cable.  I think it crashed when attempting to disconnect.

-- Backtrace (Reduced):
#6  0x00007f5bebbc4569 in QObject::disconnect (sender=0xd37f20, signal=<value optimized out>, receiver=0xfeedf0, method=<value optimized out>) at kernel/qobject.cpp:2749
#7  0x00007f5bcfb85108 in disconnect (this=0xd37f20) at /usr/include/qt4/QtCore/qobject.h:229
#8  InterfaceItem::currentConnectionChanged (this=0xd37f20) at ../../applet/interfaceitem.cpp:311
#9  0x00007f5bcfb85acf in InterfaceItem::connectionStateChanged (this=0xd37f20, state=Solid::Control::NetworkInterface::Disconnected) at ../../applet/interfaceitem.cpp:426
#10 0x00007f5bcfb7a7c1 in InterfaceItem::qt_metacall (this=0xd37f20, _c=<value optimized out>, _id=<value optimized out>, _a=0x7fff9db9b700) at moc_interfaceitem.cpp:120
Comment 33 Lamarque V. Souza 2011-03-30 13:42:24 UTC

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