Bug 273955 - Plasma Crashes after installing NetworkManager client for KDE 4
Summary: Plasma Crashes after installing NetworkManager client for KDE 4
Status: RESOLVED FIXED
Alias: None
Product: Network Management
Classification: Unmaintained
Component: Plasma Widget (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Sebastian Kügler
URL:
Keywords:
: 276539 276616 278161 278436 279259 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-05-23 12:46 UTC by Michael
Modified: 2011-08-03 09:54 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael 2011-05-23 12:46:02 UTC
Application: plasma-desktop (0.4)
KDE Platform Version: 4.6.00 (4.6.0) "release 6"
Qt Version: 4.7.1
Operating System: Linux 2.6.37.6-0.5-desktop x86_64
Distribution: "openSUSE 11.4 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:

After installing the widget, I'm am getting random crashes of the plasma desktop

plasmoid-networkmanagement - NetworkManager client for KDE 4

The crash can be reproduced every time.

-- Backtrace:
Application: Plasma Desktop Shell (kdeinit4), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f0482497760 (LWP 4184))]

Thread 2 (Thread 0x7f0466297700 (LWP 4185)):
#0  0x00007f047fb97503 in poll () from /lib64/libc.so.6
#1  0x00007f047ca09114 in ?? () from /lib64/libglib-2.0.so.0
#2  0x00007f047ca09650 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00007f0481188976 in QEventDispatcherGlib::processEvents (this=0xb055c0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f048115d052 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f048115d265 in QEventLoop::exec (this=0x7f0466296de0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f04810721e4 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#7  0x00007f048113e968 in QInotifyFileSystemWatcherEngine::run (this=0xb03f90) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f0481074a5e in QThreadPrivate::start (arg=0xb03f90) at thread/qthread_unix.cpp:285
#9  0x00007f0480de5a3f in start_thread () from /lib64/libpthread.so.0
#10 0x00007f047fba067d in clone () from /lib64/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f0482497760 (LWP 4184)):
[KCrash Handler]
#6  0x0000000000000000 in ?? ()
#7  0x00007f0481163b39 in QMetaObject::cast (this=0x7f0456586fa0, obj=0x166a630) at kernel/qmetaobject.cpp:266
#8  0x00007f04565a7d7d in qobject_cast<RemoteWirelessInterfaceConnection*> (this=0x16bd1b0, ra=<value optimized out>) at /usr/include/QtCore/qobject.h:366
#9  NMPopup::checkShowMore (this=0x16bd1b0, ra=<value optimized out>) at /usr/src/debug/networkmanagement/applet/nmpopup.cpp:686
#10 0x00007f04565a1634 in NMPopup::qt_metacall (this=0x16bd1b0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff38a8f930) at /usr/src/debug/networkmanagement/build/applet/moc_nmpopup.cpp:121
#11 0x00007f0481172def in QMetaObject::activate (sender=0x733560, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff38a8f930) at kernel/qobject.cpp:3272
#12 0x00007f0456376022 in RemoteActivatableList::activatableRemoved(RemoteActivatable*) () from /usr/lib64/libknmclient.so.4
#13 0x00007f045637b1af in RemoteActivatableList::handleActivatableRemoved(QString const&) () from /usr/lib64/libknmclient.so.4
#14 0x00007f0456376100 in RemoteActivatableList::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libknmclient.so.4
#15 0x00007f0481172def in QMetaObject::activate (sender=0x732d60, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff38a8faa0) at kernel/qobject.cpp:3272
#16 0x00007f045637d1d5 in ?? () from /usr/lib64/libknmclient.so.4
#17 0x00007f045637d360 in ?? () from /usr/lib64/libknmclient.so.4
#18 0x00007f047dfb2b68 in QDBusConnectionPrivate::deliverCall (this=0x69d1e0, object=0x732d60, msg=..., metaTypes=..., slotIdx=6) at qdbusintegrator.cpp:919
#19 0x00007f047dfbdc1f in QDBusCallDeliveryEvent::placeMetaCall (this=<value optimized out>, object=<value optimized out>) at qdbusintegrator_p.h:103
#20 0x00007f0481171a6a in QObject::event (this=0x732d60, e=<value optimized out>) at kernel/qobject.cpp:1211
#21 0x00007f048030cd14 in QApplicationPrivate::notify_helper (this=0x6a69f0, receiver=0x732d60, e=0x1de0cc0) at kernel/qapplication.cpp:4445
#22 0x00007f048031522a in QApplication::notify (this=<value optimized out>, receiver=0x732d60, e=0x1de0cc0) at kernel/qapplication.cpp:4324
#23 0x00007f0481e019e6 in KApplication::notify (this=0x69c580, receiver=0x732d60, event=0x1de0cc0) at /usr/src/debug/kdelibs-4.6.0/kdeui/kernel/kapplication.cpp:311
#24 0x00007f048115dbfc in QCoreApplication::notifyInternal (this=0x69c580, receiver=0x732d60, event=0x1de0cc0) at kernel/qcoreapplication.cpp:732
#25 0x00007f04811613f5 in sendEvent (receiver=0x0, event_type=0, data=0x6103e0) at kernel/qcoreapplication.h:215
#26 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x6103e0) at kernel/qcoreapplication.cpp:1373
#27 0x00007f0481188783 in sendPostedEvents (s=<value optimized out>) at kernel/qcoreapplication.h:220
#28 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:277
#29 0x00007f047ca08bd3 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#30 0x00007f047ca093b0 in ?? () from /lib64/libglib-2.0.so.0
#31 0x00007f047ca09650 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#32 0x00007f048118891f in QEventDispatcherGlib::processEvents (this=0x69cfc0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#33 0x00007f04803b1d8e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#34 0x00007f048115d052 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#35 0x00007f048115d265 in QEventLoop::exec (this=0x7fff38a90700, flags=...) at kernel/qeventloop.cpp:201
#36 0x00007f04811616ab in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#37 0x00007f0471d90da8 in kdemain (argc=1, argv=0x66ca80) at /usr/src/debug/kdebase-workspace-4.6.0/plasma/desktop/shell/main.cpp:118
#38 0x00000000004075e9 in _start ()

