Bug 360809

Summary: Dolphin crashes when copy a file and paste it in the same folder(no problem when pasting same-name file from another folder)
Product: [Applications] dolphin Reporter: chenghaomanzhouli
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: diegojleite, emmanuelpescosta099, personguy911, rthomsen6
Priority: NOR Keywords: drkonqi
Version: 15.12.3   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi
New crash information added by DrKonqi

Description chenghaomanzhouli 2016-03-21 11:51:38 UTC
Application: dolphin (15.12.2)

Qt Version: 5.5.1
Frameworks Version: 5.20.0
Operating System: Linux 4.1.15-8-default x86_64
Distribution: "openSUSE Leap 42.1 (x86_64)"

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

Copying a file (Ctrl+C) and paste it (Ctrl+V) directly in the same folder, in order to make a duplication.

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 0x7ff9938777c0 (LWP 23277))]

Thread 3 (Thread 0x7ff9708c0700 (LWP 23279)):
#0  0x00007ff993117bbd in poll () from /lib64/libc.so.6
#1  0x00007ff988154e64 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007ff988154f7c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007ff98d45ed8b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#4  0x00007ff98d405d53 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#5  0x00007ff98d22761a in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#6  0x00007ff98d22c32f in ?? () from /usr/lib64/libQt5Core.so.5
#7  0x00007ff988cda0a4 in start_thread () from /lib64/libpthread.so.0
#8  0x00007ff99311ffed in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7ff960a20700 (LWP 23831)):
#0  0x00007ff99311bf79 in syscall () from /lib64/libc.so.6
#1  0x00007ff988196e2f in g_cond_wait () from /usr/lib64/libglib-2.0.so.0
#2  0x00007ff9699c85cb in ?? () from /usr/lib64/libgstreamer-1.0.so.0
#3  0x00007ff98817a8ec in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007ff988179f65 in ?? () from /usr/lib64/libglib-2.0.so.0
#5  0x00007ff988cda0a4 in start_thread () from /lib64/libpthread.so.0
#6  0x00007ff99311ffed in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7ff9938777c0 (LWP 23277)):
[KCrash Handler]
#6  0x00007ff98e73c124 in QScrollArea::widget() const () from /usr/lib64/libQt5Widgets.so.5
#7  0x00007ff991a03379 in KIO::RenameDialog::resizePanels() () from /usr/lib64/libKF5KIOWidgets.so.5
#8  0x00007ff98d438ac6 in QObject::event(QEvent*) () from /usr/lib64/libQt5Core.so.5
#9  0x00007ff98e5bcf64 in QWidget::event(QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#10 0x00007ff98e57ce7c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#11 0x00007ff98e581cc8 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#12 0x00007ff98d407e95 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#13 0x00007ff98d40a057 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/libQt5Core.so.5
#14 0x00007ff98d45f8f3 in ?? () from /usr/lib64/libQt5Core.so.5
#15 0x00007ff988154c84 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#16 0x00007ff988154ed8 in ?? () from /usr/lib64/libglib-2.0.so.0
#17 0x00007ff988154f7c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#18 0x00007ff98d45ed6c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#19 0x00007ff98d405d53 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#20 0x00007ff98e76be1d in QDialog::exec() () from /usr/lib64/libQt5Widgets.so.5
#21 0x00007ff991a0e595 in KIO::JobUiDelegate::askFileRename(KJob*, QString const&, QUrl const&, QUrl const&, QFlags<KIO::RenameDialog_Option>, QString&, unsigned long long, unsigned long long, QDateTime const&, QDateTime const&, QDateTime const&, QDateTime const&) () from /usr/lib64/libKF5KIOWidgets.so.5
#22 0x00007ff9911fb4e5 in ?? () from /usr/lib64/libKF5KIOCore.so.5
#23 0x00007ff98d437cc6 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5
#24 0x00007ff98f1ad632 in KJob::result(KJob*, KJob::QPrivateSignal) () from /usr/lib64/libKF5CoreAddons.so.5
#25 0x00007ff98f1ade9f in KJob::finishJob(bool) () from /usr/lib64/libKF5CoreAddons.so.5
#26 0x00007ff991237e02 in KIO::SimpleJob::slotFinished() () from /usr/lib64/libKF5KIOCore.so.5
#27 0x00007ff99123a42e in KIO::StatJob::slotFinished() () from /usr/lib64/libKF5KIOCore.so.5
#28 0x00007ff991239d69 in ?? () from /usr/lib64/libKF5KIOCore.so.5
#29 0x00007ff98d437cc6 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5
#30 0x00007ff99121bf31 in KIO::SlaveInterface::dispatch(int, QByteArray const&) () from /usr/lib64/libKF5KIOCore.so.5
#31 0x00007ff991219618 in KIO::SlaveInterface::dispatch() () from /usr/lib64/libKF5KIOCore.so.5
#32 0x00007ff99121da3e in KIO::Slave::gotInput() () from /usr/lib64/libKF5KIOCore.so.5
#33 0x00007ff9912981c5 in ?? () from /usr/lib64/libKF5KIOCore.so.5
#34 0x00007ff98d437cc6 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5
#35 0x00007ff9911cea6c in ?? () from /usr/lib64/libKF5KIOCore.so.5
#36 0x00007ff98d438ac6 in QObject::event(QEvent*) () from /usr/lib64/libQt5Core.so.5
#37 0x00007ff98e57ce7c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#38 0x00007ff98e581cc8 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#39 0x00007ff98d407e95 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#40 0x00007ff98d40a057 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/libQt5Core.so.5
#41 0x00007ff98d45f8f3 in ?? () from /usr/lib64/libQt5Core.so.5
#42 0x00007ff988154c84 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#43 0x00007ff988154ed8 in ?? () from /usr/lib64/libglib-2.0.so.0
#44 0x00007ff988154f7c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#45 0x00007ff98d45ed6c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#46 0x00007ff98d405d53 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#47 0x00007ff98d40d8f6 in QCoreApplication::exec() () from /usr/lib64/libQt5Core.so.5
#48 0x00007ff993443391 in kdemain () from /usr/lib64/libkdeinit5_dolphin.so
#49 0x00007ff99305cb05 in __libc_start_main () from /lib64/libc.so.6
#50 0x00000000004007ee in _start ()

