Bug 315303

Summary: Plasma Panel Crash when dragging new widgets
Product: [Unmaintained] plasma4 Reporter: jacobmross
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: crash CC: kde, lozol, thiago.bauermann
Priority: NOR    
Version: 4.10.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description jacobmross 2013-02-17 02:00:56 UTC
Application: plasma-desktop (0.4)
KDE Platform Version: 4.10.00 "release 546"
Qt Version: 4.8.4
Operating System: Linux 3.7.7-24-desktop x86_64
Distribution: "openSUSE 12.2 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed: Attempting to drag various 'app launcher' widgets to the default panel occasionally causes an exception, or hangs with either the "hand" icon or the "not allowed here" (circle with slash) icon.

-- Backtrace:
Application: Plasma Desktop Shell (kdeinit4), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f9eef528780 (LWP 8380))]

Thread 3 (Thread 0x7f9ed1c87700 (LWP 8388)):
#0  0x00007f9eedde68f4 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f9ee2661247 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7f9ee296e640 <QTWTF::pageheap_memory>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007f9ee2661279 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007f9eedde2e0e in start_thread () from /lib64/libpthread.so.0
#4  0x00007f9eecb5c2cd in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f9ebc432700 (LWP 8419)):
#0  0x00007f9eedde92ed in read () from /lib64/libpthread.so.0
#1  0x00007f9ee98dfe3f in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f9ee98a3654 in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f9ee98a3a62 in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f9ee98a3be4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007f9eee1a3136 in QEventDispatcherGlib::processEvents (this=0x7f9eb40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f9eee17394f in QEventLoop::processEvents (this=this@entry=0x7f9ebc431dd0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f9eee173bd8 in QEventLoop::exec (this=0x7f9ebc431dd0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f9eee0760b0 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#9  0x00007f9eee1540bf in QInotifyFileSystemWatcherEngine::run (this=0x16bdbf0) at io/qfilesystemwatcher_inotify.cpp:256
#10 0x00007f9eee07908c in QThreadPrivate::start (arg=0x16bdbf0) at thread/qthread_unix.cpp:338
#11 0x00007f9eedde2e0e in start_thread () from /lib64/libpthread.so.0
#12 0x00007f9eecb5c2cd in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f9eef528780 (LWP 8380)):
[KCrash Handler]
#6  QGraphicsScenePrivate::filterDescendantEvent (this=this@entry=0xdc1a80, item=item@entry=0x6504330, event=event@entry=0x7fff2422bb10) at graphicsview/qgraphicsscene.cpp:1161
#7  0x00007f9eed8e715e in QGraphicsScenePrivate::sendEvent (this=0xdc1a80, item=0x6504330, event=0x7fff2422bb10) at graphicsview/qgraphicsscene.cpp:1211
#8  0x00007f9eed8e7d80 in sendMouseEvent (mouseEvent=0x7fff2422bb10, this=0xdc1a80) at graphicsview/qgraphicsscene.cpp:1295
#9  QGraphicsScenePrivate::sendMouseEvent (this=0xdc1a80, mouseEvent=0x7fff2422bb10) at graphicsview/qgraphicsscene.cpp:1274
#10 0x00007f9eed8e88bc in QGraphicsScene::mouseMoveEvent (this=<optimized out>, mouseEvent=0x7fff2422bb10) at graphicsview/qgraphicsscene.cpp:4102
#11 0x00007f9eed8fb540 in QGraphicsScene::event (this=0xcd8f90, event=0x7fff2422bb10) at graphicsview/qgraphicsscene.cpp:3451
#12 0x00007f9eed30285c in QApplicationPrivate::notify_helper (this=this@entry=0xd33c30, receiver=receiver@entry=0xcd8f90, e=e@entry=0x7fff2422bb10) at kernel/qapplication.cpp:4562
#13 0x00007f9eed306cda in QApplication::notify (this=0xd15d90, receiver=0xcd8f90, e=0x7fff2422bb10) at kernel/qapplication.cpp:4423
#14 0x00007f9eeef16a96 in KApplication::notify (this=0xd15d90, receiver=0xcd8f90, event=0x7fff2422bb10) at /usr/src/debug/kdelibs-4.10.0/kdeui/kernel/kapplication.cpp:311
#15 0x00007f9eee174bfe in QCoreApplication::notifyInternal (this=0xd15d90, receiver=0xcd8f90, event=0x7fff2422bb10) at kernel/qcoreapplication.cpp:946
#16 0x00007f9eed90e8a4 in QGraphicsViewPrivate::mouseMoveEventHandler (this=this@entry=0x72a6e70, event=event@entry=0x7fff2422c540) at graphicsview/qgraphicsview.cpp:646
#17 0x00007f9eed91191e in QGraphicsView::mouseMoveEvent (this=0x6325cb0, event=0x7fff2422c540) at graphicsview/qgraphicsview.cpp:3276
#18 0x00007f9eed35215b in QWidget::event (this=0x6325cb0, event=0x7fff2422c540) at kernel/qwidget.cpp:8360
#19 0x00007f9eed6fcf86 in QFrame::event (this=0x6325cb0, e=0x7fff2422c540) at widgets/qframe.cpp:557
#20 0x00007f9eed914c3b in QGraphicsView::viewportEvent (this=0x6325cb0, event=0x7fff2422c540) at graphicsview/qgraphicsview.cpp:2866
#21 0x00007f9eee174d66 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<optimized out>, receiver=0x47f10d0, event=0x7fff2422c540) at kernel/qcoreapplication.cpp:1056
#22 0x00007f9eed30282c in QApplicationPrivate::notify_helper (this=this@entry=0xd33c30, receiver=receiver@entry=0x47f10d0, e=e@entry=0x7fff2422c540) at kernel/qapplication.cpp:4558
#23 0x00007f9eed30753b in QApplication::notify (this=<optimized out>, receiver=0x47f10d0, e=0x7fff2422c540) at kernel/qapplication.cpp:4105
#24 0x00007f9eeef16a96 in KApplication::notify (this=0xd15d90, receiver=0x47f10d0, event=0x7fff2422c540) at /usr/src/debug/kdelibs-4.10.0/kdeui/kernel/kapplication.cpp:311
#25 0x00007f9eee174bfe in QCoreApplication::notifyInternal (this=0xd15d90, receiver=0x47f10d0, event=0x7fff2422c540) at kernel/qcoreapplication.cpp:946
#26 0x00007f9eed30369b in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:231
#27 QApplicationPrivate::sendMouseEvent (receiver=0x47f10d0, event=0x7fff2422c540, alienWidget=0x47f10d0, nativeWidget=0x7542720, buttonDown=0x7f9eeddd7248 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3173
#28 0x00007f9eed37de54 in QETWidget::translateMouseEvent (this=this@entry=0x7542720, event=event@entry=0x7fff2422ccb0) at kernel/qapplication_x11.cpp:4527
#29 0x00007f9eed37cbe1 in QApplication::x11ProcessEvent (this=0xd15d90, event=0x7fff2422ccb0) at kernel/qapplication_x11.cpp:3650
#30 0x00007f9eed3a2f72 in x11EventSourceDispatch (s=0xd37870, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#31 0x00007f9ee98a37f5 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#32 0x00007f9ee98a3b28 in ?? () from /usr/lib64/libglib-2.0.so.0
#33 0x00007f9ee98a3be4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#34 0x00007f9eee1a3116 in QEventDispatcherGlib::processEvents (this=0xd2f8a0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#35 0x00007f9eed3a2bee in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#36 0x00007f9eee17394f in QEventLoop::processEvents (this=this@entry=0x3b0c550, flags=...) at kernel/qeventloop.cpp:149
#37 0x00007f9eee173bd8 in QEventLoop::exec (this=0x3b0c550, flags=...) at kernel/qeventloop.cpp:204
#38 0x00007f9eed38ace6 in QDragManager::drag (this=0x778b830, o=<optimized out>) at kernel/qdnd_x11.cpp:2028
#39 0x00007f9eed313ce8 in QDrag::exec (this=0x641c100, supportedActions=..., defaultDropAction=Qt::MoveAction) at kernel/qdrag.cpp:284
#40 0x00007f9ecffe10ac in DeclarativeDragArea::mouseMoveEvent (this=0x7434d90, event=<optimized out>) at /usr/src/debug/kde-runtime-4.10.0/plasma/declarativeimports/draganddrop/DeclarativeDragArea.cpp:233
#41 0x00007f9ecffe1179 in DeclarativeDragArea::sceneEventFilter (this=0x7434d90, item=0x73eb600, event=<optimized out>) at /usr/src/debug/kde-runtime-4.10.0/plasma/declarativeimports/draganddrop/DeclarativeDragArea.cpp:245
#42 0x00007f9eed8e1b75 in QGraphicsScenePrivate::filterDescendantEvent (this=this@entry=0xdc1a80, item=item@entry=0x73eb600, event=event@entry=0x7fff2422da80) at graphicsview/qgraphicsscene.cpp:1159
#43 0x00007f9eed8e715e in QGraphicsScenePrivate::sendEvent (this=0xdc1a80, item=0x73eb600, event=0x7fff2422da80) at graphicsview/qgraphicsscene.cpp:1211
#44 0x00007f9eed8e7d80 in sendMouseEvent (mouseEvent=0x7fff2422da80, this=0xdc1a80) at graphicsview/qgraphicsscene.cpp:1295
#45 QGraphicsScenePrivate::sendMouseEvent (this=0xdc1a80, mouseEvent=0x7fff2422da80) at graphicsview/qgraphicsscene.cpp:1274
#46 0x00007f9eed8e88bc in QGraphicsScene::mouseMoveEvent (this=<optimized out>, mouseEvent=0x7fff2422da80) at graphicsview/qgraphicsscene.cpp:4102
#47 0x00007f9eed8fb540 in QGraphicsScene::event (this=0xcd8f90, event=0x7fff2422da80) at graphicsview/qgraphicsscene.cpp:3451
#48 0x00007f9eed30285c in QApplicationPrivate::notify_helper (this=this@entry=0xd33c30, receiver=receiver@entry=0xcd8f90, e=e@entry=0x7fff2422da80) at kernel/qapplication.cpp:4562
#49 0x00007f9eed306cda in QApplication::notify (this=0xd15d90, receiver=0xcd8f90, e=0x7fff2422da80) at kernel/qapplication.cpp:4423
#50 0x00007f9eeef16a96 in KApplication::notify (this=0xd15d90, receiver=0xcd8f90, event=0x7fff2422da80) at /usr/src/debug/kdelibs-4.10.0/kdeui/kernel/kapplication.cpp:311
#51 0x00007f9eee174bfe in QCoreApplication::notifyInternal (this=0xd15d90, receiver=0xcd8f90, event=0x7fff2422da80) at kernel/qcoreapplication.cpp:946
#52 0x00007f9eed90e8a4 in QGraphicsViewPrivate::mouseMoveEventHandler (this=this@entry=0x6767530, event=event@entry=0x7fff2422e4b0) at graphicsview/qgraphicsview.cpp:646
#53 0x00007f9eed91191e in QGraphicsView::mouseMoveEvent (this=0x75ee340, event=0x7fff2422e4b0) at graphicsview/qgraphicsview.cpp:3276
#54 0x00007f9eed35215b in QWidget::event (this=0x75ee340, event=0x7fff2422e4b0) at kernel/qwidget.cpp:8360
#55 0x00007f9eed6fcf86 in QFrame::event (this=0x75ee340, e=0x7fff2422e4b0) at widgets/qframe.cpp:557
#56 0x00007f9eed914c3b in QGraphicsView::viewportEvent (this=0x75ee340, event=0x7fff2422e4b0) at graphicsview/qgraphicsview.cpp:2866
#57 0x00007f9eee174d66 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<optimized out>, receiver=0x47f8360, event=0x7fff2422e4b0) at kernel/qcoreapplication.cpp:1056
#58 0x00007f9eed30282c in QApplicationPrivate::notify_helper (this=this@entry=0xd33c30, receiver=receiver@entry=0x47f8360, e=e@entry=0x7fff2422e4b0) at kernel/qapplication.cpp:4558
#59 0x00007f9eed30753b in QApplication::notify (this=<optimized out>, receiver=0x47f8360, e=0x7fff2422e4b0) at kernel/qapplication.cpp:4105
#60 0x00007f9eeef16a96 in KApplication::notify (this=0xd15d90, receiver=0x47f8360, event=0x7fff2422e4b0) at /usr/src/debug/kdelibs-4.10.0/kdeui/kernel/kapplication.cpp:311
#61 0x00007f9eee174bfe in QCoreApplication::notifyInternal (this=0xd15d90, receiver=0x47f8360, event=0x7fff2422e4b0) at kernel/qcoreapplication.cpp:946
#62 0x00007f9eed30369b in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:231
#63 QApplicationPrivate::sendMouseEvent (receiver=0x47f8360, event=0x7fff2422e4b0, alienWidget=0x47f8360, nativeWidget=0x4b8f450, buttonDown=0x7f9eeddd7248 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3173
#64 0x00007f9eed37de54 in QETWidget::translateMouseEvent (this=this@entry=0x4b8f450, event=event@entry=0x7fff2422ec20) at kernel/qapplication_x11.cpp:4527
#65 0x00007f9eed37cbe1 in QApplication::x11ProcessEvent (this=0xd15d90, event=0x7fff2422ec20) at kernel/qapplication_x11.cpp:3650
#66 0x00007f9eed3a2f72 in x11EventSourceDispatch (s=0xd37870, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#67 0x00007f9ee98a37f5 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#68 0x00007f9ee98a3b28 in ?? () from /usr/lib64/libglib-2.0.so.0
#69 0x00007f9ee98a3be4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#70 0x00007f9eee1a3116 in QEventDispatcherGlib::processEvents (this=0xd2f8a0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#71 0x00007f9eed3a2bee in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#72 0x00007f9eee17394f in QEventLoop::processEvents (this=this@entry=0x7fff2422eff0, flags=...) at kernel/qeventloop.cpp:149
#73 0x00007f9eee173bd8 in QEventLoop::exec (this=0x7fff2422eff0, flags=...) at kernel/qeventloop.cpp:204
#74 0x00007f9eee178878 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#75 0x00007f9edc046701 in kdemain (argc=1, argv=0xcd50a0) at /usr/src/debug/kde-workspace-4.10.0/plasma/desktop/shell/main.cpp:126
#76 0x0000000000408856 in _start ()

