Bug 280689 - Dolphin crash when trying to copy a jar file.
Summary: Dolphin crash when trying to copy a jar file.
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-08-24 08:05 UTC by Jan
Modified: 2011-08-24 08:18 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 Jan 2011-08-24 08:05:34 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-11-generic x86_64
Distribution: Ubuntu 11.04

-- Information about the crash:
- What I was doing when the application crashed:
I was copying a jar file, from one directory to another. When I pressed Ctrl-C it crashed.

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 0x7f430d1d9780 (LWP 6691))]

Thread 4 (Thread 0x7f42f9669700 (LWP 6692)):
#0  __pthread_mutex_unlock_usercnt (mutex=0x1ec31c8) at pthread_mutex_unlock.c:52
#1  __pthread_mutex_unlock (mutex=0x1ec31c8) at pthread_mutex_unlock.c:290
#2  0x00007f4305267094 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f4305267f9d in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f4305268639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f4308f4f446 in QEventDispatcherGlib::processEvents (this=0x1ee0140, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#6  0x00007f4308f23882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f4308f23abc in QEventLoop::exec (this=0x7f42f9668dd0, flags=...) at kernel/qeventloop.cpp:201
#8  0x00007f4308e3a924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#9  0x00007f4308f05c2f in QInotifyFileSystemWatcherEngine::run (this=0x1f1d7f0) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x00007f4308e3d175 in QThreadPrivate::start (arg=0x1f1d7f0) at thread/qthread_unix.cpp:320
#11 0x00007f4305733d8c in start_thread (arg=0x7f42f9669700) at pthread_create.c:304
#12 0x00007f430cadb04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f42f2d60700 (LWP 6696)):
#0  0x00007f43057363ce in __pthread_mutex_lock (mutex=0x21fef28) at pthread_mutex_lock.c:62
#1  0x00007f430526816c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f4305268639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f4308f4f446 in QEventDispatcherGlib::processEvents (this=0x22b38e0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f4308f23882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f4308f23abc in QEventLoop::exec (this=0x7f42f2d5fdd0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f4308e3a924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#7  0x00007f4308f05c2f in QInotifyFileSystemWatcherEngine::run (this=0x231a820) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f4308e3d175 in QThreadPrivate::start (arg=0x231a820) at thread/qthread_unix.cpp:320
#9  0x00007f4305733d8c in start_thread (arg=0x7f42f2d60700) at pthread_create.c:304
#10 0x00007f430cadb04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f42f1cfe700 (LWP 6724)):
[KCrash Handler]
#6  0x00007f430ca28d05 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007f430ca2cab6 in abort () at abort.c:92
#8  0x00007f430ca217c5 in __assert_fail (assertion=0x7f4306f0ac20 "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  0x00007f4306ebfecf in Strigi::AnalysisResult::Private::Private (this=0x7f42f40fab30, p=..., name=<value optimized out>, mt=<value optimized out>, t=..., parent=...) at /build/buildd/strigi-0.7.2/src/streamanalyzer/analysisresult.cpp:134
#10 0x00007f4306ebff95 in Strigi::AnalysisResult::AnalysisResult (this=0x7f42f402d650, path=..., name=0x7f42f4182e0c "", mt=1272585688, parent=...) at /build/buildd/strigi-0.7.2/src/streamanalyzer/analysisresult.cpp:140
#11 0x00007f4306ec02c2 in Strigi::AnalysisResult::indexChild (this=0x7f42f1cfd9d0, name=<value optimized out>, mt=1272585688, file=0x7f42f402d610) at /build/buildd/strigi-0.7.2/src/streamanalyzer/analysisresult.cpp:249
#12 0x00007f4306efd5a8 in ZipEndAnalyzer::analyze (this=0x7f42f40f5ef0, idx=..., in=0x7f42f4090350) at /build/buildd/strigi-0.7.2/src/streamanalyzer/endanalyzers/zipendanalyzer.cpp:62
#13 0x00007f4306ee2eca in Strigi::StreamAnalyzerPrivate::analyze (this=0x7f42f40ac2c0, idx=..., input=0x7f42f4090350) at /build/buildd/strigi-0.7.2/src/streamanalyzer/streamanalyzer.cpp:421
#14 0x00007f430ab6b7d1 in KFileMetaInfoPrivate::init (this=0x7f42f40167b0, stream=..., url=..., mtime=<value optimized out>, w=<value optimized out>) at ../../kio/kio/kfilemetainfo.cpp:257
#15 0x00007f430ab6c02f in KFileMetaInfo::KFileMetaInfo (this=0x7f42f1cfdce0, path=<value optimized out>, w=...) at ../../kio/kio/kfilemetainfo.cpp:286
#16 0x00007f430ac394b6 in KLoadFileMetaDataThread::run (this=0x251ff90) at ../../kio/kfile/kloadfilemetadatathread.cpp:143
#17 0x00007f4308e3d175 in QThreadPrivate::start (arg=0x251ff90) at thread/qthread_unix.cpp:320
#18 0x00007f4305733d8c in start_thread (arg=0x7f42f1cfe700) at pthread_create.c:304
#19 0x00007f430cadb04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#20 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f430d1d9780 (LWP 6691)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f4308e3d82b in wait (this=<value optimized out>, mutex=0x1ea5c20, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1ea5c20, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f4308e3c910 in QThread::wait (this=<value optimized out>, time=18446744073709551615) at thread/qthread_unix.cpp:722
#4  0x00007f4308ef95d0 in QFileSystemWatcher::~QFileSystemWatcher (this=0x1eabaf0, __in_chrg=<value optimized out>) at io/qfilesystemwatcher.cpp:446
#5  0x00007f4308ef96a9 in QFileSystemWatcher::~QFileSystemWatcher (this=0x1eabaf0, __in_chrg=<value optimized out>) at io/qfilesystemwatcher.cpp:462
#6  0x00007f4308f36c14 in QObjectPrivate::deleteChildren (this=0x1f1c040) at kernel/qobject.cpp:1964
#7  0x00007f4308f3b5f4 in QObject::~QObject (this=0x1f1c010, __in_chrg=<value optimized out>) at kernel/qobject.cpp:946
#8  0x00007f430860c7d9 in Solid::Backends::Fstab::FstabWatcher::~FstabWatcher (this=0x1f1c010, __in_chrg=<value optimized out>) at ../../../solid/solid/backends/fstab/fstabwatcher.cpp:51
#9  0x00007f430ca2e961 in __run_exit_handlers (status=1) at exit.c:78
#10 exit (status=1) at exit.c:100
#11 0x00007f430994ffb8 in qt_xio_errhandler () at kernel/qapplication_x11.cpp:781
#12 0x00007f430a605638 in KApplication::xioErrhandler (this=0x7fff91bc58d0, dpy=0x1db6d10) at ../../kdeui/kernel/kapplication.cpp:419
#13 0x00007f4306625dee in _XIOError () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#14 0x00007f430662362d in _XEventsQueued () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#15 0x00007f4306613f1f in XEventsQueued () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#16 0x00007f430998d32c in x11EventSourceCheck (s=0x1db5880) at kernel/qguieventdispatcher_glib.cpp:85
#17 0x00007f4305267854 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#18 0x00007f4305268122 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#19 0x00007f4305268639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#20 0x00007f4308f4f3ef in QEventDispatcherGlib::processEvents (this=0x1d5fdb0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#21 0x00007f430998d4de in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#22 0x00007f4308f23882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#23 0x00007f4308f23abc in QEventLoop::exec (this=0x7fff91bc5860, flags=...) at kernel/qeventloop.cpp:201
#24 0x00007f4308f27ecb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#25 0x00007f430cdcb995 in kdemain (argc=6, argv=0x7fff91bc5df8) at ../../../dolphin/src/main.cpp:98
#26 0x00007f430ca13eff in __libc_start_main (main=0x400730 <main(int, char**)>, argc=6, ubp_av=0x7fff91bc5df8, init=<value optimized out>, fini=<value optimized out>, rtld_fini=<value optimized out>, stack_end=0x7fff91bc5de8) at libc-start.c:226
#27 0x0000000000400659 in _start ()

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

Possible duplicates by query: bug 280683, bug 280669, bug 280577, bug 280421, bug 280303.

Reported using DrKonqi
Comment 1 Peter Penz 2011-08-24 08:18:25 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).