Bug 361857

Summary: Crash when dragging widget to panel
Product: [Unmaintained] plasma4 Reporter: Sektor van Skijlen <ethouris>
Component: desktopAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED UNMAINTAINED    
Severity: crash    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Sektor van Skijlen 2016-04-16 15:13:16 UTC
NOTE: This was reported this way because the KDE Crash reporter failed to report. After logging in and passed to the final step, it stated the error that I am not logged in. So, below is the paste from the original report.

Application: plasma-desktop (4.11.12)
KDE Platform Version: 4.11.5
Qt Version: 4.8.5
Operating System: Linux 3.12.53-40-desktop x86_64
Distribution: "openSUSE 13.1 (Bottle) (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:
Opened "Add Widgets", selected filter by "monitor", taken "Memory Status - a RAM usage monitor", and dragged it into the panel. A hint appeared for a while. The crash happened when I released the mouse button.

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

Thread 3 (Thread 0x7f115d8d8700 (LWP 3405)):
#0  0x00007f118067e0af in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f11729aa8cb in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7f1172ca8f00 <QTWTF::pageheap_memory>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007f11729aa909 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007f116f2a4754 in ?? () from /usr/X11R6/lib64/libGL.so.1
#4  0x00007f118067a0db in start_thread () from /lib64/libpthread.so.0
#5  0x00007f117f3e0e3d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f114e70e700 (LWP 3429)):
#0  0x00007f117f3d3ecd in read () from /lib64/libc.so.6
#1  0x00007f116f2a373c in ?? () from /usr/X11R6/lib64/libGL.so.1
#2  0x00007f116e0cbbf7 in ?? () from /usr/lib64/tls/libnvidia-tls.so.304.131
#3  0x00007f117c2ec5c0 in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f117c2ad12c in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#5  0x00007f117c2ad59b in ?? () from /usr/lib64/libglib-2.0.so.0
#6  0x00007f117c2ad70c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#7  0x00007f1180a3fd76 in QEventDispatcherGlib::processEvents (this=0x7f10b40008f0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#8  0x00007f1180a11d0f in QEventLoop::processEvents (this=this@entry=0x7f114e70dd60, flags=...) at kernel/qeventloop.cpp:149
#9  0x00007f1180a12005 in QEventLoop::exec (this=this@entry=0x7f114e70dd60, flags=...) at kernel/qeventloop.cpp:204
#10 0x00007f1180910fef in QThread::exec (this=this@entry=0x2d1f500) at thread/qthread.cpp:536
#11 0x00007f11809f3513 in QInotifyFileSystemWatcherEngine::run (this=0x2d1f500) at io/qfilesystemwatcher_inotify.cpp:256
#12 0x00007f118091368f in QThreadPrivate::start (arg=0x2d1f500) at thread/qthread_unix.cpp:338
#13 0x00007f116f2a4754 in ?? () from /usr/X11R6/lib64/libGL.so.1
#14 0x00007f118067a0db in start_thread () from /lib64/libpthread.so.0
#15 0x00007f117f3e0e3d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f1181dcf780 (LWP 3365)):
[KCrash Handler]
#6  0x00007f118012a734 in QGraphicsItem::isEnabled (this=this@entry=0x5538190) at graphicsview/qgraphicsitem.cpp:2483
#7  0x00007f118015add1 in QGraphicsScenePrivate::sendEvent (this=0x1cdfd80, item=0x5538190, event=0x7ffde7e81dc0) at graphicsview/qgraphicsscene.cpp:1213
#8  0x00007f118015b2bf in QGraphicsScenePrivate::sendMouseEvent (this=0x1cdfd80, mouseEvent=0x7ffde7e81dc0) at graphicsview/qgraphicsscene.cpp:1295
#9  0x00007f11801645f6 in QGraphicsScene::mouseMoveEvent (this=<optimized out>, mouseEvent=0x7ffde7e81dc0) at graphicsview/qgraphicsscene.cpp:4102
#10 0x00007f118017046c in QGraphicsScene::event (this=0x1e2a300, event=0x7ffde7e81dc0) at graphicsview/qgraphicsscene.cpp:3451
#11 0x00007f117fb8f8ac in QApplicationPrivate::notify_helper (this=this@entry=0x1cf7230, receiver=receiver@entry=0x1e2a300, e=e@entry=0x7ffde7e81dc0) at kernel/qapplication.cpp:4562
#12 0x00007f117fb95e70 in QApplication::notify (this=this@entry=0x1c5e320, receiver=receiver@entry=0x1e2a300, e=e@entry=0x7ffde7e81dc0) at kernel/qapplication.cpp:4348
#13 0x00007f11817bf18a in KApplication::notify (this=0x1c5e320, receiver=0x1e2a300, event=0x7ffde7e81dc0) at /usr/src/debug/kdelibs-4.11.5/kdeui/kernel/kapplication.cpp:311
#14 0x00007f1180a130ad in QCoreApplication::notifyInternal (this=0x1c5e320, receiver=0x1e2a300, event=event@entry=0x7ffde7e81dc0) at kernel/qcoreapplication.cpp:949
#15 0x00007f117fb8e246 in sendSpontaneousEvent (event=event@entry=0x7ffde7e81dc0, receiver=<optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:234
#16 qt_sendSpontaneousEvent (receiver=<optimized out>, event=event@entry=0x7ffde7e81dc0) at kernel/qapplication.cpp:5560
#17 0x00007f11801856ec in QGraphicsViewPrivate::mouseMoveEventHandler (this=this@entry=0x4b7a020, event=event@entry=0x7ffde7e82410) at graphicsview/qgraphicsview.cpp:646
#18 0x00007f11801865fa in QGraphicsView::mouseMoveEvent (this=0x4cb1610, event=0x7ffde7e82410) at graphicsview/qgraphicsview.cpp:3276
#19 0x00007f117fbdef25 in QWidget::event (this=this@entry=0x4cb1610, event=event@entry=0x7ffde7e82410) at kernel/qwidget.cpp:8361
#20 0x00007f117ff7bbde in QFrame::event (this=0x4cb1610, e=0x7ffde7e82410) at widgets/qframe.cpp:557
#21 0x00007f1180187c49 in QGraphicsView::viewportEvent (this=0x4cb1610, event=0x7ffde7e82410) at graphicsview/qgraphicsview.cpp:2866
#22 0x00007f1180a13216 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=this@entry=0x1cf7230, receiver=receiver@entry=0x4b65fb0, event=event@entry=0x7ffde7e82410) at kernel/qcoreapplication.cpp:1059
#23 0x00007f117fb8f88c in QApplicationPrivate::notify_helper (this=this@entry=0x1cf7230, receiver=receiver@entry=0x4b65fb0, e=e@entry=0x7ffde7e82410) at kernel/qapplication.cpp:4558
#24 0x00007f117fb95fad in QApplication::notify (this=this@entry=0x1c5e320, receiver=receiver@entry=0x4b65fb0, e=e@entry=0x7ffde7e82410) at kernel/qapplication.cpp:4105
#25 0x00007f11817bf18a in KApplication::notify (this=0x1c5e320, receiver=0x4b65fb0, event=0x7ffde7e82410) at /usr/src/debug/kdelibs-4.11.5/kdeui/kernel/kapplication.cpp:311
#26 0x00007f1180a130ad in QCoreApplication::notifyInternal (this=0x1c5e320, receiver=receiver@entry=0x4b65fb0, event=event@entry=0x7ffde7e82410) at kernel/qcoreapplication.cpp:949
#27 0x00007f117fb95763 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:231
#28 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x4b65fb0, event=event@entry=0x7ffde7e82410, alienWidget=alienWidget@entry=0x4b65fb0, nativeWidget=nativeWidget@entry=0x34e5d80, buttonDown=buttonDown@entry=0x7f118066d278 <qt_button_down>, lastMouseReceiver=..., spontaneous=spontaneous@entry=true) at kernel/qapplication.cpp:3173
#29 0x00007f117fc06f7b in QETWidget::translateMouseEvent (this=this@entry=0x34e5d80, event=event@entry=0x7ffde7e82780) at kernel/qapplication_x11.cpp:4528
#30 0x00007f117fc059ec in QApplication::x11ProcessEvent (this=0x1c5e320, event=event@entry=0x7ffde7e82780) at kernel/qapplication_x11.cpp:3651
#31 0x00007f117fc2c882 in x11EventSourceDispatch (s=0x1c63e40, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#32 0x00007f117c2ad316 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#33 0x00007f117c2ad668 in ?? () from /usr/lib64/libglib-2.0.so.0
#34 0x00007f117c2ad70c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#35 0x00007f1180a3fd55 in QEventDispatcherGlib::processEvents (this=0x1c6ea20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#36 0x00007f117fc2c936 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#37 0x00007f1180a11d0f in QEventLoop::processEvents (this=this@entry=0x7ffde7e82b60, flags=...) at kernel/qeventloop.cpp:149
#38 0x00007f1180a12005 in QEventLoop::exec (this=this@entry=0x7ffde7e82b60, flags=...) at kernel/qeventloop.cpp:204
#39 0x00007f1180a1713b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1221
#40 0x00007f117fb8e06c in QApplication::exec () at kernel/qapplication.cpp:3823
#41 0x00007f116a3f0c6c in kdemain (argc=1, argv=0x1b5e6e0) at /usr/src/debug/kde-workspace-4.11.12/plasma/desktop/shell/main.cpp:126
#42 0x000000000040879e in _start ()

Report to https://bugs.kde.org/


Reproducible: Didn't try

Steps to Reproduce:
1. Select Right-click-menu, "Add widget", filter by "monitor"
2. Take "Memory Status" and drag it into the pannel, wait a moment until a visual hint appears
3. Release mouse button to drop.

Actual Results:  
Crash (backtrace attached).
Comment 1 Nate Graham 2018-06-08 18:23:23 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 has already been 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