Bug 277388

Summary: Dolphin crashes while moving files and opening an mpg
Product: [Applications] dolphin Reporter: moglimann
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 moglimann 2011-07-08 21:31:13 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:
Dolphin was moving files to an external HDD in background while I tried to open an .mpg file.

-- 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 0x7f53c8750780 (LWP 2120))]

Thread 6 (Thread 0x7f53b4a17700 (LWP 2121)):
#0  0x00007f53c0cb23c4 in __pthread_mutex_lock (mutex=0x7f53b00009a8) at pthread_mutex_lock.c:61
#1  0x00007f53c07e41e4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f53c07e4639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f53c44cb446 in QEventDispatcherGlib::processEvents (this=0x7f53b00008b0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f53c449f882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f53c449fabc in QEventLoop::exec (this=0x7f53b4a16dd0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f53c43b6924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#7  0x00007f53c4481c2f in QInotifyFileSystemWatcherEngine::run (this=0xb12400) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f53c43b9175 in QThreadPrivate::start (arg=0xb12400) at thread/qthread_unix.cpp:320
#9  0x00007f53c0cafd8c in start_thread (arg=0x7f53b4a17700) at pthread_create.c:304
#10 0x00007f53c805304d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f53ae3b5700 (LWP 2126)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007f53c7feb80f in _L_lock_12013 () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x00007f53c7fe98d8 in __libc_free (mem=0x7f53c82fc1c0) at malloc.c:3736
#3  0x00007f53c44cae57 in socketNotifierSourceCheck (source=0xc7ad00) at kernel/qeventdispatcher_glib.cpp:92
#4  0x00007f53c07e3854 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f53c07e4122 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f53c07e4639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007f53c44cb3ef in QEventDispatcherGlib::processEvents (this=0xdc6220, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#8  0x00007f53c449f882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#9  0x00007f53c449fabc in QEventLoop::exec (this=0x7f53ae3b4dd0, flags=...) at kernel/qeventloop.cpp:201
#10 0x00007f53c43b6924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#11 0x00007f53c4481c2f in QInotifyFileSystemWatcherEngine::run (this=0xc6f9c0) at io/qfilesystemwatcher_inotify.cpp:248
#12 0x00007f53c43b9175 in QThreadPrivate::start (arg=0xc6f9c0) at thread/qthread_unix.cpp:320
#13 0x00007f53c0cafd8c in start_thread (arg=0x7f53ae3b5700) at pthread_create.c:304
#14 0x00007f53c805304d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#15 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f53ac6b7700 (LWP 2659)):
[KCrash Handler]
#6  0x00007f53c7fa0d05 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007f53c7fa4ab6 in abort () at abort.c:92
#8  0x00007f53c7fd9d7b in __libc_message (do_abort=2, fmt=0x7f53c80c2400 "*** glibc detected *** %s: %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:189
#9  0x00007f53c7fe3bb6 in malloc_printerr (action=3, str=0x7f53c80c2980 "malloc(): memory corruption (fast)", ptr=<value optimized out>) at malloc.c:6283
#10 0x00007f53c7fe6e78 in _int_malloc (av=0x7f53c82fc1c0, bytes=<value optimized out>) at malloc.c:4308
#11 0x00007f53c7fe8112 in _int_realloc (av=0x7f53c82fc1c0, oldp=0x15cf200, oldsize=<value optimized out>, nb=80) at malloc.c:5290
#12 0x00007f53c7fe9b19 in __libc_realloc (oldmem=0x15cf210, bytes=64) at malloc.c:3821
#13 0x00007f53c43bb2aa in QByteArray::realloc (this=0x7f53ac6b61b0, alloc=32) at tools/qbytearray.cpp:1440
#14 0x00007f53c43bbef1 in QByteArray::append (this=0x7f53ac6b61b0, ba=...) at tools/qbytearray.cpp:1584
#15 0x00007f53c446160f in operator+= (this=0xe12c10, options=...) at ../../include/QtCore/../../src/corelib/tools/qbytearray.h:492
#16 QUrlPrivate::toEncoded (this=0xe12c10, options=...) at io/qurl.cpp:3948
#17 0x00007f53c446180d in QUrl::toEncoded (this=<value optimized out>, options=<value optimized out>) at io/qurl.cpp:5692
#18 0x00007f53c6910622 in Soprano::Node::resourceToN3(QUrl const&) () from /usr/lib/libsoprano.so.4
#19 0x00007f53c6c277c5 in Nepomuk::Types::EntityPrivate::load (this=0x18674b0) at ../../nepomuk/types/entity.cpp:73
#20 0x00007f53c6c26961 in Nepomuk::Types::EntityPrivate::init (this=0x18674b0) at ../../nepomuk/types/entity.cpp:51
#21 0x00007f53c6c26c6e in Nepomuk::Types::Entity::label (this=0x7f53ac6b6c00, language=...) at ../../nepomuk/types/entity.cpp:190
#22 0x00007f53c6c26d39 in Nepomuk::Types::Entity::label (this=<value optimized out>, language=<value optimized out>) at ../../nepomuk/types/entity.cpp:211
#23 0x00007f53c6467254 in Nepomuk::Utils::formatPropertyValue (property=..., value=..., resources=<value optimized out>, flags=...) at ../../../nepomuk/utils/utils.cpp:143
#24 0x00007f53c61b12fe in KLoadFileMetaDataThread::run (this=0xdf0440) at ../../kio/kfile/kloadfilemetadatathread.cpp:128
#25 0x00007f53c43b9175 in QThreadPrivate::start (arg=0xdf0440) at thread/qthread_unix.cpp:320
#26 0x00007f53c0cafd8c in start_thread (arg=0x7f53ac6b7700) at pthread_create.c:304
#27 0x00007f53c805304d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#28 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f53adbb4700 (LWP 2662)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:216
#1  0x00007f53ab1c9f41 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f53c0cafd8c in start_thread (arg=0x7f53adbb4700) at pthread_create.c:304
#3  0x00007f53c805304d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f53abe84700 (LWP 2663)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f53c43b82b3 in QMutexPrivate::wait (this=0x18bd610, timeout=-1) at thread/qmutex_unix.cpp:84
#2  0x00007f53c43b4ce5 in QMutex::lock (this=0x18674c0) at thread/qmutex.cpp:167
#3  0x00007f53c6c2690b in QMutexLocker (this=0x18674b0) at /usr/include/qt4/QtCore/qmutex.h:102
#4  Nepomuk::Types::EntityPrivate::init (this=0x18674b0) at ../../nepomuk/types/entity.cpp:48
#5  0x00007f53c6c26c6e in Nepomuk::Types::Entity::label (this=0x7f53abe83c00, language=...) at ../../nepomuk/types/entity.cpp:190
#6  0x00007f53c6c26d39 in Nepomuk::Types::Entity::label (this=<value optimized out>, language=<value optimized out>) at ../../nepomuk/types/entity.cpp:211
#7  0x00007f53c6467254 in Nepomuk::Utils::formatPropertyValue (property=..., value=..., resources=<value optimized out>, flags=...) at ../../../nepomuk/utils/utils.cpp:143
#8  0x00007f53c61b12fe in KLoadFileMetaDataThread::run (this=0x18a9900) at ../../kio/kfile/kloadfilemetadatathread.cpp:128
#9  0x00007f53c43b9175 in QThreadPrivate::start (arg=0x18a9900) at thread/qthread_unix.cpp:320
#10 0x00007f53c0cafd8c in start_thread (arg=0x7f53abe84700) at pthread_create.c:304
#11 0x00007f53c805304d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f53c8750780 (LWP 2120)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007f53c7feb80f in _L_lock_12013 () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x00007f53c7fe98d8 in __libc_free (mem=0x7f53c82fc1c0) at malloc.c:3736
#3  0x00007f53c44a4d9d in node_destruct (this=0x99c5f8, afirst=..., alast=...) at ../../include/QtCore/../../src/corelib/tools/qlist.h:375
#4  QList<QPostEvent>::erase (this=0x99c5f8, afirst=..., alast=...) at ../../include/QtCore/../../src/corelib/tools/qlist.h:790
#5  0x00007f53c44a3b33 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x99c5d0) at kernel/qcoreapplication.cpp:1404
#6  0x00007f53c44cb253 in sendPostedEvents (s=0x9eb1c0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#7  postEventSourceDispatch (s=0x9eb1c0) at kernel/qeventdispatcher_glib.cpp:277
#8  0x00007f53c07e3bcd in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007f53c07e43a8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007f53c07e4639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007f53c44cb3ef in QEventDispatcherGlib::processEvents (this=0x99bdb0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#12 0x00007f53c4f06dfe in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#13 0x00007f53c449f882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#14 0x00007f53c449fabc in QEventLoop::exec (this=0x7fff5ef36b70, flags=...) at kernel/qeventloop.cpp:201
#15 0x00007f53c529ea11 in QMenu::exec (this=0x1883d90, p=..., action=0x0) at widgets/qmenu.cpp:2059
#16 0x00007f53c8341b21 in DolphinContextMenu::openItemContextMenu (this=0x18a3fa0) at ../../../dolphin/src/dolphincontextmenu.cpp:310
#17 0x00007f53c8342440 in DolphinContextMenu::open (this=0x18a3fa0) at ../../../dolphin/src/dolphincontextmenu.cpp:132
#18 0x00007f53c8338c8d in DolphinMainWindow::openContextMenu (this=0x7f53b004b250, item=..., url=..., customActions=...) at ../../../dolphin/src/dolphinmainwindow.cpp:1257
#19 0x00007f53c833b81b in DolphinMainWindow::qt_metacall (this=0x7f53b004b250, _c=QMetaObject::InvokeMetaMethod, _id=67, _a=0x7fff5ef36fd0) at ./dolphinmainwindow.moc:260
#20 0x00007f53c44b55f8 in QMetaObject::activate (sender=0xfc7a10, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff5ef36fd0) at kernel/qobject.cpp:3287
#21 0x00007f53c73b55ff in DolphinView::requestContextMenu (this=<value optimized out>, _t1=<value optimized out>, _t2=<value optimized out>, _t3=<value optimized out>) at ./dolphinview.moc:349
#22 0x00007f53c73b56ff in DolphinView::openContextMenu (this=0xfc7a10, pos=..., customActions=...) at ../../../dolphin/src/views/dolphinview.cpp:806
#23 0x00007f53c73b9584 in DolphinView::qt_metacall (this=0xfc7a10, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff5ef37180) at ./dolphinview.moc:221
#24 0x00007f53c44b55f8 in QMetaObject::activate (sender=0x15be220, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff5ef37180) at kernel/qobject.cpp:3287
#25 0x00007f53c73cee1a in DolphinViewController::requestContextMenu (this=<value optimized out>, _t1=<value optimized out>, _t2=<value optimized out>) at ./dolphinviewcontroller.moc:148
#26 0x00007f53c73cf74f in DolphinViewController::triggerContextMenuRequest (this=0x15be220, pos=..., customActions=...) at ../../../dolphin/src/views/dolphinviewcontroller.cpp:79
#27 0x00007f53c73c02ea in DolphinIconsView::contextMenuEvent (this=0x115d610, event=0x7fff5ef37da0) at ../../../dolphin/src/views/dolphiniconsview.cpp:162
#28 0x00007f53c4eb0a10 in QWidget::event (this=0x115d610, event=0x7fff5ef37da0) at kernel/qwidget.cpp:8426
#29 0x00007f53c5260a66 in QFrame::event (this=0x115d610, e=0x7fff5ef37da0) at widgets/qframe.cpp:557
#30 0x00007f53c5371d7b in QAbstractItemView::viewportEvent (this=0x115d610, event=0x7fff5ef37da0) at itemviews/qabstractitemview.cpp:1628
#31 0x00007f53c44a0627 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x1661160, event=0x7fff5ef37da0) at kernel/qcoreapplication.cpp:846
#32 0x00007f53c4e5f9b1 in QApplicationPrivate::notify_helper (this=0x9edd90, receiver=0x1661160, e=0x7fff5ef37da0) at kernel/qapplication.cpp:4458
#33 0x00007f53c4e64561 in QApplication::notify (this=<value optimized out>, receiver=0x1661160, e=0x7fff5ef37da0) at kernel/qapplication.cpp:4102
#34 0x00007f53c5b7e866 in KApplication::notify (this=0x7fff5ef38a90, receiver=0x1661160, event=0x7fff5ef37da0) at ../../kdeui/kernel/kapplication.cpp:311
#35 0x00007f53c44a049c in QCoreApplication::notifyInternal (this=0x7fff5ef38a90, receiver=0x1661160, event=0x7fff5ef37da0) at kernel/qcoreapplication.cpp:731
#36 0x00007f53c4ee065d in sendSpontaneousEvent (this=<value optimized out>, event=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#37 QETWidget::translateMouseEvent (this=<value optimized out>, event=<value optimized out>) at kernel/qapplication_x11.cpp:4561
#38 0x00007f53c4edf04a in QApplication::x11ProcessEvent (this=0x7fff5ef38a90, event=0x7fff5ef38720) at kernel/qapplication_x11.cpp:3678
#39 0x00007f53c4f07162 in x11EventSourceDispatch (s=0x9ec270, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#40 0x00007f53c07e3bcd in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#41 0x00007f53c07e43a8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#42 0x00007f53c07e4639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#43 0x00007f53c44cb3ef in QEventDispatcherGlib::processEvents (this=0x99bdb0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#44 0x00007f53c4f06dfe in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#45 0x00007f53c449f882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#46 0x00007f53c449fabc in QEventLoop::exec (this=0x7fff5ef38a20, flags=...) at kernel/qeventloop.cpp:201
#47 0x00007f53c44a3ecb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#48 0x00007f53c8343995 in kdemain (argc=6, argv=0x7fff5ef38fb8) at ../../../dolphin/src/main.cpp:98
#49 0x00007f53c7f8beff in __libc_start_main (main=0x400730 <main(int, char**)>, argc=6, ubp_av=0x7fff5ef38fb8, init=<value optimized out>, fini=<value optimized out>, rtld_fini=<value optimized out>, stack_end=0x7fff5ef38fa8) at libc-start.c:226
#50 0x0000000000400659 in _start ()

Possible duplicates by query: bug 275407, bug 274169, bug 272434, bug 268950, bug 266396.

Reported using DrKonqi
Comment 1 Peter Penz 2011-07-09 06:03:18 UTC
Thanks for the report. This is an issue in the 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).