Bug 277589

Summary: Dolphin crashes over a compressed file
Product: [Applications] dolphin Reporter: Juan Sebastian Echeverri Ortegon <juansebastianecheverri>
Component: generalAssignee: Peter Penz <peter.penz19>
Status: RESOLVED FIXED    
Severity: crash    
Priority: NOR    
Version: 1.6.1   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 4.7.0
Sentry Crash Report:

Description Juan Sebastian Echeverri Ortegon 2011-07-11 23:57:19 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:
- The file is over 50m, other files doesn't make dolphin crash

The crash can be reproduced every time.

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

Thread 4 (Thread 0xb286cb70 (LWP 25305)):
#0  0xb52dfd41 in clock_gettime () from /lib/i386-linux-gnu/librt.so.1
#1  0xb5d8ddd8 in do_gettime () at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0xb5e5a4f2 in updateCurrentTime (this=0xb1f00e74, tm=...) at kernel/qeventdispatcher_unix.cpp:339
#4  QTimerInfoList::timerWait (this=0xb1f00e74, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0xb5e58d32 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xb286c0dc) at kernel/qeventdispatcher_glib.cpp:136
#6  0xb5e58dcd in timerSourcePrepare (source=0xb1f00e40, timeout=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0xb5472fd4 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0xb5473e63 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0xb5474524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#10 0xb5e59577 in QEventDispatcherGlib::processEvents (this=0x960a758, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#11 0xb5e2b289 in QEventLoop::processEvents (this=0xb286c290, flags=...) at kernel/qeventloop.cpp:149
#12 0xb5e2b522 in QEventLoop::exec (this=0xb286c290, flags=...) at kernel/qeventloop.cpp:201
#13 0xb5d352a0 in QThread::exec (this=0x9609230) at thread/qthread.cpp:492
#14 0xb5e0cfdb in QInotifyFileSystemWatcherEngine::run (this=0x9609230) at io/qfilesystemwatcher_inotify.cpp:248
#15 0xb5d37da2 in QThreadPrivate::start (arg=0x9609230) at thread/qthread_unix.cpp:320
#16 0xb5526e99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#17 0xb77b373e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 3 (Thread 0xb0c97b70 (LWP 25312)):
#0  0xb52dfd41 in clock_gettime () from /lib/i386-linux-gnu/librt.so.1
#1  0xb5d8ddd8 in do_gettime () at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0xb5e5a4f2 in updateCurrentTime (this=0x990d8cc, tm=...) at kernel/qeventdispatcher_unix.cpp:339
#4  QTimerInfoList::timerWait (this=0x990d8cc, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0xb5e58d32 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xb0c970dc) at kernel/qeventdispatcher_glib.cpp:136
#6  0xb5e58dcd in timerSourcePrepare (source=0x990d898, timeout=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0xb5472fd4 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0xb5473e63 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0xb5474524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#10 0xb5e59577 in QEventDispatcherGlib::processEvents (this=0x9762370, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#11 0xb5e2b289 in QEventLoop::processEvents (this=0xb0c97290, flags=...) at kernel/qeventloop.cpp:149
#12 0xb5e2b522 in QEventLoop::exec (this=0xb0c97290, flags=...) at kernel/qeventloop.cpp:201
#13 0xb5d352a0 in QThread::exec (this=0x98f0ce8) at thread/qthread.cpp:492
#14 0xb5e0cfdb in QInotifyFileSystemWatcherEngine::run (this=0x98f0ce8) at io/qfilesystemwatcher_inotify.cpp:248
#15 0xb5d37da2 in QThreadPrivate::start (arg=0x98f0ce8) at thread/qthread_unix.cpp:320
#16 0xb5526e99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#17 0xb77b373e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 2 (Thread 0xb0496b70 (LWP 25603)):
[KCrash Handler]
#7  0xb78c0424 in __kernel_vsyscall ()
#8  0xb770de71 in raise () from /lib/i386-linux-gnu/libc.so.6
#9  0xb771134e in abort () from /lib/i386-linux-gnu/libc.so.6
#10 0xb7706888 in __assert_fail () from /lib/i386-linux-gnu/libc.so.6
#11 0xb5877ef1 in Strigi::AnalysisResult::Private::Private (this=0xa9ac7900, p=..., name=0xa9ac78a3 "", mt=1287552580, t=..., parent=...) at /build/buildd/strigi-0.7.2/src/streamanalyzer/analysisresult.cpp:134
#12 0xb5877fd3 in Strigi::AnalysisResult::AnalysisResult (this=0xa9ac78f0, path=..., name=0xa9ac78a3 "", mt=1287552580, parent=...) at /build/buildd/strigi-0.7.2/src/streamanalyzer/analysisresult.cpp:140
#13 0xb58782fd in Strigi::AnalysisResult::indexChild (this=0xb04960f4, name=..., mt=1287552580, file=0xa9ae0500) at /build/buildd/strigi-0.7.2/src/streamanalyzer/analysisresult.cpp:249
#14 0xb58b9baf in ZipEndAnalyzer::analyze (this=0xa9ab9960, idx=..., in=0xa9ab9ac0) at /build/buildd/strigi-0.7.2/src/streamanalyzer/endanalyzers/zipendanalyzer.cpp:62
#15 0xb589d5ba in Strigi::StreamAnalyzerPrivate::analyze (this=0xa9a95000, idx=..., input=0xa9ab9ac0) at /build/buildd/strigi-0.7.2/src/streamanalyzer/streamanalyzer.cpp:421
#16 0xb711d395 in KFileMetaInfoPrivate::init (this=0xb1f40db0, stream=..., url=..., mtime=1310427594, w=...) at ../../kio/kio/kfilemetainfo.cpp:257
#17 0xb711dcd7 in KFileMetaInfo::KFileMetaInfo (this=0xb04962bc, path=..., w=...) at ../../kio/kio/kfilemetainfo.cpp:286
#18 0xb71fee49 in KLoadFileMetaDataThread::run (this=0x991de58) at ../../kio/kfile/kloadfilemetadatathread.cpp:143
#19 0xb5d37da2 in QThreadPrivate::start (arg=0x991de58) at thread/qthread_unix.cpp:320
#20 0xb5526e99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#21 0xb77b373e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 1 (Thread 0xb4d74a20 (LWP 25304)):
#0  0xb78c0424 in __kernel_vsyscall ()
#1  0xb552b48c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0xb77c13fd in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0xb5d38467 in wait (this=0x960a0e0, mutex=0x960a0c8, time=4294967295) at thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0x960a0e0, mutex=0x960a0c8, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#5  0xb5d374cf in QThread::wait (this=0x9609230, time=4294967295) at thread/qthread_unix.cpp:722
#6  0xb5dffc77 in QFileSystemWatcher::~QFileSystemWatcher (this=0x95dc7a8, __in_chrg=<value optimized out>) at io/qfilesystemwatcher.cpp:446
#7  0xb5dffd42 in QFileSystemWatcher::~QFileSystemWatcher (this=0x95dc7a8, __in_chrg=<value optimized out>) at io/qfilesystemwatcher.cpp:462
#8  0xb5e3fb87 in QObjectPrivate::deleteChildren (this=0x9609ef0) at kernel/qobject.cpp:1964
#9  0xb5e4439f in QObject::~QObject (this=0x95dbec0, __in_chrg=<value optimized out>) at kernel/qobject.cpp:946
#10 0xb5b3b5ab in Solid::Backends::Fstab::FstabWatcher::~FstabWatcher (this=0x95dbec0, __in_chrg=<value optimized out>) at ../../../solid/solid/backends/fstab/fstabwatcher.cpp:48
#11 0xb5b3b5e2 in Solid::Backends::Fstab::FstabWatcher::~FstabWatcher (this=0x95dbec0, __in_chrg=<value optimized out>) at ../../../solid/solid/backends/fstab/fstabwatcher.cpp:51
#12 0xb5b3b455 in destroy () at ../../../solid/solid/backends/fstab/fstabwatcher.cpp:30
#13 0xb5ac3feb in Solid::CleanUpGlobalStatic::~CleanUpGlobalStatic (this=0xb5b578c8, __in_chrg=<value optimized out>) at ../../../solid/solid/soliddefs_p.h:67
#14 0xb7712a6f in ?? () from /lib/i386-linux-gnu/libc.so.6
#15 0xb7712acf in exit () from /lib/i386-linux-gnu/libc.so.6
#16 0xb637dd8b in qt_xio_errhandler () at kernel/qapplication_x11.cpp:781
#17 0xb6e3911a in KApplication::xioErrhandler (this=0xbfb9c640, dpy=0x951f2a0) at ../../kdeui/kernel/kapplication.cpp:419
#18 0xb6e39156 in kde_xio_errhandler (dpy=0x951f2a0) at ../../kdeui/kernel/kapplication.cpp:126
#19 0xb5605166 in _XIOError () from /usr/lib/i386-linux-gnu/libX11.so.6
#20 0xb560281f in _XEventsQueued () from /usr/lib/i386-linux-gnu/libX11.so.6
#21 0xb55f34eb in XEventsQueued () from /usr/lib/i386-linux-gnu/libX11.so.6
#22 0xb63bc555 in x11EventSourceCheck (s=0x9518fa8) at kernel/qguieventdispatcher_glib.cpp:85
#23 0xb547371d in g_main_context_check () from /lib/i386-linux-gnu/libglib-2.0.so.0
#24 0xb547403a in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#25 0xb5474524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#26 0xb5e5953c in QEventDispatcherGlib::processEvents (this=0x94dd410, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#27 0xb63bc775 in QGuiEventDispatcherGlib::processEvents (this=0x94dd410, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#28 0xb5e2b289 in QEventLoop::processEvents (this=0xbfb9c594, flags=...) at kernel/qeventloop.cpp:149
#29 0xb5e2b522 in QEventLoop::exec (this=0xbfb9c594, flags=...) at kernel/qeventloop.cpp:201
#30 0xb5e2fecc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#31 0xb63068e7 in QApplication::exec () at kernel/qapplication.cpp:3736
#32 0xb788fe8d in kdemain (argc=6, argv=0xbfb9c834) at ../../../dolphin/src/main.cpp:98
#33 0x080485bb in main (argc=6, argv=0xbfb9c834) at dolphin_dummy.cpp:3

Possible duplicates by query: bug 277492, bug 276851, bug 276353, bug 276254, bug 275538.

Reported using DrKonqi
Comment 1 Peter Penz 2011-07-12 05:22:55 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).