Bug 457116 - (SEGV) Dolphin crashed in in QMap<Qt::DropAction, QPixmap>::constFind when dragging and dropping a file from Dolphin into Thunderbird
Summary: (SEGV) Dolphin crashed in in QMap<Qt::DropAction, QPixmap>::constFind when dr...
Status: RESOLVED DUPLICATE of bug 470925
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 22.04.3
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords: wayland
Depends on:
Blocks:
 
Reported: 2022-07-25 14:17 UTC by postix
Modified: 2023-08-08 20:40 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description postix 2022-07-25 14:17:16 UTC
SUMMARY

Dragged a file from Dolphin 22.04.3 into Thunderbird's mail composer window to create an attachment, when Dolphin crashed

```
Application: Dolphin (dolphin), signal: Segmentation fault
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = 0x0}
[KCrash Handler]
#6  0x00007f2e9ed24f76 in QMap<Qt::DropAction, QPixmap>::constFind (akey=<optimized out>, this=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qmap.h:852
#7  QDrag::dragCursor (this=0x0, action=action@entry=Qt::IgnoreAction) at kernel/qdrag.cpp:349
#8  0x00007f2e9ed28859 in QBasicDrag::updateCursor (this=this@entry=0x55947634ab90, action=Qt::IgnoreAction) at kernel/qsimpledrag.cpp:307
#9  0x00007f2e9bd252e5 in QtWaylandClient::QWaylandDrag::setResponse (this=this@entry=0x55947634ab90, response=...) at qwaylanddnd.cpp:123
#10 0x00007f2e9bd2171c in operator() (action=Qt::IgnoreAction, accepted=<optimized out>, __closure=<optimized out>) at qwaylanddatadevice.cpp:140
#11 QtPrivate::FunctorCall<QtPrivate::IndexesList<0, 1>, QtPrivate::List<bool, Qt::DropAction>, void, QtWaylandClient::QWaylandDataDevice::startDrag(QMimeData*, Qt::DropActions, QtWaylandClient::QWaylandWindow*)::<lambda(bool, Qt::DropAction)> >::call (arg=<optimized out>, f=...) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:146
#12 QtPrivate::Functor<QtWaylandClient::QWaylandDataDevice::startDrag(QMimeData*, Qt::DropActions, QtWaylandClient::QWaylandWindow*)::<lambda(bool, Qt::DropAction)>, 2>::call<QtPrivate::List<bool, Qt::DropAction>, void> (arg=<optimized out>, f=...) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:256
#13 QtPrivate::QFunctorSlotObject<QtWaylandClient::QWaylandDataDevice::startDrag(QMimeData*, Qt::DropActions, QtWaylandClient::QWaylandWindow*)::<lambda(bool, Qt::DropAction)>, 2, QtPrivate::List<bool, Qt::DropAction>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=<optimized out>, this_=<optimized out>, r=<optimized out>, a=<optimized out>, ret=<optimized out>) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:443
#14 0x00007f2e9e7f5e6f in QtPrivate::QSlotObjectBase::call (a=0x7ffce1e1fd30, r=0x55947636cb50, this=0x55947695fb00) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#15 doActivate<false> (sender=0x559477a42fb0, signal_index=5, argv=0x7ffce1e1fd30) at kernel/qobject.cpp:3886
#16 0x00007f2e9e7ef22f in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7f2e9bdd25e0 <QtWaylandClient::QWaylandDataSource::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7ffce1e1fd30) at kernel/qobject.cpp:3946
#17 0x00007f2e9bd2ea79 in QtWaylandClient::QWaylandDataSource::dndResponseUpdated (this=<optimized out>, _t1=<optimized out>, _t2=<optimized out>) at .moc/moc_qwaylanddatasource_p.cpp:184
#18 0x00007f2e9bd2a241 in QtWayland::wl_data_source::handle_target (data=0x559477a42fc0, object=<optimized out>, mime_type=0x7f2e880074dc "application/x-kde4-urilist") at qwayland-wayland.cpp:697
#19 0x00007f2e9b488532 in ffi_call_unix64 () at ../src/x86/unix64.S:105
#20 0x00007f2e9b485210 in ffi_call_int (cif=<optimized out>, fn=<optimized out>, rvalue=<optimized out>, avalue=<optimized out>, closure=<optimized out>) at ../src/x86/ffi64.c:672
#21 0x00007f2e9bc77a33 in wl_closure_invoke (closure=closure@entry=0x7f2e88007400, target=<optimized out>, target@entry=0x5594769280d0, opcode=opcode@entry=0, data=<optimized out>, flags=1) at ../src/connection.c:1025
#22 0x00007f2e9bc781b3 in dispatch_event (display=0x55947634d780, queue=<optimized out>) at ../src/wayland-client.c:1595
#23 0x00007f2e9bc78374 in dispatch_queue (queue=0x55947634d850, display=0x55947634d780) at ../src/wayland-client.c:1741
#24 wl_display_dispatch_queue_pending (display=0x55947634d780, queue=0x55947634d850) at ../src/wayland-client.c:1983
#25 0x00007f2e9bd028d2 in QtWaylandClient::QWaylandDisplay::flushRequests (this=<optimized out>) at qwaylanddisplay.cpp:253
#26 0x00007f2e9e7ea760 in QObject::event (this=0x559476349960, e=0x7f2e900075b0) at kernel/qobject.cpp:1314
#27 0x00007f2e9f43641e in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x559476349960, e=0x7f2e900075b0) at kernel/qapplication.cpp:3637
#28 0x00007f2e9e7befb8 in QCoreApplication::notifyInternal2 (receiver=0x559476349960, event=0x7f2e900075b0) at kernel/qcoreapplication.cpp:1064
#29 0x00007f2e9e7c1f51 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x559476302ae0) at kernel/qcoreapplication.cpp:1821
#30 0x00007f2e9e816c53 in postEventSourceDispatch (s=0x55947636efa0) at kernel/qeventdispatcher_glib.cpp:277
#31 0x00007f2e9c2d6ea0 in g_main_dispatch (context=0x559476363d70) at ../glib/gmain.c:3417
#32 g_main_context_dispatch (context=0x559476363d70) at ../glib/gmain.c:4135
#33 0x00007f2e9c2d7258 in g_main_context_iterate (context=context@entry=0x559476363d70, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4211
#34 0x00007f2e9c2d72ec in g_main_context_iteration (context=0x559476363d70, may_block=1) at ../glib/gmain.c:4276
#35 0x00007f2e9e816456 in QEventDispatcherGlib::processEvents (this=0x55947636fa00, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#36 0x00007f2e9e7bda2b in QEventLoop::exec (this=this@entry=0x7ffce1e20500, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#37 0x00007f2e9e7c5b96 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#38 0x00007f2e9ecdbe0c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1867
#39 0x00007f2e9f436395 in QApplication::exec () at kernel/qapplication.cpp:2829
#40 0x00005594744f1212 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/dolphin-22.04.3-1.1.x86_64/src/main.cpp:217
```


SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20220719
KDE Plasma Version: 5.25.3
KDE Frameworks Version: 5.96.0
Qt Version: 5.15.5
Kernel Version: 5.18.11-1-default (64-bit)
Graphics Platform: Wayland
Comment 1 postix 2022-07-25 14:18:28 UTC
The stacktrace is similar to the one in bug #449426.
Comment 2 postix 2022-07-25 14:24:36 UTC
Reproducible: always. Thus need to attach the file via the Open File Dialog in Thunderbird.
Comment 3 Andreas Sturmlechner 2023-08-08 20:40:15 UTC
I know this was filed earlier, but filing as duplicate of the bug that contains links to fixes.

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