Bug 273295

Summary: Dolphin crashes after opening a PDF
Product: [Applications] dolphin Reporter: Frank Lausch <FrankLausch>
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 Frank Lausch 2011-05-14 21:17:20 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: after i have connected an USB-Stick, i opened the related applicatin dolphin and then in dolphin a pdf-file; while scrolling through the pdf whith okular suddenly dolphin crashed

The crash does not seem to be reproducible.

-- 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 0x7f44596fc780 (LWP 1793))]

Thread 4 (Thread 0x7f4446078700 (LWP 1833)):
#0  0x00007f4458fedf03 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f445178c104 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f445178c639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f4455473446 in QEventDispatcherGlib::processEvents (this=0x20cb880, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f4455447882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f4455447abc in QEventLoop::exec (this=0x7f4446077dd0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f445535e924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#7  0x00007f4455429c2f in QInotifyFileSystemWatcherEngine::run (this=0x20caf20) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f4455361175 in QThreadPrivate::start (arg=0x20caf20) at thread/qthread_unix.cpp:320
#9  0x00007f4451c57d8c in start_thread (arg=0x7f4446078700) at pthread_create.c:304
#10 0x00007f4458ffb04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f4444d98700 (LWP 2907)):
#0  0x00007f4458fedf03 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f445178c104 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f445178c639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f4455473446 in QEventDispatcherGlib::processEvents (this=0x2de58b0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f4455447882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f4455447abc in QEventLoop::exec (this=0x7f4444d97dd0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f445535e924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#7  0x00007f4455429c2f in QInotifyFileSystemWatcherEngine::run (this=0x1fc4790) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f4455361175 in QThreadPrivate::start (arg=0x1fc4790) at thread/qthread_unix.cpp:320
#9  0x00007f4451c57d8c in start_thread (arg=0x7f4444d98700) at pthread_create.c:304
#10 0x00007f4458ffb04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f443e55e700 (LWP 2928)):
[KCrash Handler]
#6  readLittleEndianInt32 (this=0x7f44400f0130, 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=0x7f44400f0130, s=<value optimized out>, input=<value optimized out>) at /build/buildd/strigi-0.7.2/src/streams/oleinputstream.cpp:208
#8  0x00007f444f0fb162 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  0x00007f445341cdfd in OleEndAnalyzer::analyze (this=0x7f4440058380, ar=..., in=<value optimized out>) at /build/buildd/strigi-0.7.2/src/streamanalyzer/endanalyzers/oleendanalyzer.cpp:377
#10 0x00007f4453406eca in Strigi::StreamAnalyzerPrivate::analyze (this=0x7f444006d900, idx=..., input=0x7f444008eac0) at /build/buildd/strigi-0.7.2/src/streamanalyzer/streamanalyzer.cpp:421
#11 0x00007f445708b7d1 in KFileMetaInfoPrivate::init (this=0x7f4440026b30, stream=..., url=..., mtime=<value optimized out>, w=<value optimized out>) at ../../kio/kio/kfilemetainfo.cpp:257
#12 0x00007f445708c02f in KFileMetaInfo::KFileMetaInfo (this=0x7f443e55dce0, path=<value optimized out>, w=...) at ../../kio/kio/kfilemetainfo.cpp:286
#13 0x00007f44571594b6 in KLoadFileMetaDataThread::run (this=0x2f118e0) at ../../kio/kfile/kloadfilemetadatathread.cpp:143
#14 0x00007f4455361175 in QThreadPrivate::start (arg=0x2f118e0) at thread/qthread_unix.cpp:320
#15 0x00007f4451c57d8c in start_thread (arg=0x7f443e55e700) at pthread_create.c:304
#16 0x00007f4458ffb04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#17 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f44596fc780 (LWP 1793)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f445536182b in wait (this=<value optimized out>, mutex=0x20cb0e0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x20cb0e0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f4455360910 in QThread::wait (this=<value optimized out>, time=18446744073709551615) at thread/qthread_unix.cpp:722
#4  0x00007f445541d5d0 in QFileSystemWatcher::~QFileSystemWatcher (this=0x20cadd0, __in_chrg=<value optimized out>) at io/qfilesystemwatcher.cpp:446
#5  0x00007f445541d6a9 in QFileSystemWatcher::~QFileSystemWatcher (this=0x20cadd0, __in_chrg=<value optimized out>) at io/qfilesystemwatcher.cpp:462
#6  0x00007f445545ac14 in QObjectPrivate::deleteChildren (this=0x20cad30) at kernel/qobject.cpp:1964
#7  0x00007f445545f5f4 in QObject::~QObject (this=0x20caf70, __in_chrg=<value optimized out>) at kernel/qobject.cpp:946
#8  0x00007f4454b307d9 in Solid::Backends::Fstab::FstabWatcher::~FstabWatcher (this=0x20caf70, __in_chrg=<value optimized out>) at ../../../solid/solid/backends/fstab/fstabwatcher.cpp:51
#9  0x00007f4458f4e961 in __run_exit_handlers (status=1) at exit.c:78
#10 exit (status=1) at exit.c:100
#11 0x00007f4455e73d48 in qt_xio_errhandler () at kernel/qapplication_x11.cpp:781
#12 0x00007f4456b25638 in KApplication::xioErrhandler (this=0x7fffea64e7e0, dpy=0x1f979d0) at ../../kdeui/kernel/kapplication.cpp:419
#13 0x00007f4452b49dee in _XIOError () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#14 0x00007f4452b4762d in _XEventsQueued () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#15 0x00007f4452b37f1f in XEventsQueued () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#16 0x00007f4455eaec4c in x11EventSourceCheck (s=0x1f85210) at kernel/qguieventdispatcher_glib.cpp:85
#17 0x00007f445178b854 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#18 0x00007f445178c122 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#19 0x00007f445178c639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#20 0x00007f44554733ef in QEventDispatcherGlib::processEvents (this=0x1f2edb0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#21 0x00007f4455eaedfe in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#22 0x00007f4455447882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#23 0x00007f4455447abc in QEventLoop::exec (this=0x7fffea64e770, flags=...) at kernel/qeventloop.cpp:201
#24 0x00007f445544becb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#25 0x00007f44592eb995 in kdemain (argc=3, argv=0x7fffea64ed08) at ../../../dolphin/src/main.cpp:98
#26 0x00007f4458f33eff in __libc_start_main (main=0x400730 <main(int, char**)>, argc=3, ubp_av=0x7fffea64ed08, init=<value optimized out>, fini=<value optimized out>, rtld_fini=<value optimized out>, stack_end=0x7fffea64ecf8) at libc-start.c:226
#27 0x0000000000400659 in _start ()

Possible duplicates by query: bug 273272, bug 272563, bug 272185, bug 271822, bug 271718.

Reported using DrKonqi
Comment 1 Peter Penz 2011-05-14 21:58:58 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).