Bug 244837 - plasma crash when moving mouse on unlocked widget
Summary: plasma crash when moving mouse on unlocked widget
Status: RESOLVED FIXED
Alias: None
Product: plasma4
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
: 253978 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-07-16 10:52 UTC by Dominique Brochard
Modified: 2011-12-10 18:49 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (5.44 KB, text/plain)
2010-08-11 09:45 UTC, Dominique Brochard
Details
New crash information added by DrKonqi (8.64 KB, text/plain)
2011-03-18 20:48 UTC, mire-pc
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dominique Brochard 2010-07-16 10:52:52 UTC
Application: plasma-desktop (0.3)
KDE Platform Version: 4.4.92 (KDE 4.4.92 (KDE 4.5 RC2))
Qt Version: 4.7.0
Operating System: Linux 2.6.35-020635rc1-generic i686
Distribution: Ubuntu 10.04.1 LTS

-- Information about the crash:
- What I was doing when the application crashed:
1 - I unlock widgets (right click "unlock widgets")
2 - I move the mouse above the viewed folder's widget (my Desktop folder). The panel settings of the widget appears.
3 - the plasma crashes with black desktop then come back.
4 - When I move the mouse again above the widget, I have no more panel setting's appear and no more crash of plasma.
5 - I can reproduce that every time by "lock widgets" then "unlock widgets" then move mouse above widget.

The crash can be reproduced every time.

-- Backtrace:
Application: Espace de travail Plasma (plasma-desktop), signal: Segmentation fault
[Current thread is 1 (Thread 0xb337d720 (LWP 1784))]

Thread 2 (Thread 0xaa5b8b70 (LWP 1788)):
#0  0xb6600344 in __pthread_mutex_unlock_usercnt () from /lib/tls/i686/cmov/libpthread.so.0
#1  0xb778cbe6 in pthread_mutex_unlock () from /lib/tls/i686/cmov/libc.so.6
#2  0xb3adf326 in g_main_context_acquire () from /lib/libglib-2.0.so.0
#3  0xb3ae0e5e in ?? () from /lib/libglib-2.0.so.0
#4  0xb3ae14b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0xb67a71cf in QEventDispatcherGlib::processEvents (this=0x9af3490, flags=...) at kernel/qeventdispatcher_glib.cpp:414
#6  0xb6777419 in QEventLoop::processEvents (this=0xaa5b8280, flags=) at kernel/qeventloop.cpp:149
#7  0xb677789a in QEventLoop::exec (this=0xaa5b8280, flags=...) at kernel/qeventloop.cpp:201
#8  0xb6674b5e in QThread::exec (this=0x9b43710) at thread/qthread.cpp:490
#9  0xb675655b in QInotifyFileSystemWatcherEngine::run (this=0x9b43710) at io/qfilesystemwatcher_inotify.cpp:248
#10 0xb6677e39 in QThreadPrivate::start (arg=0x9b43710) at thread/qthread_unix.cpp:266
#11 0xb65fc96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#12 0xb777fa4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb337d720 (LWP 1784)):
[KCrash Handler]
#7  0xb5df43bc in commonEdge (this=0xbf8e917c, fi=5, si=-1) at painting/qpathclipper.cpp:1172
#8  QWingedEdge::addEdge (this=0xbf8e917c, fi=5, si=-1) at painting/qpathclipper.cpp:1232
#9  0xb5dfab03 in QWingedEdge::intersectAndAdd (this=0xbf8e917c) at painting/qpathclipper.cpp:849
#10 0xb5dfb3fb in QWingedEdge (this=0xbf8e917c, subject=..., clip=...) at painting/qpathclipper.cpp:876
#11 0xb5dfb9dc in QPathClipper::clip (this=0xbf8e925c, operation=QPathClipper::BoolOr) at painting/qpathclipper.cpp:1668
#12 0xb5dec024 in QPainterPath::united (this=0xbf8e92ac, p=...) at painting/qpainterpath.cpp:3180
#13 0xb7523c3b in Plasma::AppletHandle::shape (this=0xa146020) at ../../plasma/private/applethandle.cpp:149
#14 0xb631251d in QGraphicsItem::collidesWithPath (this=0xa146028, path=..., mode=Qt::IntersectsItemShape) at graphicsview/qgraphicsitem.cpp:4978
#15 0xb635100c in QGraphicsSceneIndexPrivate::itemCollidesWithPath (item=0xa146028, path=..., mode=Qt::IntersectsItemShape) at graphicsview/qgraphicssceneindex.cpp:247
#16 0xb6353c91 in QGraphicsSceneIndexRectIntersector::intersect (this=0x936c418, item=0xa146028, exposeRect=..., mode=Qt::IntersectsItemShape, deviceTransform=...)
    at graphicsview/qgraphicssceneindex.cpp:114
