Bug 423559

Summary: plasmashell segmentation fault in DeclarativeMimeData::DeclarativeMimeData when dragging and dropping a link from Firefox to Konsole
Product: [Plasma] plasmashell Reporter: Matt Fagnani <matt.fagnani>
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED DUPLICATE    
Severity: crash CC: jodr666, plasma-bugs
Priority: NOR Keywords: drkonqi
Version: 5.19.2   
Target Milestone: 1.0   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Matt Fagnani 2020-06-26 20:17:33 UTC
Application: plasmashell (5.19.2)

Qt Version: 5.14.2
Frameworks Version: 5.71.0
Operating System: Linux 5.8.0-0.rc2.20200625git8be3a53e18e0.1.fc33.x86_64 x86_64
Windowing system: Wayland
Distribution: Fedora 33 (KDE Plasma Prerelease)

-- Information about the crash:
- What I was doing when the application crashed:

I was using a Fedora Rawhide KDE Plasma spin installation with Plasma 5.19.2, KF 5.71.0, Qt 5.14.2. I started Plasma on Wayland. I started Konsole 20.04.2 on Wayland. I opened Firefox Nightly 79.0a1 (2020-6-26) on Wayland. I went to youtube. I resized Firefox. I dragged and dropped a link from Firefox to Konsole. A plasmashell segmentation fault in DeclarativeMimeData::DeclarativeMimeData at /usr/src/debug/kf5-kdeclarative-5.71.0-1.fc33.x86_64/src/qmlcontrols/draganddrop/DeclarativeMimeData.cpp:55 in kf5-kdeclarative-5.71.0-1.fc33 happened. The link showed up correctly in Konsole.

- Unusual behavior I noticed:
The task manager bar disappeared from the bottom of the screen and reappeared.

I tried the same procedure a few times, but the crash didn't happen again.

-- Backtrace:
Application: Plasma (plasmashell), signal: Segmentation fault

