Bug 279992

Summary: Dolphin craashed while looking at file list.
Product: [Applications] dolphin Reporter: Dick Wiley <dick>
Component: generalAssignee: Peter Penz <peter.penz19>
Status: RESOLVED FIXED    
Severity: crash    
Priority: NOR    
Version First Reported In: 1.6.1   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 4.7.0
Sentry Crash Report:

Description Dick Wiley 2011-08-12 20:53:53 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 x86_64
Distribution: Ubuntu 11.04

-- Information about the crash:
- What I was doing when the application crashed: Viewing files on a USB stick to find particular file. Directory had mixture of text, PDF, and Office 97 (.doc) files.

-- Backtrace:
Application: Dolphin (dolphin), signal: Segmentation fault
pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
	in ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
[Current thread is 1 (Thread 0x7faf06a37780 (LWP 1731))]

Thread 4 (Thread 0x7faef2f3d700 (LWP 1732)):
#0  0x00007faefef87d9d in __pthread_mutex_unlock_usercnt (mutex=0x7faeec0009a8) at pthread_mutex_unlock.c:52
#1  __pthread_mutex_unlock (mutex=0x7faeec0009a8) at pthread_mutex_unlock.c:290
#2  0x00007faefeab7094 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007faefeab7f9d in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007faefeab8639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007faf0279f446 in QEventDispatcherGlib::processEvents (this=0x7faeec0008b0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#6  0x00007faf02773882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007faf02773abc in QEventLoop::exec (this=0x7faef2f3cdd0, flags=...) at kernel/qeventloop.cpp:201
#8  0x00007faf0268a924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#9  0x00007faf02755c2f in QInotifyFileSystemWatcherEngine::run (this=0x12153b0) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x00007faf0268d175 in QThreadPrivate::start (arg=0x12153b0) at thread/qthread_unix.cpp:320
#11 0x00007faefef83d8c in start_thread (arg=0x7faef2f3d700) at pthread_create.c:304
#12 0x00007faf0632704d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7faef0990700 (LWP 1741)):
#0  0x00007faefeab784e in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007faefeab8122 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007faefeab8639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007faf0279f446 in QEventDispatcherGlib::processEvents (this=0x1572820, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007faf02773882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007faf02773abc in QEventLoop::exec (this=0x7faef098fdd0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007faf0268a924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#7  0x00007faf02755c2f in QInotifyFileSystemWatcherEngine::run (this=0x155b080) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007faf0268d175 in QThreadPrivate::start (arg=0x155b080) at thread/qthread_unix.cpp:320
#9  0x00007faefef83d8c in start_thread (arg=0x7faef0990700) at pthread_create.c:304
#10 0x00007faf0632704d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7faee6b65700 (LWP 2738)):
[KCrash Handler]
#6  readLittleEndianInt32 (this=0x1b3dd40, s=<value optimized out>, input=<value optimized out>) at /build/buildd/strigi-0.7.2/src/streams/textutils.h:78
#7  Strigi::OleInputStream::Private::Private (this=0x1b3dd40, s=<value optimized out>, input=<value optimized out>) at /build/buildd/strigi-0.7.2/src/streams/oleinputstream.cpp:208
#8  0x00007faefc427162 in Strigi::OleInputStream::OleInputStream (this=<value optimized out>, input=<value optimized out>) at /build/buildd/strigi-0.7.2/src/streams/oleinputstream.cpp:151
#9  0x00007faf00748dfd in OleEndAnalyzer::analyze (this=0x1c75680, ar=..., in=<value optimized out>) at /build/buildd/strigi-0.7.2/src/streamanalyzer/endanalyzers/oleendanalyzer.cpp:377
#10 0x00007faf00732eca in Strigi::StreamAnalyzerPrivate::analyze (this=0x1ae7830, idx=..., input=0x1ae0070) at /build/buildd/strigi-0.7.2/src/streamanalyzer/streamanalyzer.cpp:421
#11 0x00007faf043b77d1 in KFileMetaInfoPrivate::init (this=0x1ac9900, stream=..., url=..., mtime=<value optimized out>, w=<value optimized out>) at ../../kio/kio/kfilemetainfo.cpp:257
#12 0x00007faf043b802f in KFileMetaInfo::KFileMetaInfo (this=0x7faee6b64ce0, path=<value optimized out>, w=...) at ../../kio/kio/kfilemetainfo.cpp:286
#13 0x00007faf044854b6 in KLoadFileMetaDataThread::run (this=0x182f360) at ../../kio/kfile/kloadfilemetadatathread.cpp:143
#14 0x00007faf0268d175 in QThreadPrivate::start (arg=0x182f360) at thread/qthread_unix.cpp:320
#15 0x00007faefef83d8c in start_thread (arg=0x7faee6b65700) at pthread_create.c:304
#16 0x00007faf0632704d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#17 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7faf06a37780 (LWP 1731)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007faf0268d82b in wait (this=<value optimized out>, mutex=0x110fe40, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x110fe40, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007faf0268c910 in QThread::wait (this=<value optimized out>, time=18446744073709551615) at thread/qthread_unix.cpp:722
#4  0x00007faf027495d0 in QFileSystemWatcher::~QFileSystemWatcher (this=0x110fb90, __in_chrg=<value optimized out>) at io/qfilesystemwatcher.cpp:446
#5  0x00007faf027496a9 in QFileSystemWatcher::~QFileSystemWatcher (this=0x110fb90, __in_chrg=<value optimized out>) at io/qfilesystemwatcher.cpp:462
#6  0x00007faf02786c14 in QObjectPrivate::deleteChildren (this=0x110faf0) at kernel/qobject.cpp:1964
#7  0x00007faf0278b5f4 in QObject::~QObject (this=0x1215430, __in_chrg=<value optimized out>) at kernel/qobject.cpp:946
#8  0x00007faf01e5c7d9 in Solid::Backends::Fstab::FstabWatcher::~FstabWatcher (this=0x1215430, __in_chrg=<value optimized out>) at ../../../solid/solid/backends/fstab/fstabwatcher.cpp:51
#9  0x00007faf0627a961 in __run_exit_handlers (status=1) at exit.c:78
#10 exit (status=1) at exit.c:100
#11 0x00007faf0319fd48 in QApplicationPrivate::createEventDispatcher (this=<value optimized out>) at kernel/qapplication_x11.cpp:646
#12 0x00007faeffe75dee in _XIOError () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#13 0x00007faeffe7362d in _XEventsQueued () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#14 0x00007faeffe63f1f in XEventsQueued () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#15 0x00007faf031daca7 in QKeyMapperPrivate::possibleKeysCore (this=0xffffffff00f91661, event=0xfe10e0) at kernel/qkeymapper_x11.cpp:393
#16 0x00007faf02773abc in QEventLoop::exec (this=0x7fff1100c8f0, flags=) at kernel/qeventloop.cpp:201
#17 0x00007faf02777ecb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#18 0x00007faf06617995 in kdemain (argc=5, argv=0x7fff1100ce88) at ../../../dolphin/src/main.cpp:98
#19 0x00007faf0625feff in __libc_start_main (main=0x400730 <main(int, char**)>, argc=5, ubp_av=0x7fff1100ce88, init=<value optimized out>, fini=<value optimized out>, rtld_fini=<value optimized out>, stack_end=0x7fff1100ce78) at libc-start.c:226
#20 0x0000000000400659 in _start ()

Possible duplicates by query: bug 279548, bug 278913, bug 277735, bug 277647, bug 277577.

Reported using DrKonqi
Comment 1 Peter Penz 2011-08-13 06:47:56 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).