Bug 275407

Summary: Dolphin crashes on directories full of pictures.
Product: [Applications] dolphin Reporter: Vangelis <cyberang3l>
Component: generalAssignee: Peter Penz <peter.penz19>
Status: RESOLVED FIXED    
Severity: crash CC: maverick.liou
Priority: NOR    
Version: 1.6.1   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 4.7.0
Sentry Crash Report:

Description Vangelis 2011-06-11 16:47:40 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:
When opening dolphin and navigating in a directory full of pictures, dolphin crashes when it's loading the thumbnails (or before the tooltip appears when you hover the mouse over a picture).
It is not always happening but it is very frequent. It might be the first 3-4 times I will open a directory and then it's fine.

-- Backtrace:
Application: Dolphin (dolphin), signal: Aborted
[Current thread is 1 (Thread 0x7fef2b6f7780 (LWP 18571))]

Thread 6 (Thread 0x7fef17c13700 (LWP 18574)):
#0  0x00007fef273b533c in qt_gettime () at tools/qelapsedtimer_unix.cpp:149
#1  0x00007fef27476e3d in QTimerInfoList::updateCurrentTime (this=0x1fafca0) at kernel/qeventdispatcher_unix.cpp:339
#2  0x00007fef274771a5 in QTimerInfoList::timerWait (this=0x1fafca0, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#3  0x00007fef27475c2c in timerSourcePrepareHelper (src=<value optimized out>, timeout=0x7fef17c12c4c) at kernel/qeventdispatcher_glib.cpp:136
#4  0x00007fef27475cd5 in timerSourcePrepare (source=<value optimized out>, timeout=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#5  0x00007fef2378e0a2 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007fef2378ef9d in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007fef2378f639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007fef27476446 in QEventDispatcherGlib::processEvents (this=0x1e04c80, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#9  0x00007fef2744a882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#10 0x00007fef2744aabc in QEventLoop::exec (this=0x7fef17c12dd0, flags=...) at kernel/qeventloop.cpp:201
#11 0x00007fef27361924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#12 0x00007fef2742cc2f in QInotifyFileSystemWatcherEngine::run (this=0x1faf150) at io/qfilesystemwatcher_inotify.cpp:248
#13 0x00007fef27364175 in QThreadPrivate::start (arg=0x1faf150) at thread/qthread_unix.cpp:320
#14 0x00007fef23c5ad8c in start_thread (arg=0x7fef17c13700) at pthread_create.c:304
#15 0x00007fef2afff04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#16 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7fef155aa700 (LWP 18584)):
#0  0x00007fef23c5ed9d in __pthread_mutex_unlock_usercnt (mutex=0x2354328) at pthread_mutex_unlock.c:52
#1  __pthread_mutex_unlock (mutex=0x2354328) at pthread_mutex_unlock.c:290
#2  0x00007fef2378e094 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fef2378ef9d in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fef2378f639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fef27476446 in QEventDispatcherGlib::processEvents (this=0x2297e60, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#6  0x00007fef2744a882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007fef2744aabc in QEventLoop::exec (this=0x7fef155a9dd0, flags=...) at kernel/qeventloop.cpp:201
#8  0x00007fef27361924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#9  0x00007fef2742cc2f in QInotifyFileSystemWatcherEngine::run (this=0x2353460) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x00007fef27364175 in QThreadPrivate::start (arg=0x2353460) at thread/qthread_unix.cpp:320
#11 0x00007fef23c5ad8c in start_thread (arg=0x7fef155aa700) at pthread_create.c:304
#12 0x00007fef2afff04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fef14da9700 (LWP 18587)):
#0  0x00007fef2aff7143 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007fef2742c501 in QProcessManager::run (this=0x7fef2777ef60) at io/qprocess_unix.cpp:245
#2  0x00007fef27364175 in QThreadPrivate::start (arg=0x7fef2777ef60) at thread/qthread_unix.cpp:320
#3  0x00007fef23c5ad8c in start_thread (arg=0x7fef14da9700) at pthread_create.c:304
#4  0x00007fef2afff04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fef0ffff700 (LWP 18649)):
[KCrash Handler]
#6  0x00007fef2af4cd05 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007fef2af50ab6 in abort () at abort.c:92
#8  0x00007fef2af85d7b in __libc_message (do_abort=2, fmt=0x7fef2b06e400 "*** glibc detected *** %s: %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:189
#9  0x00007fef2af8fbb6 in malloc_printerr (action=3, str=0x7fef2b06e980 "malloc(): memory corruption (fast)", ptr=<value optimized out>) at malloc.c:6283
#10 0x00007fef2af92e78 in _int_malloc (av=0x7fef10000020, bytes=<value optimized out>) at malloc.c:4308
#11 0x00007fef2af9531e in __libc_malloc (bytes=55) at malloc.c:3660
#12 0x00007fef273663cd in QByteArray::resize (this=0x7fef0fffe130, size=23) at tools/qbytearray.cpp:1386
#13 0x00007fef273a3d77 in toLatin1_helper (data=0x7fef1002f54a, length=23) at tools/qstring.cpp:3525
#14 0x00007fef273a7d13 in QString::toLatin1 (this=<value optimized out>) at tools/qstring.cpp:3618
#15 0x00007fef27409b8d in QUrl::toAce (domain=<value optimized out>) at io/qurl.cpp:5885
#16 0x00007fef2740c602 in QUrlPrivate::toEncoded (this=0x22d98f0, options=...) at io/qurl.cpp:3948
#17 0x00007fef2740c80d in QUrl::toEncoded (this=<value optimized out>, options=<value optimized out>) at io/qurl.cpp:5692
#18 0x00007fef298bc622 in Soprano::Node::resourceToN3(QUrl const&) () from /usr/lib/libsoprano.so.4
#19 0x00007fef29bd3815 in Nepomuk::Types::EntityPrivate::load (this=0x22cebd0) at ../../nepomuk/types/entity.cpp:73
#20 0x00007fef29bd29b1 in Nepomuk::Types::EntityPrivate::init (this=0x22cebd0) at ../../nepomuk/types/entity.cpp:51
#21 0x00007fef29bd2cbe in Nepomuk::Types::Entity::label (this=0x7fef0fffec00, language=...) at ../../nepomuk/types/entity.cpp:190
#22 0x00007fef29bd2d89 in Nepomuk::Types::Entity::label (this=<value optimized out>, language=<value optimized out>) at ../../nepomuk/types/entity.cpp:211
#23 0x00007fef29413254 in Nepomuk::Utils::formatPropertyValue (property=..., value=..., resources=<value optimized out>, flags=...) at ../../../nepomuk/utils/utils.cpp:143
#24 0x00007fef2915d41e in KLoadFileMetaDataThread::run (this=0x28c7ff0) at ../../kio/kfile/kloadfilemetadatathread.cpp:128
#25 0x00007fef27364175 in QThreadPrivate::start (arg=0x28c7ff0) at thread/qthread_unix.cpp:320
#26 0x00007fef23c5ad8c in start_thread (arg=0x7fef0ffff700) at pthread_create.c:304
#27 0x00007fef2afff04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#28 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fef0f73e700 (LWP 18651)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fef273632b3 in QMutexPrivate::wait (this=0x22cec90, timeout=-1) at thread/qmutex_unix.cpp:84
#2  0x00007fef2735fce5 in QMutex::lock (this=0x22cebe0) at thread/qmutex.cpp:167
#3  0x00007fef29bd295b in QMutexLocker (this=0x22cebd0) at /usr/include/qt4/QtCore/qmutex.h:102
#4  Nepomuk::Types::EntityPrivate::init (this=0x22cebd0) at ../../nepomuk/types/entity.cpp:48
#5  0x00007fef29bd2cbe in Nepomuk::Types::Entity::label (this=0x7fef0f73dc00, language=...) at ../../nepomuk/types/entity.cpp:190
#6  0x00007fef29bd2d89 in Nepomuk::Types::Entity::label (this=<value optimized out>, language=<value optimized out>) at ../../nepomuk/types/entity.cpp:211
#7  0x00007fef29413254 in Nepomuk::Utils::formatPropertyValue (property=..., value=..., resources=<value optimized out>, flags=...) at ../../../nepomuk/utils/utils.cpp:143
#8  0x00007fef2915d41e in KLoadFileMetaDataThread::run (this=0x28b7ae0) at ../../kio/kfile/kloadfilemetadatathread.cpp:128
#9  0x00007fef27364175 in QThreadPrivate::start (arg=0x28b7ae0) at thread/qthread_unix.cpp:320
#10 0x00007fef23c5ad8c in start_thread (arg=0x7fef0f73e700) at pthread_create.c:304
#11 0x00007fef2afff04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fef2b6f7780 (LWP 18571)):
#0  0x00007fef2aff1f03 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fef21563512 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007fef21563a5f in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007fef21563ae4 in xcb_writev () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#4  0x00007fef24b4a2a7 in _XSend () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#5  0x00007fef24b3e717 in ?? () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#6  0x00007fef24b3e8f2 in XPutImage () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#7  0x00007fef27ef8642 in QX11PixmapData::fromImage (this=0x28d6830, img=<value optimized out>, flags=...) at image/qpixmap_x11.cpp:1124
#8  0x00007fef27ee405f in QPixmap::fromImage (image=..., flags=...) at image/qpixmap.cpp:2059
#9  0x00007fef290bd632 in KIO::PreviewJobPrivate::emitPreview (this=0x285ea60, thumb=...) at ../../kio/kio/previewjob.cpp:703
#10 0x00007fef290bd7b0 in KIO::PreviewJobPrivate::slotThumbData (this=0x285ea60, data=<value optimized out>) at ../../kio/kio/previewjob.cpp:692
#11 0x00007fef290c0fca in KIO::PreviewJob::qt_metacall (this=0x2736e80, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7ffff804bf80) at ./previewjob.moc:87
#12 0x00007fef274605f8 in QMetaObject::activate (sender=0x266c2d0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7ffff804bf80) at kernel/qobject.cpp:3287
#13 0x00007fef2903fe34 in KIO::TransferJob::data (this=<value optimized out>, _t1=0x266c2d0, _t2=<value optimized out>) at ./jobclasses.moc:388
#14 0x00007fef2903fe98 in KIO::TransferJob::slotData (this=0x266c2d0, _data=...) at ../../kio/kio/job.cpp:1005
#15 0x00007fef290467b6 in KIO::TransferJob::qt_metacall (this=0x266c2d0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7ffff804c110) at ./jobclasses.moc:368
#16 0x00007fef274605f8 in QMetaObject::activate (sender=0x245b410, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7ffff804c110) at kernel/qobject.cpp:3287
#17 0x00007fef290e1c12 in KIO::SlaveInterface::data (this=<value optimized out>, _t1=<value optimized out>) at ./slaveinterface.moc:146
#18 0x00007fef290e4d50 in KIO::SlaveInterface::dispatch (this=<value optimized out>, _cmd=100, rawdata=...) at ../../kio/kio/slaveinterface.cpp:161
#19 0x00007fef290e16e5 in KIO::SlaveInterface::dispatch (this=0x245b410) at ../../kio/kio/slaveinterface.cpp:89
#20 0x00007fef290d508e in KIO::Slave::gotInput (this=0x245b410) at ../../kio/kio/slave.cpp:348
#21 0x00007fef290d56dc in KIO::Slave::qt_metacall (this=0x245b410, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7ffff804c4f0) at ./slave.moc:82
#22 0x00007fef274605f8 in QMetaObject::activate (sender=0x273c8a0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3287
#23 0x00007fef2900f507 in KIO::ConnectionPrivate::dequeue (this=0x2876750) at ../../kio/kio/connection.cpp:82
#24 0x00007fef2900f5ad in KIO::Connection::qt_metacall (this=0x273c8a0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x25f9b50) at ./connection.moc:79
#25 0x00007fef2745f49a in QObject::event (this=0x273c8a0, e=<value optimized out>) at kernel/qobject.cpp:1226
#26 0x00007fef27e0a9e4 in QApplicationPrivate::notify_helper (this=0x1d24c00, receiver=0x273c8a0, e=0x28dae80) at kernel/qapplication.cpp:4462
#27 0x00007fef27e0f3aa in QApplication::notify (this=<value optimized out>, receiver=0x273c8a0, e=0x28dae80) at kernel/qapplication.cpp:4341
#28 0x00007fef28b2a716 in KApplication::notify (this=0x7ffff804cf40, receiver=0x273c8a0, event=0x28dae80) at ../../kdeui/kernel/kapplication.cpp:311
#29 0x00007fef2744b49c in QCoreApplication::notifyInternal (this=0x7ffff804cf40, receiver=0x273c8a0, event=0x28dae80) at kernel/qcoreapplication.cpp:731
#30 0x00007fef2744ec25 in sendEvent (receiver=0x0, event_type=0, data=0x1cd35d0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#31 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1cd35d0) at kernel/qcoreapplication.cpp:1372
#32 0x00007fef27476253 in sendPostedEvents (s=0x1d275c0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#33 postEventSourceDispatch (s=0x1d275c0) at kernel/qeventdispatcher_glib.cpp:277
#34 0x00007fef2378ebcd in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007fef2378f3a8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007fef2378f639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007fef274763ef in QEventDispatcherGlib::processEvents (this=0x1cd2db0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#38 0x00007fef27eb1dfe in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#39 0x00007fef2744a882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#40 0x00007fef2744aabc in QEventLoop::exec (this=0x7ffff804ced0, flags=...) at kernel/qeventloop.cpp:201
#41 0x00007fef2744eecb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#42 0x00007fef2b2ef9e5 in kdemain (argc=1, argv=0x7ffff804d468) at ../../../dolphin/src/main.cpp:98
#43 0x00007fef2af37eff in __libc_start_main (main=0x400730 <main(int, char**)>, argc=1, ubp_av=0x7ffff804d468, init=<value optimized out>, fini=<value optimized out>, rtld_fini=<value optimized out>, stack_end=0x7ffff804d458) at libc-start.c:226
#44 0x0000000000400659 in _start ()

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

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

Reported using DrKonqi
Comment 1 Peter Penz 2011-06-11 18:50:33 UTC
Thanks for the report. This is an issue in the 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).
Comment 2 Vangelis 2011-06-11 22:39:11 UTC
Thank you for the information about it. This is very annoying since I deal with lots of pictures and dolphin crashes a loooot.
Seems that I will have to update and test as soon as the new KDE SC 4.7.0 beta packages will hit the kubuntu-beta repositories ;)
Comment 3 Jekyll Wu 2011-12-04 12:51:39 UTC
*** Bug 277523 has been marked as a duplicate of this bug. ***