Bug 362459 - Dolphin crashes when moving file to trash
Summary: Dolphin crashes when moving file to trash
Status: RESOLVED DUPLICATE of bug 335111
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 16.12.2
Platform: Arch Linux Linux
: NOR grave
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-29 07:45 UTC by thomas
Modified: 2016-11-01 09:10 UTC (History)
4 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 thomas 2016-04-29 07:45:40 UTC
Any time I move a file to trash, dolphin crashes. Doesn't matter if I use right  mouse click menu or delete button. Dophine consistently crashes and the file remains in its original location (nothing is moved to trash).

Reproducible: Always

Steps to Reproduce:
1. Open dolphin
2. Move file to trash
3. Crash

Actual Results:  
Dolphin crashes, file remains in place

Expected Results:  
Move file to trash

Application: dolphin (16.04.0)

Qt Version: 5.6.0
Frameworks Version: 5.21.0
Operating System: Linux 4.5.1-1-t460s x86_64
Distribution (Platform): Archlinux Packages

-- Information about the crash:
<In detail, tell us what you were doing  when the application crashed.>

The crash can be reproduced every time.

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

Thread 4 (Thread 0x7ff99aaa8700 (LWP 10461)):
#0  0x00007ff9b2194c3d in poll () from /usr/lib/libc.so.6
#1  0x00007ff9a4cddae2 in ?? () from /usr/lib/libxcb.so.1
#2  0x00007ff9a4cdf757 in xcb_wait_for_event () from /usr/lib/libxcb.so.1
#3  0x00007ff99c3caa99 in ?? () from /usr/lib/libQt5XcbQpa.so.5
#4  0x00007ff9ac0b8de8 in ?? () from /usr/lib/libQt5Core.so.5
#5  0x00007ff9a7941424 in start_thread () from /usr/lib/libpthread.so.0
#6  0x00007ff9b219dcbd in clone () from /usr/lib/libc.so.6

Thread 3 (Thread 0x7ff998f1d700 (LWP 10462)):
#0  0x00007ff9b2194c3d in poll () from /usr/lib/libc.so.6
#1  0x00007ff9a6db60fc in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007ff9a6db620c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007ff9ac2e1cab in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#4  0x00007ff9ac28a6fa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#5  0x00007ff9ac0b3fe4 in QThread::exec() () from /usr/lib/libQt5Core.so.5
#6  0x00007ff9ac6eda55 in ?? () from /usr/lib/libQt5DBus.so.5
#7  0x00007ff9ac0b8de8 in ?? () from /usr/lib/libQt5Core.so.5
#8  0x00007ff9a7941424 in start_thread () from /usr/lib/libpthread.so.0
#9  0x00007ff9b219dcbd in clone () from /usr/lib/libc.so.6

Thread 2 (Thread 0x7ff990b27700 (LWP 10463)):
#0  0x00007ff9b2194c3d in poll () from /usr/lib/libc.so.6
#1  0x00007ff9a6db60fc in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007ff9a6db620c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007ff9ac2e1cab in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#4  0x00007ff9ac28a6fa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#5  0x00007ff9ac0b3fe4 in QThread::exec() () from /usr/lib/libQt5Core.so.5
#6  0x00007ff9ac0b8de8 in ?? () from /usr/lib/libQt5Core.so.5
#7  0x00007ff9a7941424 in start_thread () from /usr/lib/libpthread.so.0
#8  0x00007ff9b219dcbd in clone () from /usr/lib/libc.so.6

