Bug 237372

Summary: Random crash of plasma workspace on mouse move
Product: [Unmaintained] plasma4 Reporter: Mark van Rossum <mark.vanrossum>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED WORKSFORME    
Severity: crash CC: aseigo, asraniel, jcd
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Mark van Rossum 2010-05-12 13:45:34 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.33.3-85.fc13.i686.PAE i686
Distribution (Platform): Fedora RPMs

-- Information about the crash:
A random crash of plasma.

The crash can be reproduced some of the time.

 -- Backtrace:
Application: Plasma Workspace (plasma-desktop), signal: Segmentation fault
[KCrash Handler]
#6  0x00d0edba in QProcessPrivate::waitForStarted (this=0x9a1f100, msecs=-1) at io/qprocess_unix.cpp:912
#7  0x00cce4af in QProcess::waitForStarted (this=0xbf9bfe94, msecs=-1) at io/qprocess.cpp:1611
#8  0x00cce567 in QProcess::waitForFinished (this=0xbf9bfe94, msecs=-1) at io/qprocess.cpp:1681
#9  0x00cd4cdb in QProcess::execute (program=...) at io/qprocess.cpp:2090
#10 0x06222b2f in KSycocaPrivate::checkDatabase (this=0x9ac8880, ifNotFound=...) at /usr/src/debug/kdelibs-4.4.2/kdecore/sycoca/ksycoca.cpp:431
#11 0x06223563 in KSycoca::findFactory (this=0x9c19bb8, id=KST_KServiceTypeFactory) at /usr/src/debug/kdelibs-4.4.2/kdecore/sycoca/ksycoca.cpp:455
#12 0x06226a8c in KSycocaFactory::KSycocaFactory (this=0xaac2cd8, factory_id=KST_KServiceTypeFactory) at /usr/src/debug/kdelibs-4.4.2/kdecore/sycoca/ksycocafactory.cpp:53
#13 0x061977fb in KServiceTypeFactory::KServiceTypeFactory (this=0xaac2cd8) at /usr/src/debug/kdelibs-4.4.2/kdecore/services/kservicetypefactory.cpp:31
#14 0x06197ddc in self () at /usr/src/debug/kdelibs-4.4.2/kdecore/sycoca/ksycocafactory.h:200
#15 KServiceTypeFactory::self () at /usr/src/debug/kdelibs-4.4.2/kdecore/services/kservicetypefactory.cpp:65
#16 0x06198652 in KServiceTypeProfiles::ensureParsed (this=0x9c19940) at /usr/src/debug/kdelibs-4.4.2/kdecore/services/kservicetypeprofile.cpp:71
#17 0x06199cce in hasProfile (serviceType=...) at /usr/src/debug/kdelibs-4.4.2/kdecore/services/kservicetypeprofile.cpp:50
#18 KServiceTypeProfile::hasProfile (serviceType=...) at /usr/src/debug/kdelibs-4.4.2/kdecore/services/kservicetypeprofile.cpp:172
#19 0x0619bad0 in KServiceTypeTrader::query (this=0x9c19930, serviceType=..., constraint=...) at /usr/src/debug/kdelibs-4.4.2/kdecore/services/kservicetypetrader.cpp:137
#20 0x05bb6405 in Plasma::Applet::listAppletInfoForMimetype (mimetype=...) at /usr/src/debug/kdelibs-4.4.2/plasma/applet.cpp:2093
#21 0x05bdbd12 in Plasma::ContainmentPrivate::dropData (this=0x9cb41e8, scenePos=..., screenPos=..., dropEvent=0x0) at /usr/src/debug/kdelibs-4.4.2/plasma/containment.cpp:1352
#22 0x05bdf0bf in Plasma::ContainmentActions::paste (this=0x9cc4960, scenePos=..., screenPos=...) at /usr/src/debug/kdelibs-4.4.2/plasma/containmentactions.cpp:288
#23 0x01d568e2 in ?? () from /usr/lib/kde4/plasma_containmentactions_paste.so
#24 0x05bd8744 in Plasma::Containment::mouseReleaseEvent (this=0x9cd5840, event=0xbf9c0f6c) at /usr/src/debug/kdelibs-4.4.2/plasma/containment.cpp:603
#25 0x06a41654 in QGraphicsItem::sceneEvent (this=0x9cd5848, event=0xbf9c0f6c) at graphicsview/qgraphicsitem.cpp:6500
#26 0x06a90af8 in QGraphicsWidget::sceneEvent (this=0x9cd5840, event=0xbf9c0f6c) at graphicsview/qgraphicswidget.cpp:1129
#27 0x06a57057 in QGraphicsScenePrivate::sendEvent (this=0x9a95170, item=0x9cd5848, event=0xbf9c0f6c) at graphicsview/qgraphicsscene.cpp:1181
#28 0x06a58c1d in QGraphicsScenePrivate::sendMouseEvent (this=0x9a95170, mouseEvent=0xbf9c0f6c) at graphicsview/qgraphicsscene.cpp:1255
#29 0x06a5ca05 in QGraphicsScene::mouseReleaseEvent (this=0x99812a8, mouseEvent=0xbf9c0f6c) at graphicsview/qgraphicsscene.cpp:4057
#30 0x06a6bb54 in QGraphicsScene::event (this=0x99812a8, event=0xbf9c0f6c) at graphicsview/qgraphicsscene.cpp:3398
#31 0x0641dddc in QApplicationPrivate::notify_helper (this=0x998c050, receiver=0x99812a8, e=0xbf9c0f6c) at kernel/qapplication.cpp:4300
#32 0x06424836 in QApplication::notify (this=0x997c7d0, receiver=0x99812a8, e=0xbf9c0f6c) at kernel/qapplication.cpp:3704
#33 0x06ef3c4b in KApplication::notify (this=0x997c7d0, receiver=0x99812a8, event=0xbf9c0f6c) at /usr/src/debug/kdelibs-4.4.2/kdeui/kernel/kapplication.cpp:302
#34 0x00d32523 in QCoreApplication::notifyInternal (this=0x997c7d0, receiver=0x99812a8, event=0xbf9c0f6c) at kernel/qcoreapplication.cpp:704
#35 0x0641ea1f in sendSpontaneousEvent (receiver=0x99812a8, event=0xbf9c0f6c) at ../../src/corelib/kernel/qcoreapplication.h:218
#36 qt_sendSpontaneousEvent (receiver=0x99812a8, event=0xbf9c0f6c) at kernel/qapplication.cpp:5279
#37 0x06a8a9e7 in QGraphicsView::mouseReleaseEvent (this=0x9cbe018, event=0xbf9c16f0) at graphicsview/qgraphicsview.cpp:3259
#38 0x06470bdd in QWidget::event (this=0x9cbe018, event=0xbf9c16f0) at kernel/qwidget.cpp:7998
#39 0x0683fce4 in QFrame::event (this=0x9cbe018, e=0xbf9c16f0) at widgets/qframe.cpp:557
#40 0x068ce233 in QAbstractScrollArea::viewportEvent (this=0x9cbe018, e=0xbf9c16f0) at widgets/qabstractscrollarea.cpp:1036
#41 0x06a88d43 in QGraphicsView::viewportEvent (this=0x9cbe018, event=0xbf9c16f0) at graphicsview/qgraphicsview.cpp:2787
#42 0x068d06d5 in viewportEvent (this=0x9f2e9e8, o=0x9f30700, e=0xbf9c16f0) at widgets/qabstractscrollarea_p.h:100
#43 QAbstractScrollAreaFilter::eventFilter (this=0x9f2e9e8, o=0x9f30700, e=0xbf9c16f0) at widgets/qabstractscrollarea_p.h:116
#44 0x00d3175a in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x998c050, receiver=0x9f30700, event=0xbf9c16f0) at kernel/qcoreapplication.cpp:819
#45 0x0641ddba in QApplicationPrivate::notify_helper (this=0x998c050, receiver=0x9f30700, e=0xbf9c16f0) at kernel/qapplication.cpp:4296
#46 0x064253de in QApplication::notify (this=0x997c7d0, receiver=0x9f30700, e=0xbf9c16f0) at kernel/qapplication.cpp:3865
#47 0x06ef3c4b in KApplication::notify (this=0x997c7d0, receiver=0x9f30700, event=0xbf9c16f0) at /usr/src/debug/kdelibs-4.4.2/kdeui/kernel/kapplication.cpp:302
#48 0x00d32523 in QCoreApplication::notifyInternal (this=0x997c7d0, receiver=0x9f30700, event=0xbf9c16f0) at kernel/qcoreapplication.cpp:704
#49 0x06424148 in sendEvent (receiver=0x9f30700, event=0xbf9c16f0, alienWidget=0x9f30700, nativeWidget=0x9cbe018, buttonDown=0x6d22b18, lastMouseReceiver=..., spontaneous=true)
    at ../../src/corelib/kernel/qcoreapplication.h:215
