Bug 276217 - dolphin crash on usb stick unmount
Summary: dolphin crash on usb stick unmount
Status: RESOLVED FIXED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 1.6.1
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Peter Penz
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-21 22:32 UTC by hoea
Modified: 2011-06-22 08:54 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description hoea 2011-06-21 22:32:07 UTC
Application: dolphin (1.6.1)
KDE Platform Version: 4.6.4 (4.6.4) (Compiled from sources)
Qt Version: 4.7.3
Operating System: Linux 2.6.39-gentoo-r1 x86_64
Distribution (Platform): Gentoo Packages

-- Information about the crash:
- What I was doing when the application crashed:
after copying a file to an usb stick I tried to "safely remove" the stick which resulted in an message "the stick cann't be removed because a file is still open" and a dlphin crash

-- Backtrace:
Application: Dolphin (dolphin), signal: Segmentation fault
pthread_cond_wait () 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 0x7f4209bf0760 (LWP 10795))]

Thread 5 (Thread 0x7f4203c66700 (LWP 10797)):
#0  0xffffffffff600136 in ?? ()
#1  0x00007f4203c65ae0 in ?? ()
#2  0x00007fff6b94b6de in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 4 (Thread 0x7f42030cf700 (LWP 14447)):
[KCrash Handler]
#6  readLittleEndianInt32 (this=0x7f41fc136610, s=<value optimized out>, input=0x7f42030ce614) at /mnt/data/build/portage/app-misc/strigi-0.7.2/work/strigi-0.7.2/src/streams/textutils.h:78
#7  Strigi::OleInputStream::Private::Private (this=0x7f41fc136610, s=<value optimized out>, input=0x7f42030ce614) at /mnt/data/build/portage/app-misc/strigi-0.7.2/work/strigi-0.7.2/src/streams/oleinputstream.cpp:208
#8  0x0000003f36a2ae22 in Strigi::OleInputStream::OleInputStream (this=<value optimized out>, input=<value optimized out>) at /mnt/data/build/portage/app-misc/strigi-0.7.2/work/strigi-0.7.2/src/streams/oleinputstream.cpp:151
#9  0x0000003f366559c5 in OleEndAnalyzer::analyze (this=0x7f41fc094d40, ar=..., in=<value optimized out>) at /mnt/data/build/portage/app-misc/strigi-0.7.2/work/strigi-0.7.2/src/streamanalyzer/endanalyzers/oleendanalyzer.cpp:377
#10 0x0000003f3664028a in Strigi::StreamAnalyzerPrivate::analyze (this=0x7f41fc107650, idx=..., input=0x7f41fc18ded0) at /mnt/data/build/portage/app-misc/strigi-0.7.2/work/strigi-0.7.2/src/streamanalyzer/streamanalyzer.cpp:421
#11 0x0000003a2234d8e5 in KFileMetaInfoPrivate::init (this=<value optimized out>, stream=..., url=<value optimized out>, mtime=1304677290, w=<value optimized out>) at /mnt/data/build/portage/kde-base/kdelibs-4.6.4/work/kdelibs-4.6.4/kio/kio/kfilemetainfo.cpp:257
#12 0x0000003a2234e157 in KFileMetaInfo::KFileMetaInfo (this=0x7f42030ced00, path=<value optimized out>, w=<value optimized out>) at /mnt/data/build/portage/kde-base/kdelibs-4.6.4/work/kdelibs-4.6.4/kio/kio/kfilemetainfo.cpp:286
#13 0x0000003a22418df9 in KLoadFileMetaDataThread::run (this=0x16460a0) at /mnt/data/build/portage/kde-base/kdelibs-4.6.4/work/kdelibs-4.6.4/kio/kfile/kloadfilemetadatathread.cpp:143
#14 0x0000003f29a79b15 in QThreadPrivate::start (arg=0x16460a0) at thread/qthread_unix.cpp:320
#15 0x0000003f24206d4c in start_thread (arg=0x7f42030cf700) at pthread_create.c:301
#16 0x0000003f23ad740d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 3 (Thread 0x7f420267d700 (LWP 14459)):
#0  pthread_cond_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x0000003f29a78c6b in QMutexPrivate::wait (this=0x1b52640, timeout=-1) at thread/qmutex_unix.cpp:84
#2  0x0000003f29a75705 in QMutex::lock (this=0x3a226b2780) at thread/qmutex.cpp:204
#3  0x0000003a22418d91 in KLoadFileMetaDataThread::run (this=0x1ddafd0) at /mnt/data/build/portage/kde-base/kdelibs-4.6.4/work/kdelibs-4.6.4/kio/kfile/kloadfilemetadatathread.cpp:140
#4  0x0000003f29a79b15 in QThreadPrivate::start (arg=0x1ddafd0) at thread/qthread_unix.cpp:320
#5  0x0000003f24206d4c in start_thread (arg=0x7f420267d700) at pthread_create.c:301
#6  0x0000003f23ad740d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7f41f9587700 (LWP 14819)):
#0  pthread_cond_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x0000003f29a78c6b in QMutexPrivate::wait (this=0x1b52640, timeout=-1) at thread/qmutex_unix.cpp:84
#2  0x0000003f29a75705 in QMutex::lock (this=0x3a226b2780) at thread/qmutex.cpp:204
#3  0x0000003a22418d91 in KLoadFileMetaDataThread::run (this=0x16d3350) at /mnt/data/build/portage/kde-base/kdelibs-4.6.4/work/kdelibs-4.6.4/kio/kfile/kloadfilemetadatathread.cpp:140
#4  0x0000003f29a79b15 in QThreadPrivate::start (arg=0x16d3350) at thread/qthread_unix.cpp:320
#5  0x0000003f24206d4c in start_thread (arg=0x7f41f9587700) at pthread_create.c:301
#6  0x0000003f23ad740d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7f4209bf0760 (LWP 10795)):
#0  pthread_cond_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x0000003f29a7a1e3 in wait (this=<value optimized out>, mutex=0x1618850, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1618850, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x0000003f29a792e1 in QThread::wait (this=<value optimized out>, time=18446744073709551615) at thread/qthread_unix.cpp:722
#4  0x0000003f29b34530 in QFileSystemWatcher::~QFileSystemWatcher (this=0x16dfab0, __in_chrg=<value optimized out>) at io/qfilesystemwatcher.cpp:446
#5  0x0000003f29b34609 in QFileSystemWatcher::~QFileSystemWatcher (this=0x16dfab0, __in_chrg=<value optimized out>) at io/qfilesystemwatcher.cpp:462
#6  0x0000003f29b71b03 in QObjectPrivate::deleteChildren (this=0x1618660) at kernel/qobject.cpp:1955
#7  0x0000003f29b76512 in QObject::~QObject (this=0x1693b10, __in_chrg=<value optimized out>) at kernel/qobject.cpp:946
#8  0x0000003a234aa2b9 in Solid::Backends::Fstab::FstabWatcher::~FstabWatcher (this=0x1693b10, __in_chrg=<value optimized out>) at /mnt/data/build/portage/kde-base/kdelibs-4.6.4/work/kdelibs-4.6.4/solid/solid/backends/fstab/fstabwatcher.cpp:51
#9  0x0000003f23a35521 in __run_exit_handlers (status=1, listp=0x3f23d864c8, run_list_atexit=true) at exit.c:78
#10 0x0000003f23a35575 in exit (status=23609244) at exit.c:100
#11 0x0000003a1da338c8 in qt_xio_errhandler () at kernel/qapplication_x11.cpp:772
#12 0x0000003a210489e8 in KApplication::xioErrhandler (this=0x7fff6b82e340, dpy=0x14a3d30) at /mnt/data/build/portage/kde-base/kdelibs-4.6.4/work/kdelibs-4.6.4/kdeui/kernel/kapplication.cpp:419
#13 0x0000003f25a4965e in _XIOError (dpy=0x14a3d30) at /mnt/data/build/portage/x11-libs/libX11-1.4.3/work/libX11-1.4.3/src/XlibInt.c:1618
#14 0x0000003f25a46f8d in _XEventsQueued (dpy=0x14a3d30, mode=<value optimized out>) at /mnt/data/build/portage/x11-libs/libX11-1.4.3/work/libX11-1.4.3/src/xcb_io.c:307
#15 0x0000003f25a37c7f in XEventsQueued (dpy=0x14a3d30, mode=2) at /mnt/data/build/portage/x11-libs/libX11-1.4.3/work/libX11-1.4.3/src/Pending.c:43
#16 0x0000003a1da6c5ac in x11EventSourceCheck (s=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:85
#17 0x0000003f27e44603 in g_main_context_check (context=0x146f8e0, max_priority=0, fds=<value optimized out>, n_fds=<value optimized out>) at gmain.c:2962
#18 0x0000003f27e44eca in g_main_context_iterate (context=0x146f8e0, block=1, dispatch=1, self=<value optimized out>) at gmain.c:3089
#19 0x0000003f27e453cd in g_main_context_iteration (context=0x146f8e0, may_block=1) at gmain.c:3155
#20 0x0000003f29b89aaf in QEventDispatcherGlib::processEvents (this=0x14768c0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#21 0x0000003a1da6c75e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#22 0x0000003f29b5e8a2 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#23 0x0000003f29b5eae4 in QEventLoop::exec (this=0x7fff6b82e280, flags=...) at kernel/qeventloop.cpp:201
#24 0x0000003f29b62e63 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#25 0x0000003a1e644f9d in kdemain (argc=5, argv=0x7fff6b82e868) at /mnt/data/build/portage/kde-base/dolphin-4.6.4/work/dolphin-4.6.4/dolphin/src/main.cpp:98
#26 0x0000003f23a1eebd in __libc_start_main (main=0x400870 <main(int, char**)>, argc=5, ubp_av=0x7fff6b82e868, init=<value optimized out>, fini=<value optimized out>, rtld_fini=<value optimized out>, stack_end=0x7fff6b82e858) at libc-start.c:226
#27 0x0000000000400799 in _start ()

Possible duplicates by query: bug 275957, bug 275843, bug 275474, bug 275368, bug 275258.

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