#17 0xb6351fb7 in QGraphicsSceneIndexPrivate::recursive_items_helper (this=0x95d0620, item=0xa146028, exposeRect=..., intersector=0x936c418, items=0xbf8e9c9c, viewTransform=..., 
    mode=Qt::IntersectsItemShape, parentOpacity=1) at graphicsview/qgraphicssceneindex.cpp:298
#18 0xb63521bd in QGraphicsSceneIndexPrivate::recursive_items_helper (this=0x95d0620, item=0x96576f8, exposeRect=..., intersector=0x936c418, items=0xbf8e9c9c, viewTransform=..., 
    mode=Qt::IntersectsItemShape, parentOpacity=1) at graphicsview/qgraphicssceneindex.cpp:330
#19 0xb6351f34 in QGraphicsSceneIndexPrivate::recursive_items_helper (this=0x95d0620, item=0x9613640, exposeRect=..., intersector=0x936c418, items=0xbf8e9c9c, viewTransform=..., 
    mode=Qt::IntersectsItemShape, parentOpacity=1) at graphicsview/qgraphicssceneindex.cpp:347
#20 0xb6352b86 in QGraphicsSceneIndexPrivate::items_helper (this=0x9428878, rect=..., mode=Qt::IntersectsItemShape, order=Qt::DescendingOrder, deviceTransform=...)
    at graphicsview/qgraphicssceneindex_p.h:159
