Bug 286386 - dolphin crashed when cancelling copy file after the usb is disconnected unexceptly
Summary: dolphin crashed when cancelling copy file after the usb is disconnected unexc...
Status: RESOLVED WORKSFORME
Alias: None
Product: kio
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 4.7
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: David Faure
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-12 01:51 UTC by zhangyu
Modified: 2014-05-04 15:15 UTC (History)
1 user (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 zhangyu 2011-11-12 01:51:01 UTC
Application: dolphin (1.7)
KDE Platform Version: 4.7.2 (4.7.2) "release 5"
Qt Version: 4.7.4
Operating System: Linux 3.1.0-1.1-desktop x86_64
Distribution: "openSUSE 12.1 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:
I was copying some files to usb hdd, and then the usb device unexceptly disconnected.
The disconnection maybe due to that the slot is not contacting well.
And the copy process in the system tray was bogged, so I tried to press the "stop" button(a square icon) to stop it, and it crashed.

-- Backtrace:
Application: Dolphin (kdeinit4), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fe01f0b1760 (LWP 3693))]

Thread 3 (Thread 0x7fe006fa2700 (LWP 3695)):
#0  0x00007fe0197bfe60 in clock_gettime () from /lib64/librt.so.1
#1  0x00007fe01dc67114 in do_gettime (frac=0x7fe006fa1b78, sec=0x7fe006fa1b70) at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0x00007fe01dd28d1d in QTimerInfoList::updateCurrentTime (this=0x827a70) at kernel/qeventdispatcher_unix.cpp:339
#4  0x00007fe01dd29053 in QTimerInfoList::timerWait (this=0x827a70, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0x00007fe01dd27abc in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7fe006fa1c5c) at kernel/qeventdispatcher_glib.cpp:136
#6  0x00007fe01dd27b65 in timerSourcePrepare (source=<optimized out>, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0x00007fe01950ab22 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#8  0x00007fe01950b92d in ?? () from /usr/lib64/libglib-2.0.so.0
#9  0x00007fe01950bf59 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#10 0x00007fe01dd28576 in QEventDispatcherGlib::processEvents (this=0x921320, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#11 0x00007fe01dcfca22 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#12 0x00007fe01dcfcc1f in QEventLoop::exec (this=0x7fe006fa1df0, flags=...) at kernel/qeventloop.cpp:201
#13 0x00007fe01dc145df in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#14 0x00007fe01dcdfaef in QInotifyFileSystemWatcherEngine::run (this=0x852ea0) at io/qfilesystemwatcher_inotify.cpp:248
#15 0x00007fe01dc17025 in QThreadPrivate::start (arg=0x852ea0) at thread/qthread_unix.cpp:331
#16 0x00007fe01d986f05 in start_thread () from /lib64/libpthread.so.0
#17 0x00007fe01c71f53d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7fe004aa0700 (LWP 3698)):
#0  0x00007fffe91fb8de in ?? ()
#1  0x00007fe0197bfe91 in clock_gettime () from /lib64/librt.so.1
#2  0x00007fe01dc67114 in do_gettime (frac=0x7fe004a9fb78, sec=0x7fe004a9fb70) at tools/qelapsedtimer_unix.cpp:123
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#4  0x00007fe01dd28d1d in QTimerInfoList::updateCurrentTime (this=0xa857a0) at kernel/qeventdispatcher_unix.cpp:339
#5  0x00007fe01dd29053 in QTimerInfoList::timerWait (this=0xa857a0, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#6  0x00007fe01dd27abc in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7fe004a9fc5c) at kernel/qeventdispatcher_glib.cpp:136
#7  0x00007fe01dd27b65 in timerSourcePrepare (source=<optimized out>, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#8  0x00007fe01950ab22 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#9  0x00007fe01950b92d in ?? () from /usr/lib64/libglib-2.0.so.0
#10 0x00007fe01950bf59 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#11 0x00007fe01dd28576 in QEventDispatcherGlib::processEvents (this=0xa30400, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#12 0x00007fe01dcfca22 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#13 0x00007fe01dcfcc1f in QEventLoop::exec (this=0x7fe004a9fdf0, flags=...) at kernel/qeventloop.cpp:201
#14 0x00007fe01dc145df in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#15 0x00007fe01dcdfaef in QInotifyFileSystemWatcherEngine::run (this=0xa65460) at io/qfilesystemwatcher_inotify.cpp:248
#16 0x00007fe01dc17025 in QThreadPrivate::start (arg=0xa65460) at thread/qthread_unix.cpp:331
#17 0x00007fe01d986f05 in start_thread () from /lib64/libpthread.so.0
#18 0x00007fe01c71f53d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fe01f0b1760 (LWP 3693)):
[KCrash Handler]
#6  QTimer::start (this=0x4545454545454545, msec=200) at kernel/qtimer.cpp:224
#7  0x00007fe016e90c6c in KIO::CopyJobPrivate::slotResultConflictCopyingFiles (this=0xc57620, job=0xc0d750) at /usr/src/debug/kdelibs-4.7.2/kio/kio/copyjob.cpp:1379
#8  0x00007fe016e92bf1 in KIO::CopyJobPrivate::slotResultCopyingFiles (this=0xc57620, job=0xc0d750) at /usr/src/debug/kdelibs-4.7.2/kio/kio/copyjob.cpp:1248
#9  0x00007fe016e8f137 in KIO::CopyJob::qt_metacall (this=0xb67c90, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fffe9013c80) at /usr/src/debug/kdelibs-4.7.2/build/kio/copyjob.moc:121
#10 0x00007fe01dd1059a in QMetaObject::activate (sender=0xc0d750, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffe9013c80) at kernel/qobject.cpp:3287
#11 0x00007fe01e16b5e2 in KJob::result(KJob*) () from /usr/lib64/libkdecore.so.5
#12 0x00007fe01e16b620 in KJob::emitResult() () from /usr/lib64/libkdecore.so.5
#13 0x00007fe016ec25f8 in KIO::FileCopyJob::slotResult (this=0xc0d750, job=0xc456c0) at /usr/src/debug/kdelibs-4.7.2/kio/kio/job.cpp:2375
#14 0x00007fe016ec2450 in KIO::FileCopyJob::qt_metacall (this=0xc0d750, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fffe9013df0) at /usr/src/debug/kdelibs-4.7.2/build/kio/jobclasses.moc:724
#15 0x00007fe01dd1059a in QMetaObject::activate (sender=0xc456c0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffe9013df0) at kernel/qobject.cpp:3287
#16 0x00007fe01e16b5e2 in KJob::result(KJob*) () from /usr/lib64/libkdecore.so.5
#17 0x00007fe01e16b620 in KJob::emitResult() () from /usr/lib64/libkdecore.so.5
#18 0x00007fe016ebaf24 in KIO::SimpleJob::slotFinished (this=0xc456c0) at /usr/src/debug/kdelibs-4.7.2/kio/kio/job.cpp:494
#19 0x00007fe016ebb076 in KIO::SimpleJob::slotError (this=0xc456c0, err=<optimized out>, errorText=...) at /usr/src/debug/kdelibs-4.7.2/kio/kio/job.cpp:506
#20 0x00007fe016ebe648 in KIO::SimpleJob::qt_metacall (this=0xc456c0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fffe90140a0) at /usr/src/debug/kdelibs-4.7.2/build/kio/jobclasses.moc:170
#21 0x00007fe016ec0630 in KIO::DirectCopyJob::qt_metacall (this=0xc456c0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fffe90140a0) at /usr/src/debug/kdelibs-4.7.2/build/kio/job_p.moc:157
#22 0x00007fe01dd1059a in QMetaObject::activate (sender=0x91e800, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffe90140a0) at kernel/qobject.cpp:3287
#23 0x00007fe016f65746 in KIO::SlaveInterface::error (this=<optimized out>, _t1=163, _t2=<optimized out>) at /usr/src/debug/kdelibs-4.7.2/build/kio/slaveinterface.moc:159
#24 0x00007fe016f686fc in KIO::SlaveInterface::dispatch (this=<optimized out>, _cmd=<optimized out>, rawdata=...) at /usr/src/debug/kdelibs-4.7.2/kio/kio/slaveinterface.cpp:205
#25 0x00007fe016f64f45 in KIO::SlaveInterface::dispatch (this=<optimized out>) at /usr/src/debug/kdelibs-4.7.2/kio/kio/slaveinterface.cpp:88
#26 0x00007fe016f580fe in KIO::Slave::gotInput (this=0x91e800) at /usr/src/debug/kdelibs-4.7.2/kio/kio/slave.cpp:344
#27 0x00007fe016f5885c in KIO::Slave::qt_metacall (this=0x91e800, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fffe9014490) at /usr/src/debug/kdelibs-4.7.2/build/kio/slave.moc:82
#28 0x00007fe01dd1059a in QMetaObject::activate (sender=0xa04540, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3287
#29 0x00007fe016e8b9b7 in dequeue (this=<optimized out>) at /usr/src/debug/kdelibs-4.7.2/kio/kio/connection.cpp:82
#30 KIO::ConnectionPrivate::dequeue (this=0xb40900) at /usr/src/debug/kdelibs-4.7.2/kio/kio/connection.cpp:71
#31 0x00007fe016e8ba5d in KIO::Connection::qt_metacall (this=0xa04540, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0xbeab60) at /usr/src/debug/kdelibs-4.7.2/build/kio/connection.moc:79
#32 0x00007fe01dd1414a in QObject::event (this=0xa04540, e=<optimized out>) at kernel/qobject.cpp:1226
#33 0x00007fe01ceafbe4 in notify_helper (e=0xad49a0, receiver=0xa04540, this=0x6c95e0) at kernel/qapplication.cpp:4481
#34 QApplicationPrivate::notify_helper (this=0x6c95e0, receiver=0xa04540, e=0xad49a0) at kernel/qapplication.cpp:4453
#35 0x00007fe01ceb4a71 in QApplication::notify (this=0x7fffe9014ee0, receiver=0xa04540, e=0xad49a0) at kernel/qapplication.cpp:4360
#36 0x00007fe01ea8fe36 in KApplication::notify (this=0x7fffe9014ee0, receiver=0xa04540, event=0xad49a0) at /usr/src/debug/kdelibs-4.7.2/kdeui/kernel/kapplication.cpp:311
#37 0x00007fe01dcfd81c in QCoreApplication::notifyInternal (this=0x7fffe9014ee0, receiver=0xa04540, event=0xad49a0) at kernel/qcoreapplication.cpp:787
#38 0x00007fe01dd00bf8 in sendEvent (event=0xad49a0, receiver=0xa04540) at kernel/qcoreapplication.h:215
#39 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x615f10) at kernel/qcoreapplication.cpp:1428
#40 0x00007fe01dd280b3 in sendPostedEvents () at kernel/qcoreapplication.h:220
#41 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:277
#42 0x00007fe01950b58d in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#43 0x00007fe01950bd88 in ?? () from /usr/lib64/libglib-2.0.so.0
#44 0x00007fe01950bf59 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#45 0x00007fe01dd2850f in QEventDispatcherGlib::processEvents (this=0x617440, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#46 0x00007fe01cf52f2e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#47 0x00007fe01dcfca22 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#48 0x00007fe01dcfcc1f in QEventLoop::exec (this=0x7fffe9014e70, flags=...) at kernel/qeventloop.cpp:201
#49 0x00007fe01dd00de7 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#50 0x00007fe00c7947b9 in kdemain () from /usr/lib64/libkdeinit4_dolphin.so
#51 0x0000000000408897 in _start ()

This bug may be a duplicate of or related to bug 192976.

Possible duplicates by query: bug 231439, bug 231056, bug 230850, bug 230249, bug 225370.

Reported using DrKonqi
Comment 1 Dawit Alemayehu 2014-05-04 15:15:50 UTC
Cannot reproduce this with the current version of KDE, 4.13 or higher.

I purposefully removed the USB stick to which I was copying files into and I was able to cancel the copy process. Fell free to reopen this ticket if you can reproduce the issue with the latest version.