Bug 273272

Summary: dolphin crashed while browsing a NTFS formatted device
Product: [Applications] dolphin Reporter: erik6350
Component: generalAssignee: Peter Penz <peter.penz19>
Status: RESOLVED FIXED    
Severity: crash CC: erik6350
Priority: NOR    
Version: 1.6.1   
Target Milestone: ---   
Platform: Debian unstable   
OS: Linux   
Latest Commit: Version Fixed In: 4.7.0
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description erik6350 2011-05-14 16:56:25 UTC
Application: dolphin (1.6.1)
KDE Platform Version: 4.6.2 (4.6.2)
Qt Version: 4.7.3
Operating System: Linux 2.6.38-6.slh.1-aptosid-686 i686
Distribution: Debian GNU/Linux unstable (sid)

-- Information about the crash:
- What I was doing when the application crashed: I had opened dolphin with kdesu, so I that was able to modify files on my internal harddrive where Windows is installed on. For this I need to have root rights, because I use ntfs-3g on my aptosid operating system. After I have deleted some files with overall approx. 6 GB, I browsed throght my folders and wanted to open a folder when dolphin (root) suddenly dolphin has crashed. I have seen that there are bug reports with persons that have similar problems like "dolphin crashed after clicking on a PPT file on NTFS". Maybe this problem is related to the same bug, but I am not completely sure so I am sending this as a seperate Bug-Report. (following repos were activated for upgrading to KDE 4.6.2:
deb http://qt-kde.debian.net/debian experimental-snapshots main
deb http://ftp.de.debian.org/debian/ experimental main contrib non-free)

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

Thread 3 (Thread 0xb23f0b70 (LWP 8788)):
#0  0xb517ae11 in clock_gettime () from /lib/i686/cmov/librt.so.1
#1  0xb5c31fb5 in do_gettime () at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0xb5d04c86 in QTimerInfoList::updateCurrentTime (this=0xb1a01a74) at kernel/qeventdispatcher_unix.cpp:339
#4  0xb5d04fea in QTimerInfoList::timerWait (this=0xb1a01a74, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0xb5d03843 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xb23f010c) at kernel/qeventdispatcher_glib.cpp:136
#6  0xb5d038dd in timerSourcePrepare (source=0xb1a01a40, timeout=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0xb530f74e in g_main_context_prepare () from /lib/libglib-2.0.so.0
#8  0xb5310613 in ?? () from /lib/libglib-2.0.so.0
#9  0xb5310ce4 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#10 0xb5d04317 in QEventDispatcherGlib::processEvents (this=0x87b8578, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#11 0xb5cd4f9d in QEventLoop::processEvents (this=0xb23f02b0, flags=...) at kernel/qeventloop.cpp:149
#12 0xb5cd51e1 in QEventLoop::exec (this=0xb23f02b0, flags=...) at kernel/qeventloop.cpp:201
#13 0xb5bd7eeb in QThread::exec (this=0x87a02f8) at thread/qthread.cpp:492
#14 0xb5cb5a4d in QInotifyFileSystemWatcherEngine::run (this=0x87a02f8) at io/qfilesystemwatcher_inotify.cpp:248
#15 0xb5bdad53 in QThreadPrivate::start (arg=0x87a02f8) at thread/qthread_unix.cpp:320
#16 0xb53c4c39 in start_thread () from /lib/i686/cmov/libpthread.so.0
#17 0xb77028ee in clone () from /lib/i686/cmov/libc.so.6

Thread 2 (Thread 0xa27f3b70 (LWP 9802)):
[KCrash Handler]
#7  readLittleEndianInt32 (this=0xb08e1658, s=0xa27f2f2c, input=0xb0885a80) at /build/buildd-strigi_0.7.2-1+b1-i386-km54Pe/strigi-0.7.2/src/streams/textutils.h:78
#8  Strigi::OleInputStream::Private::Private (this=0xb08e1658, s=0xa27f2f2c, input=0xb0885a80) at /build/buildd-strigi_0.7.2-1+b1-i386-km54Pe/strigi-0.7.2/src/streams/oleinputstream.cpp:208
#9  0xb50b7b66 in Strigi::OleInputStream::OleInputStream (this=0xa27f2f2c, input=0xb0885a80) at /build/buildd-strigi_0.7.2-1+b1-i386-km54Pe/strigi-0.7.2/src/streams/oleinputstream.cpp:151
#10 0xb5763052 in OleEndAnalyzer::analyze (this=0xb08a81a0, ar=..., in=0x16b) at /build/buildd-strigi_0.7.2-1+b1-i386-km54Pe/strigi-0.7.2/src/streamanalyzer/endanalyzers/oleendanalyzer.cpp:377
#11 0xb574d822 in Strigi::StreamAnalyzerPrivate::analyze (this=0xb0885030, idx=..., input=0xb0885a80) at /build/buildd-strigi_0.7.2-1+b1-i386-km54Pe/strigi-0.7.2/src/streamanalyzer/streamanalyzer.cpp:421
#12 0xb70479ce in KFileMetaInfoPrivate::init (this=0xb087e700, stream=..., url=..., mtime=1305362605, w=...) at ../../kio/kio/kfilemetainfo.cpp:257
#13 0xb704831d in KFileMetaInfo::KFileMetaInfo (this=0xa27f32cc, path=..., w=...) at ../../kio/kio/kfilemetainfo.cpp:286
#14 0xb71294ff in KLoadFileMetaDataThread::run (this=0x8c69f88) at ../../kio/kfile/kloadfilemetadatathread.cpp:143
#15 0xb5bdad53 in QThreadPrivate::start (arg=0x8c69f88) at thread/qthread_unix.cpp:320
#16 0xb53c4c39 in start_thread () from /lib/i686/cmov/libpthread.so.0
#17 0xb77028ee in clone () from /lib/i686/cmov/libc.so.6

Thread 1 (Thread 0xb4be5710 (LWP 8779)):
#0  0xb7817424 in __kernel_vsyscall ()
#1  0xb53c920a in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/cmov/libpthread.so.0
#2  0xb770f9dd in pthread_cond_wait () from /lib/i686/cmov/libc.so.6
#3  0xb5bdb260 in wait (this=0x87d5810, mutex=0x87d57f8, time=4294967295) at thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0x87d5810, mutex=0x87d57f8, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#5  0xb5bdaa15 in QThread::wait (this=0x87a02f8, time=4294967295) at thread/qthread_unix.cpp:722
#6  0xb5ca7e45 in QFileSystemWatcher::~QFileSystemWatcher (this=0x87750f8, __in_chrg=<value optimized out>) at io/qfilesystemwatcher.cpp:446
#7  0xb5ca7f12 in QFileSystemWatcher::~QFileSystemWatcher (this=0x87750f8, __in_chrg=<value optimized out>) at io/qfilesystemwatcher.cpp:462
#8  0xb5ce9ee1 in QObjectPrivate::deleteChildren (this=0x87c8af0) at kernel/qobject.cpp:1955
#9  0xb5ceead9 in QObject::~QObject (this=0x878b560, __in_chrg=<value optimized out>) at kernel/qobject.cpp:946
#10 0xb59c33eb in Solid::Backends::Fstab::FstabWatcher::~FstabWatcher (this=0x878b560, __in_chrg=<value optimized out>) at ../../../solid/solid/backends/fstab/fstabwatcher.cpp:48
#11 0xb59c3422 in Solid::Backends::Fstab::FstabWatcher::~FstabWatcher (this=0x878b560, __in_chrg=<value optimized out>) at ../../../solid/solid/backends/fstab/fstabwatcher.cpp:51
#12 0xb59c3295 in destroy () at ../../../solid/solid/backends/fstab/fstabwatcher.cpp:30
#13 0xb594b4bb in Solid::CleanUpGlobalStatic::~CleanUpGlobalStatic (this=0xb59df40c, __in_chrg=<value optimized out>) at ../../../solid/solid/soliddefs_p.h:67
#14 0xb76654bf in ?? () from /lib/i686/cmov/libc.so.6
#15 0xb766552f in exit () from /lib/i686/cmov/libc.so.6
#16 0xb626e4a8 in qt_xio_errhandler () at kernel/qapplication_x11.cpp:772
#17 0xb6d5383a in KApplication::xioErrhandler (this=0xbfb68320, dpy=0x86861f8) at ../../kdeui/kernel/kapplication.cpp:419
#18 0xb6d53876 in kde_xio_errhandler (dpy=0x86861f8) at ../../kdeui/kernel/kapplication.cpp:126
#19 0xb54a43e6 in _XIOError () from /usr/lib/libX11.so.6
#20 0xb54a1b7f in _XEventsQueued () from /usr/lib/libX11.so.6
#21 0xb549274b in XEventsQueued () from /usr/lib/libX11.so.6
#22 0xb62aaf15 in x11EventSourceCheck (s=0x8675a40) at kernel/qguieventdispatcher_glib.cpp:85
#23 0xb530feb7 in g_main_context_check () from /lib/libglib-2.0.so.0
#24 0xb53107fa in ?? () from /lib/libglib-2.0.so.0
#25 0xb5310ce4 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#26 0xb5d042b7 in QEventDispatcherGlib::processEvents (this=0x864fb88, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#27 0xb62ab14a in QGuiEventDispatcherGlib::processEvents (this=0x864fb88, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#28 0xb5cd4f9d in QEventLoop::processEvents (this=0xbfb68264, flags=...) at kernel/qeventloop.cpp:149
#29 0xb5cd51e1 in QEventLoop::exec (this=0xbfb68264, flags=...) at kernel/qeventloop.cpp:201
#30 0xb5cd994a in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#31 0xb61f3ea4 in QApplication::exec () at kernel/qapplication.cpp:3741
#32 0xb77e67c5 in kdemain (argc=1, argv=0xbfb68514) at ../../../dolphin/src/main.cpp:98
#33 0x0804860b in main (argc=1, argv=0xbfb68514) at dolphin_dummy.cpp:3

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

Reported using DrKonqi
Comment 1 erik6350 2011-05-14 17:08:01 UTC
Created attachment 59991 [details]
New crash information added by DrKonqi

dolphin (1.6.1) on KDE Platform 4.6.2 (4.6.2) using Qt 4.7.3

- What I was doing when the application crashed:
(see bugreport 273272)
Same problem on the same System in the same folder.
Browsed the folder (VistaOS) /media/disk1part2/Program Data/Apple Computer/Installer Cache/iTunes 10.2.2.14/ and hovered an .msi file, so this bugreport might have additional existing duplicates.

-- Backtrace (Reduced):
#7  readLittleEndianInt32 (this=0xb0deb1f0, s=0xb188cf2c, input=0xb0dc7f88) at /build/buildd-strigi_0.7.2-1+b1-i386-km54Pe/strigi-0.7.2/src/streams/textutils.h:78
#8  Strigi::OleInputStream::Private::Private (this=0xb0deb1f0, s=0xb188cf2c, input=0xb0dc7f88) at /build/buildd-strigi_0.7.2-1+b1-i386-km54Pe/strigi-0.7.2/src/streams/oleinputstream.cpp:208
#9  0xb5175b66 in Strigi::OleInputStream::OleInputStream (this=0xb188cf2c, input=0xb0dc7f88) at /build/buildd-strigi_0.7.2-1+b1-i386-km54Pe/strigi-0.7.2/src/streams/oleinputstream.cpp:151
#10 0xb5821052 in OleEndAnalyzer::analyze (this=0xb0dc79e0, ar=..., in=0x16b) at /build/buildd-strigi_0.7.2-1+b1-i386-km54Pe/strigi-0.7.2/src/streamanalyzer/endanalyzers/oleendanalyzer.cpp:377
#11 0xb580b822 in Strigi::StreamAnalyzerPrivate::analyze (this=0xb0da3b00, idx=..., input=0xb0dc7f88) at /build/buildd-strigi_0.7.2-1+b1-i386-km54Pe/strigi-0.7.2/src/streamanalyzer/streamanalyzer.cpp:421
Comment 2 Peter Penz 2011-05-14 18:35:05 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).