Bug 360479

Summary: Crash when copy&paste file into same folder
Product: [Applications] dolphin Reporter: Andreas Cord-Landwehr <cordlandwehr>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: emmanuelpescosta099
Priority: NOR Keywords: drkonqi
Version: 15.12.1   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Andreas Cord-Landwehr 2016-03-13 15:04:05 UTC
Application: dolphin (15.12.1)
 (Compiled from sources)
Qt Version: 5.5.1
Frameworks Version: 5.20.0
Operating System: Linux 4.3.0-1-amd64 x86_64
Distribution: Debian GNU/Linux testing (stretch)

-- Information about the crash:
Happens every time:
1. mark file in some folder for copy (CTRL+C)
2. unmark file to past it into same folder (CTRL+V)
Dialog appears the file already exsists and Dolphin crashes.

-- Backtrace:
Application: Dolphin (dolphin), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f40c044a940 (LWP 19857))]

Thread 3 (Thread 0x7f40bcf37700 (LWP 19858)):
#0  0x00007f40cd556b6d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f40c93ad382 in _xcb_conn_wait (__timeout=-1, __nfds=1, __fds=0x7f40bcf36b40) at /usr/include/x86_64-linux-gnu/bits/poll2.h:46
#2  0x00007f40c93ad382 in _xcb_conn_wait (c=c@entry=0x174a470, cond=cond@entry=0x174a4b0, vector=vector@entry=0x0, count=count@entry=0x0) at ../../src/xcb_conn.c:459
#3  0x00007f40c93aeff7 in xcb_wait_for_event (c=0x174a470) at ../../src/xcb_in.c:693
#4  0x00007f40c01bbf01 in QXcbEventReader::run() (this=0x1754ad0) at qxcbconnection.cpp:1229
#5  0x00007f40ce1a9f0d in QThreadPrivate::start(void*) (arg=0x1754ad0) at thread/qthread_unix.cpp:331
#6  0x00007f40ca8a5284 in start_thread (arg=0x7f40bcf37700) at pthread_create.c:333
#7  0x00007f40cd55fa4d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f40b29e4700 (LWP 19859)):
#0  0x00007f40cd552b7d in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f40c5d18510 in g_wakeup_acknowledge (__nbytes=16, __buf=0x7f40b29e39a0, __fd=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/unistd.h:44
#2  0x00007f40c5d18510 in g_wakeup_acknowledge (wakeup=0x7f40b80015b0) at /build/glib2.0-2.46.2/./glib/gwakeup.c:210
#3  0x00007f40c5cd4cb4 in g_main_context_check (context=context@entry=0x7f40ac000990, max_priority=2147483647, fds=fds@entry=0x7f40ac003020, n_fds=n_fds@entry=1) at /build/glib2.0-2.46.2/./glib/gmain.c:3632
#4  0x00007f40c5cd5170 in g_main_context_iterate (context=context@entry=0x7f40ac000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/glib2.0-2.46.2/./glib/gmain.c:3837
#5  0x00007f40c5cd52dc in g_main_context_iteration (context=0x7f40ac000990, may_block=1) at /build/glib2.0-2.46.2/./glib/gmain.c:3901
#6  0x00007f40ce44a71c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f40ac0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#7  0x00007f40ce3d1078 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f40b29e3c20, flags=...) at kernel/qeventloop.cpp:128
#8  0x00007f40ce3d1374 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f40b29e3c20, flags=...) at kernel/qeventloop.cpp:204
#9  0x00007f40ce1a26bc in QThread::exec() (this=0x1c1a650) at thread/qthread.cpp:503
#10 0x00007f40ce1a285e in QThread::run() (this=0x1c1a650) at thread/qthread.cpp:570
#11 0x00007f40ce1a9f0d in QThreadPrivate::start(void*) (arg=0x1c1a650) at thread/qthread_unix.cpp:331
#12 0x00007f40ca8a5284 in start_thread (arg=0x7f40b29e4700) at pthread_create.c:333
#13 0x00007f40cd55fa4d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f40c044a940 (LWP 19857)):
[KCrash Handler]
#6  0x00007f40cf44a99c in QWeakPointer<QObject>::data() const (this=0x270) at ../../include/QtCore/../../src/corelib/tools/qsharedpointer_impl.h:588
#7  0x00007f40cf461270 in QPointer<QWidget>::data() const (this=0x270) at ../../include/QtCore/../../src/corelib/kernel/qpointer.h:70
#8  0x00007f40cf45ef50 in QPointer<QWidget>::operator QWidget*() const (this=0x270) at ../../include/QtCore/../../src/corelib/kernel/qpointer.h:76
#9  0x00007f40cf67e454 in QScrollArea::widget() const (this=0x7f40ce4bb180 <QHashData::shared_null>) at widgets/qscrollarea.cpp:224
#10 0x00007f40d3953d0f in KIO::RenameDialog::resizePanels() (this=0x7ffdadbaf1f0) at /opt/kde/src/frameworks/kio/src/widgets/renamedialog.cpp:589
#11 0x00007f40d397159d in KIO::RenameDialog::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=0x7ffdadbaf1f0, _c=QMetaObject::InvokeMetaMethod, _id=15, _a=0x21d10c0) at /opt/kde/build/frameworks/kio/src/widgets/moc_renamedialog.cpp:137
#12 0x00007f40ce40b3ed in QMetaCallEvent::placeMetaCall(QObject*) (this=0x214e560, object=0x7ffdadbaf1f0) at kernel/qobject.cpp:486
#13 0x00007f40ce40c468 in QObject::event(QEvent*) (this=0x7ffdadbaf1f0, e=0x214e560) at kernel/qobject.cpp:1239
#14 0x00007f40cf4a9853 in QWidget::event(QEvent*) (this=0x7ffdadbaf1f0, event=0x214e560) at kernel/qwidget.cpp:9133
#15 0x00007f40cf4592ca in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=0x172bd40, receiver=0x7ffdadbaf1f0, e=0x214e560) at kernel/qapplication.cpp:3718
#16 0x00007f40cf459128 in QApplication::notify(QObject*, QEvent*) (this=0x7ffdadbb0eb0, receiver=0x7ffdadbaf1f0, e=0x214e560) at kernel/qapplication.cpp:3683
#17 0x00007f40ce3d44de in QCoreApplication::notifyInternal(QObject*, QEvent*) (this=0x7ffdadbb0eb0, receiver=0x7ffdadbaf1f0, event=0x214e560) at kernel/qcoreapplication.cpp:965
#18 0x00007f40ce3d8217 in QCoreApplication::sendEvent(QObject*, QEvent*) (receiver=0x7ffdadbaf1f0, event=0x214e560) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:224
#19 0x00007f40ce3d585a in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=0x0, event_type=0, data=0x1722040) at kernel/qcoreapplication.cpp:1593
#20 0x00007f40ce3d51da in QCoreApplication::sendPostedEvents(QObject*, int) (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1451
#21 0x00007f40ce449f30 in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x1774e80) at kernel/qeventdispatcher_glib.cpp:271
#22 0x00007f40c5cd4fd7 in g_main_context_dispatch (context=0x7f40b80016f0) at /build/glib2.0-2.46.2/./glib/gmain.c:3154
#23 0x00007f40c5cd4fd7 in g_main_context_dispatch (context=context@entry=0x7f40b80016f0) at /build/glib2.0-2.46.2/./glib/gmain.c:3769
#24 0x00007f40c5cd5230 in g_main_context_iterate (context=context@entry=0x7f40b80016f0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/glib2.0-2.46.2/./glib/gmain.c:3840
#25 0x00007f40c5cd52dc in g_main_context_iteration (context=0x7f40b80016f0, may_block=1) at /build/glib2.0-2.46.2/./glib/gmain.c:3901
#26 0x00007f40ce44a6ed in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x1782fa0, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#27 0x00007f40c0202df8 in QPAEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x1782fa0, flags=...) at eventdispatchers/qeventdispatcher_glib.cpp:115
#28 0x00007f40ce3d1078 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7ffdadbaf140, flags=...) at kernel/qeventloop.cpp:128
#29 0x00007f40ce3d1374 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7ffdadbaf140, flags=...) at kernel/qeventloop.cpp:204
#30 0x00007f40cf6bb177 in QDialog::exec() (this=0x7ffdadbaf1f0) at dialogs/qdialog.cpp:541
#31 0x00007f40d395e9bd 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&) (this=0x7f40d3bd3da0 <(anonymous namespace)::Q_QGS_globalUiDelegate::innerFunction()::holder>, job=0x2063740, caption=..., src=..., dest=..., options=..., newDest=..., sizeSrc=18502, sizeDest=18502, ctimeSrc=..., ctimeDest=..., mtimeSrc=..., mtimeDest=...) at /opt/kde/src/frameworks/kio/src/widgets/jobuidelegate.cpp:162
#32 0x00007f40d353805b in KIO::CopyJobPrivate::slotResultErrorCopyingFiles(KJob*) (this=0x22485a0, job=0x2150c60) at /opt/kde/src/frameworks/kio/src/core/copyjob.cpp:1391
#33 0x00007f40d353bb27 in KIO::CopyJob::slotResult(KJob*) (this=0x2063740, job=0x2150c60) at /opt/kde/src/frameworks/kio/src/core/copyjob.cpp:2084
#34 0x00007f40d353c51c in KIO::CopyJob::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=0x2063740, _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0x7ffdadbaf720) at /opt/kde/build/frameworks/kio/src/core/moc_copyjob.cpp:177
#35 0x00007f40ce412eeb in QMetaObject::activate(QObject*, int, int, void**) (sender=0x2150c60, signalOffset=3, local_signal_index=3, argv=0x7ffdadbaf720) at kernel/qobject.cpp:3713
#36 0x00007f40ce4126f6 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=0x2150c60, m=0x7f40d07568c0 <KJob::staticMetaObject>, local_signal_index=3, argv=0x7ffdadbaf720) at kernel/qobject.cpp:3578
#37 0x00007f40d04ed205 in KJob::result(KJob*, KJob::QPrivateSignal) (this=0x2150c60, _t1=0x2150c60) at /opt/kde/build/frameworks/kcoreaddons/src/lib/moc_kjob.cpp:555
#38 0x00007f40d04eb59a in KJob::finishJob(bool) (this=0x2150c60, emitResult=true) at /opt/kde/src/frameworks/kcoreaddons/src/lib/jobs/kjob.cpp:109
#39 0x00007f40d04ebc83 in KJob::emitResult() (this=0x2150c60) at /opt/kde/src/frameworks/kcoreaddons/src/lib/jobs/kjob.cpp:293
#40 0x00007f40d357448a in KIO::SimpleJob::slotFinished() (this=0x2150c60) at /opt/kde/src/frameworks/kio/src/core/simplejob.cpp:230
#41 0x00007f40d3576373 in KIO::StatJob::slotFinished() (this=0x2150c60) at /opt/kde/src/frameworks/kio/src/core/statjob.cpp:167
#42 0x00007f40d35766d0 in KIO::StatJob::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=0x2150c60, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0x7ffdadbafa50) at /opt/kde/build/frameworks/kio/src/core/moc_statjob.cpp:103
#43 0x00007f40ce412eeb in QMetaObject::activate(QObject*, int, int, void**) (sender=0x17cd290, signalOffset=3, local_signal_index=4, argv=0x0) at kernel/qobject.cpp:3713
#44 0x00007f40ce4126f6 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=0x17cd290, m=0x7f40d385f840 <KIO::SlaveInterface::staticMetaObject>, local_signal_index=4, argv=0x0) at kernel/qobject.cpp:3578
#45 0x00007f40d355bb11 in KIO::SlaveInterface::finished() (this=0x17cd290) at /opt/kde/build/frameworks/kio/src/core/moc_slaveinterface.cpp:402
#46 0x00007f40d3559b70 in KIO::SlaveInterface::dispatch(int, QByteArray const&) (this=0x17cd290, _cmd=104, rawdata=...) at /opt/kde/src/frameworks/kio/src/core/slaveinterface.cpp:160
#47 0x00007f40d35597f0 in KIO::SlaveInterface::dispatch() (this=0x17cd290) at /opt/kde/src/frameworks/kio/src/core/slaveinterface.cpp:89
#48 0x00007f40d355d97a in KIO::Slave::gotInput() (this=0x17cd290) at /opt/kde/src/frameworks/kio/src/core/slave.cpp:393
#49 0x00007f40d35e81d9 in KIO::Slave::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=0x17cd290, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0x7ffdadbaff40) at /opt/kde/build/frameworks/kio/src/core/moc_slave.cpp:87
#50 0x00007f40ce412eeb in QMetaObject::activate(QObject*, int, int, void**) (sender=0x1848650, signalOffset=3, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3713
#51 0x00007f40ce4126f6 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=0x1848650, m=0x7f40d385e5e0 <KIO::Connection::staticMetaObject>, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3578
#52 0x00007f40d3507f5f in KIO::Connection::readyRead() (this=0x1848650) at /opt/kde/build/frameworks/kio/src/core/moc_connection_p.cpp:141
#53 0x00007f40d3506d93 in KIO::ConnectionPrivate::dequeue() (this=0x2101760) at /opt/kde/src/frameworks/kio/src/core/connection.cpp:45
#54 0x00007f40d3507d8a in KIO::Connection::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=0x1848650, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x1f9dd40) at /opt/kde/build/frameworks/kio/src/core/moc_connection_p.cpp:85
#55 0x00007f40ce40b3ed in QMetaCallEvent::placeMetaCall(QObject*) (this=0x2064c30, object=0x1848650) at kernel/qobject.cpp:486
#56 0x00007f40ce40c468 in QObject::event(QEvent*) (this=0x1848650, e=0x2064c30) at kernel/qobject.cpp:1239
#57 0x00007f40cf4592ca in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=0x172bd40, receiver=0x1848650, e=0x2064c30) at kernel/qapplication.cpp:3718
#58 0x00007f40cf456a29 in QApplication::notify(QObject*, QEvent*) (this=0x7ffdadbb0eb0, receiver=0x1848650, e=0x2064c30) at kernel/qapplication.cpp:3162
#59 0x00007f40ce3d44de in QCoreApplication::notifyInternal(QObject*, QEvent*) (this=0x7ffdadbb0eb0, receiver=0x1848650, event=0x2064c30) at kernel/qcoreapplication.cpp:965
#60 0x00007f40ce3d8217 in QCoreApplication::sendEvent(QObject*, QEvent*) (receiver=0x1848650, event=0x2064c30) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:224
#61 0x00007f40ce3d585a in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=0x0, event_type=0, data=0x1722040) at kernel/qcoreapplication.cpp:1593
#62 0x00007f40ce3d51da in QCoreApplication::sendPostedEvents(QObject*, int) (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1451
#63 0x00007f40ce449f30 in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x1774e80) at kernel/qeventdispatcher_glib.cpp:271
#64 0x00007f40c5cd4fd7 in g_main_context_dispatch (context=0x7f40b80016f0) at /build/glib2.0-2.46.2/./glib/gmain.c:3154
#65 0x00007f40c5cd4fd7 in g_main_context_dispatch (context=context@entry=0x7f40b80016f0) at /build/glib2.0-2.46.2/./glib/gmain.c:3769
#66 0x00007f40c5cd5230 in g_main_context_iterate (context=context@entry=0x7f40b80016f0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/glib2.0-2.46.2/./glib/gmain.c:3840
#67 0x00007f40c5cd52dc in g_main_context_iteration (context=0x7f40b80016f0, may_block=1) at /build/glib2.0-2.46.2/./glib/gmain.c:3901
#68 0x00007f40ce44a6ed in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x1782fa0, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#69 0x00007f40c0202df8 in QPAEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x1782fa0, flags=...) at eventdispatchers/qeventdispatcher_glib.cpp:115
#70 0x00007f40ce3d1078 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7ffdadbb0d60, flags=...) at kernel/qeventloop.cpp:128
#71 0x00007f40ce3d1374 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7ffdadbb0d60, flags=...) at kernel/qeventloop.cpp:204
#72 0x00007f40ce3d4bbc in QCoreApplication::exec() () at kernel/qcoreapplication.cpp:1229
#73 0x00007f40cecef0fe in QGuiApplication::exec() () at kernel/qguiapplication.cpp:1529
#74 0x00007f40cf456403 in QApplication::exec() () at kernel/qapplication.cpp:2978
#75 0x00007f40d52f24a0 in kdemain(int, char**) (argc=1, argv=0x7ffdadbb16b8) at /opt/kde/src/kde/applications/dolphin/src/main.cpp:150
#76 0x0000000000400bc8 in main(int, char**) (argc=1, argv=0x7ffdadbb16b8) at /opt/kde/build/kde/applications/dolphin/src/dolphin_dummy.cpp:3

Reported using DrKonqi
Comment 1 Emmanuel Pescosta 2016-03-13 18:25:27 UTC

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