Bug 268473 - Plasma-desktop crash after restarting network-manager service
Summary: Plasma-desktop crash after restarting network-manager service
Status: RESOLVED DUPLICATE of bug 226596
Alias: None
Product: Network Management
Classification: Unclassified
Component: KDED Module (show other bugs)
Version: unspecified
Platform: Ubuntu Packages Linux
: NOR crash (vote)
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
: 268475 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-03-14 16:02 UTC by Ruszkai Ákos
Modified: 2011-03-29 19:50 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ruszkai Ákos 2011-03-14 16:02:26 UTC
Application: plasma-desktop (0.4)
KDE Platform Version: 4.6.1 (4.6.1)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-22-generic i686
Distribution: Ubuntu 10.10

-- Information about the crash:
- What I was doing when the application crashed:
The whole plasma desktop system crahsed when I restarted the upstart service network-manager.
Happens frequently.

- Unusual behavior I noticed:
Network manager plasma applet on panel stops working, or does foobar stuff  (doesn't show networks, doesn't respnd on clicks etc.)
On crash, I only get some kind of message like this (sorry, I'm on localised environment)

We're sorry, but the KDE service stopped running:

.ar5k

I don't even know what this .ar5k is.

The crash can be reproduced some of the time.

-- Backtrace:
Application: Plazma asztali héj (plasma-desktop), signal: Segmentation fault
[Current thread is 1 (Thread 0xb785b720 (LWP 1506))]

Thread 3 (Thread 0xb52b7b70 (LWP 1507)):
#0  0x00ea3416 in __kernel_vsyscall ()
#1  0x00398df6 in poll () from /lib/libc.so.6
#2  0x05a5ba1b in g_poll () from /lib/libglib-2.0.so.0
#3  0x05a4e43c in ?? () from /lib/libglib-2.0.so.0
#4  0x05a4e848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0x0857659f in QEventDispatcherGlib::processEvents (this=0x9196458, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#6  0x08546609 in QEventLoop::processEvents (this=0xb52b7280, flags=) at kernel/qeventloop.cpp:149
#7  0x08546a8a in QEventLoop::exec (this=0xb52b7280, flags=...) at kernel/qeventloop.cpp:201
#8  0x08442b7e in QThread::exec (this=0x9245d68) at thread/qthread.cpp:490
#9  0x0852535b in QInotifyFileSystemWatcherEngine::run (this=0x9245d68) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x08445df9 in QThreadPrivate::start (arg=0x9245d68) at thread/qthread_unix.cpp:266
#11 0x04c58cc9 in start_thread () from /lib/libpthread.so.0
#12 0x003a769e in clone () from /lib/libc.so.6

Thread 2 (Thread 0xae93ab70 (LWP 1508)):
#0  0x00d7be36 in clock_gettime () from /lib/librt.so.1
#1  0x084a150b in do_gettime () at tools/qelapsedtimer_unix.cpp:105
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:119
#3  0x085786e5 in QTimerInfoList::updateCurrentTime (this=0x947874c) at kernel/qeventdispatcher_unix.cpp:339
#4  0x0857872a in QTimerInfoList::timerWait (this=0x947874c, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0x085767a8 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xae93a0ac) at kernel/qeventdispatcher_glib.cpp:136
#6  0x0857683d in timerSourcePrepare (source=0x0, timeout=0xd7fff4) at kernel/qeventdispatcher_glib.cpp:169
#7  0x05a4de6a in g_main_context_prepare () from /lib/libglib-2.0.so.0
#8  0x05a4e279 in ?? () from /lib/libglib-2.0.so.0
#9  0x05a4e848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#10 0x0857659f in QEventDispatcherGlib::processEvents (this=0x94a77b0, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#11 0x08546609 in QEventLoop::processEvents (this=0xae93a280, flags=) at kernel/qeventloop.cpp:149
#12 0x08546a8a in QEventLoop::exec (this=0xae93a280, flags=...) at kernel/qeventloop.cpp:201
#13 0x08442b7e in QThread::exec (this=0x944e198) at thread/qthread.cpp:490
#14 0x0852535b in QInotifyFileSystemWatcherEngine::run (this=0x944e198) at io/qfilesystemwatcher_inotify.cpp:248
#15 0x08445df9 in QThreadPrivate::start (arg=0x944e198) at thread/qthread_unix.cpp:266
#16 0x04c58cc9 in start_thread () from /lib/libpthread.so.0
#17 0x003a769e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb785b720 (LWP 1506)):
[KCrash Handler]
#7  0x01077ba7 in QString (this=0x8e50048, group=0, state=0) at /usr/include/qt4/QtCore/qstring.h:727
#8  KIconEffect::fingerprint (this=0x8e50048, group=0, state=0) at ../../kdeui/icons/kiconeffect.cpp:169
#9  0x0107bad8 in KIconLoaderPrivate::makeCacheKey (this=0x8e50034, name=..., group=KIconLoader::Desktop, overlays=..., size=24, state=0) at ../../kdeui/icons/kiconloader.cpp:782
#10 0x01083f08 in KIconLoader::loadIcon (this=0x95cd6f8, _name=..., group=KIconLoader::Desktop, size=24, state=0, overlays=..., path_store=0x0, canReturnNull=false) at ../../kdeui/icons/kiconloader.cpp:1226
#11 0x0107a3f6 in KIconEngine::pixmap (this=0x9b63d30, size=..., mode=QIcon::Normal, state=QIcon::Off) at ../../kdeui/icons/kiconengine.cpp:93
#12 0x0651f626 in QIcon::pixmap (this=0x9b21f44, size=..., mode=QIcon::Normal, state=QIcon::Off) at image/qicon.cpp:676
#13 0x00958222 in Plasma::IconWidgetPrivate::decoration (this=0x9b21ea0, option=0x8dfdae8, useHoverEffect=false, usePressedEffect=false) at ../../plasma/widgets/iconwidget.cpp:812
#14 0x0095acb7 in Plasma::IconWidget::paint (this=0x95e4938, painter=0xbf8a6e7c, option=0x8dfdae8, widget=0x0) at ../../plasma/widgets/iconwidget.cpp:1128
#15 0x03a4a19d in SystemTray::DBusSystemTrayWidget::paint (this=0x95e4938, painter=0xbf8a6e7c, option=0x8dfdae8, widget=0x0) at ../../../../../plasma/generic/applets/systemtray/protocols/dbussystemtray/dbussystemtraywidget.cpp:189
#16 0x06b2452c in _q_paintItem (item=<value optimized out>, painter=0xbf8a6e7c, option=0x8dfdae8, widget=0x0, useWindowOpacity=false, painterStateProtection=true) at graphicsview/qgraphicsscene.cpp:4318
#17 0x06b26eaa in _q_paintIntoCache (pix=<value optimized out>, item=<value optimized out>, pixmapExposed=..., itemToPixmap=..., renderHints=..., option=0x8dfdae8, painterStateProtection=<value optimized out>) at graphicsview/qgraphicsscene.cpp:4356
#18 0x06b2e718 in QGraphicsScenePrivate::drawItemHelper (this=0x8dfd998, item=0x95e4940, painter=0xbf8a8b54, option=0x8dfdae8, widget=0x9852380, painterStateProtection=true) at graphicsview/qgraphicsscene.cpp:4654
#19 0x06b327d8 in QGraphicsScenePrivate::draw (this=0x8dfd998, item=0x95e4940, painter=0xbf8a8b54, viewTransform=0xbf8a893c, transformPtr=0xbf8a77b0, exposedRegion=0x96c8a00, widget=0x9852380, opacity=1, effectTransform=0x0, wasDirtyParentSceneTransform=false, drawItem=true) at graphicsview/qgraphicsscene.cpp:4895
#20 0x06b334a3 in QGraphicsScenePrivate::drawSubtreeRecursive (this=0x8dfd998, item=0x95e4940, painter=0xbf8a8b54, viewTransform=0xbf8a893c, exposedRegion=0x96c8a00, widget=0x9852380, parentOpacity=1, effectTransform=0x0) at graphicsview/qgraphicsscene.cpp:4817
#21 0x06b32874 in QGraphicsScenePrivate::draw (this=0x8dfd998, item=0x9136638, painter=0xbf8a8b54, viewTransform=0xbf8a893c, transformPtr=0xbf8a7c20, exposedRegion=0x96c8a00, widget=0x9852380, opacity=1, effectTransform=0x0, wasDirtyParentSceneTransform=false, drawItem=true) at graphicsview/qgraphicsscene.cpp:4909
#22 0x06b334a3 in QGraphicsScenePrivate::drawSubtreeRecursive (this=0x8dfd998, item=0x9136638, painter=0xbf8a8b54, viewTransform=0xbf8a893c, exposedRegion=0x96c8a00, widget=0x9852380, parentOpacity=1, effectTransform=0x0) at graphicsview/qgraphicsscene.cpp:4817
#23 0x06b32874 in QGraphicsScenePrivate::draw (this=0x8dfd998, item=0x9194390, painter=0xbf8a8b54, viewTransform=0xbf8a893c, transformPtr=0xbf8a8090, exposedRegion=0x96c8a00, widget=0x9852380, opacity=1, effectTransform=0x0, wasDirtyParentSceneTransform=false, drawItem=true) at graphicsview/qgraphicsscene.cpp:4909
#24 0x06b334a3 in QGraphicsScenePrivate::drawSubtreeRecursive (this=0x8dfd998, item=0x9194390, painter=0xbf8a8b54, viewTransform=0xbf8a893c, exposedRegion=0x96c8a00, widget=0x9852380, parentOpacity=1, effectTransform=0x0) at graphicsview/qgraphicsscene.cpp:4817
#25 0x06b32874 in QGraphicsScenePrivate::draw (this=0x8dfd998, item=0x9097ad0, painter=0xbf8a8b54, viewTransform=0xbf8a893c, transformPtr=0xbf8a8500, exposedRegion=0x96c8a00, widget=0x9852380, opacity=1, effectTransform=0x0, wasDirtyParentSceneTransform=false, drawItem=true) at graphicsview/qgraphicsscene.cpp:4909
#26 0x06b334a3 in QGraphicsScenePrivate::drawSubtreeRecursive (this=0x8dfd998, item=0x9097ad0, painter=0xbf8a8b54, viewTransform=0xbf8a893c, exposedRegion=0x96c8a00, widget=0x9852380, parentOpacity=1, effectTransform=0x0) at graphicsview/qgraphicsscene.cpp:4817
#27 0x06b33cce in QGraphicsScenePrivate::drawItems (this=0x8dfd998, painter=0xbf8a8b54, viewTransform=0xbf8a893c, exposedRegion=0x96c8a00, widget=0x9852380) at graphicsview/qgraphicsscene.cpp:4699
#28 0x06b5fbb9 in QGraphicsView::paintEvent (this=0x984b610, event=0xbf8a9274) at graphicsview/qgraphicsview.cpp:3467
#29 0x0056e224 in PanelView::paintEvent (this=0x984b610, event=0xbf8a9274) at ../../../../plasma/desktop/shell/panelview.cpp:1494
#30 0x064b8cc6 in QWidget::event (this=0x984b610, event=0xbf8a9274) at kernel/qwidget.cpp:8333
#31 0x068da763 in QFrame::event (this=0x984b610, e=0xbf8a9274) at widgets/qframe.cpp:557
#32 0x06977a82 in QAbstractScrollArea::viewportEvent (this=0x1, e=0x0) at widgets/qabstractscrollarea.cpp:1043
#33 0x06b5bccb in QGraphicsView::viewportEvent (this=0x984b610, event=0xbf8a9274) at graphicsview/qgraphicsview.cpp:2862
#34 0x0697a4d5 in viewportEvent (this=0x95da1d0, o=0x9852380, e=0xbf8a9274) at widgets/qabstractscrollarea_p.h:100
#35 QAbstractScrollAreaFilter::eventFilter (this=0x95da1d0, o=0x9852380, e=0xbf8a9274) at widgets/qabstractscrollarea_p.h:116
#36 0x0854729a in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x8d8e358, receiver=0x9852380, event=0xbf8a9274) at kernel/qcoreapplication.cpp:847
#37 0x0645afb9 in QApplicationPrivate::notify_helper (this=0x8d8e358, receiver=0x9852380, e=0xbf8a9274) at kernel/qapplication.cpp:4392
#38 0x064610e9 in QApplication::notify (this=0x8d83c28, receiver=0x9852380, e=0xbf8a9274) at kernel/qapplication.cpp:4361
#39 0x010df7da in KApplication::notify (this=0x8d83c28, receiver=0x9852380, event=0xbf8a9274) at ../../kdeui/kernel/kapplication.cpp:311
#40 0x08547b3b in QCoreApplication::notifyInternal (this=0x8d83c28, receiver=0x9852380, event=0xbf8a9274) at kernel/qcoreapplication.cpp:732
#41 0x064bfee6 in sendSpontaneousEvent (this=0x97452b8, pdev=0x8e4bce4, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x97e58f0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#42 QWidgetPrivate::drawWidget (this=0x97452b8, pdev=0x8e4bce4, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x97e58f0) at kernel/qwidget.cpp:5420
#43 0x064c0cff in QWidgetPrivate::paintSiblingsRecursive (this=0x96c86b0, pdev=0x8e4bce4, siblings=..., index=3, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x97e58f0) at kernel/qwidget.cpp:5627
#44 0x064bfc35 in QWidgetPrivate::drawWidget (this=0x96c86b0, pdev=0x8e4bce4, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x97e58f0) at kernel/qwidget.cpp:5473
#45 0x066b0c74 in QWidgetBackingStore::sync (this=0x97e58f0) at painting/qbackingstore.cpp:1328
#46 0x064b22b3 in QWidgetPrivate::syncBackingStore (this=0x96c86b0) at kernel/qwidget.cpp:1805
#47 0x064b9466 in QWidget::event (this=0x984b610, event=0x9a248a8) at kernel/qwidget.cpp:8480
#48 0x068da763 in QFrame::event (this=0x984b610, e=0x9a248a8) at widgets/qframe.cpp:557
#49 0x06978487 in QAbstractScrollArea::event (this=0x984b610, e=0x9a248a8) at widgets/qabstractscrollarea.cpp:996
#50 0x06b5dea6 in QGraphicsView::event (this=0x984b610, event=0x9a248a8) at graphicsview/qgraphicsview.cpp:2739
#51 0x0056ed13 in PanelView::event (this=0x984b610, event=0x9a248a8) at ../../../../plasma/desktop/shell/panelview.cpp:1505
#52 0x0645afdc in QApplicationPrivate::notify_helper (this=0x8d8e358, receiver=0x984b610, e=0x9a248a8) at kernel/qapplication.cpp:4396
#53 0x064610e9 in QApplication::notify (this=0x8d83c28, receiver=0x984b610, e=0x9a248a8) at kernel/qapplication.cpp:4361
#54 0x010df7da in KApplication::notify (this=0x8d83c28, receiver=0x984b610, event=0x9a248a8) at ../../kdeui/kernel/kapplication.cpp:311
#55 0x08547b3b in QCoreApplication::notifyInternal (this=0x8d83c28, receiver=0x984b610, event=0x9a248a8) at kernel/qcoreapplication.cpp:732
#56 0x0854ad8b in sendEvent (receiver=0x984b610, event_type=77, data=0x8d560f0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#57 QCoreApplicationPrivate::sendPostedEvents (receiver=0x984b610, event_type=77, data=0x8d560f0) at kernel/qcoreapplication.cpp:1373
#58 0x0854af4d in QCoreApplication::sendPostedEvents (receiver=0x984b610, event_type=77) at kernel/qcoreapplication.cpp:1266
#59 0x06b43c3e in dispatchPendingUpdateRequests (this=0x8dfd998) at ../../include/QtGui/private/../../../src/gui/graphicsview/qgraphicsview_p.h:189
#60 QGraphicsScenePrivate::_q_processDirtyItems (this=0x8dfd998) at graphicsview/qgraphicsscene.cpp:510
#61 0x06b44116 in QGraphicsScene::qt_metacall (this=0x8df6fa8, _c=QMetaObject::InvokeMetaMethod, _id=14, _a=0x99f6f40) at .moc/release-shared/moc_qgraphicsscene.cpp:130
#62 0x00884a4a in Plasma::Corona::qt_metacall (this=0x8df6fa8, _c=QMetaObject::InvokeMetaMethod, _id=18, _a=0x99f6f40) at ./corona.moc:109
#63 0x0055cf7a in DesktopCorona::qt_metacall (this=0x8df6fa8, _c=QMetaObject::InvokeMetaMethod, _id=18, _a=0x99f6f40) at ./desktopcorona.moc:101
#64 0x0854d8ca in QMetaObject::metacall (object=0x8df6fa8, cl=QMetaObject::ReadProperty, idx=18, argv=0x99f6f40) at kernel/qmetaobject.cpp:237
#65 0x08558df6 in QMetaCallEvent::placeMetaCall (this=0x9a17210, object=0x8df6fa8) at kernel/qobject.cpp:534
#66 0x0855a6a2 in QObject::event (this=0x8df6fa8, e=0x0) at kernel/qobject.cpp:1219
#67 0x06b40374 in QGraphicsScene::event (this=0x8df6fa8, event=0x9a17210) at graphicsview/qgraphicsscene.cpp:3548
#68 0x0645afdc in QApplicationPrivate::notify_helper (this=0x8d8e358, receiver=0x8df6fa8, e=0x9a17210) at kernel/qapplication.cpp:4396
#69 0x0646104e in QApplication::notify (this=0x8d83c28, receiver=0x8df6fa8, e=0x9a17210) at kernel/qapplication.cpp:3798
#70 0x010df7da in KApplication::notify (this=0x8d83c28, receiver=0x8df6fa8, event=0x9a17210) at ../../kdeui/kernel/kapplication.cpp:311
#71 0x08547b3b in QCoreApplication::notifyInternal (this=0x8d83c28, receiver=0x8df6fa8, event=0x9a17210) at kernel/qcoreapplication.cpp:732
#72 0x0854ad8b in sendEvent (receiver=0x0, event_type=0, data=0x8d560f0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#73 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8d560f0) at kernel/qcoreapplication.cpp:1373
#74 0x0854af4d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1266
#75 0x08576a74 in sendPostedEvents (s=0x8d8dd48) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#76 postEventSourceDispatch (s=0x8d8dd48) at kernel/qeventdispatcher_glib.cpp:277
#77 0x05a4a855 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#78 0x05a4e668 in ?? () from /lib/libglib-2.0.so.0
#79 0x05a4e848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#80 0x08576565 in QEventDispatcherGlib::processEvents (this=0x8d55ba0, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#81 0x0651cbe5 in QGuiEventDispatcherGlib::processEvents (this=0x8d55ba0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#82 0x08546609 in QEventLoop::processEvents (this=0xbf8aaaf4, flags=) at kernel/qeventloop.cpp:149
#83 0x08546a8a in QEventLoop::exec (this=0xbf8aaaf4, flags=...) at kernel/qeventloop.cpp:201
#84 0x0854b00f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#85 0x06459e07 in QApplication::exec () at kernel/qapplication.cpp:3672
#86 0x00565f97 in kdemain (argc=1, argv=0xbf8aad04) at ../../../../plasma/desktop/shell/main.cpp:118
#87 0x080485bb in main (argc=1, argv=0xbf8aad04) at plasma-desktop_dummy.cpp:3

Possible duplicates by query: bug 268436, bug 268360, bug 268342, bug 268254, bug 268228.

Reported using DrKonqi
Comment 1 Lamarque V. Souza 2011-03-14 22:51:15 UTC
*** Bug 268475 has been marked as a duplicate of this bug. ***
Comment 2 Lamarque V. Souza 2011-03-14 23:09:29 UTC
ark5 is part of your wireless card driver. The crash log you sent has nothing to do with NetworkManagement, it shows a crash in Plasma itself.
Comment 3 Ruszkai Ákos 2011-03-15 01:04:40 UTC
(In reply to comment #2)
> ark5 is part of your wireless card driver. The crash log you sent has nothing
> to do with NetworkManagement, it shows a crash in Plasma itself.

Thank you for the explanation. However, for various reasons (mainly for performance and quality of wireless connection) I've removed and blacklisted the rtl8187 driver shipped by the kernel, and switched to ndiswrapper. I couldn't reproduce the bug since that, thought it's been since only a few hours now. Shall I report, if I can't experience problems with ndiswrapper?
Comment 4 Lamarque V. Souza 2011-03-15 01:33:52 UTC
(In reply to comment #3)
> (In reply to comment #2)
> > ark5 is part of your wireless card driver. The crash log you sent has nothing
> > to do with NetworkManagement, it shows a crash in Plasma itself.
> 
> Thank you for the explanation. However, for various reasons (mainly for
> performance and quality of wireless connection) I've removed and blacklisted
> the rtl8187 driver shipped by the kernel, and switched to ndiswrapper. I
> couldn't reproduce the bug since that, thought it's been since only a few hours
> now. Shall I report, if I can't experience problems with ndiswrapper?

That is strange, ar5k is part of atheros wireless driver. rtl8187 is from Realtek.

It may be that you had a problem with your wireless driver but I have seen that backtrace regarding KIconLoaderPrivate::makeCacheKey in some recent bug reports.   Fixing bugs in cache can be very tricky, they are difficult to reproduce.
Comment 5 Ruszkai Ákos 2011-03-29 09:13:24 UTC
Hello

On a totally different computer, with totally different hardware (no wireless card even!), I've managed to reproduce the bug by doing:

alsa force-reload 

as root.

Backtrace:
http://pastebin.com/Fwm187Qs

The crashreporter window still complains about ar5k, however I have:

02:08.0 Ethernet controller: Intel Corporation 82562EZ 10/100 Ethernet Controller (rev 01)
Comment 6 Lamarque V. Souza 2011-03-29 19:50:32 UTC
That KIconEffect::fingerprint bug is a old bug in KDE, it is not Plasma NM specific, it seems it is a problem in KIconLoader, which is a library that several KDE programs use, including Plasma NM, Amarok, Kopete, the panel, etc.

Unfortunately it is very difficult to reproduce it and even more to diagnostic it. It seems to happen because of a memory corruption that nobody has been able to identify where it happens.

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