[plasmashell] [Bug 398440] plasmashell crashes on wayland in DeclarativeMimeData::DeclarativeMimeData() when dragging a file from dolphin over a panel
https://bugs.kde.org/show_bug.cgi?id=398440 Nate Graham changed: What|Removed |Added Version Fixed In|5.21|5.21.5 -- You are receiving this mail because: You are watching all bug changes.
[plasmashell] [Bug 398440] plasmashell crashes on wayland in DeclarativeMimeData::DeclarativeMimeData() when dragging a file from dolphin over a panel
https://bugs.kde.org/show_bug.cgi?id=398440 David Edmundson changed: What|Removed |Added Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas |ma/plasma-workspace/commit/ |ma/plasma-workspace/commit/ |c19d8de7a7b9dc504c329111b81 |9e986f8c85ad79e75ed43c1af75 |2c943a0bd1ec0 |1ded44afbbc5b --- Comment #45 from David Edmundson --- Git commit 9e986f8c85ad79e75ed43c1af751ded44afbbc5b by David Edmundson, on behalf of Alois Wohlschlager. Committed on 17/04/2021 at 22:18. Pushed by davidedmundson into branch 'Plasma/5.21'. Fix crash on drag-and-drop over panel The fake drag-and-drop events caused by the panel reuse the real event's mimeData, and were handled asynchronously. By the time the fake event has been dispatched from the event loop, the mimeData may already have been freed. Send the fake events synchronously again. A guard is added to avoid the original potential bug of infinite recursion. (cherry picked from commit c19d8de7a7b9dc504c329111b812c943a0bd1ec0) M +56 -46 shell/panelview.cpp M +1-0shell/panelview.h https://invent.kde.org/plasma/plasma-workspace/commit/9e986f8c85ad79e75ed43c1af751ded44afbbc5b -- You are receiving this mail because: You are watching all bug changes.
[plasmashell] [Bug 398440] plasmashell crashes on wayland in DeclarativeMimeData::DeclarativeMimeData() when dragging a file from dolphin over a panel
https://bugs.kde.org/show_bug.cgi?id=398440 David Edmundson changed: What|Removed |Added Status|ASSIGNED|RESOLVED Latest Commit||https://invent.kde.org/plas ||ma/plasma-workspace/commit/ ||c19d8de7a7b9dc504c329111b81 ||2c943a0bd1ec0 Resolution|--- |FIXED --- Comment #44 from David Edmundson --- Git commit c19d8de7a7b9dc504c329111b812c943a0bd1ec0 by David Edmundson, on behalf of Alois Wohlschlager. Committed on 17/04/2021 at 22:17. Pushed by davidedmundson into branch 'master'. Fix crash on drag-and-drop over panel The fake drag-and-drop events caused by the panel reuse the real event's mimeData, and were handled asynchronously. By the time the fake event has been dispatched from the event loop, the mimeData may already have been freed. Send the fake events synchronously again. A guard is added to avoid the original potential bug of infinite recursion. M +56 -46 shell/panelview.cpp M +1-0shell/panelview.h https://invent.kde.org/plasma/plasma-workspace/commit/c19d8de7a7b9dc504c329111b812c943a0bd1ec0 -- You are receiving this mail because: You are watching all bug changes.
[plasmashell] [Bug 398440] plasmashell crashes on wayland in DeclarativeMimeData::DeclarativeMimeData() when dragging a file from dolphin over a panel
https://bugs.kde.org/show_bug.cgi?id=398440 Bug Janitor Service changed: What|Removed |Added Status|REOPENED|ASSIGNED --- Comment #43 from Bug Janitor Service --- A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/793 -- You are receiving this mail because: You are watching all bug changes.
[plasmashell] [Bug 398440] plasmashell crashes on wayland in DeclarativeMimeData::DeclarativeMimeData() when dragging a file from dolphin over a panel
https://bugs.kde.org/show_bug.cgi?id=398440 Alois Wohlschlager changed: What|Removed |Added CC||alo...@gmx-topmail.de --- Comment #42 from Alois Wohlschlager --- I got an interesting variant of the backtrace today, pasting it here: #0 __GI___pthread_sigmask (how=how@entry=1, newmask=, newmask@entry=0x7ffe050704d0, oldmask=oldmask@entry=0x0) at pthread_sigmask.c:44 #1 0x7f313694b76d in __GI___sigprocmask (how=how@entry=1, set=set@entry=0x7ffe050704d0, oset=oset@entry=0x0) at ../sysdeps/unix/sysv/linux/sigprocmask.c:25 #2 0x7f3138392feb in KCrash::setCrashHandler(void (*)(int)) (handler=handler@entry=0x0) at /usr/src/debug/kcrash-5.80.0-1.1.x86_64/src/kcrash.cpp:379 #3 0x7f3138394e8a in KCrash::defaultCrashHandler(int) (sig=11) at /usr/src/debug/kcrash-5.80.0-1.1.x86_64/src/kcrash.cpp:575 #4 0x7f313694b530 in () at /lib64/libc.so.6 #5 DeclarativeMimeData::DeclarativeMimeData(QMimeData const*) (this=0x55b90fd7f7b0, copy=0x55b912b99a70, this=, copy=) at /usr/src/debug/kdeclarative-5.80.0-1.1.x86_64/src/qmlcontrols/draganddrop/DeclarativeMimeData.cpp:40 #6 0x7f3114509081 in DeclarativeDragDropEvent::mimeData() (this=0x7ffe05072c20) at /usr/src/debug/kdeclarative-5.80.0-1.1.x86_64/src/qmlcontrols/draganddrop/DeclarativeDragDropEvent.cpp:52 #7 DeclarativeDragDropEvent::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_a=, _id=, _c=, _o=0x7ffe05072c20) at /usr/src/debug/kdeclarative-5.80.0-1.1.x86_64/build/src/qmlcontrols/draganddrop/draganddropplugin_autogen/EWIEGA46WW/moc_DeclarativeDragDropEvent.cpp:121 #8 DeclarativeDragDropEvent::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=0x7ffe05072c20, _c=, _id=, _a=) at /usr/src/debug/kdeclarative-5.80.0-1.1.x86_64/build/src/qmlcontrols/draganddrop/draganddropplugin_autogen/EWIEGA46WW/moc_DeclarativeDragDropEvent.cpp:93 #9 0x7f3138545071 in QQmlPropertyData::readPropertyWithArgs(QObject*, void**) const (args=0x7ffe05070e90, target=0x7ffe05072c20, this=0x55b913501508) at /usr/src/debug/libqt5-qtdeclarative-5.15.2-3.1.x86_64/include/QtQml/5.15.2/QtQml/private/../../../../../src/qml/qml/qqmlpropertydata_p.h:363 #10 QQmlPropertyData::readProperty(QObject*, void*) const (property=0x7ffe05070e70, target=0x7ffe05072c20, this=0x55b913501508) at /usr/src/debug/libqt5-qtdeclarative-5.15.2-3.1.x86_64/include/QtQml/5.15.2/QtQml/private/../../../../../src/qml/qml/qqmlpropertydata_p.h:357 #11 loadProperty(QV4::ExecutionEngine*, QObject*, QQmlPropertyData const&) (v4=0x55b90d45cf60, object=0x7ffe05072c20, property=...) at /usr/src/debug/libqt5-qtdeclarative-5.15.2-3.1.x86_64/src/qml/jsruntime/qv4qobjectwrapper.cpp:138 #12 0x7f30f095a944 in () #13 0x in () I think #0-#4 can be explained by KCrash interfering, but the corruption starting at #12 might be relevant. -- You are receiving this mail because: You are watching all bug changes.
[plasmashell] [Bug 398440] plasmashell crashes on wayland in DeclarativeMimeData::DeclarativeMimeData() when dragging a file from dolphin over a panel
https://bugs.kde.org/show_bug.cgi?id=398440 Bharadwaj Raju changed: What|Removed |Added CC||bharadwaj.raju777@protonmai ||l.com -- You are receiving this mail because: You are watching all bug changes.
[plasmashell] [Bug 398440] plasmashell crashes on wayland in DeclarativeMimeData::DeclarativeMimeData() when dragging a file from dolphin over a panel
https://bugs.kde.org/show_bug.cgi?id=398440 Abhijeet Viswa changed: What|Removed |Added CC||abhijeetvi...@gmail.com --- Comment #41 from Abhijeet Viswa --- This sill happens on 5.21+Wayland. -- You are receiving this mail because: You are watching all bug changes.
[plasmashell] [Bug 398440] plasmashell crashes on wayland in DeclarativeMimeData::DeclarativeMimeData() when dragging a file from dolphin over a panel
https://bugs.kde.org/show_bug.cgi?id=398440 Ismael Asensio changed: What|Removed |Added CC||isma...@gmail.com --- Comment #40 from Ismael Asensio --- Can confirm on current git master with the same backtrace -- You are receiving this mail because: You are watching all bug changes.
[plasmashell] [Bug 398440] plasmashell crashes on wayland in DeclarativeMimeData::DeclarativeMimeData() when dragging a file from dolphin over a panel
https://bugs.kde.org/show_bug.cgi?id=398440 tue...@rambler.ru changed: What|Removed |Added CC||tue...@rambler.ru -- You are receiving this mail because: You are watching all bug changes.
[plasmashell] [Bug 398440] plasmashell crashes on wayland in DeclarativeMimeData::DeclarativeMimeData() when dragging a file from dolphin over a panel
https://bugs.kde.org/show_bug.cgi?id=398440 --- Comment #39 from Patrick Silva --- Here is a new backtrace generated on neon unstable right now. Application: Plasma (plasmashell), signal: Segmentation fault Content of s_kcrashErrorMessage: [Current thread is 1 (Thread 0x7fea41ac42c0 (LWP 19837))] [New LWP 19882] [New LWP 19929] [New LWP 19930] [New LWP 19931] [New LWP 19932] [New LWP 19975] [New LWP 19991] [New LWP 19994] [New LWP 19996] [New LWP 19997] [New LWP 20004] [New LWP 20011] [New LWP 20057] [New LWP 20060] [New LWP 20069] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". 0x7fea45878aff in __GI___poll (fds=fds@entry=0x7ffe752ce428, nfds=nfds@entry=1, timeout=timeout@entry=1000) at ../sysdeps/unix/sysv/linux/poll.c:29 Thread 16 (Thread 0x7fe9d7ca9700 (LWP 20069)): #0 futex_wait_cancelable (private=, expected=0, futex_word=0x5597bd256400) at ../sysdeps/nptl/futex-internal.h:183 #1 __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5597bd2563b0, cond=0x5597bd2563d8) at pthread_cond_wait.c:508 #2 __pthread_cond_wait (cond=0x5597bd2563d8, mutex=0x5597bd2563b0) at pthread_cond_wait.c:638 #3 0x7fea45c0bd1b in QWaitConditionPrivate::wait(QDeadlineTimer) (deadline=..., this=0x5597bd2563b0) at thread/qwaitcondition_unix.cpp:146 #4 QWaitCondition::wait(QMutex*, QDeadlineTimer) (this=this@entry=0x5597b5273888, mutex=mutex@entry=0x5597b5273880, deadline=...) at thread/qwaitcondition_unix.cpp:225 #5 0x7fea47858814 in QSGRenderThreadEventQueue::takeEvent(bool) (wait=true, this=0x5597b5273878) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qdeadlinetimer.h:68 #6 QSGRenderThread::processEventsAndWaitForMore() (this=this@entry=0x5597b52737e0) at scenegraph/qsgthreadedrenderloop.cpp:936 #7 0x7fea47858c89 in QSGRenderThread::run() (this=0x5597b52737e0) at scenegraph/qsgthreadedrenderloop.cpp:1053 #8 0x7fea45c05bac in QThreadPrivate::start(void*) (arg=0x5597b52737e0) at thread/qthread_unix.cpp:329 #9 0x7fea44c5d609 in start_thread (arg=) at pthread_create.c:477 #10 0x7fea45885293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 15 (Thread 0x7fea0483e700 (LWP 20060)): #0 futex_wait_cancelable (private=, expected=0, futex_word=0x5597ba0f7674) at ../sysdeps/nptl/futex-internal.h:183 #1 __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5597ba0f7620, cond=0x5597ba0f7648) at pthread_cond_wait.c:508 #2 __pthread_cond_wait (cond=0x5597ba0f7648, mutex=0x5597ba0f7620) at pthread_cond_wait.c:638 #3 0x7fea45c0bd1b in QWaitConditionPrivate::wait(QDeadlineTimer) (deadline=..., this=0x5597ba0f7620) at thread/qwaitcondition_unix.cpp:146 #4 QWaitCondition::wait(QMutex*, QDeadlineTimer) (this=this@entry=0x5597bd514008, mutex=mutex@entry=0x5597bd514000, deadline=...) at thread/qwaitcondition_unix.cpp:225 #5 0x7fea47858814 in QSGRenderThreadEventQueue::takeEvent(bool) (wait=true, this=0x5597bd513ff8) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qdeadlinetimer.h:68 #6 QSGRenderThread::processEventsAndWaitForMore() (this=this@entry=0x5597bd513f60) at scenegraph/qsgthreadedrenderloop.cpp:936 #7 0x7fea47858c89 in QSGRenderThread::run() (this=0x5597bd513f60) at scenegraph/qsgthreadedrenderloop.cpp:1053 #8 0x7fea45c05bac in QThreadPrivate::start(void*) (arg=0x5597bd513f60) at thread/qthread_unix.cpp:329 #9 0x7fea44c5d609 in start_thread (arg=) at pthread_create.c:477 #10 0x7fea45885293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 14 (Thread 0x7fea05483700 (LWP 20057)): #0 futex_wait_cancelable (private=, expected=0, futex_word=0x5597b524d640) at ../sysdeps/nptl/futex-internal.h:183 #1 __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5597b524d5f0, cond=0x5597b524d618) at pthread_cond_wait.c:508 #2 __pthread_cond_wait (cond=0x5597b524d618, mutex=0x5597b524d5f0) at pthread_cond_wait.c:638 #3 0x7fea45c0bd1b in QWaitConditionPrivate::wait(QDeadlineTimer) (deadline=..., this=0x5597b524d5f0) at thread/qwaitcondition_unix.cpp:146 #4 QWaitCondition::wait(QMutex*, QDeadlineTimer) (this=this@entry=0x5597b9eec448, mutex=mutex@entry=0x5597b9eec440, deadline=...) at thread/qwaitcondition_unix.cpp:225 #5 0x7fea47858814 in QSGRenderThreadEventQueue::takeEvent(bool) (wait=true, this=0x5597b9eec438) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qdeadlinetimer.h:68 #6 QSGRenderThread::processEventsAndWaitForMore() (this=this@entry=0x5597b9eec3a0) at scenegraph/qsgthreadedrenderloop.cpp:936 #7 0x7fea47858c89 in QSGRenderThread::run() (this=0x5597b9eec3a0) at scenegraph/qsgthreadedrenderloop.cpp:1053 #8 0x7fea45c05bac in QThreadPrivate::start(void*) (arg=0x5597b9eec3a0) at thread/qthread_unix.cpp:329 #9 0x7fea44c5d609 in start_thread (arg=) at pthread_create.c:477 #10 0x7fea45885293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 13 (Thread 0x7fea077c4700 (LWP 20011)): #0 futex_wait_cancelable (privat
[plasmashell] [Bug 398440] plasmashell crashes on wayland in DeclarativeMimeData::DeclarativeMimeData() when dragging a file from dolphin over a panel
https://bugs.kde.org/show_bug.cgi?id=398440 Marco Martin changed: What|Removed |Added CC||notm...@gmail.com --- Comment #38 from Marco Martin --- (In reply to Patrick Silva from comment #29) > Bug persists on neon unstable. > > 1. open Kate and minimize its window > 2. open Dolphin > 3. drag a text file from Dolphin and drop it on Kate still same backtrace? -- You are receiving this mail because: You are watching all bug changes.
[plasmashell] [Bug 398440] plasmashell crashes on wayland in DeclarativeMimeData::DeclarativeMimeData() when dragging a file from dolphin over a panel
https://bugs.kde.org/show_bug.cgi?id=398440 --- Comment #37 from r...@rlit.nl --- Forgot to mention (In reply to r...@rlit.nl from comment #35) > Dragging a text file from Dolphin to a minimized Kate shows a red icon (red > round with a diagonal line) that it is not possible, but it is no longer > crashing and opens the file in Kate. > > The issue as described in https://bugs.kde.org/show_bug.cgi?id=431565 is > still reproducible in Slackware-current on Wayland. Open Thunderbird, open > new message (2 windows), open Dolphin and drag a file to new message window > in the task panel, KDE crashes. Forgot to mention i was using 5.21.2, before 5.21.1 where it was reproducible. -- You are receiving this mail because: You are watching all bug changes.
[plasmashell] [Bug 398440] plasmashell crashes on wayland in DeclarativeMimeData::DeclarativeMimeData() when dragging a file from dolphin over a panel
https://bugs.kde.org/show_bug.cgi?id=398440 --- Comment #36 from Patrick Silva --- Humm, the crash is still reproducible on my neon unstable. Operating System: KDE neon Unstable Edition KDE Plasma Version: 5.21.80 KDE Frameworks Version: 5.80.0 Qt Version: 5.15.2 Graphics Platform: Wayland -- You are receiving this mail because: You are watching all bug changes.
[plasmashell] [Bug 398440] plasmashell crashes on wayland in DeclarativeMimeData::DeclarativeMimeData() when dragging a file from dolphin over a panel
https://bugs.kde.org/show_bug.cgi?id=398440 --- Comment #35 from r...@rlit.nl --- Dragging a text file from Dolphin to a minimized Kate shows a red icon (red round with a diagonal line) that it is not possible, but it is no longer crashing and opens the file in Kate. The issue as described in https://bugs.kde.org/show_bug.cgi?id=431565 is still reproducible in Slackware-current on Wayland. Open Thunderbird, open new message (2 windows), open Dolphin and drag a file to new message window in the task panel, KDE crashes. -- You are receiving this mail because: You are watching all bug changes.
[plasmashell] [Bug 398440] plasmashell crashes on wayland in DeclarativeMimeData::DeclarativeMimeData() when dragging a file from dolphin over a panel
https://bugs.kde.org/show_bug.cgi?id=398440 Nate Graham changed: What|Removed |Added Component|generic-wayland |Panel --- Comment #34 from Nate Graham --- Cannot reproduce on current git master. -- You are receiving this mail because: You are watching all bug changes.
[plasmashell] [Bug 398440] plasmashell crashes on wayland in DeclarativeMimeData::DeclarativeMimeData() when dragging a file from dolphin over a panel
https://bugs.kde.org/show_bug.cgi?id=398440 --- Comment #33 from Alex --- Still occurs in 5.21.1. :/ -- You are receiving this mail because: You are watching all bug changes.
[plasmashell] [Bug 398440] plasmashell crashes on wayland in DeclarativeMimeData::DeclarativeMimeData() when dragging a file from dolphin over a panel
https://bugs.kde.org/show_bug.cgi?id=398440 --- Comment #32 from Alex --- After doing some more testing, I still cannot reproduce this on Plasma 5.21, but in my Neon Unstable VM with Plasma 5.21.80, I could reproduce the issue... -- You are receiving this mail because: You are watching all bug changes.
[plasmashell] [Bug 398440] plasmashell crashes on wayland in DeclarativeMimeData::DeclarativeMimeData() when dragging a file from dolphin over a panel
https://bugs.kde.org/show_bug.cgi?id=398440 --- Comment #31 from r...@rlit.nl --- (In reply to Alex from comment #30) > (In reply to Patrick Silva from comment #29) > > Bug persists on neon unstable. > > > > 1. open Kate and minimize its window > > 2. open Dolphin > > 3. drag a text file from Dolphin and drop it on Kate > > > > Plasma crashes. > > > > Operating System: KDE neon Unstable Edition > > KDE Plasma Version: 5.21.80 > > KDE Frameworks Version: 5.79.0 > > Qt Version: 5.15.2 > > Graphics Platform: Wayland > > I was unable to reproduce this on Plasma 5.21. I might set up a Neon VM and > try to reproduce it there later Or Slackware-current where the KDE Plasma, Frameworks and Qt are currently on the same version as mentioned above and KDE still crashes when dragging to a window in the task manager. -- You are receiving this mail because: You are watching all bug changes.
[plasmashell] [Bug 398440] plasmashell crashes on wayland in DeclarativeMimeData::DeclarativeMimeData() when dragging a file from dolphin over a panel
https://bugs.kde.org/show_bug.cgi?id=398440 --- Comment #30 from Alex --- (In reply to Patrick Silva from comment #29) > Bug persists on neon unstable. > > 1. open Kate and minimize its window > 2. open Dolphin > 3. drag a text file from Dolphin and drop it on Kate > > Plasma crashes. > > Operating System: KDE neon Unstable Edition > KDE Plasma Version: 5.21.80 > KDE Frameworks Version: 5.79.0 > Qt Version: 5.15.2 > Graphics Platform: Wayland I was unable to reproduce this on Plasma 5.21. I might set up a Neon VM and try to reproduce it there later -- You are receiving this mail because: You are watching all bug changes.
[plasmashell] [Bug 398440] plasmashell crashes on wayland in DeclarativeMimeData::DeclarativeMimeData() when dragging a file from dolphin over a panel
https://bugs.kde.org/show_bug.cgi?id=398440 Patrick Silva changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED |--- --- Comment #29 from Patrick Silva --- Bug persists on neon unstable. 1. open Kate and minimize its window 2. open Dolphin 3. drag a text file from Dolphin and drop it on Kate Plasma crashes. Operating System: KDE neon Unstable Edition KDE Plasma Version: 5.21.80 KDE Frameworks Version: 5.79.0 Qt Version: 5.15.2 Graphics Platform: Wayland -- You are receiving this mail because: You are watching all bug changes.
[plasmashell] [Bug 398440] plasmashell crashes on wayland in DeclarativeMimeData::DeclarativeMimeData() when dragging a file from dolphin over a panel
https://bugs.kde.org/show_bug.cgi?id=398440 Nate Graham changed: What|Removed |Added Status|CONFIRMED |RESOLVED Version Fixed In||5.21 Resolution|--- |FIXED --- Comment #28 from Nate Graham --- Awesome. Let's close and re-open if anyone can still experience it. :) -- You are receiving this mail because: You are watching all bug changes.
[plasmashell] [Bug 398440] plasmashell crashes on wayland in DeclarativeMimeData::DeclarativeMimeData() when dragging a file from dolphin over a panel
https://bugs.kde.org/show_bug.cgi?id=398440 Nate Graham changed: What|Removed |Added Summary|plasmashell on wayland in |plasmashell crashes on |DeclarativeMimeData::Declar |wayland in |ativeMimeData() when|DeclarativeMimeData::Declar |dragging a file from|ativeMimeData() when |dolphin over a panel|dragging a file from ||dolphin over a panel -- You are receiving this mail because: You are watching all bug changes.