Bug 416499 - Crash in drag and drop from xwayland to wayland surface
Summary: Crash in drag and drop from xwayland to wayland surface
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-20 15:24 UTC by David Edmundson
Modified: 2020-05-08 15: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 David Edmundson 2020-01-20 15:24:31 UTC
Dragged an image from firefox to desktop


Backtrace

#0  0x00007f73cd0ebf25 in raise () at /usr/lib/libc.so.6
#1  0x00007f73cd0d5897 in abort () at /usr/lib/libc.so.6
#2  0x00007f73cd7f3dc8 in qt_message_fatal(QtMsgType, QMessageLogContext const&, QString const&) (context=..., message=...) at /home/david/projects/qt/src/qtbase/src/corelib/global/qlogging.cpp:1894
#3  0x00007f73cd7f0406 in QMessageLogger::fatal(char const*, ...) const (this=0x7ffdb642f440, msg=0x7f73cdba6d48 "ASSERT: \"%s\" in file %s, line %d") at /home/david/projects/qt/src/qtbase/src/corelib/global/qlogging.cpp:893
#4  0x00007f73cd7e6ba8 in qt_assert(char const*, char const*, int) (assertion=0x55795e542b6d "!(*it).second", file=0x55795e542b7b "/home/david/projects/kde5/src/kde/workspace/kwin/xwl/drag_x.cpp", line=78) at /home/david/projects/qt/src/qtbase/src/corelib/global/qglobal.cpp:3342
#5  0x000055795e526e07 in KWin::Xwl::XToWlDrag::XToWlDrag(KWin::Xwl::X11Source*)::$_0::operator()(unsigned int) const (this=0x55795fed8110, eventTime=286070) at /home/david/projects/kde5/src/kde/workspace/kwin/xwl/drag_x.cpp:78
#6  0x000055795e526cf0 in QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<unsigned int>, void, KWin::Xwl::XToWlDrag::XToWlDrag(KWin::Xwl::X11Source*)::$_0>::call(KWin::Xwl::XToWlDrag::XToWlDrag(KWin::Xwl::X11Source*)::$_0&, void**) (f=..., arg=0x7ffdb642f710) at /opt/qt5/include/QtCore/qobjectdefs_impl.h:146
#7  0x000055795e526cb1 in QtPrivate::Functor<KWin::Xwl::XToWlDrag::XToWlDrag(KWin::Xwl::X11Source*)::$_0, 1>::call<QtPrivate::List<unsigned int>, void>(KWin::Xwl::XToWlDrag::XToWlDrag(KWin::Xwl::X11Source*)::$_0&, void*, void**) (f=..., arg=0x7ffdb642f710) at /opt/qt5/include/QtCore/qobjectdefs_impl.h:256
#8  0x000055795e526c5c in QtPrivate::QFunctorSlotObject<KWin::Xwl::XToWlDrag::XToWlDrag(KWin::Xwl::X11Source*)::$_0, 1, QtPrivate::List<unsigned int>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (which=1, this_=0x55795fed8100, r=0x55795fe02990, a=0x7ffdb642f710, ret=0x0) at /opt/qt5/include/QtCore/qobjectdefs_impl.h:439
#9  0x00007f73cda7d24f in QtPrivate::QSlotObjectBase::call(QObject*, void**) (this=0x55795fed8100, r=0x55795fe02990, a=0x7ffdb642f710) at ../../include/QtCore/../../../../src/qtbase/src/corelib/kernel/qobjectdefs_impl.h:394
#10 0x00007f73cdabeade in doActivate<false>(QObject*, int, void**) (sender=0x55795f865d90, signal_index=3, argv=0x7ffdb642f710) at /home/david/projects/qt/src/qtbase/src/corelib/kernel/qobject.cpp:3870
#11 0x00007f73cdab84bb in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=0x55795f865d90, m=0x55795e5574e8 <KWin::Xwl::Selection::staticMetaObject>, local_signal_index=0, argv=0x7ffdb642f710) at /home/david/projects/qt/src/qtbase/src/corelib/kernel/qobject.cpp:3930
#12 0x000055795e5094a2 in KWin::Xwl::Selection::transferFinished(unsigned int) (this=0x55795f865d90, _t1=286070) at kwin_wayland_autogen/DC6ZQWILS5/moc_selection.cpp:134
#13 0x000055795e530602 in KWin::Xwl::Selection::startTransferToWayland(unsigned int, int)::$_0::operator()() const (this=0x5579600329b0) at /home/david/projects/kde5/src/kde/workspace/kwin/xwl/selection.cpp:303
#14 0x000055795e530596 in QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, KWin::Xwl::Selection::startTransferToWayland(unsigned int, int)::$_0>::call(KWin::Xwl::Selection::startTransferToWayland(unsigned int, int)::$_0&, void**) (f=..., arg=0x7ffdb642f920) at /opt/qt5/include/QtCore/qobjectdefs_impl.h:146
#15 0x000055795e530561 in QtPrivate::Functor<KWin::Xwl::Selection::startTransferToWayland(unsigned int, int)::$_0, 0>::call<QtPrivate::List<>, void>(KWin::Xwl::Selection::startTransferToWayland(unsigned int, int)::$_0&, void*, void**) (f=..., arg=0x7ffdb642f920) at /opt/qt5/include/QtCore/qobjectdefs_impl.h:256
#16 0x000055795e53050c in QtPrivate::QFunctorSlotObject<KWin::Xwl::Selection::startTransferToWayland(unsigned int, int)::$_0, 0, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (which=1, this_=0x5579600329a0, r=0x55795f865d90, a=0x7ffdb642f920, ret=0x0) at /opt/qt5/include/QtCore/qobjectdefs_impl.h:439
#17 0x00007f73cda7d24f in QtPrivate::QSlotObjectBase::call(QObject*, void**) (this=0x5579600329a0, r=0x55795f865d90, a=0x7ffdb642f920) at ../../include/QtCore/../../../../src/qtbase/src/corelib/kernel/qobjectdefs_impl.h:394
#18 0x00007f73cdabeade in doActivate<false>(QObject*, int, void**) (sender=0x5579600216d0, signal_index=3, argv=0x7ffdb642f920) at /home/david/projects/qt/src/qtbase/src/corelib/kernel/qobject.cpp:3870
#19 0x00007f73cdab84bb in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=0x5579600216d0, m=0x55795e557728 <KWin::Xwl::Transfer::staticMetaObject>, local_signal_index=0, argv=0x0) at /home/david/projects/qt/src/qtbase/src/corelib/kernel/qobject.cpp:3930
#20 0x000055795e509f05 in KWin::Xwl::Transfer::finished() (this=0x5579600216d0) at kwin_wayland_autogen/DC6ZQWILS5/moc_transfer.cpp:131
#21 0x000055795e53828e in KWin::Xwl::Transfer::endTransfer() (this=0x5579600216d0) at /home/david/projects/kde5/src/kde/workspace/kwin/xwl/transfer.cpp:87
#22 0x000055795e5399f4 in KWin::Xwl::TransferXtoWl::dataSourceWrite() (this=0x5579600216d0) at /home/david/projects/kde5/src/kde/workspace/kwin/xwl/transfer.cpp:577
#23 0x000055795e53974c in KWin::Xwl::TransferXtoWl::startTransfer() (this=0x5579600216d0) at /home/david/projects/kde5/src/kde/workspace/kwin/xwl/transfer.cpp:392
#24 0x000055795e53954e in KWin::Xwl::TransferXtoWl::handleSelectionNotify(xcb_selection_notify_event_t*) (this=0x5579600216d0, event=0x55795f7d4e30) at /home/david/projects/kde5/src/kde/workspace/kwin/xwl/transfer.cpp:362
#25 0x000055795e52f4f8 in KWin::Xwl::Selection::handleSelectionNotify(xcb_selection_notify_event_t*) (this=0x55795f865d90, event=0x55795f7d4e30) at /home/david/projects/kde5/src/kde/workspace/kwin/xwl/selection.cpp:274
#26 0x000055795e52f3a8 in KWin::Xwl::Selection::filterEvent(xcb_generic_event_t*) (this=0x55795f865d90, event=0x55795f7d4e30) at /home/david/projects/kde5/src/kde/workspace/kwin/xwl/selection.cpp:130
#27 0x000055795e51c342 in KWin::Xwl::DataBridge::filterEvent(xcb_generic_event_t*) (this=0x55795f5d0ab0, event=0x55795f7d4e30) at /home/david/projects/kde5/src/kde/workspace/kwin/xwl/databridge.cpp:100
#28 0x000055795e53de05 in KWin::Xwl::Xwayland::continueStartupWithX()::$_7::operator()() const (this=0x7f73ac0052a0) at /home/david/projects/kde5/src/kde/workspace/kwin/xwl/xwayland.cpp:224
#29 0x000055795e53dd76 in QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, KWin::Xwl::Xwayland::continueStartupWithX()::$_7>::call(KWin::Xwl::Xwayland::continueStartupWithX()::$_7&, void**) (f=..., arg=0x7ffdb642ff90) at /opt/qt5/include/QtCore/qobjectdefs_impl.h:146
#30 0x000055795e53dd41 in QtPrivate::Functor<KWin::Xwl::Xwayland::continueStartupWithX()::$_7, 0>::call<QtPrivate::List<>, void>(KWin::Xwl::Xwayland::continueStartupWithX()::$_7&, void*, void**) (f=..., arg=0x7ffdb642ff90) at /opt/qt5/include/QtCore/qobjectdefs_impl.h:256
#31 0x000055795e53dcec in QtPrivate::QFunctorSlotObject<KWin::Xwl::Xwayland::continueStartupWithX()::$_7, 0, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (which=1, this_=0x7f73ac005290, r=0x55795f7beb40, a=0x7ffdb642ff90, ret=0x0) at /opt/qt5/include/QtCore/qobjectdefs_impl.h:439
#32 0x00007f73cda7d24f in QtPrivate::QSlotObjectBase::call(QObject*, void**) (this=0x7f73ac005290, r=0x55795f7beb40, a=0x7ffdb642ff90) at ../../include/QtCore/../../../../src/qtbase/src/corelib/kernel/qobjectdefs_impl.h:394
#33 0x00007f73cdabeade in doActivate<false>(QObject*, int, void**) (sender=0x55795f5ebc60, signal_index=3, argv=0x7ffdb642ff90) at /home/david/projects/qt/src/qtbase/src/corelib/kernel/qobject.cpp:3870
#34 0x00007f73cdab84bb in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=0x55795f5ebc60, m=0x7f73cde4ccc0 <QSocketNotifier::staticMetaObject>, local_signal_index=0, argv=0x7ffdb642ff90) at /home/david/projects/qt/src/qtbase/src/corelib/kernel/qobject.cpp:3930
#35 0x00007f73cdac733e in QSocketNotifier::activated(int, QSocketNotifier::QPrivateSignal) (this=0x55795f5ebc60, _t1=46, _t2=...) at .moc/moc_qsocketnotifier.cpp:141
#36 0x00007f73cdac70a4 in QSocketNotifier::event(QEvent*) (this=0x55795f5ebc60, e=0x7ffdb64304e0) at /home/david/projects/qt/src/qtbase/src/corelib/kernel/qsocketnotifier.cpp:266
#37 0x00007f73ce86b33f in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=0x55795f469fb0, receiver=0x55795f5ebc60, e=0x7ffdb64304e0) at /home/david/projects/qt/src/qtbase/src/widgets/kernel/qapplication.cpp:3693
#38 0x00007f73ce868693 in QApplication::notify(QObject*, QEvent*) (this=0x7ffdb6430e60, receiver=0x55795f5ebc60, e=0x7ffdb64304e0) at /home/david/projects/qt/src/qtbase/src/widgets/kernel/qapplication.cpp:3033
#39 0x00007f73cda6b2fd in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x55795f5ebc60, event=0x7ffdb64304e0) at /home/david/projects/qt/src/qtbase/src/corelib/kernel/qcoreapplication.cpp:1092
#40 0x00007f73cda6bd0a in QCoreApplication::sendEvent(QObject*, QEvent*) (receiver=0x55795f5ebc60, event=0x7ffdb64304e0) at /home/david/projects/qt/src/qtbase/src/corelib/kernel/qcoreapplication.cpp:1487
#41 0x00007f73cdafa739 in QEventDispatcherUNIXPrivate::activateSocketNotifiers() (this=0x55795f4841b0) at /home/david/projects/qt/src/qtbase/src/corelib/kernel/qeventdispatcher_unix.cpp:304
#42 0x00007f73cdafb55b in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x55795f48c5e0, flags=...) at /home/david/projects/qt/src/qtbase/src/corelib/kernel/qeventdispatcher_unix.cpp:509
#43 0x00007f73c8b0d0c4 in QUnixEventDispatcherQPA::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x55795f48c5e0, flags=...) at /home/david/projects/qt/src/qtbase/src/platformsupport/eventdispatchers/qunixeventdispatcher.cpp:63
#44 0x00007f73cda679e9 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7ffdb6430690, flags=...) at /home/david/projects/qt/src/qtbase/src/corelib/kernel/qeventloop.cpp:138
#45 0x00007f73cda67d23 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7ffdb6430690, flags=...) at /home/david/projects/qt/src/qtbase/src/corelib/kernel/qeventloop.cpp:225
#46 0x00007f73cda6bb5c in QCoreApplication::exec() () at /home/david/projects/qt/src/qtbase/src/corelib/kernel/qcoreapplication.cpp:1400
#47 0x00007f73cdfa39ac in QGuiApplication::exec() () at /home/david/projects/qt/src/qtbase/src/gui/kernel/qguiapplication.cpp:1845
#48 0x00007f73ce867ec9 in QApplication::exec() () at /home/david/projects/qt/src/qtbase/src/widgets/kernel/qapplication.cpp:2833
#49 0x000055795e51062b in main(int, char**) (argc=4, argv=0x7ffdb6431078) at /home/david/projects/kde5/src/kde/workspace/kwin/main_wayland.cpp:676
Comment 1 David Edmundson 2020-04-06 16:22:40 UTC
*** Bug 417936 has been marked as a duplicate of this bug. ***
Comment 2 David Edmundson 2020-05-08 15:40:07 UTC
I fixed this