Thread 1 (Thread 0x7ff9b283e800 (LWP 10460)):
[KCrash Handler]
#5  0x00007ff97fa28b74 in ?? () from /usr/lib/libQtGui.so.4
#6  0x00007ff9b27473ba in call_init.part () from /lib64/ld-linux-x86-64.so.2
#7  0x00007ff9b27474cb in _dl_init () from /lib64/ld-linux-x86-64.so.2
#8  0x00007ff9b274ba50 in dl_open_worker () from /lib64/ld-linux-x86-64.so.2
#9  0x00007ff9b2747264 in _dl_catch_error () from /lib64/ld-linux-x86-64.so.2
#10 0x00007ff9b274b1e7 in _dl_open () from /lib64/ld-linux-x86-64.so.2
#11 0x00007ff9a5557f09 in ?? () from /usr/lib/libdl.so.2
#12 0x00007ff9b2747264 in _dl_catch_error () from /lib64/ld-linux-x86-64.so.2
#13 0x00007ff9a5558521 in ?? () from /usr/lib/libdl.so.2
#14 0x00007ff9a5557fa1 in dlopen () from /usr/lib/libdl.so.2
#15 0x00007ff986aea12f in ?? () from /usr/lib/libvlccore.so.8
#16 0x00007ff986ace1eb in ?? () from /usr/lib/libvlccore.so.8
#17 0x00007ff986ace518 in ?? () from /usr/lib/libvlccore.so.8
#18 0x00007ff986ace474 in ?? () from /usr/lib/libvlccore.so.8
#19 0x00007ff986ace9f4 in ?? () from /usr/lib/libvlccore.so.8
#20 0x00007ff986acefea in ?? () from /usr/lib/libvlccore.so.8
#21 0x00007ff986a54e7d in libvlc_InternalInit () from /usr/lib/libvlccore.so.8
#22 0x00007ff986825d0e in libvlc_new () from /usr/lib/libvlc.so.5
#23 0x00007ff986d862c8 in ?? () from /usr/lib/qt5/plugins/phonon4qt5_backend/phonon_vlc.so
#24 0x00007ff986d5b586 in ?? () from /usr/lib/qt5/plugins/phonon4qt5_backend/phonon_vlc.so
#25 0x00007ff986d8a195 in qt_plugin_instance () from /usr/lib/qt5/plugins/phonon4qt5_backend/phonon_vlc.so
#26 0x00007ff9ac274d11 in QPluginLoader::instance() () from /usr/lib/libQt5Core.so.5
#27 0x00007ff9ad98e180 in ?? () from /usr/lib/libphonon4qt5.so.4
#28 0x00007ff9ad990ada in ?? () from /usr/lib/libphonon4qt5.so.4
#29 0x00007ff9ad991179 in ?? () from /usr/lib/libphonon4qt5.so.4
#30 0x00007ff9ad991aa4 in Phonon::Factory::backend(bool) () from /usr/lib/libphonon4qt5.so.4
#31 0x00007ff9ad992339 in ?? () from /usr/lib/libphonon4qt5.so.4
#32 0x00007ff9ad986031 in ?? () from /usr/lib/libphonon4qt5.so.4
#33 0x00007ff9b1693082 in ?? () from /usr/lib/libKF5Notifications.so.5
#34 0x00007ff9b1672fb8 in ?? () from /usr/lib/libKF5Notifications.so.5
#35 0x00007ff9b166f240 in KNotification::sendEvent() () from /usr/lib/libKF5Notifications.so.5
#36 0x00007ff9ac2b9659 in QObject::event(QEvent*) () from /usr/lib/libQt5Core.so.5
#37 0x00007ff9ad23968c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#38 0x00007ff9ad23e8f6 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#39 0x00007ff9ac28c518 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#40 0x00007ff9ac28e3da in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQt5Core.so.5
#41 0x00007ff9ac2e1883 in ?? () from /usr/lib/libQt5Core.so.5
#42 0x00007ff9a6db5f07 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#43 0x00007ff9a6db6160 in ?? () from /usr/lib/libglib-2.0.so.0
#44 0x00007ff9a6db620c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#45 0x00007ff9ac2e1c8f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#46 0x00007ff9ac28a6fa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#47 0x00007ff9ad43253c in QDialog::exec() () from /usr/lib/libQt5Widgets.so.5
#48 0x00007ff9aef6557e in KMessageBox::createKMessageBox(QDialog*, QDialogButtonBox*, QIcon const&, QString const&, QStringList const&, QString const&, bool*, QFlags<KMessageBox::Option>, QString const&, QMessageBox::Icon) () from /usr/lib/libKF5WidgetsAddons.so.5
#49 0x00007ff9aef66033 in KMessageBox::createKMessageBox(QDialog*, QDialogButtonBox*, QMessageBox::Icon, QString const&, QStringList const&, QString const&, bool*, QFlags<KMessageBox::Option>, QString const&) () from /usr/lib/libKF5WidgetsAddons.so.5
#50 0x00007ff9aef680df in ?? () from /usr/lib/libKF5WidgetsAddons.so.5
#51 0x00007ff9b0a1031b in KIO::JobUiDelegate::askDeleteConfirmation(QList<QUrl> const&, KIO::JobUiDelegateExtension::DeletionType, KIO::JobUiDelegateExtension::ConfirmationType) () from /usr/lib/libKF5KIOWidgets.so.5
#52 0x00007ff9b1e47bf1 in DolphinView::trashSelectedItems() () from /usr/lib/libdolphinprivate.so.5
#53 0x00007ff9ac2b8bae in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQt5Core.so.5
#54 0x00007ff9ad2303d2 in QAction::triggered(bool) () from /usr/lib/libQt5Widgets.so.5
#55 0x00007ff9ad232ef0 in QAction::activate(QAction::ActionEvent) () from /usr/lib/libQt5Widgets.so.5
#56 0x00007ff9ad23384f in QAction::event(QEvent*) () from /usr/lib/libQt5Widgets.so.5
#57 0x00007ff9ad23968c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#58 0x00007ff9ad23e8f6 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#59 0x00007ff9ac28c518 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#60 0x00007ff9aca8a826 in QShortcutMap::dispatchEvent(QKeyEvent*) () from /usr/lib/libQt5Gui.so.5
#61 0x00007ff9aca8a8d9 in QShortcutMap::tryShortcut(QKeyEvent*) () from /usr/lib/libQt5Gui.so.5
#62 0x00007ff9aca43716 in QWindowSystemInterface::handleShortcutEvent(QWindow*, unsigned long, int, QFlags<Qt::KeyboardModifier>, unsigned int, unsigned int, unsigned int, QString const&, bool, unsigned short) () from /usr/lib/libQt5Gui.so.5
#63 0x00007ff9aca5ba14 in QGuiApplicationPrivate::processKeyEvent(QWindowSystemInterfacePrivate::KeyEvent*) () from /usr/lib/libQt5Gui.so.5
#64 0x00007ff9aca60b65 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib/libQt5Gui.so.5
#65 0x00007ff9aca3dd6b in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Gui.so.5
#66 0x00007ff99c3fee60 in ?? () from /usr/lib/libQt5XcbQpa.so.5
#67 0x00007ff9a6db5f07 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#68 0x00007ff9a6db6160 in ?? () from /usr/lib/libglib-2.0.so.0
#69 0x00007ff9a6db620c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#70 0x00007ff9ac2e1c8f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#71 0x00007ff9ac28a6fa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#72 0x00007ff9ac292b7c in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5
#73 0x00007ff9b24b82ba in kdemain () from /usr/lib/libkdeinit5_dolphin.so
#74 0x00007ff9b20d6710 in __libc_start_main () from /usr/lib/libc.so.6
#75 0x0000000000400719 in _start ()