This bug may be a duplicate of or related to bug 310523, bug 302931, bug 314016.

Possible duplicates by query: bug 315253, bug 314851, bug 314137, bug 314017, bug 314016.

Reported using DrKonqi
Comment 1 lozol 2013-02-22 13:25:19 UTC
Created attachment 77509 [details]
New crash information added by DrKonqi

plasma-desktop (0.4) on KDE Platform 4.10.00 using Qt 4.8.2

- What I was doing when the application crashed:
Adding file menu widget

- Unusual behavior I noticed:
When I tried to move the widget to the panel the mouse freesed ande didn't move until I pressed ESC. I've tryed twice whith the same result and than plasma crashed.

-- Backtrace (Reduced):
#7  QGraphicsScenePrivate::filterDescendantEvent (this=0x9a889e0, item=0xb8f1108, event=0xbfa72f64) at graphicsview/qgraphicsscene.cpp:1161
#8  0x093cd894 in QGraphicsScenePrivate::sendEvent (this=0x9a889e0, item=0xb8f1108, event=0xbfa72f64) at graphicsview/qgraphicsscene.cpp:1211
#9  0x093ce533 in QGraphicsScenePrivate::sendMouseEvent (this=0x9a889e0, mouseEvent=0xbfa72f64) at graphicsview/qgraphicsscene.cpp:1295
#10 0x093cf0f3 in QGraphicsScene::mouseMoveEvent (this=0x99326d8, mouseEvent=0xbfa72f64) at graphicsview/qgraphicsscene.cpp:4102
#11 0x093dd9b7 in QGraphicsScene::event (this=0x99326d8, event=0xbfa72f64) at graphicsview/qgraphicsscene.cpp:3451
Comment 2 Thiago Jung Bauermann 2013-06-17 13:50:16 UTC
I just had a crash on Kubuntu 12.04.2 / KDE 4.10.2 with a backtrace very similar to this one, except that mine has a call to sendSpontaneousEvent and the backtrace here doesn't.

It's filed under bug 308222, the bugs could be related.
Comment 3 Martin Brook 2013-11-25 11:35:28 UTC
*** Bug 328054 has been marked as a duplicate of this bug. ***
Comment 4 Nate Graham 2018-06-08 19:07:50 UTC
Hello!

This bug report was filed for KDE Plasma 4, which reached end-of-support status in August 2015. KDE Plasma 5's desktop shell has been almost completely rewritten for better performance and usability, so it is likely that this bug is already resolved in Plasma 5.

Accordingly, we hope you understand why we must close this bug report. If the issue described  here is still present in KDE Plasma 5.12 or later, please feel free to open a new ticket in the "plasmashell" product after reading https://community.kde.org/Get_Involved/Bug_Reporting

If you would like to get involved in KDE's bug triaging effort so that future mass bug closes like this are less likely, please read https://community.kde.org/Get_Involved#Bug_Triaging

Thanks for your understanding!

Nate Graham