Bug 277647 - Dolphin crashes when hovering over msi files with preview enabled
Summary: Dolphin crashes when hovering over msi files with preview enabled
Status: RESOLVED FIXED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 1.6.1
Platform: Debian unstable Linux
: NOR crash
Target Milestone: ---
Assignee: Peter Penz
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-12 20:13 UTC by Per (phobie)
Modified: 2011-07-12 21:17 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 4.7.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Per (phobie) 2011-07-12 20:13:47 UTC
Application: dolphin (1.6.1)
KDE Platform Version: 4.6.4 (4.6.4)
Qt Version: 4.7.3
Operating System: Linux 2.6.39-3.slh.1-aptosid-amd64 x86_64
Distribution (Platform): Debian unstable

-- Information about the crash:
Downloaded some of the msi installer from python.org
When I hover over one of them dolphin crashes every time.
If I disable the Preview for "Microsoft Windows Executables" Dolphin does not crash anymore.

The crash can be reproduced every 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 0x7f4d7d243760 (LWP 12353))]

Thread 3 (Thread 0x7f4d677f1700 (LWP 12357)):
#0  __libc_enable_asynccancel () at ../nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S:66
#1  0x00007f4d7cb2f708 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:85
#2  0x00007f4d750199e4 in g_main_context_poll (context=0x1fc6a20, block=1, dispatch=1, self=<value optimized out>) at /tmp/buildd/glib2.0-2.28.6/./glib/gmain.c:3404
#3  g_main_context_iterate (context=0x1fc6a20, block=1, dispatch=1, self=<value optimized out>) at /tmp/buildd/glib2.0-2.28.6/./glib/gmain.c:3086
#4  0x00007f4d75019f1d in g_main_context_iteration (context=0x1fc6a20, may_block=1) at /tmp/buildd/glib2.0-2.28.6/./glib/gmain.c:3154
#5  0x00007f4d78f21b26 in QEventDispatcherGlib::processEvents (this=0x1fa9870, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#6  0x00007f4d78ef61c2 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f4d78ef63bf in QEventLoop::exec (this=0x7f4d677f0df0, flags=...) at kernel/qeventloop.cpp:201
#8  0x00007f4d78e0e1ef in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#9  0x00007f4d78ed91ef in QInotifyFileSystemWatcherEngine::run (this=0x1f824f0) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x00007f4d78e10c05 in QThreadPrivate::start (arg=0x1f824f0) at thread/qthread_unix.cpp:320
#11 0x00007f4d754e4b40 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#12 0x00007f4d7cb3a36d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f4d66d3d700 (LWP 16733)):
[KCrash Handler]
#6  readLittleEndianInt32 (this=0x2674d80, s=<value optimized out>, input=<value optimized out>) at /build/buildd-strigi_0.7.2-1+b1-amd64-Xu86fT/strigi-0.7.2/src/streams/textutils.h:78
#7  Strigi::OleInputStream::Private::Private (this=0x2674d80, s=<value optimized out>, input=<value optimized out>) at /build/buildd-strigi_0.7.2-1+b1-amd64-Xu86fT/strigi-0.7.2/src/streams/oleinputstream.cpp:208
#8  0x00007f4d72778172 in Strigi::OleInputStream::OleInputStream (this=0x7f4d66d3c760, input=0x2621ce0) at /build/buildd-strigi_0.7.2-1+b1-amd64-Xu86fT/strigi-0.7.2/src/streams/oleinputstream.cpp:151
#9  0x00007f4d76cb592d in OleEndAnalyzer::analyze (this=<value optimized out>, ar=..., in=0x2697660) at /build/buildd-strigi_0.7.2-1+b1-amd64-Xu86fT/strigi-0.7.2/src/streamanalyzer/endanalyzers/oleendanalyzer.cpp:377
#10 0x00007f4d76ca1e7a in Strigi::StreamAnalyzerPrivate::analyze (this=0x2623460, idx=..., input=0x2621ce0) at /build/buildd-strigi_0.7.2-1+b1-amd64-Xu86fT/strigi-0.7.2/src/streamanalyzer/streamanalyzer.cpp:421
#11 0x00007f4d7abb83ef in KFileMetaInfoPrivate::init (this=0x25ff980, stream=..., url=<value optimized out>, mtime=1310497790, w=<value optimized out>) at ../../kio/kio/kfilemetainfo.cpp:257
#12 0x00007f4d7abb9147 in KFileMetaInfo::KFileMetaInfo (this=0x7f4d66d3cd20, path=<value optimized out>, w=...) at ../../kio/kio/kfilemetainfo.cpp:286
#13 0x00007f4d7ac86e04 in KLoadFileMetaDataThread::run (this=0x2434bb0) at ../../kio/kfile/kloadfilemetadatathread.cpp:143
#14 0x00007f4d78e10c05 in QThreadPrivate::start (arg=0x2434bb0) at thread/qthread_unix.cpp:320
#15 0x00007f4d754e4b40 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#16 0x00007f4d7cb3a36d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#17 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f4d7d243760 (LWP 12353)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f4d78e1109b in wait (this=<value optimized out>, mutex=0x1f90b00, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1f90b00, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f4d78e1094c in QThread::wait (this=<value optimized out>, time=18446744073709551615) at thread/qthread_unix.cpp:722
#4  0x00007f4d78ecca30 in QFileSystemWatcher::~QFileSystemWatcher (this=<value optimized out>, __in_chrg=<value optimized out>) at io/qfilesystemwatcher.cpp:446
#5  0x00007f4d78eccb09 in QFileSystemWatcher::~QFileSystemWatcher (this=0x1f7ed30, __in_chrg=<value optimized out>) at io/qfilesystemwatcher.cpp:462
#6  0x00007f4d78f089d5 in QObjectPrivate::deleteChildren (this=0x1f8fd00) at kernel/qobject.cpp:1955
#7  0x00007f4d78f0df79 in QObject::~QObject (this=0x1f82670, __in_chrg=<value optimized out>) at kernel/qobject.cpp:946
#8  0x00007f4d785c1759 in Solid::Backends::Fstab::FstabWatcher::~FstabWatcher (this=0x1f82670, __in_chrg=<value optimized out>) at ../../../solid/solid/backends/fstab/fstabwatcher.cpp:51
#9  0x00007f4d7ca9bd82 in __run_exit_handlers (status=1, listp=0x7f4d7cde34c8, run_list_atexit=true) at exit.c:78
#10 0x00007f4d7ca9bdd5 in exit (status=33295116) at exit.c:100
#11 0x00007f4d79981878 in qt_xio_errhandler () at kernel/qapplication_x11.cpp:772
#12 0x00007f4d7a63f8c8 in KApplication::xioErrhandler (this=0x7fff043aa5f0, dpy=0x1e023f0) at ../../kdeui/kernel/kapplication.cpp:419
#13 0x00007f4d763d907e in _XIOError () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#14 0x00007f4d763d69bd in _XEventsQueued () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#15 0x00007f4d763c74ff in XEventsQueued () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#16 0x00007f4d799b97fc in x11EventSourceCheck (s=0x1de77d0) at kernel/qguieventdispatcher_glib.cpp:85
#17 0x00007f4d7501911c in g_main_context_check (context=0x1de64e0, max_priority=2147483647, fds=<value optimized out>, n_fds=<value optimized out>) at /tmp/buildd/glib2.0-2.28.6/./glib/gmain.c:2961
#18 0x00007f4d75019a02 in g_main_context_iterate (context=0x1de64e0, block=1, dispatch=1, self=<value optimized out>) at /tmp/buildd/glib2.0-2.28.6/./glib/gmain.c:3088
#19 0x00007f4d75019f1d in g_main_context_iteration (context=0x1de64e0, may_block=1) at /tmp/buildd/glib2.0-2.28.6/./glib/gmain.c:3154
#20 0x00007f4d78f21abf in QEventDispatcherGlib::processEvents (this=0x1dbec20, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#21 0x00007f4d799b99ce in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#22 0x00007f4d78ef61c2 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#23 0x00007f4d78ef63bf in QEventLoop::exec (this=0x7fff043aa580, flags=...) at kernel/qeventloop.cpp:201
#24 0x00007f4d78efa567 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#25 0x00007f4d7ce2e7b5 in kdemain () from /usr/lib/kde4/libkdeinit/libkdeinit4_dolphin.so
#26 0x00007f4d7ca83ead in __libc_start_main (main=<value optimized out>, argc=<value optimized out>, ubp_av=<value optimized out>, init=<value optimized out>, fini=<value optimized out>, rtld_fini=<value optimized out>, stack_end=0x7fff043aab08) at libc-start.c:228
#27 0x0000000000400691 in _start ()

Possible duplicates by query: bug 277577, bug 277299, bug 277132, bug 277131, bug 277095.

Reported using DrKonqi
Comment 1 Peter Penz 2011-07-12 21:17:01 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).