#50 QApplicationPrivate::sendMouseEvent (receiver=0x9f30700, event=0xbf9c16f0, alienWidget=0x9f30700, nativeWidget=0x9cbe018, buttonDown=0x6d22b18, lastMouseReceiver=..., spontaneous=true)
    at kernel/qapplication.cpp:2965
#51 0x064a1500 in QETWidget::translateMouseEvent (this=0x9cbe018, event=0xbf9c1c0c) at kernel/qapplication_x11.cpp:4373
#52 0x064a0953 in QApplication::x11ProcessEvent (this=0x997c7d0, event=0xbf9c1c0c) at kernel/qapplication_x11.cpp:3384
#53 0x064cc95a in x11EventSourceDispatch (s=0x998f240, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#54 0x0100b525 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#55 0x0100f268 in ?? () from /lib/libglib-2.0.so.0
#56 0x0100f449 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#57 0x00d5a6a6 in QEventDispatcherGlib::processEvents (this=0x9967958, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#58 0x064cc546 in QGuiEventDispatcherGlib::processEvents (this=0x9967958, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#59 0x00d30bfa in QEventLoop::processEvents (this=0xbf9c1f04, flags=...) at kernel/qeventloop.cpp:149
#60 0x00d30f3a in QEventLoop::exec (this=0xbf9c1f04, flags=...) at kernel/qeventloop.cpp:201
#61 0x00d33607 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#62 0x0641de88 in QApplication::exec () at kernel/qapplication.cpp:3579
#63 0x03cab2a9 in kdemain () from /usr/lib/libkdeinit4_plasma-desktop.so
#64 0x0804879c in _start ()

Reported using DrKonqi
Comment 1 Aaron J. Seigo 2010-05-14 00:48:53 UTC
"The crash can be reproduced some of the time."

how, exactly?

looking at the backtrace: evidently something is being pasted to the desktop with a middle click? and then it looks like ksycoca is exploding when asked for items that match a mimetype and it has to go off and rebuild the database, during QProcess handling. puzzling.
Comment 2 Mark van Rossum 2010-05-14 10:53:23 UTC
I had it happen twice.
One time I was simply moving the mouse out of the window (while pressing a mice button perhaps). I have 'focus follows mouse'.
There might have been a very long string in the paste buffer.

I wish I could narrow down a bit more myself.
Comment 3 Marco Martin 2010-05-22 15:09:46 UTC
*** Bug 238496 has been marked as a duplicate of this bug. ***
Comment 4 Beat Wolf 2011-12-06 10:04:07 UTC
This crash report is against an old kde version. Can you reproduce this bug with a newer version? If yes, please reopen the bug. Thank you