Bug 280646 - Crashes when loading previews
Summary: Crashes when loading previews
Status: RESOLVED FIXED
Alias: None
Product: dolphin
Classification: Applications
Component: general (other bugs)
Version First Reported In: 1.6.1
Platform: Debian unstable Linux
: NOR crash
Target Milestone: ---
Assignee: Peter Penz
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-23 14:22 UTC by SZÉKELYI Szabolcs
Modified: 2011-08-23 16:03 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In: 4.7.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description SZÉKELYI Szabolcs 2011-08-23 14:22:25 UTC
Application: dolphin (1.6.1)
KDE Platform Version: 4.6.5 (4.6.5)
Qt Version: 4.7.3
Operating System: Linux 3.0.0-1-amd64 x86_64
Distribution (Platform): Debian unstable

-- Information about the crash:
Dolphin randomly crashes many times when it tries to load previews for files and directories. The crash is frequent, but not deterministic: if it crashes with a particular file, then it may not crash with the same file after restarted.

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 0x7f46a0038760 (LWP 6319))]

Thread 4 (Thread 0x7f468ae58700 (LWP 6322)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007f469f8d3f48 in _L_lock_9627 () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x00007f469f8d2331 in __libc_free (mem=0x7f4684000020) at malloc.c:3736
#3  0x00007f469bd13295 in socketNotifierSourceCheck (source=0x7f4684000cd0) at kernel/qeventdispatcher_glib.cpp:92
#4  0x00007f4697e0cd24 in g_main_context_check () from /lib/libglib-2.0.so.0
#5  0x00007f4697e0d5f2 in ?? () from /lib/libglib-2.0.so.0
#6  0x00007f4697e0db09 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#7  0x00007f469bd13acf in QEventDispatcherGlib::processEvents (this=0xe19790, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#8  0x00007f469bce81d2 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#9  0x00007f469bce83cf in QEventLoop::exec (this=0x7f468ae57df0, flags=...) at kernel/qeventloop.cpp:201
#10 0x00007f469bc001ff in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#11 0x00007f469bccb1ff in QInotifyFileSystemWatcherEngine::run (this=0xe84e00) at io/qfilesystemwatcher_inotify.cpp:248
#12 0x00007f469bc02c15 in QThreadPrivate::start (arg=0xe84e00) at thread/qthread_unix.cpp:320
#13 0x00007f46982d6b40 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#14 0x00007f469f93036d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#15 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f468a3b3700 (LWP 6359)):
[KCrash Handler]
#6  0x00007f469f88d405 in raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007f469f890680 in abort () at abort.c:92
#8  0x00007f469f8c3dbb in __libc_message (do_abort=<value optimized out>, fmt=<value optimized out>) at ../sysdeps/unix/sysv/linux/libc_fatal.c:189
#9  0x00007f469f8cd606 in malloc_printerr (action=3, str=0x7f469f9a12f7 "invalid fastbin entry (free)", ptr=<value optimized out>) at malloc.c:6283
#10 0x00007f469f8d233c in __libc_free (mem=<value optimized out>) at malloc.c:3738
#11 0x00007f469bc46a0c in QString::free (d=0x7f46841d2190) at tools/qstring.cpp:1185
#12 0x00007f469e1f12c5 in ~QString (this=<value optimized out>, __in_chrg=<value optimized out>) at /usr/include/qt4/QtCore/qstring.h:883
#13 ~ErrorData (this=<value optimized out>, __in_chrg=<value optimized out>) at ../../soprano/error.cpp:43
#14 Soprano::Error::ErrorData::~ErrorData (this=<value optimized out>, __in_chrg=<value optimized out>) at ../../soprano/error.cpp:44
#15 0x00007f4699efc4a6 in Soprano::Client::ClientConnection::containsAnyStatement (this=0xf414b0, modelId=466640093, statement=...) at ../../client/clientconnection.cpp:438
#16 0x00007f4699efdf5d in Soprano::Client::ClientModel::containsAnyStatement (this=0xf42110, statement=<value optimized out>) at ../../client/clientmodel.cpp:203
#17 0x00007f469e4ec6c9 in Nepomuk::MainModel::containsAnyStatement (this=0xf44790, statement=...) at ../../nepomuk/core/nepomukmainmodel.cpp:228
#18 0x00007f469e1ff1a4 in Soprano::FilterModel::containsAnyStatement (this=0xf44b90, statement=...) at ../../soprano/filtermodel.cpp:140
#19 0x00007f469e4db985 in Nepomuk::ResourceData::exists (this=0x1200c20) at ../../nepomuk/core/resourcedata.cpp:491
#20 0x00007f469dd31cf9 in Nepomuk::Utils::formatPropertyValue (property=..., value=..., resources=<value optimized out>, flags=...) at ../../../nepomuk/utils/utils.cpp:131
#21 0x00007f469da7ba8b in KLoadFileMetaDataThread::run (this=0x11e62d0) at ../../kio/kfile/kloadfilemetadatathread.cpp:128
#22 0x00007f469bc02c15 in QThreadPrivate::start (arg=0x11e62d0) at thread/qthread_unix.cpp:320
#23 0x00007f46982d6b40 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#24 0x00007f469f93036d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#25 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f468955a700 (LWP 6361)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007f469f8d3f48 in _L_lock_9627 () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x00007f469f8d2331 in __libc_free (mem=0x7f4684000020) at malloc.c:3736
#3  0x00007f469bc46a0c in QString::free (d=0x7f46841dc670) at tools/qstring.cpp:1185
#4  0x00007f469bca7332 in ~QString (this=0x7f46841dc800, options=...) at ../../include/QtCore/../../src/corelib/tools/qstring.h:883
#5  QUrlPrivate::toEncoded (this=0x7f46841dc800, options=...) at io/qurl.cpp:3912
#6  0x00007f469bca7ec1 in QUrlPrivate::validate (this=0x7f46841dc800) at io/qurl.cpp:3725
#7  0x00007f469bca8125 in QUrl::isValid (this=0x7f4684003460) at io/qurl.cpp:4203
#8  0x00007f469e50001b in Nepomuk::Types::EntityPrivate::EntityPrivate (this=0x1390440, uri_=...) at ../../nepomuk/types/entity.cpp:40
#9  0x00007f469e5078d9 in Nepomuk::Types::PropertyPrivate::PropertyPrivate (this=0x1390440, uri=<value optimized out>) at ../../nepomuk/types/property.cpp:38
#10 0x00007f469e50c862 in Nepomuk::Types::EntityManager::getProperty (this=0x108d380, uri=...) at ../../nepomuk/types/entitymanager.cpp:61
#11 0x00007f469e507982 in Nepomuk::Types::Property::Property (this=0x7f4689559bc0, uri=...) at ../../nepomuk/types/property.cpp:156
#12 0x00007f469da7b9fb in KLoadFileMetaDataThread::run (this=0x13b1ef0) at ../../kio/kfile/kloadfilemetadatathread.cpp:127
#13 0x00007f469bc02c15 in QThreadPrivate::start (arg=0x13b1ef0) at thread/qthread_unix.cpp:320
#14 0x00007f46982d6b40 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#15 0x00007f469f93036d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#16 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f46a0038760 (LWP 6319)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007f469f8d3f48 in _L_lock_9627 () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x00007f469f8d2331 in __libc_free (mem=0x7f4684000020) at malloc.c:3736
#3  0x00007f469bc46a0c in QString::free (d=0x7f46841cfde0) at tools/qstring.cpp:1185
#4  0x00007f469bc1e1ea in QHashData::free_helper (this=0x7f46841cf300, node_delete=0x7f469e50c2f0 <QHash<QString, QVariant::Type>::deleteNode2(QHashData::Node*)>) at tools/qhash.cpp:271
#5  0x00007f469e5093ff in freeData () at /usr/include/qt4/QtCore/qhash.h:568
#6  ~QHash () at /usr/include/qt4/QtCore/qhash.h:284
#7  ~QHash () at ../../nepomuk/types/literal.cpp:34
#8  destroy () at ../../nepomuk/types/literal.cpp:34
#9  0x00007f469f891d82 in __run_exit_handlers (status=1, listp=0x7f469fbd94c8, run_list_atexit=true) at exit.c:78
#10 0x00007f469f891dd5 in exit (status=-2080374752) at exit.c:100
#11 0x00007f469c774878 in qt_xio_errhandler () at kernel/qapplication_x11.cpp:772
#12 0x00007f469d433e38 in KApplication::xioErrhandler (this=0x7fffef3de650, dpy=0xdbbad0) at ../../kdeui/kernel/kapplication.cpp:419
#13 0x00007f46991cb2be in _XIOError () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#14 0x00007f46991c8b3d in _XEventsQueued () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#15 0x00007f46991a263a in XCheckTypedWindowEvent () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#16 0x00007f469c789cf6 in QX11Data::clipboardWaitForEvent (this=<value optimized out>, win=90179000, type=31, event=0x7fffef3dd4e0, timeout=5000) at kernel/qclipboard_x11.cpp:571
#17 0x00007f469c78b810 in QClipboardWatcher::getDataInFormat (this=0x137f670, fmtatom=277) at kernel/qclipboard_x11.cpp:1280
#18 0x00007f469c78bcad in QClipboardWatcher::formats_sys (this=0x137f670) at kernel/qclipboard_x11.cpp:1205
#19 0x00007f469c71bee2 in QInternalMimeData::formats (this=<value optimized out>) at kernel/qdnd.cpp:353
#20 0x00007f469c789886 in QClipboardWatcher::hasFormat_sys (this=<value optimized out>, format=...) at kernel/qclipboard_x11.cpp:1232
#21 0x00007f469c71c064 in QInternalMimeData::hasFormat (this=0x137f670, mimeType=...) at kernel/qdnd.cpp:340
#22 0x00007f469bcf6718 in QMimeData::hasText (this=0x137f670) at kernel/qmimedata.cpp:388
#23 0x00007f469d9d975b in KIO::canPasteMimeSource (data=0x137f670) at ../../kio/kio/paste.cpp:233
#24 0x00007f469ef02051 in KonqOperations::pasteInfo (targetUrl=...) at ../../../lib/konq/konq_operations.cpp:950
#25 0x00007f469ec9859b in DolphinView::pasteInfo (this=<value optimized out>) at ../../../dolphin/src/views/dolphinview.cpp:886
#26 0x00007f469fc11abe in DolphinMainWindow::updatePasteAction (this=0xfdce80) at ../../../dolphin/src/dolphinmainwindow.cpp:765
#27 0x00007f469fc125a9 in DolphinMainWindow::updateEditActions (this=0xfdce80) at ../../../dolphin/src/dolphinmainwindow.cpp:1735
#28 0x00007f469fc1570d in DolphinMainWindow::slotSelectionChanged (this=0xfdce80, selection=...) at ../../../dolphin/src/dolphinmainwindow.cpp:343
#29 0x00007f469fc1bdfe in DolphinMainWindow::qt_metacall (this=0xfdce80, _c=QMetaObject::InvokeMetaMethod, _id=42, _a=0x7fffef3ddba0) at ./dolphinmainwindow.moc:235
#30 0x00007f469bcfbb2a in QMetaObject::activate (sender=0xf287e0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fffef3ddba0) at kernel/qobject.cpp:3278
#31 0x00007f469ec99f15 in DolphinView::selectionChanged (this=<value optimized out>, _t1=<value optimized out>) at ./dolphinview.moc:342
#32 0x00007f469ec9c1ca in DolphinView::emitSelectionChangedSignal (this=0xf287e0) at ../../../dolphin/src/views/dolphinview.cpp:798
#33 0x00007f469ec9de65 in DolphinView::qt_metacall (this=0xf287e0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffef3ddc50) at ./dolphinview.moc:220
#34 0x00007f469bcfbb2a in QMetaObject::activate (sender=0xf2b350, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3278
#35 0x00007f469bcff409 in QObject::event (this=0xf2b350, e=<value optimized out>) at kernel/qobject.cpp:1181
#36 0x00007f469c7089f4 in notify_helper (this=0xd91340, receiver=0xf2b350, e=0x7fffef3de350) at kernel/qapplication.cpp:4467
#37 QApplicationPrivate::notify_helper (this=0xd91340, receiver=0xf2b350, e=0x7fffef3de350) at kernel/qapplication.cpp:4439
#38 0x00007f469c70d881 in QApplication::notify (this=0x7fffef3de650, receiver=0xf2b350, e=0x7fffef3de350) at kernel/qapplication.cpp:4346
#39 0x00007f469d435a66 in KApplication::notify (this=0x7fffef3de650, receiver=0xf2b350, event=0x7fffef3de350) at ../../kdeui/kernel/kapplication.cpp:311
#40 0x00007f469bce8fcc in QCoreApplication::notifyInternal (this=0x7fffef3de650, receiver=0xf2b350, event=0x7fffef3de350) at kernel/qcoreapplication.cpp:731
#41 0x00007f469bd15952 in sendEvent (this=0xd94bd0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#42 QTimerInfoList::activateTimers (this=0xd94bd0) at kernel/qeventdispatcher_unix.cpp:604
#43 0x00007f469bd13144 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#44 0x00007f4697e0d09d in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#45 0x00007f4697e0d878 in ?? () from /lib/libglib-2.0.so.0
#46 0x00007f4697e0db09 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#47 0x00007f469bd13acf in QEventDispatcherGlib::processEvents (this=0xd6bc20, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#48 0x00007f469c7ac9ce in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#49 0x00007f469bce81d2 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#50 0x00007f469bce83cf in QEventLoop::exec (this=0x7fffef3de5e0, flags=...) at kernel/qeventloop.cpp:201
#51 0x00007f469bcec577 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#52 0x00007f469fc247b5 in kdemain (argc=5, argv=0x7fffef3deb78) at ../../../dolphin/src/main.cpp:98
#53 0x00007f469f879ead in __libc_start_main (main=<value optimized out>, argc=<value optimized out>, ubp_av=<value optimized out>, init=<value optimized out>, fini=<value optimized out>, rtld_fini=<value optimized out>, stack_end=0x7fffef3deb68) at libc-start.c:228
#54 0x0000000000400691 in _start ()

Possible duplicates by query: bug 279734, bug 279101, bug 278756, bug 278689, bug 277523.

Reported using DrKonqi
Comment 1 Peter Penz 2011-08-23 16:03:08 UTC
Thanks for the report. This is an issue in the meta data 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).