#21 QGraphicsSceneIndex::items (this=0x9428878, rect=..., mode=Qt::IntersectsItemShape, order=Qt::DescendingOrder, deviceTransform=...) at graphicsview/qgraphicssceneindex.cpp:457
#22 0xb63252bb in QGraphicsScene::items (this=0x9429308, rect=..., mode=Qt::IntersectsItemShape, order=Qt::DescendingOrder, deviceTransform=...) at graphicsview/qgraphicsscene.cpp:2096
#23 0xb632bd05 in QGraphicsScenePrivate::itemsAtPosition (this=0x936f770, screenPos=..., scenePos=..., widget=0x9a5c758) at graphicsview/qgraphicsscene.cpp:1089
#24 0xb632d438 in QGraphicsScenePrivate::dispatchHoverEvent (this=0x936f770, hoverEvent=0xbf8e9cec) at graphicsview/qgraphicsscene.cpp:3866
#25 0xb632d718 in QGraphicsScene::mouseMoveEvent (this=0x9429308, mouseEvent=0xbf8ea274) at graphicsview/qgraphicsscene.cpp:4074
#26 0xb63423bd in QGraphicsScene::event (this=0x9429308, event=0xbf8ea274) at graphicsview/qgraphicsscene.cpp:3431
#27 0xb5c620cc in QApplicationPrivate::notify_helper (this=0x937b528, receiver=0x9429308, e=0xbf8ea274) at kernel/qapplication.cpp:4389
#28 0xb5c6811e in QApplication::notify (this=0x93699e0, receiver=0x9429308, e=0xbf8ea274) at kernel/qapplication.cpp:3791
#29 0xb6da12aa in KApplication::notify (this=0x93699e0, receiver=0x9429308, event=0xbf8ea274) at ../../kdeui/kernel/kapplication.cpp:309
#30 0xb677896b in QCoreApplication::notifyInternal (this=0x93699e0, receiver=0x9429308, event=0xbf8ea274) at kernel/qcoreapplication.cpp:732
#31 0xb5c61c8e in QCoreApplication::sendSpontaneousEvent (receiver=0x9429308, event=0x5) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#32 qt_sendSpontaneousEvent (receiver=0x9429308, event=0x5) at kernel/qapplication.cpp:5380
#33 0xb635f6c2 in QGraphicsViewPrivate::mouseMoveEventHandler (this=0x9e221d8, event=0xbf8eaab0) at graphicsview/qgraphicsview.cpp:647
#34 0xb635f906 in QGraphicsView::mouseMoveEvent (this=0x9c48db0, event=0xbf8eaab0) at graphicsview/qgraphicsview.cpp:3272
#35 0xb5cbfaea in QWidget::event (this=0x9c48db0, event=0xbf8eaab0) at kernel/qwidget.cpp:8142
#36 0xb60dd5e3 in QFrame::event (this=0x9c48db0, e=0xbf8eaab0) at widgets/qframe.cpp:557
#37 0xb617a572 in QAbstractScrollArea::viewportEvent (this=0x3, e=0x5) at widgets/qabstractscrollarea.cpp:1043
#38 0xb635d12b in QGraphicsView::viewportEvent (this=0x9c48db0, event=0xbf8eaab0) at graphicsview/qgraphicsview.cpp:2862
#39 0xb617cfb5 in QAbstractScrollAreaPrivate::viewportEvent (this=0x99d1828, o=0x9a5c758, e=0xbf8eaab0) at widgets/qabstractscrollarea_p.h:100
#40 QAbstractScrollAreaFilter::eventFilter (this=0x99d1828, o=0x9a5c758, e=0xbf8eaab0) at widgets/qabstractscrollarea_p.h:116
#41 0xb67780ca in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x937b528, receiver=0x9a5c758, event=0xbf8eaab0) at kernel/qcoreapplication.cpp:847
#42 0xb5c620a9 in QApplicationPrivate::notify_helper (this=0x937b528, receiver=0x9a5c758, e=0xbf8eaab0) at kernel/qapplication.cpp:4385
#43 0xb5c68ab7 in QApplication::notify (this=0x93699e0, receiver=0x9a5c758, e=0xbf8eaab0) at kernel/qapplication.cpp:3952
#44 0xb6da12aa in KApplication::notify (this=0x93699e0, receiver=0x9a5c758, event=0xbf8eaab0) at ../../kdeui/kernel/kapplication.cpp:309
#45 0xb677896b in QCoreApplication::notifyInternal (this=0x93699e0, receiver=0x9a5c758, event=0xbf8eaab0) at kernel/qcoreapplication.cpp:732
#46 0xb5c67162 in QCoreApplication::sendEvent (receiver=0x9a5c758, event=0xbf8eaab0, alienWidget=0x0, nativeWidget=0x9a5c758, buttonDown=0xb65f4300, lastMouseReceiver=..., spontaneous=true)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#47 QApplicationPrivate::sendMouseEvent (receiver=0x9a5c758, event=0xbf8eaab0, alienWidget=0x0, nativeWidget=0x9a5c758, buttonDown=0xb65f4300, lastMouseReceiver=..., spontaneous=true)
    at kernel/qapplication.cpp:3051
#48 0xb5cf56b8 in QETWidget::translateMouseEvent (this=0x9a5c758, event=0xbf8eafcc) at kernel/qapplication_x11.cpp:4403
#49 0xb5cf4b49 in QApplication::x11ProcessEvent (this=0x93699e0, event=0xbf8eafcc) at kernel/qapplication_x11.cpp:3414
#50 0xb5d23b3a in x11EventSourceDispatch (s=0x937e2b0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#51 0xb3add5e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#52 0xb3ae12d8 in ?? () from /lib/libglib-2.0.so.0
#53 0xb3ae14b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#54 0xb67a7195 in QEventDispatcherGlib::processEvents (this=0x937b1c8, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#55 0xb5d233b5 in QGuiEventDispatcherGlib::processEvents (this=0x937b1c8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#56 0xb6777419 in QEventLoop::processEvents (this=0xbf8eb2c4, flags=) at kernel/qeventloop.cpp:149
#57 0xb677789a in QEventLoop::exec (this=0xbf8eb2c4, flags=...) at kernel/qeventloop.cpp:201
#58 0xb677be4f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#59 0xb5c60ef7 in QApplication::exec () at kernel/qapplication.cpp:3665
#60 0xb7853b4e in kdemain (argc=1, argv=0xbf8eb4d4) at ../../../../plasma/desktop/shell/main.cpp:118
#61 0x0804860b in main (argc=1, argv=0xbf8eb4d4) at plasma-desktop_dummy.cpp:3

