Bug 275538

Summary: Dolphin crashed when copying files from one disk to another
Product: [Applications] dolphin Reporter: Stefan <zorak1103>
Component: generalAssignee: Peter Penz <peter.penz19>
Status: RESOLVED FIXED    
Severity: crash CC: jmaque
Priority: NOR    
Version: 1.6.1   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 4.7.0
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Stefan 2011-06-13 11:53:13 UTC
Application: dolphin (1.6.1)
KDE Platform Version: 4.6.2 (4.6.2)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-8-generic-pae i686
Distribution: Ubuntu 11.04

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

Copying files from one disk to another on the same machine in tabbed interface

The crash can be reproduced some of the time.

-- Backtrace:
Application: Dolphin (dolphin), signal: Aborted
[Current thread is 1 (Thread 0xb4c98a20 (LWP 10650))]

Thread 8 (Thread 0xb2554b70 (LWP 10651)):
#0  0xb5203d41 in clock_gettime () from /lib/i386-linux-gnu/librt.so.1
#1  0xb5cb1dd8 in do_gettime () at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0xb5d7e4f2 in updateCurrentTime (this=0xb1c01a74, tm=...) at kernel/qeventdispatcher_unix.cpp:339
#4  QTimerInfoList::timerWait (this=0xb1c01a74, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0xb5d7cd32 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xb25540dc) at kernel/qeventdispatcher_glib.cpp:136
#6  0xb5d7cdcd in timerSourcePrepare (source=0xb1c01a40, timeout=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0xb5396fd4 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0xb5397e63 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0xb5398524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#10 0xb5d7d577 in QEventDispatcherGlib::processEvents (this=0x8c19b78, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#11 0xb5d4f289 in QEventLoop::processEvents (this=0xb2554290, flags=...) at kernel/qeventloop.cpp:149
#12 0xb5d4f522 in QEventLoop::exec (this=0xb2554290, flags=...) at kernel/qeventloop.cpp:201
#13 0xb5c592a0 in QThread::exec (this=0x8c91da8) at thread/qthread.cpp:492
#14 0xb5d30fdb in QInotifyFileSystemWatcherEngine::run (this=0x8c91da8) at io/qfilesystemwatcher_inotify.cpp:248
#15 0xb5c5bda2 in QThreadPrivate::start (arg=0x8c91da8) at thread/qthread_unix.cpp:320
#16 0xb544ae99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#17 0xb76d773e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 7 (Thread 0xadcd3b70 (LWP 14480)):
[KCrash Handler]
#7  0xb77eb424 in __kernel_vsyscall ()
#8  0xb7631e71 in raise () from /lib/i386-linux-gnu/libc.so.6
#9  0xb763534e in abort () from /lib/i386-linux-gnu/libc.so.6
#10 0xb762a888 in __assert_fail () from /lib/i386-linux-gnu/libc.so.6
#11 0xb579bef1 in Strigi::AnalysisResult::Private::Private (this=0xaca144e0, p=..., name=0xae7587b9 "", mt=1237201226, t=..., parent=...) at /build/buildd/strigi-0.7.2/src/streamanalyzer/analysisresult.cpp:134
#12 0xb579bfd3 in Strigi::AnalysisResult::AnalysisResult (this=0xaca144d0, path=..., name=0xae7587b9 "", mt=1237201226, parent=...) at /build/buildd/strigi-0.7.2/src/streamanalyzer/analysisresult.cpp:140
#13 0xb579c2fd in Strigi::AnalysisResult::indexChild (this=0xadcd30f4, name=..., mt=1237201226, file=0xae756d78) at /build/buildd/strigi-0.7.2/src/streamanalyzer/analysisresult.cpp:249
#14 0xb57ddbaf in ZipEndAnalyzer::analyze (this=0xafdac760, idx=..., in=0xae7d3b98) at /build/buildd/strigi-0.7.2/src/streamanalyzer/endanalyzers/zipendanalyzer.cpp:62
#15 0xb57c15ba in Strigi::StreamAnalyzerPrivate::analyze (this=0x9864168, idx=..., input=0xae7d3b98) at /build/buildd/strigi-0.7.2/src/streamanalyzer/streamanalyzer.cpp:421
#16 0xb7041395 in KFileMetaInfoPrivate::init (this=0x9844890, stream=..., url=..., mtime=1271276098, w=...) at ../../kio/kio/kfilemetainfo.cpp:257
#17 0xb7041cd7 in KFileMetaInfo::KFileMetaInfo (this=0xadcd32bc, path=..., w=...) at ../../kio/kio/kfilemetainfo.cpp:286
#18 0xb7122e49 in KLoadFileMetaDataThread::run (this=0x9749880) at ../../kio/kfile/kloadfilemetadatathread.cpp:143
#19 0xb5c5bda2 in QThreadPrivate::start (arg=0x9749880) at thread/qthread_unix.cpp:320
#20 0xb544ae99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#21 0xb76d773e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 6 (Thread 0xac9ffb70 (LWP 14481)):
#0  0xb77eb424 in __kernel_vsyscall ()
#1  0xb544f48c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0xb76e53fd in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0xb5c5adaa in QMutexPrivate::wait (this=0xb1c16aa0, timeout=-1) at thread/qmutex_unix.cpp:84
#4  0xb5c574b2 in QMutex::lock (this=0xb7176db0) at thread/qmutex.cpp:204
#5  0xb7122df5 in KLoadFileMetaDataThread::run (this=0x9854ce8) at ../../kio/kfile/kloadfilemetadatathread.cpp:140
#6  0xb5c5bda2 in QThreadPrivate::start (arg=0x9854ce8) at thread/qthread_unix.cpp:320
#7  0xb544ae99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8  0xb76d773e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 5 (Thread 0xaa45db70 (LWP 14483)):
#0  0xb77eb424 in __kernel_vsyscall ()
#1  0xb544f48c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0xb76e53fd in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0xb5c5adaa in QMutexPrivate::wait (this=0xb1c16aa0, timeout=-1) at thread/qmutex_unix.cpp:84
#4  0xb5c574b2 in QMutex::lock (this=0xb7176db0) at thread/qmutex.cpp:204
#5  0xb7122df5 in KLoadFileMetaDataThread::run (this=0x983f860) at ../../kio/kfile/kloadfilemetadatathread.cpp:140
#6  0xb5c5bda2 in QThreadPrivate::start (arg=0x983f860) at thread/qthread_unix.cpp:320
#7  0xb544ae99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8  0xb76d773e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 4 (Thread 0xac1feb70 (LWP 14484)):
#0  0xb77eb424 in __kernel_vsyscall ()
#1  0xb544f48c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0xb76e53fd in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0xb5c5adaa in QMutexPrivate::wait (this=0xb1c16aa0, timeout=-1) at thread/qmutex_unix.cpp:84
#4  0xb5c574b2 in QMutex::lock (this=0xb7176db0) at thread/qmutex.cpp:204
#5  0xb7122df5 in KLoadFileMetaDataThread::run (this=0x9751c88) at ../../kio/kfile/kloadfilemetadatathread.cpp:140
#6  0xb5c5bda2 in QThreadPrivate::start (arg=0x9751c88) at thread/qthread_unix.cpp:320
#7  0xb544ae99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8  0xb76d773e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 3 (Thread 0xa8cdfb70 (LWP 14513)):
#0  0xb77eb424 in __kernel_vsyscall ()
#1  0xb544f48c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0xb76e53fd in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0xb5c5adaa in QMutexPrivate::wait (this=0xb1c16aa0, timeout=-1) at thread/qmutex_unix.cpp:84
#4  0xb5c574b2 in QMutex::lock (this=0xb7176db0) at thread/qmutex.cpp:204
#5  0xb7122df5 in KLoadFileMetaDataThread::run (this=0x8f1ad38) at ../../kio/kfile/kloadfilemetadatathread.cpp:140
#6  0xb5c5bda2 in QThreadPrivate::start (arg=0x8f1ad38) at thread/qthread_unix.cpp:320
#7  0xb544ae99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8  0xb76d773e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 2 (Thread 0xab9fdb70 (LWP 14514)):
#0  0xb77eb424 in __kernel_vsyscall ()
#1  0xb544f48c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0xb76e53fd in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0xb5c5adaa in QMutexPrivate::wait (this=0xb1c16aa0, timeout=-1) at thread/qmutex_unix.cpp:84
#4  0xb5c574b2 in QMutex::lock (this=0xb7176db0) at thread/qmutex.cpp:204
#5  0xb7122df5 in KLoadFileMetaDataThread::run (this=0x9863db0) at ../../kio/kfile/kloadfilemetadatathread.cpp:140
#6  0xb5c5bda2 in QThreadPrivate::start (arg=0x9863db0) at thread/qthread_unix.cpp:320
#7  0xb544ae99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8  0xb76d773e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 1 (Thread 0xb4c98a20 (LWP 10650)):
#0  0xb77eb424 in __kernel_vsyscall ()
#1  0xb544f48c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0xb76e53fd in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0xb5c5c467 in wait (this=0x8cba9d0, mutex=0x8cba9b8, time=4294967295) at thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0x8cba9d0, mutex=0x8cba9b8, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#5  0xb5c5b4cf in QThread::wait (this=0x8c91da8, time=4294967295) at thread/qthread_unix.cpp:722
#6  0xb5d23c77 in QFileSystemWatcher::~QFileSystemWatcher (this=0x8c386e8, __in_chrg=<value optimized out>) at io/qfilesystemwatcher.cpp:446
#7  0xb5d23d42 in QFileSystemWatcher::~QFileSystemWatcher (this=0x8c386e8, __in_chrg=<value optimized out>) at io/qfilesystemwatcher.cpp:462
#8  0xb5d63b87 in QObjectPrivate::deleteChildren (this=0x8c31fc8) at kernel/qobject.cpp:1964
#9  0xb5d6839f in QObject::~QObject (this=0x8c36c28, __in_chrg=<value optimized out>) at kernel/qobject.cpp:946
#10 0xb5a5f5ab in Solid::Backends::Fstab::FstabWatcher::~FstabWatcher (this=0x8c36c28, __in_chrg=<value optimized out>) at ../../../solid/solid/backends/fstab/fstabwatcher.cpp:48
#11 0xb5a5f5e2 in Solid::Backends::Fstab::FstabWatcher::~FstabWatcher (this=0x8c36c28, __in_chrg=<value optimized out>) at ../../../solid/solid/backends/fstab/fstabwatcher.cpp:51
#12 0xb5a5f455 in destroy () at ../../../solid/solid/backends/fstab/fstabwatcher.cpp:30
#13 0xb59e7feb in Solid::CleanUpGlobalStatic::~CleanUpGlobalStatic (this=0xb5a7b8c8, __in_chrg=<value optimized out>) at ../../../solid/solid/soliddefs_p.h:67
#14 0xb7636a6f in ?? () from /lib/i386-linux-gnu/libc.so.6
#15 0xb7636acf in exit () from /lib/i386-linux-gnu/libc.so.6
#16 0xb62a1d8b in qt_xio_errhandler () at kernel/qapplication_x11.cpp:781
#17 0xb6d5d11a in KApplication::xioErrhandler (this=0xbfef6900, dpy=0x8bd0d80) at ../../kdeui/kernel/kapplication.cpp:419
#18 0xb6d5d156 in kde_xio_errhandler (dpy=0x8bd0d80) at ../../kdeui/kernel/kapplication.cpp:126
#19 0xb5529166 in _XIOError () from /usr/lib/i386-linux-gnu/libX11.so.6
#20 0xb552681f in _XEventsQueued () from /usr/lib/i386-linux-gnu/libX11.so.6
#21 0xb55174eb in XEventsQueued () from /usr/lib/i386-linux-gnu/libX11.so.6
#22 0xb62e0555 in x11EventSourceCheck (s=0x8bbc9a8) at kernel/qguieventdispatcher_glib.cpp:85
#23 0xb539771d in g_main_context_check () from /lib/i386-linux-gnu/libglib-2.0.so.0
#24 0xb539803a in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#25 0xb5398524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#26 0xb5d7d577 in QEventDispatcherGlib::processEvents (this=0x8b7e410, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#27 0xb62e0775 in QGuiEventDispatcherGlib::processEvents (this=0x8b7e410, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#28 0xb5d4f289 in QEventLoop::processEvents (this=0xbfef6854, flags=...) at kernel/qeventloop.cpp:149
#29 0xb5d4f522 in QEventLoop::exec (this=0xbfef6854, flags=...) at kernel/qeventloop.cpp:201
#30 0xb5d53ecc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#31 0xb622a8e7 in QApplication::exec () at kernel/qapplication.cpp:3736
#32 0xb77bae8d in kdemain (argc=5, argv=0xbfef6af4) at ../../../dolphin/src/main.cpp:98
#33 0x080485bb in main (argc=5, argv=0xbfef6af4) at dolphin_dummy.cpp:3

