Bug 379523 - File Drag&Drop from Akregator to Dolphin
Summary: File Drag&Drop from Akregator to Dolphin
Status: RESOLVED FIXED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 16.12.3
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords: drkonqi
: 398518 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-05-04 20:31 UTC by Matthias Heizmann
Modified: 2018-09-13 17:15 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
backtrace (10.72 KB, text/plain)
2017-05-08 21:41 UTC, Matthias Heizmann
Details
Valgrind log (13.16 KB, text/plain)
2017-05-08 21:41 UTC, Matthias Heizmann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Heizmann 2017-05-04 20:31:54 UTC
Application: dolphin (16.12.3)

Qt Version: 5.6.2
Frameworks Version: 5.29.0
Operating System: Linux 4.9.16-gentoo x86_64
Distribution: "NAME=Gentoo"

-- Information about the crash:
I was dragging the URL
http://podcast-mp3.dradio.de/podcast/2017/05/04/wirtschaft_und_gesellschaft_komplette_sendung_dlf_20170504_1705_6936b943.mp3
from Akregator to some local folder in a Dolphin window.
I get a similar crash if I use Konqueror instead of Dolphin.

The crash can be reproduced every time.

-- Backtrace:
Application: Dolphin (dolphin), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f239bf747c0 (LWP 4543))]

Thread 4 (Thread 0x7f2386695700 (LWP 4545)):
#0  0x00007f239b9bb45d in poll () from /lib64/libc.so.6
#1  0x00007f238ffc0882 in _xcb_conn_wait () from /usr/lib64/libxcb.so.1
#2  0x00007f238ffc266f in xcb_wait_for_event () from /usr/lib64/libxcb.so.1
#3  0x00007f23885ce269 in QXcbEventReader::run() () from /usr/lib64/libQt5XcbQpa.so.5
#4  0x00007f23965c9a6c in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5
#5  0x00007f23929ed3b4 in start_thread () from /lib64/libpthread.so.0
#6  0x00007f239b9c455d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f2384cfb700 (LWP 4546)):
#0  0x00007f23908c1b84 in g_mutex_unlock () from /usr/lib64/libglib-2.0.so.0
#1  0x00007f239087bb40 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f239087c5a8 in g_main_context_iterate.isra () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f239087c78c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f23967bc16c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#5  0x00007f239676dc4a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#6  0x00007f23965c52a4 in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#7  0x00007f239c0600e5 in QDBusConnectionManager::run() () from /usr/lib64/libQt5DBus.so.5
#8  0x00007f23965c9a6c in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5
#9  0x00007f23929ed3b4 in start_thread () from /lib64/libpthread.so.0
#10 0x00007f239b9c455d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f237c938700 (LWP 4548)):
#0  0x00007f23908c1b69 in g_mutex_lock () from /usr/lib64/libglib-2.0.so.0
#1  0x00007f239087c57d in g_main_context_iterate.isra () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f239087c78c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f23967bc16c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#4  0x00007f239676dc4a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#5  0x00007f23965c52a4 in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#6  0x00007f23965c9a6c in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5
#7  0x00007f23929ed3b4 in start_thread () from /lib64/libpthread.so.0
#8  0x00007f239b9c455d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f239bf747c0 (LWP 4543)):
[KCrash Handler]
#6  0x00007f2397a4016f in KUrlMimeData::urlsFromMimeData(QMimeData const*, KUrlMimeData::DecodeOptions, QMap<QString, QString>*) () from /usr/lib64/libKF5CoreAddons.so.5
#7  0x00007f239a2a768d in KIO::drop(QDropEvent const*, QUrl const&, QFlags<KIO::JobFlag>) () from /usr/lib64/libKF5KIOWidgets.so.5
#8  0x00007f239b68076e in DragAndDropHelper::dropUrls(QUrl const&, QDropEvent*, QWidget*) () from /usr/lib64/libdolphinprivate.so.5
#9  0x00007f239b6717ce in DolphinView::dropUrls(QUrl const&, QDropEvent*) () from /usr/lib64/libdolphinprivate.so.5
#10 0x00007f239b6793cf in DolphinView::slotItemDropEvent(int, QGraphicsSceneDragDropEvent*) () from /usr/lib64/libdolphinprivate.so.5
#11 0x00007f2396796c22 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5
#12 0x00007f239b69670a in KItemListController::itemDropEvent(int, QGraphicsSceneDragDropEvent*) () from /usr/lib64/libdolphinprivate.so.5
#13 0x00007f239b633936 in KItemListController::dropEvent(QGraphicsSceneDragDropEvent*, QTransform const&) () from /usr/lib64/libdolphinprivate.so.5
#14 0x00007f239b633adc in KItemListController::processEvent(QEvent*, QTransform const&) () from /usr/lib64/libdolphinprivate.so.5
#15 0x00007f239b645f72 in KItemListView::event(QEvent*) () from /usr/lib64/libdolphinprivate.so.5
#16 0x00007f2396fff65c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#17 0x00007f2397003d70 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#18 0x00007f239676f0c0 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#19 0x00007f23973189d4 in QGraphicsScenePrivate::sendEvent(QGraphicsItem*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#20 0x00007f2397318a97 in QGraphicsScenePrivate::sendDragDropEvent(QGraphicsItem*, QGraphicsSceneDragDropEvent*) () from /usr/lib64/libQt5Widgets.so.5
#21 0x00007f2397318b0c in QGraphicsScene::dropEvent(QGraphicsSceneDragDropEvent*) () from /usr/lib64/libQt5Widgets.so.5
#22 0x00007f2397328690 in QGraphicsScene::event(QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#23 0x00007f2396fff65c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#24 0x00007f2397003d70 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#25 0x00007f239676f0c0 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#26 0x00007f239734c2e2 in QGraphicsView::dropEvent(QDropEvent*) () from /usr/lib64/libQt5Widgets.so.5
#27 0x00007f23970456f8 in QWidget::event(QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#28 0x00007f239712c8fe in QFrame::event(QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#29 0x00007f239734badb in QGraphicsView::viewportEvent(QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#30 0x00007f239676ee1d in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#31 0x00007f2396fff635 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#32 0x00007f23970047a0 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#33 0x00007f239676f0c0 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#34 0x00007f2397063baa in QWidgetWindow::handleDropEvent(QDropEvent*) () from /usr/lib64/libQt5Widgets.so.5
#35 0x00007f239706471b in QWidgetWindow::event(QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#36 0x00007f2396fff65c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#37 0x00007f2397003d70 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#38 0x00007f239676f0c0 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#39 0x00007f2396aa2538 in QGuiApplicationPrivate::processDrop(QWindow*, QMimeData const*, QPoint const&, QFlags<Qt::DropAction>) () from /usr/lib64/libQt5Gui.so.5
#40 0x00007f2396a83a49 in QWindowSystemInterface::handleDrop(QWindow*, QMimeData const*, QPoint const&, QFlags<Qt::DropAction>) () from /usr/lib64/libQt5Gui.so.5
#41 0x00007f23885d741a in QXcbDrag::handleDrop(QPlatformWindow*, xcb_client_message_event_t const*) () from /usr/lib64/libQt5XcbQpa.so.5
#42 0x00007f23885e3006 in QXcbWindow::handleClientMessageEvent(xcb_client_message_event_t const*) () from /usr/lib64/libQt5XcbQpa.so.5
#43 0x00007f23885ccc11 in QXcbConnection::handleXcbEvent(xcb_generic_event_t*) () from /usr/lib64/libQt5XcbQpa.so.5
#44 0x00007f23885ce693 in QXcbConnection::processXcbEvents() () from /usr/lib64/libQt5XcbQpa.so.5
#45 0x00007f2396797b2a in QObject::event(QEvent*) () from /usr/lib64/libQt5Core.so.5
#46 0x00007f2396fff65c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#47 0x00007f2397003d70 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#48 0x00007f239676f0c0 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#49 0x00007f2396771323 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/libQt5Core.so.5
#50 0x00007f23967bc0e3 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /usr/lib64/libQt5Core.so.5
#51 0x00007f239087c3fd in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#52 0x00007f239087c6e0 in g_main_context_iterate.isra () from /usr/lib64/libglib-2.0.so.0
#53 0x00007f239087c78c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#54 0x00007f23967bc157 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#55 0x00007f239676dc4a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#56 0x00007f239677583c in QCoreApplication::exec() () from /usr/lib64/libQt5Core.so.5
#57 0x00007f239bcd3e99 in kdemain () from /usr/lib64/libkdeinit5_dolphin.so
#58 0x00007f239b8fd700 in __libc_start_main () from /lib64/libc.so.6
#59 0x0000000000400729 in _start ()

