Bug 276353

Summary: Dolphin crashes after mounting USB-Stick and clicking on a zip-file
Product: [Applications] dolphin Reporter: Frank Lausch <FrankLausch>
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 Frank Lausch 2011-06-23 20:15:42 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: i have mounted an USB Stick and go through the directory-structure to a zip-file and wanted to open it then occured the crash

The crash can be reproduced every time.

-- Backtrace:
Application: Dolphin (dolphin), signal: Aborted
[Current thread is 1 (Thread 0x7f011682f780 (LWP 3270))]

Thread 4 (Thread 0x7f0102b8a700 (LWP 3271)):
#0  0x00007f010e8bef1a in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f010e8bff9d in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f010e8c0639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f01125a7446 in QEventDispatcherGlib::processEvents (this=0x13e80a0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f011257b882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f011257babc in QEventLoop::exec (this=0x7f0102b89dd0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f0112492924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#7  0x00007f011255dc2f in QInotifyFileSystemWatcherEngine::run (this=0x12ea760) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f0112495175 in QThreadPrivate::start (arg=0x12ea760) at thread/qthread_unix.cpp:320
#9  0x00007f010ed8bd8c in start_thread (arg=0x7f0102b8a700) at pthread_create.c:304
#10 0x00007f011612f04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f00fbfff700 (LWP 3275)):
#0  0x00007f0116121f03 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f010e8c0104 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f010e8c0639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f01125a7446 in QEventDispatcherGlib::processEvents (this=0x1789880, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f011257b882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f011257babc in QEventLoop::exec (this=0x7f00fbffedd0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f0112492924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#7  0x00007f011255dc2f in QInotifyFileSystemWatcherEngine::run (this=0x17a4680) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f0112495175 in QThreadPrivate::start (arg=0x17a4680) at thread/qthread_unix.cpp:320
#9  0x00007f010ed8bd8c in start_thread (arg=0x7f00fbfff700) at pthread_create.c:304
#10 0x00007f011612f04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f00fb7fe700 (LWP 3291)):
[KCrash Handler]
#6  0x00007f011607cd05 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007f0116080ab6 in abort () at abort.c:92
#8  0x00007f01160757c5 in __assert_fail (assertion=0x7f0110562c20 "m_path.size() > m_parent->p->m_path.size()+1", file=<value optimized out>, line=134, function=<value optimized out>) at assert.c:81
#9  0x00007f0110517ecf in Strigi::AnalysisResult::Private::Private (this=0x7f00fc125b10, p=..., name=<value optimized out>, mt=<value optimized out>, t=..., parent=...) at /build/buildd/strigi-0.7.2/src/streamanalyzer/analysisresult.cpp:134
#10 0x00007f0110517f95 in Strigi::AnalysisResult::AnalysisResult (this=0x7f00fc0ee070, path=..., name=0x7f00fc0ee00f "", mt=1303253642, parent=...) at /build/buildd/strigi-0.7.2/src/streamanalyzer/analysisresult.cpp:140
#11 0x00007f01105182c2 in Strigi::AnalysisResult::indexChild (this=0x7f00fb7fd9d0, name=<value optimized out>, mt=1303253642, file=0x7f00fc0edf10) at /build/buildd/strigi-0.7.2/src/streamanalyzer/analysisresult.cpp:249
#12 0x00007f01105555a8 in ZipEndAnalyzer::analyze (this=0x7f00fc0e96a0, idx=..., in=0x7f00fc014b70) at /build/buildd/strigi-0.7.2/src/streamanalyzer/endanalyzers/zipendanalyzer.cpp:62
#13 0x00007f011053aeca in Strigi::StreamAnalyzerPrivate::analyze (this=0x7f00fc06cdb0, idx=..., input=0x7f00fc014b70) at /build/buildd/strigi-0.7.2/src/streamanalyzer/streamanalyzer.cpp:421
#14 0x00007f01141bf7d1 in KFileMetaInfoPrivate::init (this=0x7f00fc007d50, stream=..., url=..., mtime=<value optimized out>, w=<value optimized out>) at ../../kio/kio/kfilemetainfo.cpp:257
#15 0x00007f01141c002f in KFileMetaInfo::KFileMetaInfo (this=0x7f00fb7fdce0, path=<value optimized out>, w=...) at ../../kio/kio/kfilemetainfo.cpp:286
#16 0x00007f011428d4b6 in KLoadFileMetaDataThread::run (this=0x186b680) at ../../kio/kfile/kloadfilemetadatathread.cpp:143
#17 0x00007f0112495175 in QThreadPrivate::start (arg=0x186b680) at thread/qthread_unix.cpp:320
#18 0x00007f010ed8bd8c in start_thread (arg=0x7f00fb7fe700) at pthread_create.c:304
#19 0x00007f011612f04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#20 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f011682f780 (LWP 3270)):
#0  0x00007f0116121f03 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f010c694512 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f010c694a5f in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f010c694ae4 in xcb_writev () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#4  0x00007f010fc7b2a7 in _XSend () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#5  0x00007f010fc7b641 in _XEventsQueued () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#6  0x00007f010fc6bf1f in XEventsQueued () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#7  0x00007f0112fe2ca7 in x11EventSourcePrepare (s=0x1190e10, timeout=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:77
#8  0x00007f010e8bf0a2 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007f010e8bff9d in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007f010e8c0639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007f01125a73ef in QEventDispatcherGlib::processEvents (this=0x113adb0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#12 0x00007f0112fe2dfe in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#13 0x00007f011257b882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#14 0x00007f011257babc in QEventLoop::exec (this=0x7fff4ff21700, flags=...) at kernel/qeventloop.cpp:201
#15 0x00007f011257fecb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#16 0x00007f011641f995 in kdemain (argc=1, argv=0x7fff4ff21c98) at ../../../dolphin/src/main.cpp:98
#17 0x00007f0116067eff in __libc_start_main (main=0x400730 <main(int, char**)>, argc=1, ubp_av=0x7fff4ff21c98, init=<value optimized out>, fini=<value optimized out>, rtld_fini=<value optimized out>, stack_end=0x7fff4ff21c88) at libc-start.c:226
#18 0x0000000000400659 in _start ()

Possible duplicates by query: bug 276254, bug 275538, bug 275115, bug 274802, bug 274094.

Reported using DrKonqi
Comment 1 Peter Penz 2011-06-23 20:26:12 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).