Possible duplicates by query: bug 275115, bug 274802, bug 274094, bug 273952, bug 273691.

Reported using DrKonqi
Comment 1 Peter Penz 2011-06-13 13:17:11 UTC
Thanks for the report. This is an issue in the corresponding Strigi analyzer
that Dolphin uses to get the metadata of a file. Dolphin for KDE 4.7 won't
crash anymore in this case (see
http://ppenz.blogspot.com/2011/03/dont-crash-when-reading-metadata.html for
details).
Comment 2 jmaque 2011-07-19 21:29:56 UTC
Created attachment 61997 [details]
New crash information added by DrKonqi

dolphin (1.6.1) on KDE Platform 4.6.2 (4.6.2) using Qt 4.7.2

- What I was doing when the application crashed:
I had just opened a second tab to copy files from a usb attached device to a local hdd.   I selected th files for copying and dragged them to the second tab, at this point is when Dolphin crashed.

-- Backtrace (Reduced):
#8  0x00007fde15d407c5 in __assert_fail (assertion=0x7fde10229c20 "m_path.size() > m_parent->p->m_path.size()+1", file=<value optimized out>, line=134, function=<value optimized out>) at assert.c:81
#9  0x00007fde101deecf in Strigi::AnalysisResult::Private::Private (this=0x7fddfc17b050, p=..., name=<value optimized out>, mt=<value optimized out>, t=..., parent=...) at /build/buildd/strigi-0.7.2/src/streamanalyzer/analysisresult.cpp:134
#10 0x00007fde101def95 in Strigi::AnalysisResult::AnalysisResult (this=0x7fddfc1bec10, path=..., name=0x7fddfc269ddd "", mt=315554400, parent=...) at /build/buildd/strigi-0.7.2/src/streamanalyzer/analysisresult.cpp:140
#11 0x00007fde101df2c2 in Strigi::AnalysisResult::indexChild (this=0x7fddfb7fd9d0, name=<value optimized out>, mt=315554400, file=0x7fddfc17afb0) at /build/buildd/strigi-0.7.2/src/streamanalyzer/analysisresult.cpp:249
#12 0x00007fde1021c5a8 in ZipEndAnalyzer::analyze (this=0x7fddfc1d1f00, idx=..., in=0x7fddfc1d13a0) at /build/buildd/strigi-0.7.2/src/streamanalyzer/endanalyzers/zipendanalyzer.cpp:62