Bug 278913 - Dolphin crashes after deleting a folder
Summary: Dolphin crashes after deleting a folder
Status: RESOLVED FIXED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 1.6.1
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Peter Penz
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-31 08:53 UTC by Kirill
Modified: 2011-07-31 15:53 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 4.7.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kirill 2011-07-31 08:53:11 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-10-generic i686
Distribution: Ubuntu 11.04

-- Information about the crash:
I've deleted through shift+delete a folder from external drive.

-- Backtrace:
Application: Dolphin (dolphin), signal: Segmentation fault
[Current thread is 1 (Thread 0xb77c3a20 (LWP 2969))]

Thread 4 (Thread 0xb54feb70 (LWP 2970)):
#0  0x009b7d41 in clock_gettime () from /lib/i386-linux-gnu/librt.so.1
#1  0x0303cdd8 in do_gettime () at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0x031094f2 in updateCurrentTime (this=0xb4b01a74, tm=...) at kernel/qeventdispatcher_unix.cpp:339
#4  QTimerInfoList::timerWait (this=0xb4b01a74, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0x03107d32 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xb54fe0dc) at kernel/qeventdispatcher_glib.cpp:136
#6  0x03107dcd in timerSourcePrepare (source=0xb4b01a40, timeout=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0x038defd4 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0x038dfe63 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0x038e0524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#10 0x03108577 in QEventDispatcherGlib::processEvents (this=0x8d903e0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#11 0x030da289 in QEventLoop::processEvents (this=0xb54fe290, flags=...) at kernel/qeventloop.cpp:149
#12 0x030da522 in QEventLoop::exec (this=0xb54fe290, flags=...) at kernel/qeventloop.cpp:201
#13 0x02fe42a0 in QThread::exec (this=0x8d8f730) at thread/qthread.cpp:492
#14 0x030bbfdb in QInotifyFileSystemWatcherEngine::run (this=0x8d8f730) at io/qfilesystemwatcher_inotify.cpp:248
#15 0x02fe6da2 in QThreadPrivate::start (arg=0x8d8f730) at thread/qthread_unix.cpp:320
#16 0x009cee99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#17 0x00e8173e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 3 (Thread 0xb3ab0b70 (LWP 2973)):
#0  0x009b7d41 in clock_gettime () from /lib/i386-linux-gnu/librt.so.1
#1  0x0303cdd8 in do_gettime () at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0x031094f2 in updateCurrentTime (this=0x8e4fb5c, tm=...) at kernel/qeventdispatcher_unix.cpp:339
#4  QTimerInfoList::timerWait (this=0x8e4fb5c, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0x03107d32 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xb3ab00dc) at kernel/qeventdispatcher_glib.cpp:136
#6  0x03107dcd in timerSourcePrepare (source=0x8e4fb28, timeout=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0x038defd4 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0x038dfe63 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0x038e0524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#10 0x03108577 in QEventDispatcherGlib::processEvents (this=0x8eefa70, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#11 0x030da289 in QEventLoop::processEvents (this=0xb3ab0290, flags=...) at kernel/qeventloop.cpp:149
#12 0x030da522 in QEventLoop::exec (this=0xb3ab0290, flags=...) at kernel/qeventloop.cpp:201
#13 0x02fe42a0 in QThread::exec (this=0x8e83ee8) at thread/qthread.cpp:492
#14 0x030bbfdb in QInotifyFileSystemWatcherEngine::run (this=0x8e83ee8) at io/qfilesystemwatcher_inotify.cpp:248
#15 0x02fe6da2 in QThreadPrivate::start (arg=0x8e83ee8) at thread/qthread_unix.cpp:320
#16 0x009cee99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#17 0x00e8173e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 2 (Thread 0xb32afb70 (LWP 3111)):
[KCrash Handler]
#7  readLittleEndianInt32 (this=0xb4bb52c8, s=0xb32aef5c, input=0xb2903128) at /build/buildd/strigi-0.7.2/src/streams/textutils.h:78
#8  Strigi::OleInputStream::Private::Private (this=0xb4bb52c8, s=0xb32aef5c, input=0xb2903128) at /build/buildd/strigi-0.7.2/src/streams/oleinputstream.cpp:208
#9  0x0231e6f6 in Strigi::OleInputStream::OleInputStream (this=0xb32aef5c, input=0xb2903128) at /build/buildd/strigi-0.7.2/src/streams/oleinputstream.cpp:151
#10 0x00c55b6a in OleEndAnalyzer::analyze (this=0xb2902fc0, ar=..., in=0xb2903128) at /build/buildd/strigi-0.7.2/src/streamanalyzer/endanalyzers/oleendanalyzer.cpp:377
#11 0x00c3e5ba in Strigi::StreamAnalyzerPrivate::analyze (this=0xb4b03e90, idx=..., input=0xb2903128) at /build/buildd/strigi-0.7.2/src/streamanalyzer/streamanalyzer.cpp:421
#12 0x010c5395 in KFileMetaInfoPrivate::init (this=0xb4b325a0, stream=..., url=..., mtime=1276798097, w=...) at ../../kio/kio/kfilemetainfo.cpp:257
#13 0x010c5cd7 in KFileMetaInfo::KFileMetaInfo (this=0xb32af2bc, path=..., w=...) at ../../kio/kio/kfilemetainfo.cpp:286
#14 0x011a6e49 in KLoadFileMetaDataThread::run (this=0x925e418) at ../../kio/kfile/kloadfilemetadatathread.cpp:143
#15 0x02fe6da2 in QThreadPrivate::start (arg=0x925e418) at thread/qthread_unix.cpp:320
#16 0x009cee99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#17 0x00e8173e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 1 (Thread 0xb77c3a20 (LWP 2969)):
#0  0x00faa416 in __kernel_vsyscall ()
#1  0x009d348c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0x00e8f3fd in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0x02fe7467 in wait (this=0x8d8fbc0, mutex=0x8d8fba8, time=4294967295) at thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0x8d8fbc0, mutex=0x8d8fba8, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#5  0x02fe64cf in QThread::wait (this=0x8d8f730, time=4294967295) at thread/qthread_unix.cpp:722
#6  0x030aec77 in QFileSystemWatcher::~QFileSystemWatcher (this=0x8d5a4d0, __in_chrg=<value optimized out>) at io/qfilesystemwatcher.cpp:446
#7  0x030aed42 in QFileSystemWatcher::~QFileSystemWatcher (this=0x8d5a4d0, __in_chrg=<value optimized out>) at io/qfilesystemwatcher.cpp:462
#8  0x030eeb87 in QObjectPrivate::deleteChildren (this=0x8d8fc50) at kernel/qobject.cpp:1964
#9  0x030f339f in QObject::~QObject (this=0x8d99dc8, __in_chrg=<value optimized out>) at kernel/qobject.cpp:946
#10 0x006275ab in Solid::Backends::Fstab::FstabWatcher::~FstabWatcher (this=0x8d99dc8, __in_chrg=<value optimized out>) at ../../../solid/solid/backends/fstab/fstabwatcher.cpp:48
#11 0x006275e2 in Solid::Backends::Fstab::FstabWatcher::~FstabWatcher (this=0x8d99dc8, __in_chrg=<value optimized out>) at ../../../solid/solid/backends/fstab/fstabwatcher.cpp:51
#12 0x00627455 in destroy () at ../../../solid/solid/backends/fstab/fstabwatcher.cpp:30
#13 0x005affeb in Solid::CleanUpGlobalStatic::~CleanUpGlobalStatic (this=0x6438c8, __in_chrg=<value optimized out>) at ../../../solid/solid/soliddefs_p.h:67
#14 0x00de0a6f in ?? () from /lib/i386-linux-gnu/libc.so.6
#15 0x00de0acf in exit () from /lib/i386-linux-gnu/libc.so.6
#16 0x016d4fdb in qt_xio_errhandler () at kernel/qapplication_x11.cpp:781
#17 0x06ea511a in KApplication::xioErrhandler (this=0xbfb26c70, dpy=0x8c51968) at ../../kdeui/kernel/kapplication.cpp:419
#18 0x06ea5156 in kde_xio_errhandler (dpy=0x8c51968) at ../../kdeui/kernel/kapplication.cpp:126
#19 0x07dab166 in _XIOError () from /usr/lib/i386-linux-gnu/libX11.so.6
#20 0x07da881f in _XEventsQueued () from /usr/lib/i386-linux-gnu/libX11.so.6
#21 0x07d994eb in XEventsQueued () from /usr/lib/i386-linux-gnu/libX11.so.6
#22 0x01715fc5 in x11EventSourceCheck (s=0x8c517a8) at kernel/qguieventdispatcher_glib.cpp:85
#23 0x038df71d in g_main_context_check () from /lib/i386-linux-gnu/libglib-2.0.so.0
#24 0x038e003a in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#25 0x038e0524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#26 0x03108577 in QEventDispatcherGlib::processEvents (this=0x8c15410, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#27 0x017161e5 in QGuiEventDispatcherGlib::processEvents (this=0x8c15410, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#28 0x030da289 in QEventLoop::processEvents (this=0xbfb26bc4, flags=...) at kernel/qeventloop.cpp:149
#29 0x030da522 in QEventLoop::exec (this=0xbfb26bc4, flags=...) at kernel/qeventloop.cpp:201
#30 0x030deecc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#31 0x0165d8e7 in QApplication::exec () at kernel/qapplication.cpp:3736
#32 0x003cae8d in kdemain (argc=6, argv=0xbfb26e64) at ../../../dolphin/src/main.cpp:98
#33 0x080485bb in main (argc=6, argv=0xbfb26e64) at dolphin_dummy.cpp:3

Possible duplicates by query: bug 277735, bug 277647, bug 277577, bug 277299, bug 277132.

Reported using DrKonqi
Comment 1 Peter Penz 2011-07-31 15:53:54 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).