Possible duplicates by query: bug 360479, bug 359520.

Reported using DrKonqi
Comment 1 chenghaomanzhouli 2016-03-21 11:55:34 UTC
This is NOT a duplicate of bug 360479: The rename dialog will show normally when copying same-name file from ANOTHER folder, but making file duplication in one folder directly (Ctrl+C then Ctrl+V) still makes it CRASH.
Comment 2 Austin 2016-03-21 17:13:07 UTC
Created attachment 98007 [details]
New crash information added by DrKonqi

dolphin (15.12.2) using Qt 5.5.1

- What I was doing when the application crashed:

Attempting to create a symlink to a folder using "ctrl + shift + left click and drag" method

-- Backtrace (Reduced):
#6  0x00007f085b908c04 in QScrollArea::widget() const () from /usr/lib64/libQt5Widgets.so.5
#7  0x00007f085eb9d6b7 in KIO::RenameDialog::resizePanels() () from /usr/lib64/libKF5KIOWidgets.so.5
#8  0x00007f085a60ccf9 in QObject::event(QEvent*) () from /usr/lib64/libQt5Core.so.5
#9  0x00007f085b78ff83 in QWidget::event(QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#10 0x00007f085b74f87c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
Comment 3 Ragnar Thomsen 2016-03-23 13:20:40 UTC
I can confirm this bug with Dolphin 15.12.3:

