Bug 274171 - crash when working on ntfs file systems
Summary: crash when working on ntfs file systems
Status: RESOLVED FIXED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 1.6.1
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Peter Penz
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-26 08:39 UTC by stefan
Modified: 2011-05-27 17:25 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 4.7.0
Sentry Crash Report:


Attachments
New crash information added by DrKonqi (2.52 KB, text/plain)
2011-05-27 17:25 UTC, Steve
Details

Note You need to log in before you can comment on or make changes to this bug.
Description stefan 2011-05-26 08:39:43 UTC
Application: dolphin (1.6.1)
KDE Platform Version: 4.6.3 (4.6.3)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-020638-generic x86_64
Distribution: Ubuntu 11.04

-- Information about the crash:
- What I was doing when the application crashed:

open some pdf files out of a ntfs harddisk
dolphin crashes oftn but not every time

The crash can be reproduced some of the time.

-- 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 0x7feadd750780 (LWP 1950))]

Thread 4 (Thread 0x7feac9a86700 (LWP 2183)):
#0  0x00007feadd04bf03 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fead57e9104 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fead57e9639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fead94d0446 in QEventDispatcherGlib::processEvents (this=0x26ed7f0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007fead94a4882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fead94a4abc in QEventLoop::exec (this=0x7feac9a85dd0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007fead93bb924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#7  0x00007fead9486c2f in QInotifyFileSystemWatcherEngine::run (this=0x26cd1a0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007fead93be175 in QThreadPrivate::start (arg=0x26cd1a0) at thread/qthread_unix.cpp:320
#9  0x00007fead5cb4d8c in start_thread (arg=0x7feac9a86700) at pthread_create.c:304
#10 0x00007feadd05904d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7feac2fbf700 (LWP 2191)):
#0  0x00007feadd04bf03 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fead57e9104 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fead57e9639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fead94d0446 in QEventDispatcherGlib::processEvents (this=0x2a37100, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007fead94a4882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fead94a4abc in QEventLoop::exec (this=0x7feac2fbedd0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007fead93bb924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#7  0x00007fead9486c2f in QInotifyFileSystemWatcherEngine::run (this=0x2ba9b10) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007fead93be175 in QThreadPrivate::start (arg=0x2ba9b10) at thread/qthread_unix.cpp:320
#9  0x00007fead5cb4d8c in start_thread (arg=0x7feac2fbf700) at pthread_create.c:304
#10 0x00007feadd05904d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7feac27be700 (LWP 2574)):
[KCrash Handler]
#6  readLittleEndianInt32 (this=0x2fe5870, 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=0x2fe5870, s=<value optimized out>, input=<value optimized out>) at /build/buildd/strigi-0.7.2/src/streams/oleinputstream.cpp:208
#8  0x00007fead3158162 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  0x00007fead7479dfd in OleEndAnalyzer::analyze (this=0x2fbf030, ar=..., in=<value optimized out>) at /build/buildd/strigi-0.7.2/src/streamanalyzer/endanalyzers/oleendanalyzer.cpp:377
#10 0x00007fead7463eca in Strigi::StreamAnalyzerPrivate::analyze (this=0x3024d30, idx=..., input=0x2b70720) at /build/buildd/strigi-0.7.2/src/streamanalyzer/streamanalyzer.cpp:421
#11 0x00007feadb0e9451 in KFileMetaInfoPrivate::init (this=0x2fd9d20, stream=..., url=..., mtime=<value optimized out>, w=<value optimized out>) at ../../kio/kio/kfilemetainfo.cpp:257
#12 0x00007feadb0e9caf in KFileMetaInfo::KFileMetaInfo (this=0x7feac27bdce0, path=<value optimized out>, w=...) at ../../kio/kio/kfilemetainfo.cpp:286
#13 0x00007feadb1b7106 in KLoadFileMetaDataThread::run (this=0x2f4f340) at ../../kio/kfile/kloadfilemetadatathread.cpp:143
#14 0x00007fead93be175 in QThreadPrivate::start (arg=0x2f4f340) at thread/qthread_unix.cpp:320
#15 0x00007fead5cb4d8c in start_thread (arg=0x7feac27be700) at pthread_create.c:304
#16 0x00007feadd05904d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#17 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7feadd750780 (LWP 1950)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fead93be82b in wait (this=<value optimized out>, mutex=0x26fdcb0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x26fdcb0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007fead93bd910 in QThread::wait (this=<value optimized out>, time=18446744073709551615) at thread/qthread_unix.cpp:722
#4  0x00007fead947a5d0 in QFileSystemWatcher::~QFileSystemWatcher (this=0x26cd080, __in_chrg=<value optimized out>) at io/qfilesystemwatcher.cpp:446
#5  0x00007fead947a6a9 in QFileSystemWatcher::~QFileSystemWatcher (this=0x26cd080, __in_chrg=<value optimized out>) at io/qfilesystemwatcher.cpp:462
#6  0x00007fead94b7c14 in QObjectPrivate::deleteChildren (this=0x26ccfe0) at kernel/qobject.cpp:1964
#7  0x00007fead94bc5f4 in QObject::~QObject (this=0x26cf950, __in_chrg=<value optimized out>) at kernel/qobject.cpp:946
#8  0x00007fead8b8d9b9 in Solid::Backends::Fstab::FstabWatcher::~FstabWatcher (this=0x26cf950, __in_chrg=<value optimized out>) at ../../../solid/solid/backends/fstab/fstabwatcher.cpp:51
#9  0x00007feadcfac961 in __run_exit_handlers (status=1) at exit.c:78
#10 exit (status=1) at exit.c:100
#11 0x00007fead9ed0d48 in qt_xio_errhandler () at kernel/qapplication_x11.cpp:781
#12 0x00007feadab82f68 in KApplication::xioErrhandler (this=0x7ffff0da5540, dpy=0x25ee250) at ../../kdeui/kernel/kapplication.cpp:419
#13 0x00007fead6ba6dee in _XIOError () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#14 0x00007fead6ba462d in _XEventsQueued () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#15 0x00007fead6b94f1f in XEventsQueued () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#16 0x00007fead9f0bc4c in x11EventSourceCheck (s=0x25dcbf0) at kernel/qguieventdispatcher_glib.cpp:85
#17 0x00007fead57e8854 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#18 0x00007fead57e9122 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#19 0x00007fead57e9639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#20 0x00007fead94d03ef in QEventDispatcherGlib::processEvents (this=0x2586db0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#21 0x00007fead9f0bdfe in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#22 0x00007fead94a4882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#23 0x00007fead94a4abc in QEventLoop::exec (this=0x7ffff0da54d0, flags=...) at kernel/qeventloop.cpp:201
#24 0x00007fead94a8ecb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#25 0x00007feadd3499e5 in kdemain (argc=3, argv=0x7ffff0da5a68) at ../../../dolphin/src/main.cpp:98
#26 0x00007feadcf91eff in __libc_start_main (main=0x400730 <main(int, char**)>, argc=3, ubp_av=0x7ffff0da5a68, init=<value optimized out>, fini=<value optimized out>, rtld_fini=<value optimized out>, stack_end=0x7ffff0da5a58) at libc-start.c:226
#27 0x0000000000400659 in _start ()

This bug may be a duplicate of or related to bug 257384.

Possible duplicates by query: bug 274123, bug 273820, bug 273320, bug 273295, bug 273272.

Reported using DrKonqi
Comment 1 Peter Penz 2011-05-26 08:54:49 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).
Comment 2 Steve 2011-05-27 17:25:29 UTC
Created attachment 60389 [details]
New crash information added by DrKonqi

konqueror (4.6.00 (4.6.0) "release 6") on KDE Platform 4.6.00 (4.6.0) "release 6" using Qt 4.7.1

- What I was doing when the application crashed: Open two instances of Konquor to copy from an ext3 partition to an ntfs partition on the same dual boot machine.  The ntfs partition was formated with either windows 7 or windows server 2008R2

-- Backtrace (Reduced):
#12 0x00007f85ac697333 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#13 0x00007f85ac69b6ab in QCoreApplication::exec() () from /usr/lib64/libQtCore.so.4
#14 0x00007f859b42934a in kdemain () from /usr/lib64/libkdeinit4_konqueror.so
#15 0x00000000004075e9 in _start ()