[KCrash Handler]
#4  0x00007f716ef0fa63 in DeclarativeMimeData::DeclarativeMimeData (this=0x55e8b255ca10, copy=0x55e8b232f970) at /usr/src/debug/kf5-kdeclarative-5.71.0-1.fc33.x86_64/src/qmlcontrols/draganddrop/DeclarativeMimeData.cpp:55
#5  0x00007f716ef0efb0 in DeclarativeDragDropEvent::mimeData (this=0x7ffea00cc8c0) at /usr/include/qt5/QtGui/qevent.h:656
#6  0x00007f716ef09d35 in DeclarativeDragDropEvent::qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _c=<optimized out>, _o=<optimized out>) at /usr/src/debug/kf5-kdeclarative-5.71.0-1.fc33.x86_64/x86_64-redhat-linux-gnu/src/qmlcontrols/draganddrop/draganddropplugin_autogen/EWIEGA46WW/moc_DeclarativeDragDropEvent.cpp:121
#7  DeclarativeDragDropEvent::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/kf5-kdeclarative-5.71.0-1.fc33.x86_64/x86_64-redhat-linux-gnu/src/qmlcontrols/draganddrop/draganddropplugin_autogen/EWIEGA46WW/moc_DeclarativeDragDropEvent.cpp:93
#8  0x00007f71bf06e0b1 in QQmlPropertyData::readPropertyWithArgs (args=0x7ffea00caa10, target=0x7ffea00cc8c0, this=0x55e8b3052c28) at ../../include/QtQml/5.14.2/QtQml/private/../../../../../src/qml/qml/qqmlpropertydata_p.h:274
#9  QQmlPropertyData::readProperty (property=0x7ffea00ca9f0, target=0x7ffea00cc8c0, this=0x55e8b3052c28) at ../../include/QtQml/5.14.2/QtQml/private/../../../../../src/qml/qml/qqmlpropertydata_p.h:268
#10 loadProperty (v4=0x55e8b0f9c1f0, object=0x7ffea00cc8c0, property=...) at jsruntime/qv4qobjectwrapper.cpp:138
#11 0x00007f71bf08c3c1 in QV4::Moth::VME::interpret (frame=0x7ffea00cac10, engine=0x55e8b0f9c1f0, code=0x7f715a6a94ba ":\004:\005\030\b\022>\030\v\246\006\b\001\v\030\b\006b\bL\005\246\a\006") at jsruntime/qv4vme_moth.cpp:638
#12 0x00007f71bf0909c7 in QV4::Moth::VME::exec (frame=frame@entry=0x7ffea00cac10, engine=engine@entry=0x55e8b0f9c1f0) at jsruntime/qv4vme_moth.cpp:463
#13 0x00007f71bf02d53d in QV4::Function::call (this=this@entry=0x55e8b19cb160, thisObject=<optimized out>, argv=argv@entry=0x7f71a9bc2508, argc=<optimized out>, context=<optimized out>) at jsruntime/qv4function.cpp:69
#14 0x00007f71bf194955 in QQmlJavaScriptExpression::evaluate (this=this@entry=0x55e8b19b12b0, callData=callData@entry=0x7f71a9bc24d8, isUndefined=isUndefined@entry=0x0) at ../../include/QtQml/5.14.2/QtQml/private/../../../../../src/qml/jsruntime/qv4value_p.h:343
#15 0x00007f71bf14bf5e in QQmlBoundSignalExpression::evaluate (this=<optimized out>, a=<optimized out>) at ../../include/QtQml/5.14.2/QtQml/private/../../../../../src/qml/jsruntime/qv4jscall_p.h:95
#16 0x00007f71bf14c498 in QQmlBoundSignal_callback (e=0x55e8b19b6fd0, a=0x7ffea00cc890) at ../../include/QtQml/5.14.2/QtQml/private/../../../../../src/qml/qml/qqmlboundsignalexpressionpointer_p.h:69
#17 0x00007f71bf17a5bd in QQmlNotifier::emitNotify (endpoint=<optimized out>, a=0x7ffea00cc890) at qml/qqmlnotifier.cpp:104
#18 0x00007f71bdb92ee2 in doActivate<false> (sender=0x55e8b196de30, signal_index=30, argv=argv@entry=0x7ffea00cc890) at /usr/include/c++/10/bits/atomic_base.h:741
#19 0x00007f71bdb8d7f8 in QMetaObject::activate (sender=sender@entry=0x55e8b196de30, m=m@entry=0x7f716ef17480 <DeclarativeDropArea::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffea00cc890) at kernel/qobject.cpp:3930
#20 0x00007f716ef09663 in DeclarativeDropArea::dragEnter (this=this@entry=0x55e8b196de30, _t1=<optimized out>, _t1@entry=0x7ffea00cc8c0) at /usr/src/debug/kf5-kdeclarative-5.71.0-1.fc33.x86_64/x86_64-redhat-linux-gnu/src/qmlcontrols/draganddrop/draganddropplugin_autogen/EWIEGA46WW/moc_DeclarativeDropArea.cpp:268
#21 0x00007f716ef0f12b in DeclarativeDropArea::dragEnterEvent (this=0x55e8b196de30, event=0x7ffea00ccb00) at /usr/src/debug/kf5-kdeclarative-5.71.0-1.fc33.x86_64/src/qmlcontrols/draganddrop/DeclarativeDropArea.cpp:62
#22 0x00007f71bf5764b8 in QQuickItem::event (this=0x55e8b196de30, ev=0x7ffea00ccb00) at items/qquickitem.cpp:8095
#23 0x00007f71be563063 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55e8b196de30, e=0x7ffea00ccb00) at kernel/qapplication.cpp:3685
#24 0x00007f71bdb63fc0 in QCoreApplication::notifyInternal2 (receiver=0x55e8b196de30, event=0x7ffea00ccb00) at ../../include/QtCore/../../src/corelib/kernel/qobject.h:153
#25 0x00007f71bf593be1 in QQuickWindowPrivate::deliverDragEvent (this=0x55e8b0f82d20, grabber=0x55e8b0f23e20, item=<optimized out>, event=<optimized out>, currentGrabItems=0x0) at items/qquickwindow.cpp:2937
#26 0x00007f71bf593992 in QQuickWindowPrivate::deliverDragEvent (this=0x55e8b0f82d20, grabber=0x55e8b0f23e20, item=0x55e8b19879b0, event=0x7ffea00ccd80, currentGrabItems=0x0) at /usr/include/qt5/QtCore/qlist.h:570
#27 0x00007f71bf593992 in QQuickWindowPrivate::deliverDragEvent (this=0x55e8b0f82d20, grabber=0x55e8b0f23e20, item=0x55e8b194d840, event=0x7ffea00ccef0, currentGrabItems=0x0) at /usr/include/qt5/QtCore/qlist.h:570
#28 0x00007f71bf593992 in QQuickWindowPrivate::deliverDragEvent (this=0x55e8b0f82d20, grabber=0x55e8b0f23e20, item=0x55e8b0fad4d0, event=0x7ffea00cd060, currentGrabItems=0x0) at /usr/include/qt5/QtCore/qlist.h:570
#29 0x00007f71bf593992 in QQuickWindowPrivate::deliverDragEvent (this=0x55e8b0f82d20, grabber=0x55e8b0f23e20, item=0x55e8b1b62360, event=0x7ffea00cd1d0, currentGrabItems=0x0) at /usr/include/qt5/QtCore/qlist.h:570
#30 0x00007f71bf593992 in QQuickWindowPrivate::deliverDragEvent (this=0x55e8b0f82d20, grabber=0x55e8b0f23e20, item=0x55e8b1b53450, event=0x7ffea00cd340, currentGrabItems=0x0) at /usr/include/qt5/QtCore/qlist.h:570
#31 0x00007f71bf593992 in QQuickWindowPrivate::deliverDragEvent (this=0x55e8b0f82d20, grabber=0x55e8b0f23e20, item=0x55e8b187a140, event=0x7ffea00cd4b0, currentGrabItems=0x0) at /usr/include/qt5/QtCore/qlist.h:570
#32 0x00007f71bf593992 in QQuickWindowPrivate::deliverDragEvent (this=0x55e8b0f82d20, grabber=0x55e8b0f23e20, item=0x55e8b10a70a0, event=0x7ffea00cd620, currentGrabItems=0x0) at /usr/include/qt5/QtCore/qlist.h:570
#33 0x00007f71bf593992 in QQuickWindowPrivate::deliverDragEvent (this=0x55e8b0f82d20, grabber=0x55e8b0f23e20, item=0x55e8b182bbd0, event=0x7ffea00cd790, currentGrabItems=0x0) at /usr/include/qt5/QtCore/qlist.h:570
#34 0x00007f71bf593992 in QQuickWindowPrivate::deliverDragEvent (this=0x55e8b0f82d20, grabber=0x55e8b0f23e20, item=0x55e8b182ae10, event=0x7ffea00cd900, currentGrabItems=0x0) at /usr/include/qt5/QtCore/qlist.h:570
#35 0x00007f71bf593992 in QQuickWindowPrivate::deliverDragEvent (this=0x55e8b0f82d20, grabber=0x55e8b0f23e20, item=0x55e8b1811fc0, event=0x7ffea00cdad0, currentGrabItems=0x0) at /usr/include/qt5/QtCore/qlist.h:570
#36 0x00007f71bf594292 in QQuickWindowPrivate::deliverDragEvent (this=this@entry=0x55e8b0f82d20, grabber=0x55e8b0f23e20, event=event@entry=0x55e8b24de290) at items/qquickwindow.cpp:2885
#37 0x00007f71bf594b7a in QQuickWindow::event (this=0x55e8b1254630, e=0x55e8b24de290) at items/qquickwindow.cpp:1721
#38 0x00007f71be563063 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55e8b1254630, e=0x55e8b24de290) at kernel/qapplication.cpp:3685
#39 0x00007f71bdb63fc0 in QCoreApplication::notifyInternal2 (receiver=0x55e8b1254630, event=0x55e8b24de290) at ../../include/QtCore/../../src/corelib/kernel/qobject.h:153
#40 0x00007f71bdb66c47 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x55e8b0ebb000) at kernel/qcoreapplication.cpp:1815
#41 0x00007f71bdbb00a7 in postEventSourceDispatch (s=s@entry=0x55e8b0ed7cc0) at kernel/qeventdispatcher_glib.cpp:277
#42 0x00007f71bc02beaf in g_main_dispatch (context=0x55e8b0eebdf0) at ../glib/gmain.c:3309
#43 g_main_context_dispatch (context=0x55e8b0eebdf0) at ../glib/gmain.c:3974
#44 0x00007f71bc02c238 in g_main_context_iterate (context=context@entry=0x55e8b0eebdf0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4047
#45 0x00007f71bc02c303 in g_main_context_iteration (context=0x55e8b0eebdf0, may_block=may_block@entry=1) at ../glib/gmain.c:4108
#46 0x00007f71bdbafb73 in QEventDispatcherGlib::processEvents (this=0x55e8b0eeafc0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#47 0x00007f71bdb6291b in QEventLoop::exec (this=this@entry=0x7ffea00ce100, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:136
#48 0x00007f71bdb6a5a6 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:118
#49 0x000055e8b06e98db in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/plasma-workspace-5.19.2-1.fc33.x86_64/shell/main.cpp:224
[Inferior 1 (process 4471) detached]

The reporter indicates this bug may be a duplicate of or related to bug 396100, bug 420835.

Possible duplicates by query: bug 396100, bug 355527, bug 353740, bug 350690, bug 348968.

Reported using DrKonqi
Comment 1 Tony 2020-11-12 04:30:36 UTC

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