Bug 415067 - Plasma crashes in KIO::DropJob::setApplicationActions() when dragging and dropping something from Chrome to the desktop
Summary: Plasma crashes in KIO::DropJob::setApplicationActions() when dragging and dro...
Status: RESOLVED FIXED
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.79.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: KIO Bugs
URL:
Keywords: drkonqi
: 409846 416030 418320 419363 423330 426068 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-12-11 20:11 UTC by Mikhail Pavlovich Sidorenko (Михаил Павлович Сидоренко)
Modified: 2021-03-02 03:36 UTC (History)
13 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 Mikhail Pavlovich Sidorenko (Михаил Павлович Сидоренко) 2019-12-11 20:11:22 UTC
Application: plasmashell (5.16.5)

Qt Version: 5.12.4
Frameworks Version: 5.62.0
Operating System: Linux 5.3.0-24-generic x86_64
Distribution: Ubuntu 19.10

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

1. Open Google Chrome
2. Select URL from link-tab. For example: github.com/lattera/glibc/blob/master/csu/libc-start.c
3. Drag
4. Press WIN+D (KWin -> Показать рабочий стол (Show desktop?))
5. Drop
6. Click to Создать ссылку (Ctrl+Shift) (Create link (Ctrl+Shift)?)
And Plasma-desktop will reboot.
For debug i installed libglib2.0-dev, libkf5kiocore5, plasma-desktop-dev, plasma-kdevelop

The crash can be reproduced every time.

-- Backtrace:
Application: Plasma (plasmashell), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fd887624880 (LWP 1631))]

Thread 5 (Thread 0x7fd85afa2700 (LWP 1888)):
#0  0x00007fd8898b4c60 in g_mutex_unlock () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fd88986860d in g_main_context_dispatch () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fd889868ad0 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fd889868b73 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fd88b0de6c3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fd88b08563b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fd88aebea75 in QThread::exec() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fd88aebfcc2 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007fd88a342669 in start_thread (arg=<optimized out>) at pthread_create.c:479
#9  0x00007fd88ab44323 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7fd87cd2c700 (LWP 1882)):
#0  0x00007fd88a3492c6 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55f4e5265e38) at ../sysdeps/unix/sysv/linux/futex-internal.h:80
#1  0x00007fd88a3492c6 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55f4e5265de8, cond=0x55f4e5265e10) at pthread_cond_wait.c:508
#2  0x00007fd88a3492c6 in __pthread_cond_wait (cond=0x55f4e5265e10, mutex=0x55f4e5265de8) at pthread_cond_wait.c:638
#3  0x00007fd87d7894bb in  () at /usr/lib/x86_64-linux-gnu/dri/nouveau_dri.so
#4  0x00007fd87d7890db in  () at /usr/lib/x86_64-linux-gnu/dri/nouveau_dri.so
#5  0x00007fd88a342669 in start_thread (arg=<optimized out>) at pthread_create.c:479
#6  0x00007fd88ab44323 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7fd884879700 (LWP 1856)):
#0  0x00007fff361db933 in clock_gettime ()
#1  0x00007fd88ab5212b in __GI___clock_gettime (clock_id=1, tp=0x7fd884878a70) at ../sysdeps/unix/sysv/linux/clock_gettime.c:33
#2  0x00007fd88b0ddf85 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007fd88b0dc82d in QTimerInfoList::updateCurrentTime() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fd88b0dce09 in QTimerInfoList::timerWait(timespec&) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fd88b0de416 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fd889867fbf in g_main_context_prepare () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007fd88986896b in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007fd889868b73 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007fd88b0de6c3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007fd88b08563b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007fd88aebea75 in QThread::exec() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x00007fd88c981319 in  () at /lib/x86_64-linux-gnu/libQt5Qml.so.5
#13 0x00007fd88aebfcc2 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x00007fd88a342669 in start_thread (arg=<optimized out>) at pthread_create.c:479
#15 0x00007fd88ab44323 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7fd8850b7700 (LWP 1743)):
#0  0x00007fd88ab37c2f in __GI___poll (fds=0x7fd878018f70, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fd889868a3e in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fd889868b73 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fd88b0de6c3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fd88b08563b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fd88aebea75 in QThread::exec() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fd88b9a3efa in  () at /lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007fd88aebfcc2 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007fd88a342669 in start_thread (arg=<optimized out>) at pthread_create.c:479
#9  0x00007fd88ab44323 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7fd887624880 (LWP 1631)):
[KCrash Handler]
#6  0x00007fd88a85ed75 in KIO::DropJob::setApplicationActions(QList<QAction*> const&) () at /lib/x86_64-linux-gnu/libKF5KIOWidgets.so.5
#7  0x00007fd87eb97b54 in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/plasma/scriptengines/plasma_appletscript_declarative.so
#8  0x00007fd87eb98da5 in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/plasma/scriptengines/plasma_appletscript_declarative.so
#9  0x00007fd88b0b2468 in QMetaObject::activate(QObject*, int, int, void**) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007fd88971ac4b in KIO::TransferJob::mimetype(KIO::Job*, QString const&) () at /lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#11 0x00007fd88971ae76 in KIO::TransferJob::slotMimetype(QString const&) () at /lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#12 0x00007fd88b0b25c8 in QMetaObject::activate(QObject*, int, int, void**) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#13 0x00007fd8896dd039 in KIO::SlaveInterface::mimeType(QString const&) () at /lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#14 0x00007fd8896df46c in KIO::SlaveInterface::dispatch(int, QByteArray const&) () at /lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#15 0x00007fd8896dd1bf in KIO::SlaveInterface::dispatch() () at /lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#16 0x00007fd8896e6e22 in KIO::Slave::gotInput() () at /lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#17 0x00007fd88b0b25c8 in QMetaObject::activate(QObject*, int, int, void**) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#18 0x00007fd88966070e in  () at /lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#19 0x00007fd88b0b2eba in QObject::event(QEvent*) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#20 0x00007fd88bc22a86 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#21 0x00007fd88bc2be00 in QApplication::notify(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#22 0x00007fd88b086a9a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#23 0x00007fd88b089718 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#24 0x00007fd88b0df0a7 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#25 0x00007fd88986884d in g_main_context_dispatch () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007fd889868ad0 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007fd889868b73 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007fd88b0de6a5 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#29 0x00007fd88b08563b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#30 0x00007fd88b08d3a6 in QCoreApplication::exec() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#31 0x000055f4e375d774 in  ()
#32 0x00007fd88aa491e3 in __libc_start_main (main=0x55f4e375cc20, argc=1, argv=0x7fff360ef018, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff360ef008) at ../csu/libc-start.c:308
#33 0x000055f4e375dbfe in _start ()
[Inferior 1 (process 1631) detached]

