Bug 283760

Summary: Adding Network Management plasmoid segfaults plasma
Product: [Unmaintained] Network Management Reporter: K900 <me>
Component: Plasma WidgetAssignee: Lamarque V. Souza <lamarque>
Status: RESOLVED WORKSFORME    
Severity: crash CC: lamarque, me, wstephenson
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description K900 2011-10-11 06:54:22 UTC
Application: plasma-desktop (0.4)
KDE Platform Version: 4.7.2 (4.7.2)
Qt Version: 4.7.4
Operating System: Linux 3.0.4 x86_64
Distribution: "AgiliaLinux release 8.0.0 (Sammy)"

-- Information about the crash:
- What I was doing when the application crashed:
Added the Network Management plasmoid to a panel. Happens both with a panel and a desktop.
- Custom settings of the application:
Latest compile (as of just now) from nm09 branch, NetworkManager 0.9.1.90, KDE 4.7.2 on AgiliaLinux (Slack-based). nm08 branch works fine, 0.8.80 release also crashes.

The crash can be reproduced every time.

-- Backtrace:
Application: Оболочка Plasma (plasma-desktop), signal: Segmentation fault
[KCrash Handler]
#6  0x00007fa64c0bbed6 in QVariant::QVariant(QVariant const&) () from /usr/lib64/libQtCore.so.4
#7  0x00007fa64c42bd57 in QDBusPendingReplyData::argumentAt(int) const () from /usr/lib64/libQtDBus.so.4
#8  0x00007fa624fb8c1a in RemoteInterfaceConnection::activationState() const () from /usr/lib64/libknmclient.so.4
#9  0x00007fa6251fd712 in WirelessNetworkItem::WirelessNetworkItem(RemoteWirelessNetwork*, QGraphicsItem*) () from /usr/lib64/kde4/plasma_applet_networkmanagement.so
#10 0x00007fa6251ef610 in ActivatableListWidget::createItem(RemoteActivatable*, int) () from /usr/lib64/kde4/plasma_applet_networkmanagement.so
#11 0x00007fa6251ef88e in ActivatableListWidget::activatableAdded(RemoteActivatable*, int) () from /usr/lib64/kde4/plasma_applet_networkmanagement.so
#12 0x00007fa6251e29e3 in ActivatableListWidget::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/kde4/plasma_applet_networkmanagement.so
#13 0x00007fa64c0b205f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#14 0x00007fa624fb681d in RemoteActivatableList::activatableAdded(RemoteActivatable*, int) () from /usr/lib64/libknmclient.so.4
#15 0x00007fa624fbbb39 in RemoteActivatableList::handleActivatableAdded(QString const&, unsigned int, int) () from /usr/lib64/libknmclient.so.4
#16 0x00007fa624fbc7a0 in RemoteActivatableList::init() () from /usr/lib64/libknmclient.so.4
#17 0x00007fa6251e73a1 in NetworkManagerApplet::init() () from /usr/lib64/kde4/plasma_applet_networkmanagement.so
#18 0x00007fa64ffdb0b6 in Plasma::Containment::addApplet(Plasma::Applet*, QPointF const&, bool) () from /usr/lib64/libplasma.so.3
#19 0x00007fa64ffdb267 in ?? () from /usr/lib64/libplasma.so.3
#20 0x00007fa65093abbb in Plasma::WidgetExplorer::addApplet(PlasmaAppletItem*) () from /usr/lib64/libplasmagenericshell.so.4
#21 0x00007fa65093c974 in Plasma::WidgetExplorer::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libplasmagenericshell.so.4
#22 0x00007fa64c0b205f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#23 0x00007fa65090dbdf in ?? () from /usr/lib64/libplasmagenericshell.so.4
#24 0x00007fa65090dce4 in ?? () from /usr/lib64/libplasmagenericshell.so.4
#25 0x00007fa64c0b205f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#26 0x00007fa65090e3d2 in Plasma::AbstractIcon::doubleClicked(Plasma::AbstractIcon*) () from /usr/lib64/libplasmagenericshell.so.4
#27 0x00007fa64b80d4b3 in QGraphicsItem::sceneEvent(QEvent*) () from /usr/lib64/libQtGui.so.4
#28 0x00007fa64b836750 in ?? () from /usr/lib64/libQtGui.so.4
#29 0x00007fa64b83f7d9 in ?? () from /usr/lib64/libQtGui.so.4
#30 0x00007fa64b8495ff in QGraphicsScene::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#31 0x00007fa64b23fed4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#32 0x00007fa64b244aaa in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#33 0x00007fa64cfd2d76 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#34 0x00007fa64c09ca9c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#35 0x00007fa64b85b83f in QGraphicsView::mouseDoubleClickEvent(QMouseEvent*) () from /usr/lib64/libQtGui.so.4
#36 0x00007fa64b2919c6 in QWidget::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#37 0x00007fa64b63f6d6 in QFrame::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#38 0x00007fa64b863f8b in QGraphicsView::viewportEvent(QEvent*) () from /usr/lib64/libQtGui.so.4
#39 0x00007fa64c09cc27 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#40 0x00007fa64b23fea1 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#41 0x00007fa64b24532c in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#42 0x00007fa64cfd2d76 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#43 0x00007fa64c09ca9c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#44 0x00007fa64b240ee5 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib64/libQtGui.so.4
#45 0x00007fa64b2bfee8 in ?? () from /usr/lib64/libQtGui.so.4
#46 0x00007fa64b2be599 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib64/libQtGui.so.4
#47 0x00007fa64b2e5e52 in ?? () from /usr/lib64/libQtGui.so.4
#48 0x00007fa64388d55f in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#49 0x00007fa64388dd68 in ?? () from /usr/lib64/libglib-2.0.so.0
#50 0x00007fa64388df41 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#51 0x00007fa64c0c7bdf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#52 0x00007fa64b2e5afe in ?? () from /usr/lib64/libQtGui.so.4
#53 0x00007fa64c09be52 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#54 0x00007fa64c09c09c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#55 0x00007fa64c0a057b in QCoreApplication::exec() () from /usr/lib64/libQtCore.so.4
#56 0x00007fa6519081ad in kdemain () from /usr/lib64/libkdeinit4_plasma-desktop.so
#57 0x00007fa64a5afc4d in __libc_start_main () from /lib64/libc.so.6
#58 0x0000000000400819 in _start ()

Reported using DrKonqi
Comment 1 K900 2011-10-11 06:57:02 UTC
Can be reproduced both on my setup and on a clean system (in VirtualBox or with mv ~/.kde ~/.kde_test)
Comment 2 K900 2011-10-11 09:31:13 UTC
Tested again with 0.8.80. Strangely it works now. The latest git still crashes.
Comment 3 Lamarque V. Souza 2011-10-11 17:18:32 UTC
I am not able to reproduce this problem. 0.8.80 and latest git are almost the same, this look like a intermitent problem.
Comment 4 K900 2011-10-11 17:25:47 UTC
Hmmm... I'll try to get somemore info with gdb and see why it crashes.
Comment 5 K900 2011-10-12 06:55:42 UTC
Strange, doesn't segfault anymore. OK, setting as worksforme.