Bug 275932

Summary: Dolphin crashed when choosing another window
Product: [Applications] dolphin Reporter: Tom Kijas <t.kijas>
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 Tom Kijas 2011-06-17 18:56:25 UTC
Application: dolphin (1.6.1)
KDE Platform Version: 4.6.4 (4.6.4)
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:
Hi I opened some folders in dolphin and then switched to GTK (prob. nautilus) choosing-file-dialog (when you do have some program and choose open...) and the dolphin crashed.

The crash can be reproduced some of the time.

-- Backtrace:
Application: Dolphin (dolphin), signal: Aborted
__lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
	in ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
[Current thread is 1 (Thread 0x7f72e316f780 (LWP 9565))]

Thread 5 (Thread 0x7f72dca29700 (LWP 9598)):
#0  qt_gettime () at tools/qelapsedtimer_unix.cpp:149
#1  0x00007f72e4a22e3d in QTimerInfoList::updateCurrentTime (this=0x14cb540) at kernel/qeventdispatcher_unix.cpp:339
#2  0x00007f72e4a231a5 in QTimerInfoList::timerWait (this=0x14cb540, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#3  0x00007f72e4a21c2c in timerSourcePrepareHelper (src=<value optimized out>, timeout=0x7f72dca28c4c) at kernel/qeventdispatcher_glib.cpp:136
#4  0x00007f72e4a21cd5 in timerSourcePrepare (source=<value optimized out>, timeout=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#5  0x00000031662420a2 in g_main_context_prepare (context=0x13b6490, priority=0x7f72dca28cbc) at /build/buildd/glib2.0-2.28.6/./glib/gmain.c:2761
#6  0x0000003166242f9d in g_main_context_iterate (context=0x13b6490, block=1, dispatch=1, self=<value optimized out>) at /build/buildd/glib2.0-2.28.6/./glib/gmain.c:3071
#7  0x0000003166243639 in g_main_context_iteration (context=0x13b6490, may_block=1) at /build/buildd/glib2.0-2.28.6/./glib/gmain.c:3154
#8  0x00007f72e4a22446 in QEventDispatcherGlib::processEvents (this=0x13195a0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#9  0x00007f72e49f6882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#10 0x00007f72e49f6abc in QEventLoop::exec (this=0x7f72dca28dd0, flags=...) at kernel/qeventloop.cpp:201
#11 0x00007f72e490d924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#12 0x00007f72e49d8c2f in QInotifyFileSystemWatcherEngine::run (this=0x13b5a70) at io/qfilesystemwatcher_inotify.cpp:248
#13 0x00007f72e4910175 in QThreadPrivate::start (arg=0x13b5a70) at thread/qthread_unix.cpp:320
#14 0x0000003164e06d8c in start_thread (arg=0x7f72dca29700) at pthread_create.c:304
#15 0x00000031646e604d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#16 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f72db641700 (LWP 9831)):
#0  0x00000031646d8f03 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x0000003166243104 in g_main_context_poll (context=0x1909c80, block=<value optimized out>, dispatch=1, self=<value optimized out>) at /build/buildd/glib2.0-2.28.6/./glib/gmain.c:3404
#2  g_main_context_iterate (context=0x1909c80, block=<value optimized out>, dispatch=1, self=<value optimized out>) at /build/buildd/glib2.0-2.28.6/./glib/gmain.c:3086
#3  0x0000003166243639 in g_main_context_iteration (context=0x1909c80, may_block=1) at /build/buildd/glib2.0-2.28.6/./glib/gmain.c:3154
#4  0x00007f72e4a22446 in QEventDispatcherGlib::processEvents (this=0x18eedb0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007f72e49f6882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f72e49f6abc in QEventLoop::exec (this=0x7f72db640dd0, flags=...) at kernel/qeventloop.cpp:201
#7  0x00007f72e490d924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#8  0x00007f72e49d8c2f in QInotifyFileSystemWatcherEngine::run (this=0x1909310) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007f72e4910175 in QThreadPrivate::start (arg=0x1909310) at thread/qthread_unix.cpp:320
#10 0x0000003164e06d8c in start_thread (arg=0x7f72db641700) at pthread_create.c:304
#11 0x00000031646e604d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f72da5df700 (LWP 10121)):
[KCrash Handler]
#6  0x0000003164633d05 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x0000003164637ab6 in abort () at abort.c:92
#8  0x000000316466cd7b in __libc_message (do_abort=2, fmt=0x3164755400 "*** glibc detected *** %s: %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:189
#9  0x0000003164678a8f in malloc_printerr (av=<value optimized out>, p=0x7f72c4000f70) at malloc.c:6283
#10 _int_free (av=<value optimized out>, p=0x7f72c4000f70) at malloc.c:4795
#11 0x000000316467c8e3 in __libc_free (mem=<value optimized out>) at malloc.c:3738
#12 0x00007f72e49550fc in QString::free (d=0x7f72c4000f80) at tools/qstring.cpp:1185
#13 0x00007f72e4955672 in QString::operator= (this=<value optimized out>, other=...) at tools/qstring.cpp:1359
#14 0x00007f72e49af562 in QUrl::path (this=0x7f72da5debf0) at io/qurl.cpp:4822
#15 0x00007f72e4e578ab in KUrl::path (this=<value optimized out>, trailing=KUrl::LeaveTrailingSlash) at ../../kdecore/io/kurl.cpp:865
#16 0x00007f72e4e5ae26 in qHash (kurl=...) at ../../kdecore/io/kurl.cpp:1893
#17 0x00007f72e66d87f1 in QHash<KUrl, Nepomuk::Variant>::findNode (this=0x7f72da5deda0, akey=..., ahp=0x7f72da5deddc) at /usr/include/qt4/QtCore/qhash.h:880
#18 0x00007f72e670b488 in insert (this=0x1783bc0) at /usr/include/qt4/QtCore/qhash.h:757
#19 KLoadFileMetaDataThread::run (this=0x1783bc0) at ../../kio/kfile/kloadfilemetadatathread.cpp:128
#20 0x00007f72e4910175 in QThreadPrivate::start (arg=0x1783bc0) at thread/qthread_unix.cpp:320
#21 0x0000003164e06d8c in start_thread (arg=0x7f72da5df700) at pthread_create.c:304
#22 0x00000031646e604d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#23 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f72d17fa700 (LWP 10851)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x000000316467e80f in _L_lock_12013 () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x000000316467c8d8 in __libc_free (mem=0x7f72c4000020) at malloc.c:3736
#3  0x00007f72e670b360 in KLoadFileMetaDataThread::run (this=0x1c9fd90) at ../../kio/kfile/kloadfilemetadatathread.cpp:128
#4  0x00007f72e4910175 in QThreadPrivate::start (arg=0x1c9fd90) at thread/qthread_unix.cpp:320
#5  0x0000003164e06d8c in start_thread (arg=0x7f72d17fa700) at pthread_create.c:304
#6  0x00000031646e604d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f72e316f780 (LWP 9565)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x000000316467e80f in _L_lock_12013 () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x000000316467c8d8 in __libc_free (mem=0x7f72c4000020) at malloc.c:3736
#3  0x00007f72e49ae8dc in ~QByteArray (this=<value optimized out>, __in_chrg=<value optimized out>) at ../../include/QtCore/../../src/corelib/tools/qbytearray.h:383
#4  ~QUrlPrivate (this=<value optimized out>, __in_chrg=<value optimized out>) at io/qurl.cpp:294
#5  QUrl::~QUrl (this=<value optimized out>, __in_chrg=<value optimized out>) at io/qurl.cpp:4186
#6  0x000000317387bee8 in ?? () from /usr/lib/libsoprano.so.4
#7  0x000000317387e794 in ?? () from /usr/lib/libsoprano.so.4
#8  0x0000003164639961 in __run_exit_handlers (status=1) at exit.c:78
#9  exit (status=1) at exit.c:100
#10 0x00007f72e5423d48 in qt_xio_errhandler () at kernel/qapplication_x11.cpp:781
#11 0x00007f72e60d64e8 in KApplication::xioErrhandler (this=0x7fff77061130, dpy=0x12a8a60) at ../../kdeui/kernel/kapplication.cpp:419
#12 0x0000003167242dee in _XIOError () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#13 0x000000316724062d in _XEventsQueued () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#14 0x0000003167230f1f in XEventsQueued () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#15 0x00007f72e545eca7 in x11EventSourcePrepare (s=0x127e8b0, timeout=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:77
#16 0x00000031662420a2 in g_main_context_prepare (context=0x127d8e0, priority=0x7fff77060f7c) at /build/buildd/glib2.0-2.28.6/./glib/gmain.c:2761
#17 0x0000003166242f9d in g_main_context_iterate (context=0x127d8e0, block=1, dispatch=1, self=<value optimized out>) at /build/buildd/glib2.0-2.28.6/./glib/gmain.c:3071
#18 0x0000003166243639 in g_main_context_iteration (context=0x127d8e0, may_block=1) at /build/buildd/glib2.0-2.28.6/./glib/gmain.c:3154
#19 0x00007f72e4a223ef in QEventDispatcherGlib::processEvents (this=0x122cdb0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#20 0x00007f72e545edfe in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#21 0x00007f72e49f6882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#22 0x00007f72e49f6abc in QEventLoop::exec (this=0x7fff770610c0, flags=...) at kernel/qeventloop.cpp:201
#23 0x00007f72e49faecb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#24 0x00007f72e7fd49e5 in kdemain () from /usr/lib/kde4/libkdeinit/libkdeinit4_dolphin.so
#25 0x000000316461eeff in __libc_start_main (main=0x400730 <_start+256>, argc=5, ubp_av=0x7fff77061658, init=<value optimized out>, fini=<value optimized out>, rtld_fini=<value optimized out>, stack_end=0x7fff77061648) at libc-start.c:226
#26 0x0000000000400659 in _start ()

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

Possible duplicates by query: bug 275788, bug 275194, bug 273842, bug 273021, bug 272921.

Reported using DrKonqi
Comment 1 Peter Penz 2011-06-17 19:49:44 UTC
Thanks for the report. This is an issue in the corresponding metadata 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).