Reported using DrKonqi
Comment 1 Patrick Silva 2019-12-12 10:49:09 UTC
it seems related to bug 409466
Comment 2 Nate Graham 2019-12-13 11:15:58 UTC
Can reproduce in Chromium 100%. Cannot reproduce in Firefox.
Comment 3 Tony 2020-11-13 23:42:42 UTC
*** Bug 419363 has been marked as a duplicate of this bug. ***
Comment 4 Nate Graham 2021-02-26 17:54:40 UTC
*** Bug 416030 has been marked as a duplicate of this bug. ***
Comment 5 Nate Graham 2021-02-26 17:54:45 UTC
*** Bug 418320 has been marked as a duplicate of this bug. ***
Comment 6 Nate Graham 2021-02-26 17:55:15 UTC
*** Bug 426068 has been marked as a duplicate of this bug. ***
Comment 7 Nate Graham 2021-02-26 17:55:23 UTC
*** Bug 423330 has been marked as a duplicate of this bug. ***
Comment 8 Nate Graham 2021-02-26 17:55:40 UTC
*** Bug 409846 has been marked as a duplicate of this bug. ***
Comment 9 Ahmad Samir 2021-02-28 22:34:49 UTC
I couldn't reproduce this issue; here is what I tried, in chromium, dragged some file from a random git repo and dropped it on the desktop then selected "link here". I tried with both "folder view" and "desktop containment".
Comment 10 Nate Graham 2021-03-02 03:36:12 UTC
Hmm, I can also no longer reproduce the crash anymore. I notice no duplicates are terribly new. So let's call it fixed!