Reported using DrKonqi
Comment 1 Elvis Angelaccio 2017-05-05 08:35:03 UTC
Does it work if you drag the URL from your browser to Dolphin?
Comment 2 Matthias Heizmann 2017-05-07 18:14:44 UTC
Yes. If I drag the URL from Firefox to Dolpin this crash does not happen and the source file is copied to the destination folder as expected.
Comment 3 Elvis Angelaccio 2017-05-07 22:04:32 UTC
Ok, please install the debug symbols for kio and attach a new backtrace. A valgrind log could also help, see https://community.kde.org/Dolphin/FAQ/Crashes
Comment 4 Matthias Heizmann 2017-05-08 21:41:11 UTC
Created attachment 105397 [details]
backtrace
Comment 5 Matthias Heizmann 2017-05-08 21:41:37 UTC
Created attachment 105398 [details]
Valgrind log
Comment 6 Matthias Heizmann 2017-05-08 21:43:49 UTC
I tried and attached both. I am not sure if they contain already the information that you need.

By the way, today I realized that I get a similar crash if I drag&drop files from kdesvn to konsole.
Comment 7 Julian Steinmann 2018-05-18 18:11:57 UTC
Does this crash still happen with a newer version of Dolphin/KIO?
Comment 8 Matthias Heizmann 2018-05-18 19:53:50 UTC
(In reply to Julian Schraner from comment #7)
> Does this crash still happen with a newer version of Dolphin/KIO?

With dolphin kde-apps/17.12.3 and kde-frameworks/kio 5.43.0-r1 the problem is definitely gone.

I usually keep my Gentoo installation updated and I think the crash stopped happening last autumn. I just forgot to report on that.
Comment 9 Julian Steinmann 2018-05-20 12:36:04 UTC
Thanks for the quick response :)
Comment 10 Nate Graham 2018-09-13 17:15:23 UTC
*** Bug 398518 has been marked as a duplicate of this bug. ***