Report to https://bugs.kde.org/
Comment 1 Vincent 2016-04-30 09:07:19 UTC
Same here, just did a fresh Arch install.
Creating a new user does not change anything.
I found a workaround : removing the qt4 package (4.8.7-9 in Arch repositories as I write this) seems to fix the problem, but involves discarding many programs or breaking them.

I also noticed many other crashes (segfaults) that should be related to this issue :
- trying to set a keyboard shortcut that is already used
- going to multimedia (i'm not using pulse, just plain alsa) in the system settings
- importing an OpenVPN .conf file using the NetworkManager applet
Comment 2 Christoph Feck 2016-05-02 01:57:57 UTC

*** This bug has been marked as a duplicate of bug 335111 ***
Comment 3 Alivema4ever 2016-10-21 09:31:26 UTC
Same here. Moving file to trash causes dolphin to crash, but the file selected is moved to trash.

Starting program: /usr/bin/dolphin 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[New Thread 0x7fffe0d25700 (LWP 2936)]
[New Thread 0x7fffd91d5700 (LWP 2937)]

Thread 1 "dolphin" received signal SIGSEGV, Segmentation fault.
0x00007ffff197867d in QMimeData::hasUrls() const () from /usr/lib/libQt5Core.so.5
#0  0x00007ffff197867d in QMimeData::hasUrls() const () from /usr/lib/libQt5Core.so.5
No symbol table info available.
#1  0x00007ffff605fdae in ?? () from /usr/lib/libKF5KIOWidgets.so.5
No symbol table info available.
#2  0x00007ffff5874692 in KIO::SimpleJob::slotFinished() ()
   from /usr/lib/libKF5KIOCore.so.5
No symbol table info available.
#3  0x00007ffff5874d01 in ?? () from /usr/lib/libKF5KIOCore.so.5
No symbol table info available.
#4  0x00007ffff197e659 in QMetaObject::activate(QObject*, int, int, void**) ()
   from /usr/lib/libQt5Core.so.5
No symbol table info available.
#5  0x00007ffff584e581 in KIO::SlaveInterface::dispatch(int, QByteArray const&) ()
   from /usr/lib/libKF5KIOCore.so.5
No symbol table info available.
#6  0x00007ffff584cbb7 in KIO::SlaveInterface::dispatch() ()
   from /usr/lib/libKF5KIOCore.so.5
No symbol table info available.
#7  0x00007ffff5851f21 in KIO::Slave::gotInput() () from /usr/lib/libKF5KIOCore.so.5
No symbol table info available.
#8  0x00007ffff58ee205 in ?? () from /usr/lib/libKF5KIOCore.so.5
No symbol table info available.
#9  0x00007ffff197e659 in QMetaObject::activate(QObject*, int, int, void**) ()
   from /usr/lib/libQt5Core.so.5
No symbol table info available.
#10 0x00007ffff57e4b90 in ?? () from /usr/lib/libKF5KIOCore.so.5
No symbol table info available.
#11 0x00007ffff197f4b9 in QObject::event(QEvent*) () from /usr/lib/libQt5Core.so.5
No symbol table info available.
#12 0x00007ffff28bde0c in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
   from /usr/lib/libQt5Widgets.so.5
No symbol table info available.
#13 0x00007ffff28c5581 in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/libQt5Widgets.so.5
No symbol table info available.
#14 0x00007ffff1952de0 in QCoreApplication::notifyInternal2(QObject*, QEvent*) ()
   from /usr/lib/libQt5Core.so.5
No symbol table info available.
#15 0x00007ffff195556d in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQt5Core.so.5
No symbol table info available.
#16 0x00007ffff19a7303 in ?? () from /usr/lib/libQt5Core.so.5
No symbol table info available.
#17 0x00007fffeae9e587 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#18 0x00007fffeae9e7f0 in ?? () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#19 0x00007fffeae9e89c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#20 0x00007ffff19a770f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
No symbol table info available.
#21 0x00007ffff195123a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /usr/lib/libQt5Core.so.5
No symbol table info available.
#22 0x00007ffff195973c in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5
No symbol table info available.
#23 0x00007ffff7b594f7 in kdemain () from /usr/lib/libkdeinit5_dolphin.so
No symbol table info available.
#24 0x00007ffff7779291 in __libc_start_main () from /usr/lib/libc.so.6
No symbol table info available.
#25 0x000000000040065a in _start ()
No symbol table info available.

KF 5.27, plasma 5.8.2, dolphin from kde-applications 16.08.2
Comment 4 RutgerB 2016-10-31 19:24:14 UTC
I think it has to do with a dialog. When (I guess) a KDialog appears, it just crashes. This is the same for all of my application (even the bug report application) The same happens with Kdenlive too.
Comment 5 RutgerB 2016-10-31 19:58:22 UTC
I found a good (I think) fix for this. I chose to install phonon-qt5-vlc instead of phonon-qt5-gstreamer which, as you can see in the bug report, creates some hassle. Simply switching from phonon-qt5-vlc to phonon-qt5-gstreamer fixed the bug for me.
Comment 6 Antonio Rojas 2016-10-31 21:05:16 UTC
Please provide the information requested at https://bugs.archlinux.org/task/51541