Thread 1 (Thread 0x7f4360f76840 (LWP 25143)):
[KCrash Handler]
#6  0x00007f435a709b94 in QScrollArea::widget() const () from /opt/qt5/lib/libQt5Widgets.so.5
#7  0x00007f435f1a0ebd in KIO::RenameDialog::resizePanels() () from /opt/kde5/lib/libKF5KIOWidgets.so.5
#8  0x00007f435f1bdcc7 in KIO::RenameDialog::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () from /opt/kde5/lib/libKF5KIOWidgets.so.5
#9  0x00007f43593a1a91 in QObject::event(QEvent*) () from /opt/qt5/lib/libQt5Core.so.5
#10 0x00007f435a592cd3 in QWidget::event(QEvent*) () from /opt/qt5/lib/libQt5Widgets.so.5
#11 0x00007f435a5514fc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /opt/qt5/lib/libQt5Widgets.so.5
#12 0x00007f435a5563d6 in QApplication::notify(QObject*, QEvent*) () from /opt/qt5/lib/libQt5Widgets.so.5
#13 0x00007f43593762d8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /opt/qt5/lib/libQt5Core.so.5
#14 0x00007f43593780ba in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /opt/qt5/lib/libQt5Core.so.5
#15 0x00007f43593c83e3 in ?? () from /opt/qt5/lib/libQt5Core.so.5
#16 0x00007f4352c7a687 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#17 0x00007f4352c7a8b8 in ?? () from /usr/lib/libglib-2.0.so.0
#18 0x00007f4352c7a95c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#19 0x00007f43593c87ef in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /opt/qt5/lib/libQt5Core.so.5
#20 0x00007f43593745da in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /opt/qt5/lib/libQt5Core.so.5
#21 0x00007f435a736d1c in QDialog::exec() () from /opt/qt5/lib/libQt5Widgets.so.5
#22 0x00007f435f1ab9a3 in KIO::JobUiDelegate::askFileRename(KJob*, QString const&, QUrl const&, QUrl const&, QFlags<KIO::RenameDialog_Option>, QString&, unsigned long long, unsigned long long, QDateTime const&, QDateTime const&, QDateTime const&, QDateTime const&) () from /opt/kde5/lib/libKF5KIOWidgets.so.5
#23 0x00007f435ed9782f in KIO::CopyJobPrivate::slotResultErrorCopyingFiles(KJob*) () from /opt/kde5/lib/libKF5KIOCore.so.5
#24 0x00007f435ed9b2a9 in KIO::CopyJob::slotResult(KJob*) () from /opt/kde5/lib/libKF5KIOCore.so.5
#25 0x00007f435ed9bc9e in KIO::CopyJob::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () from /opt/kde5/lib/libKF5KIOCore.so.5
#26 0x00007f43593a0d30 in QMetaObject::activate(QObject*, int, int, void**) () from /opt/qt5/lib/libQt5Core.so.5
#27 0x00007f435b638537 in KJob::result(KJob*, KJob::QPrivateSignal) () from /opt/kde5/lib/libKF5CoreAddons.so.5
#28 0x00007f435b6368d0 in KJob::finishJob(bool) () from /opt/kde5/lib/libKF5CoreAddons.so.5
#29 0x00007f435b636f8f in KJob::emitResult() () from /opt/kde5/lib/libKF5CoreAddons.so.5
#30 0x00007f435edd3092 in KIO::SimpleJob::slotFinished() () from /opt/kde5/lib/libKF5KIOCore.so.5
#31 0x00007f435edd4e25 in KIO::StatJob::slotFinished() () from /opt/kde5/lib/libKF5KIOCore.so.5
#32 0x00007f435edd517a in KIO::StatJob::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () from /opt/kde5/lib/libKF5KIOCore.so.5
#33 0x00007f43593a0d30 in QMetaObject::activate(QObject*, int, int, void**) () from /opt/qt5/lib/libQt5Core.so.5
#34 0x00007f435edbad5b in KIO::SlaveInterface::finished() () from /opt/kde5/lib/libKF5KIOCore.so.5
#35 0x00007f435edb8d66 in KIO::SlaveInterface::dispatch(int, QByteArray const&) () from /opt/kde5/lib/libKF5KIOCore.so.5
#36 0x00007f435edb89e7 in KIO::SlaveInterface::dispatch() () from /opt/kde5/lib/libKF5KIOCore.so.5
#37 0x00007f435edbca58 in KIO::Slave::gotInput() () from /opt/kde5/lib/libKF5KIOCore.so.5
#38 0x00007f435ee42dbf in KIO::Slave::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () from /opt/kde5/lib/libKF5KIOCore.so.5
#39 0x00007f43593a0d30 in QMetaObject::activate(QObject*, int, int, void**) () from /opt/qt5/lib/libQt5Core.so.5
#40 0x00007f435ed68807 in KIO::Connection::readyRead() () from /opt/kde5/lib/libKF5KIOCore.so.5
#41 0x00007f435ed6767b in KIO::ConnectionPrivate::dequeue() () from /opt/kde5/lib/libKF5KIOCore.so.5
#42 0x00007f435ed68634 in KIO::Connection::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () from /opt/kde5/lib/libKF5KIOCore.so.5
#43 0x00007f43593a1a91 in QObject::event(QEvent*) () from /opt/qt5/lib/libQt5Core.so.5
#44 0x00007f435a5514fc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /opt/qt5/lib/libQt5Widgets.so.5
#45 0x00007f435a5563d6 in QApplication::notify(QObject*, QEvent*) () from /opt/qt5/lib/libQt5Widgets.so.5
#46 0x00007f43593762d8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /opt/qt5/lib/libQt5Core.so.5
#47 0x00007f43593780ba in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /opt/qt5/lib/libQt5Core.so.5
#48 0x00007f43593c83e3 in ?? () from /opt/qt5/lib/libQt5Core.so.5
#49 0x00007f4352c7a687 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#50 0x00007f4352c7a8b8 in ?? () from /usr/lib/libglib-2.0.so.0
#51 0x00007f4352c7a95c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#52 0x00007f43593c87ef in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /opt/qt5/lib/libQt5Core.so.5
#53 0x00007f43593745da in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /opt/qt5/lib/libQt5Core.so.5
#54 0x00007f435937c68d in QCoreApplication::exec() () from /opt/qt5/lib/libQt5Core.so.5
#55 0x00007f4360b14562 in kdemain () from /opt/kde5/lib/libkdeinit5_dolphin.so
#56 0x0000000000400ba8 in main ()
Comment 4 Diego Leite 2016-03-29 16:15:28 UTC
Created attachment 98146 [details]
New crash information added by DrKonqi

dolphin (15.12.2) using Qt 5.5.1

- What I was doing when the application crashed:

This bug only happens when I copy and paste the same file in current folder.

-- Backtrace (Reduced):
#6  0x00007fee62645c04 in QScrollArea::widget() const () from /usr/lib64/libQt5Widgets.so.5
#7  0x00007fee658d66b7 in KIO::RenameDialog::resizePanels() () from /usr/lib64/libKF5KIOWidgets.so.5
#8  0x00007fee61349cf9 in QObject::event(QEvent*) () from /usr/lib64/libQt5Core.so.5
#9  0x00007fee624ccf83 in QWidget::event(QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#10 0x00007fee6248c87c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
Comment 5 Emmanuel Pescosta 2016-06-07 20:57:40 UTC

*** This bug has been marked as a duplicate of bug 360488 ***