Bug 249702

Summary: Network Manager Applet crash after reconnect to 3G
Product: [Unmaintained] Network Management Reporter: Geraldo Augusto Vecchiato <geraldoav>
Component: Plasma WidgetAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: crash CC: aseigo, asraniel, lamarque, wstephenson
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Geraldo Augusto Vecchiato 2010-09-01 05:42:41 UTC
Application: plasma-desktop (0.3)
KDE Platform Version: 4.5.1 (KDE 4.5.1)
Qt Version: 4.6.3
Operating System: Linux 2.6.35-ARCH x86_64
Distribution (Platform): Archlinux Packages

-- Information about the crash:
- What I was doing when the application crashed:
My 3G connection was down and I clicked in it's name to connect. Just after click the applet crashed.

- Unusual behavior I noticed:
Application crashed. I've noticed this crash in KDE 4.5.0 and 4.5.1.

- Custom settings of the application:
Arch Linux comes with no Debug Simbols. When the applet crashed I was running the version SVN 1154750 of the applet. In order to generate a better backtrace I compiled and instaled the version SVN 1167421, that was the only disponible in Arch FTP today.

The KDE version is 4.5.1.
Linux Kernel 2.6.35.4.
Network Manager 0.8.1.

The crash can be reproduced some of the time.

-- Backtrace:
Application: Espaço de trabalho do Plasma (kdeinit4), signal: Segmentation fault
[KCrash Handler]
#6  InterfaceItem::label (this=0x0) at /home/geraldoav/abs/kdeplasma-applets-networkmanagement/src/kdeplasma-applets-networkmanagement-svn1167421/applet/interfaceitem.cpp:200
#7  0x00007f22a6eecf92 in NMPopup::toggleInterfaceTab (this=0x2325470)
    at /home/geraldoav/abs/kdeplasma-applets-networkmanagement/src/kdeplasma-applets-networkmanagement-svn1167421/applet/nmpopup.cpp:444
#8  0x00007f22a6ee78fc in NMPopup::qt_metacall (this=0x2325470, _c=<value optimized out>, _id=8401, _a=0x7fffc84ed290)
    at /home/geraldoav/abs/kdeplasma-applets-networkmanagement/src/build/applet/moc_nmpopup.cpp:106
#9  0x00007f22c59d4c5f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#10 0x00007f22a6ef7c69 in InterfaceDetailsWidget::handleConnectionStateChange (this=0x25e5d20, new_state=9, old_state=<value optimized out>, reason=<value optimized out>)
    at /home/geraldoav/abs/kdeplasma-applets-networkmanagement/src/kdeplasma-applets-networkmanagement-svn1167421/applet/interfacedetailswidget.cpp:522
#11 0x00007f22a6ee7396 in InterfaceItem::qt_metacall (this=0x7fffc84ed420, _c=3360609308, _id=8401, _a=0x25e5d20)
    at /home/geraldoav/abs/kdeplasma-applets-networkmanagement/src/build/applet/moc_interfaceitem.cpp:121
#12 0x00007f22c59d4c5f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#13 0x00007f22a685ef9d in Solid::Control::NetworkInterface::connectionStateChanged(int, int, int) () from /usr/lib/libsolidcontrol.so.4
#14 0x00007f22a685f010 in Solid::Control::NetworkInterface::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libsolidcontrol.so.4
#15 0x00007f22a68577b0 in Solid::Control::SerialNetworkInterface::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libsolidcontrol.so.4
#16 0x00007f22a68578a0 in Solid::Control::GsmNetworkInterface::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libsolidcontrol.so.4
#17 0x00007f22c59d4c5f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#18 0x00007f22a5f9aadd in NMNetworkInterface::connectionStateChanged(int, int, int) () from /usr/lib/kde4/solid_networkmanager07.so
#19 0x00007f22a5f9b86e in NMNetworkInterface::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/kde4/solid_networkmanager07.so
#20 0x00007f22a5fa1420 in NMSerialNetworkInterface::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/kde4/solid_networkmanager07.so
#21 0x00007f22a5fa1e80 in NMGsmNetworkInterface::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/kde4/solid_networkmanager07.so
#22 0x00007f22c59d4c5f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#23 0x00007f22a5fa384a in ?? () from /usr/lib/kde4/solid_networkmanager07.so
#24 0x00007f22a5fa38a8 in ?? () from /usr/lib/kde4/solid_networkmanager07.so
#25 0x00007f22c2e35f5b in ?? () from /usr/lib/libQtDBus.so.4
#26 0x00007f22c2e421cf in ?? () from /usr/lib/libQtDBus.so.4
#27 0x00007f22c59d24f9 in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#28 0x00007f22c4ba9864 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#29 0x00007f22c4bad94a in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#30 0x00007f22c66e1a76 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#31 0x00007f22c59c0bac in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#32 0x00007f22c59c430a in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#33 0x00007f22c59e9243 in ?? () from /usr/lib/libQtCore.so.4
#34 0x00007f22c1765b33 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#35 0x00007f22c1766310 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#36 0x00007f22c17665ad in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#37 0x00007f22c59e974f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#38 0x00007f22c4c4934e in ?? () from /usr/lib/libQtGui.so.4
#39 0x00007f22c59bff92 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#40 0x00007f22c59c01cc in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#41 0x00007f22c59c45db in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#42 0x00007f22b8ed88cb in kdemain () from /usr/lib/libkdeinit4_plasma-desktop.so
#43 0x0000000000406a83 in _start ()

Reported using DrKonqi
Comment 1 Lamarque V. Souza 2010-09-04 22:43:28 UTC
This crash log shows Interface item is null when calling InterfaceItem::label, that certainly should not happen. Plasma NM does not call InterfaceItem::label directly, there must an implicity call somewhere but I have not been able to figure out where. Today I have made a change in Plasma NM (commit 1171663) that maybe solve this problem, but since I could not reproduce this problem I am not sure if it really solves it.
Comment 2 Geraldo Augusto Vecchiato 2010-09-14 01:19:26 UTC
One week since I upgraded to commit 1171663 and there were no crashes so far.
Comment 3 Aaron J. Seigo 2010-09-14 01:26:18 UTC
then let's call it fixed, unless you can reproduce this crash at a later date.