Reported using DrKonqi
Comment 1 Aaron J. Seigo 2010-07-17 00:55:34 UTC
The Plasma team can't reproduce this with either Qt 4.6 or Qt 4.7 using today's build. The crash itself looks to be in Qt, though ... can you try to update to a newer Qt snapshot and/or update this report when you install a newer KDE SC to see if the problem resolves itself?
Comment 2 Dominique Brochard 2010-08-11 09:45:46 UTC
Created attachment 49996 [details]
New crash information added by DrKonqi

plasma-desktop (0.3) on KDE Platform 4.5.00 (KDE 4.5.0) using Qt 4.7.0

- What I was doing when the application crashed:
I update KDE this morning :
KDE version : 4.4.92 -> 4.5.0b
Qt version : 4.7.0~beta2-0ubuntu1 -> 4.7.0~beta2-0ubuntu3
and I've the same crash when I move the mouse above the unlock widget.
It's more difficult to have crash (I move several times quickly before crash) but it crashes.
Then, no more panel setting.

-- Backtrace (Reduced):
#7  0xb5d1c3bc in commonEdge (this=0xbf8ddd8c, fi=36, si=-1) at painting/qpathclipper.cpp:1172
#8  QWingedEdge::addEdge (this=0xbf8ddd8c, fi=36, si=-1) at painting/qpathclipper.cpp:1232
#9  0xb5d22b03 in QWingedEdge::intersectAndAdd (this=0xbf8ddd8c) at painting/qpathclipper.cpp:849
#10 0xb5d233fb in QWingedEdge (this=0xbf8ddd8c, subject=..., clip=...) at painting/qpathclipper.cpp:876
#11 0xb5d239dc in QPathClipper::clip (this=0xbf8dde6c, operation=QPathClipper::BoolOr) at painting/qpathclipper.cpp:1668
Comment 3 Dario Andres 2010-11-15 18:42:24 UTC
*** Bug 253978 has been marked as a duplicate of this bug. ***
Comment 4 mire-pc 2011-03-18 20:48:08 UTC
Created attachment 58150 [details]
New crash information added by DrKonqi

plasma-desktop (0.3) on KDE Platform 4.5.1 (KDE 4.5.1) using Qt 4.7.0

- What I was doing when the application crashed:

Pareil, comme dans la description du bogue.

-- Backtrace (Reduced):
#7  0x04094c8c in commonEdge (this=0xbfa496ec, fi=147, si=-1) at painting/qpathclipper.cpp:1154
#8  QWingedEdge::addEdge (this=0xbfa496ec, fi=147, si=-1) at painting/qpathclipper.cpp:1216
#9  0x0409b0d1 in QWingedEdge::intersectAndAdd (this=0xbfa496ec) at painting/qpathclipper.cpp:851
#10 0x0409b9db in QWingedEdge::QWingedEdge (this=0xbfa496ec, subject=..., clip=...) at painting/qpathclipper.cpp:878
#11 0x0409bfbc in QPathClipper::clip (this=0xbfa497cc, operation=QPathClipper::BoolOr) at painting/qpathclipper.cpp:1652
Comment 5 Beat Wolf 2011-12-04 09:40:20 UTC
Can you reproduce this crash with a newer version of kde? the backtrace is too old to be usefull. thank you!
Comment 6 Dominique Brochard 2011-12-10 18:49:14 UTC
Application: plasma-desktop (0.4)
KDE Platform Version: 4.7.3 (KDE 4.7.3)
Qt Version: 4.7.4
Operating System: Linux 3.1.5-030105-generic i686
Distribution: Ubuntu 11.10

I have no more crashes with the new versions of KDE and Qt.
So, I change the status to "RESOLVED".