Bug 273224

Summary: Dolphin column view
Product: [Applications] dolphin Reporter: Gabriel Jijon <gjijon>
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 Gabriel Jijon 2011-05-13 20:47:48 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:
Navigate in folders, select a file, scroll, then try to select another file = crash
- Custom settings of the application:
Column view

The crash can be reproduced every time.

-- Backtrace:
Application: Dolphin (dolphin), signal: Aborted
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 0x7f5868da7780 (LWP 5495))]

Thread 4 (Thread 0x7f5854e90700 (LWP 5496)):
#0  __pthread_mutex_unlock (mutex=0xe283e8) at pthread_mutex_unlock.c:289
#1  0x00007f5860e35094 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f5860e35f9d in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f5860e36639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f5864b1d446 in QEventDispatcherGlib::processEvents (this=0xe22d30, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007f5864af1882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f5864af1abc in QEventLoop::exec (this=0x7f5854e8fdd0, flags=...) at kernel/qeventloop.cpp:201
#7  0x00007f5864a08924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#8  0x00007f5864ad3c2f in QInotifyFileSystemWatcherEngine::run (this=0xe201b0) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007f5864a0b175 in QThreadPrivate::start (arg=0xe201b0) at thread/qthread_unix.cpp:320
#10 0x00007f5861301d8c in start_thread (arg=0x7f5854e90700) at pthread_create.c:304
#11 0x00007f58686a504d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f584e5ed700 (LWP 5500)):
#0  0x00007f5868697f03 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f5860e36104 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f5860e36639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f5864b1d446 in QEventDispatcherGlib::processEvents (this=0x11998e0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f5864af1882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f5864af1abc in QEventLoop::exec (this=0x7f584e5ecdd0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f5864a08924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#7  0x00007f5864ad3c2f in QInotifyFileSystemWatcherEngine::run (this=0x12803e0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f5864a0b175 in QThreadPrivate::start (arg=0x12803e0) at thread/qthread_unix.cpp:320
#9  0x00007f5861301d8c in start_thread (arg=0x7f584e5ed700) at pthread_create.c:304
#10 0x00007f58686a504d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f584ddec700 (LWP 5949)):
[KCrash Handler]
#6  0x00007f58685f2d05 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007f58685f6ab6 in abort () at abort.c:92
#8  0x00007f58685eb7c5 in __assert_fail (assertion=0x7f5862ad8c20 "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  0x00007f5862a8decf in Strigi::AnalysisResult::Private::Private (this=0x7f5844064f90, p=..., name=<value optimized out>, mt=<value optimized out>, t=..., parent=...) at /build/buildd/strigi-0.7.2/src/streamanalyzer/analysisresult.cpp:134
#10 0x00007f5862a8df95 in Strigi::AnalysisResult::AnalysisResult (this=0x7f5844018ff0, path=..., name=0x7f5844018b22 "", mt=1129221344, parent=...) at /build/buildd/strigi-0.7.2/src/streamanalyzer/analysisresult.cpp:140
#11 0x00007f5862a8e2c2 in Strigi::AnalysisResult::indexChild (this=0x7f584ddeb9d0, name=<value optimized out>, mt=1129221344, file=0x7f5844019fc0) at /build/buildd/strigi-0.7.2/src/streamanalyzer/analysisresult.cpp:249
#12 0x00007f5862acb5a8 in ZipEndAnalyzer::analyze (this=0x155fee0, idx=..., in=0x14d1ba0) at /build/buildd/strigi-0.7.2/src/streamanalyzer/endanalyzers/zipendanalyzer.cpp:62
#13 0x00007f5862ab0eca in Strigi::StreamAnalyzerPrivate::analyze (this=0x15abd00, idx=..., input=0x14d1ba0) at /build/buildd/strigi-0.7.2/src/streamanalyzer/streamanalyzer.cpp:421
#14 0x00007f58667357d1 in KFileMetaInfoPrivate::init (this=0x17934a0, stream=..., url=..., mtime=<value optimized out>, w=<value optimized out>) at ../../kio/kio/kfilemetainfo.cpp:257
#15 0x00007f586673602f in KFileMetaInfo::KFileMetaInfo (this=0x7f584ddebce0, path=<value optimized out>, w=...) at ../../kio/kio/kfilemetainfo.cpp:286
#16 0x00007f58668034b6 in KLoadFileMetaDataThread::run (this=0x15b2790) at ../../kio/kfile/kloadfilemetadatathread.cpp:143
#17 0x00007f5864a0b175 in QThreadPrivate::start (arg=0x15b2790) at thread/qthread_unix.cpp:320
#18 0x00007f5861301d8c in start_thread (arg=0x7f584ddec700) at pthread_create.c:304
#19 0x00007f58686a504d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#20 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f5868da7780 (LWP 5495)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f5864a0b82b in wait (this=<value optimized out>, mutex=0xe18530, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0xe18530, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f5864a0a910 in QThread::wait (this=<value optimized out>, time=18446744073709551615) at thread/qthread_unix.cpp:722
#4  0x00007f5864ac75d0 in QFileSystemWatcher::~QFileSystemWatcher (this=0xe19b00, __in_chrg=<value optimized out>) at io/qfilesystemwatcher.cpp:446
#5  0x00007f5864ac76a9 in QFileSystemWatcher::~QFileSystemWatcher (this=0xe19b00, __in_chrg=<value optimized out>) at io/qfilesystemwatcher.cpp:462
#6  0x00007f5864b04c14 in QObjectPrivate::deleteChildren (this=0xe02ef0) at kernel/qobject.cpp:1964
#7  0x00007f5864b095f4 in QObject::~QObject (this=0xe1c0a0, __in_chrg=<value optimized out>) at kernel/qobject.cpp:946
#8  0x00007f58641da7d9 in Solid::Backends::Fstab::FstabWatcher::~FstabWatcher (this=0xe1c0a0, __in_chrg=<value optimized out>) at ../../../solid/solid/backends/fstab/fstabwatcher.cpp:51
#9  0x00007f58685f8961 in __run_exit_handlers (status=1) at exit.c:78
#10 exit (status=1) at exit.c:100
#11 0x00007f586551dd48 in qt_xio_errhandler () at kernel/qapplication_x11.cpp:781
#12 0x00007f58661cf638 in KApplication::xioErrhandler (this=0x7fffa5919f40, dpy=0xc98f10) at ../../kdeui/kernel/kapplication.cpp:419
#13 0x00007f58621f3dee in _XIOError () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#14 0x00007f58621f162d in _XEventsQueued () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#15 0x00007f58621e1f1f in XEventsQueued () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#16 0x00007f5865558ca7 in x11EventSourcePrepare (s=0xc81f90, timeout=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:77
#17 0x00007f5860e350a2 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#18 0x00007f5860e35f9d in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#19 0x00007f5860e36639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#20 0x00007f5864b1d3ef in QEventDispatcherGlib::processEvents (this=0xc30db0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#21 0x00007f5865558dfe in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#22 0x00007f5864af1882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#23 0x00007f5864af1abc in QEventLoop::exec (this=0x7fffa5919ed0, flags=...) at kernel/qeventloop.cpp:201
#24 0x00007f5864af5ecb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#25 0x00007f5868995995 in kdemain (argc=6, argv=0x7fffa591a468) at ../../../dolphin/src/main.cpp:98
#26 0x00007f58685ddeff in __libc_start_main (main=0x400730 <main(int, char**)>, argc=6, ubp_av=0x7fffa591a468, init=<value optimized out>, fini=<value optimized out>, rtld_fini=<value optimized out>, stack_end=0x7fffa591a458) at libc-start.c:226
#27 0x0000000000400659 in _start ()

Possible duplicates by query: bug 273219, bug 272960, bug 272329, bug 271546, bug 271542.

Reported using DrKonqi
Comment 1 Peter Penz 2011-05-13 22:04:48 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).