Reported using DrKonqi
Comment 1 Lamarque V. Souza 2011-05-23 17:19:58 UTC
Git commit 021863eafb47ef46c4a5f822622e75295e4f944b by Lamarque V. Souza.
Committed on 23/05/2011 at 17:15.
Pushed by lvsouza into branch 'master'.

Another hack to try to prevent dangling pointers. When I have more time
I will try to make things in the correct way, for now this will just
make the crashes much less likely to happen.

CCBUG: 273955
(cherry picked from commit 93322e13815a92cf3357f38eb152cf3f456629f7)

M  +12   -2    libs/client/remoteactivatablelist.cpp     

http://commits.kde.org/networkmanagement/021863eafb47ef46c4a5f822622e75295e4f944b
Comment 2 Lamarque V. Souza 2011-05-23 17:19:58 UTC
Git commit 93322e13815a92cf3357f38eb152cf3f456629f7 by Lamarque V. Souza.
Committed on 23/05/2011 at 17:15.
Pushed by lvsouza into branch 'nm09'.

Another hack to try to prevent dangling pointers. When I have more time
I will try to make things in the correct way, for now this will just
make the crashes much less likely to happen.

CCBUG: 273955

M  +12   -2    libs/client/remoteactivatablelist.cpp     

http://commits.kde.org/networkmanagement/93322e13815a92cf3357f38eb152cf3f456629f7
Comment 3 Lamarque V. Souza 2011-06-02 20:33:18 UTC
I am not able to reproduce this bug in a recent Plasma NM snapshot, can you? Some distributions shipps outdated Plasma NM snapshot. When testing make sure it is recent Plasma NM snapshot. If you cannot assure that then it is better clone networkmanagement repository and compile Plasma NM yourself:

git clone git://anongit.kde.org/netwokmanagement
mkdir networkmanagement/build
cd networkmanagement/build
cmake -DCMAKE_INSTALL_PREFIX=/usr ..
make
make install
Comment 4 Lamarque V. Souza 2011-06-26 20:31:19 UTC
*** Bug 276539 has been marked as a duplicate of this bug. ***
Comment 5 Lamarque V. Souza 2011-06-28 21:15:30 UTC
*** Bug 276616 has been marked as a duplicate of this bug. ***
Comment 6 Lamarque V. Souza 2011-07-21 14:33:31 UTC
*** Bug 278161 has been marked as a duplicate of this bug. ***
Comment 7 Christoph Feck 2011-08-03 09:54:24 UTC
*** Bug 278436 has been marked as a duplicate of this bug. ***
Comment 8 Christoph Feck 2011-08-03 09:54:44 UTC
*** Bug 279259 has been marked as a duplicate of this bug. ***