Bug 275368

Summary: Dolphin crashed after opening a PDF on NTFS file system
Product: [Applications] dolphin Reporter: dscoggins <dreamin_bmw>
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 dscoggins 2011-06-11 01:53:32 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: While viewing files on my internal NTFS filesystem dolphin crashed either while hovering over a PDF or PPT files or after opening a PDF in Okular. Most of the time, over 65%, Okular did not have time to open before dolphin crashed. This is repeatable, although I have rebooted and tried. System is up to date on all software.

The crash can be reproduced every time.

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

Thread 4 (Thread 0x7ff3b4374700 (LWP 2255)):
#0  0x00007ff3c7750f03 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007ff3bfeef104 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ff3bfeef639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ff3c3bd6446 in QEventDispatcherGlib::processEvents (this=0x7ff3ac0008b0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007ff3c3baa882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007ff3c3baaabc in QEventLoop::exec (this=0x7ff3b4373dd0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007ff3c3ac1924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#7  0x00007ff3c3b8cc2f in QInotifyFileSystemWatcherEngine::run (this=0x1737190) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007ff3c3ac4175 in QThreadPrivate::start (arg=0x1737190) at thread/qthread_unix.cpp:320
#9  0x00007ff3c03bad8c in start_thread (arg=0x7ff3b4374700) at pthread_create.c:304
#10 0x00007ff3c775e04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7ff3b1da6700 (LWP 2259)):
#0  0x00007ff3bfeee02f in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007ff3bfeeef9d in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ff3bfeef639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ff3c3bd6446 in QEventDispatcherGlib::processEvents (this=0x1779790, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007ff3c3baa882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007ff3c3baaabc in QEventLoop::exec (this=0x7ff3b1da5dd0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007ff3c3ac1924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#7  0x00007ff3c3b8cc2f in QInotifyFileSystemWatcherEngine::run (this=0x1ae4e80) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007ff3c3ac4175 in QThreadPrivate::start (arg=0x1ae4e80) at thread/qthread_unix.cpp:320
#9  0x00007ff3c03bad8c in start_thread (arg=0x7ff3b1da6700) at pthread_create.c:304
#10 0x00007ff3c775e04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7ff3b14c4700 (LWP 9412)):
[KCrash Handler]
#6  readLittleEndianInt32 (this=0x1ff28b0, 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=0x1ff28b0, s=<value optimized out>, input=<value optimized out>) at /build/buildd/strigi-0.7.2/src/streams/oleinputstream.cpp:208
#8  0x00007ff3bd85e162 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  0x00007ff3c1b7fdfd in OleEndAnalyzer::analyze (this=0x1fc4d50, ar=..., in=<value optimized out>) at /build/buildd/strigi-0.7.2/src/streamanalyzer/endanalyzers/oleendanalyzer.cpp:377
#10 0x00007ff3c1b69eca in Strigi::StreamAnalyzerPrivate::analyze (this=0x1d8b860, idx=..., input=0x1f9d480) at /build/buildd/strigi-0.7.2/src/streamanalyzer/streamanalyzer.cpp:421
#11 0x00007ff3c57ee7d1 in KFileMetaInfoPrivate::init (this=0x1b10d90, stream=..., url=..., mtime=<value optimized out>, w=<value optimized out>) at ../../kio/kio/kfilemetainfo.cpp:257
#12 0x00007ff3c57ef02f in KFileMetaInfo::KFileMetaInfo (this=0x7ff3b14c3ce0, path=<value optimized out>, w=...) at ../../kio/kio/kfilemetainfo.cpp:286
#13 0x00007ff3c58bc4b6 in KLoadFileMetaDataThread::run (this=0x1f3e300) at ../../kio/kfile/kloadfilemetadatathread.cpp:143
#14 0x00007ff3c3ac4175 in QThreadPrivate::start (arg=0x1f3e300) at thread/qthread_unix.cpp:320
#15 0x00007ff3c03bad8c in start_thread (arg=0x7ff3b14c4700) at pthread_create.c:304
#16 0x00007ff3c775e04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#17 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ff3c7e5c780 (LWP 2254)):
#0  0x00007ff3c7750f03 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007ff3bdcc3512 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007ff3bdcc3a5f in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007ff3bdcc3ae4 in xcb_writev () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#4  0x00007ff3c12aa2a7 in _XSend () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#5  0x00007ff3c12aa641 in _XEventsQueued () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#6  0x00007ff3c129af8d in XPending () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#7  0x00007ff3c45eb421 in QETWidget::translateMouseEvent (this=0x17dcb90, event=0x7fff96bbe820) at kernel/qapplication_x11.cpp:4274
#8  0x00007ff3c45ea04a in QApplication::x11ProcessEvent (this=0x7fff96bbeb90, event=0x7fff96bbe820) at kernel/qapplication_x11.cpp:3678
#9  0x00007ff3c4612162 in x11EventSourceDispatch (s=0x15000a0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#10 0x00007ff3bfeeebcd in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007ff3bfeef3a8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#12 0x00007ff3bfeef639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#13 0x00007ff3c3bd63ef in QEventDispatcherGlib::processEvents (this=0x14afdb0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#14 0x00007ff3c4611dfe in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#15 0x00007ff3c3baa882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#16 0x00007ff3c3baaabc in QEventLoop::exec (this=0x7fff96bbeb20, flags=...) at kernel/qeventloop.cpp:201
#17 0x00007ff3c3baeecb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#18 0x00007ff3c7a4e995 in kdemain (argc=5, argv=0x7fff96bbf0b8) at ../../../dolphin/src/main.cpp:98
#19 0x00007ff3c7696eff in __libc_start_main (main=0x400730 <main(int, char**)>, argc=5, ubp_av=0x7fff96bbf0b8, init=<value optimized out>, fini=<value optimized out>, rtld_fini=<value optimized out>, stack_end=0x7fff96bbf0a8) at libc-start.c:226
#20 0x0000000000400659 in _start ()

Possible duplicates by query: bug 275258, bug 275211, bug 274171, bug 274123, bug 273820.

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