Bug 276300

Summary: File Transfer Crash
Product: [Applications] dolphin Reporter: mirefrost00
Component: generalAssignee: Peter Penz <peter.penz19>
Status: RESOLVED FIXED    
Severity: crash CC: chathamdavid1970
Priority: NOR    
Version: 1.6.1   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 4.7.0
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description mirefrost00 2011-06-23 02:56:43 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 i686
Distribution: Ubuntu 11.04

-- Information about the crash:
- What I was doing when the application crashed:  I was transferring multiple files and directories from a USB flash drive to various directories in my Home directory.  The files were of various types and sizes.  One directory relocated was over 1 gb in size, but Dolphin did not crash during that transfer.  I do not recall specific properties of the files I attempted to transfer at the time of the error, but my second attempt succeeded after reopening Dolphin.  The error only occurred once, in the middle of about ten transfer operations that suffered no other errors.

The crash does not seem to be reproducible.

-- Backtrace:
Application: Dolphin (dolphin), signal: Segmentation fault
[Current thread is 1 (Thread 0xb7705a20 (LWP 6237))]

Thread 3 (Thread 0xb56c9b70 (LWP 6238)):
#0  0x0061f7a4 in __pthread_mutex_unlock_usercnt () from /lib/i386-linux-gnu/libpthread.so.0
#1  0x00947656 in pthread_mutex_unlock () from /lib/i386-linux-gnu/libc.so.6
#2  0x00bb9712 in g_main_context_check () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x00bba03a in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x00bba524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x0458c577 in QEventDispatcherGlib::processEvents (this=0x87fc8c8, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#6  0x0455e289 in QEventLoop::processEvents (this=0xb56c9290, flags=...) at kernel/qeventloop.cpp:149
#7  0x0455e522 in QEventLoop::exec (this=0xb56c9290, flags=...) at kernel/qeventloop.cpp:201
#8  0x044682a0 in QThread::exec (this=0x87fc058) at thread/qthread.cpp:492
#9  0x0453ffdb in QInotifyFileSystemWatcherEngine::run (this=0x87fc058) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x0446ada2 in QThreadPrivate::start (arg=0x87fc058) at thread/qthread_unix.cpp:320
#11 0x0061be99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#12 0x0093973e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 2 (Thread 0xb3deeb70 (LWP 6242)):
#0  0x0061f7a4 in __pthread_mutex_unlock_usercnt () from /lib/i386-linux-gnu/libpthread.so.0
#1  0x00947656 in pthread_mutex_unlock () from /lib/i386-linux-gnu/libc.so.6
#2  0x00bb9712 in g_main_context_check () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x00bba03a in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x00bba524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x0458c577 in QEventDispatcherGlib::processEvents (this=0x8a9ceb8, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#6  0x0455e289 in QEventLoop::processEvents (this=0xb3dee290, flags=...) at kernel/qeventloop.cpp:149
#7  0x0455e522 in QEventLoop::exec (this=0xb3dee290, flags=...) at kernel/qeventloop.cpp:201
#8  0x044682a0 in QThread::exec (this=0x894a890) at thread/qthread.cpp:492
#9  0x0453ffdb in QInotifyFileSystemWatcherEngine::run (this=0x894a890) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x0446ada2 in QThreadPrivate::start (arg=0x894a890) at thread/qthread_unix.cpp:320
#11 0x0061be99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#12 0x0093973e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 1 (Thread 0xb7705a20 (LWP 6237)):
[KCrash Handler]
#7  deref (this=0x9015740, __in_chrg=<value optimized out>) at ../../include/QtCore/../../src/corelib/arch/qatomic_i386.h:132
#8  ~QString (this=0x9015740, __in_chrg=<value optimized out>) at ../../include/QtCore/../../src/corelib/tools/qstring.h:883
#9  ~QUrlPrivate (this=0x9015740, __in_chrg=<value optimized out>) at io/qurl.cpp:294
#10 QUrl::~QUrl (this=0x9015740, __in_chrg=<value optimized out>) at io/qurl.cpp:4186
#11 0x0626049d in KUrl::~KUrl (this=0x9015740, __in_chrg=<value optimized out>) at ../../kdecore/io/kurl.cpp:380
#12 0x01128f10 in ~QHashNode (node=0x9015738) at /usr/include/qt4/QtCore/qhash.h:217
#13 QHash<KUrl, Nepomuk::Variant>::deleteNode2 (node=0x9015738) at /usr/include/qt4/QtCore/qhash.h:519
#14 0x04488b4b in QHashData::free_helper (this=0x8f4e6e8, node_delete=0x1128ee0 <QHash<KUrl, Nepomuk::Variant>::deleteNode2(QHashData::Node*)>) at tools/qhash.cpp:271
#15 0x0112ace3 in freeData (this=0x8abe718, finishedThread=0x8eab0f0) at /usr/include/qt4/QtCore/qhash.h:568
#16 operator= (this=0x8abe718, finishedThread=0x8eab0f0) at /usr/include/qt4/QtCore/qhash.h:595
#17 KFileMetaDataProvider::Private::slotLoadingFinished (this=0x8abe718, finishedThread=0x8eab0f0) at ../../kio/kfile/kfilemetadataprovider.cpp:199
#18 0x0112b672 in KFileMetaDataProvider::qt_metacall (this=0x87284a8, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbfedfa18) at ./kfilemetadataprovider_p.moc:95
#19 0x045656ba in QMetaObject::metacall (object=0x87284a8, cl=QMetaObject::InvokeMetaMethod, idx=8, argv=0xbfedfa18) at kernel/qmetaobject.cpp:237
#20 0x045754ff in QMetaObject::activate (sender=0x8eab0f0, m=0x11b53a8, local_signal_index=0, argv=0xbfedfa18) at kernel/qobject.cpp:3287
#21 0x011653e3 in KLoadFileMetaDataThread::finished (this=0x8eab0f0, _t1=0x8eab0f0) at ./kloadfilemetadatathread_p.moc:89
#22 0x01165405 in KLoadFileMetaDataThread::slotLoadingFinished (this=0x8eab0f0) at ../../kio/kfile/kloadfilemetadatathread.cpp:175
#23 0x01165490 in KLoadFileMetaDataThread::qt_metacall (this=0x8eab0f0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x8e98ed8) at ./kloadfilemetadatathread_p.moc:77
#24 0x045656ba in QMetaObject::metacall (object=0x8eab0f0, cl=QMetaObject::InvokeMetaMethod, idx=12, argv=0x8e98ed8) at kernel/qmetaobject.cpp:237
#25 0x0456fe16 in QMetaCallEvent::placeMetaCall (this=0x9020b48, object=0x8eab0f0) at kernel/qobject.cpp:535
#26 0x045743b7 in QObject::event (this=0x8eab0f0, e=0x9020b48) at kernel/qobject.cpp:1226
#27 0x0732ed24 in QApplicationPrivate::notify_helper (this=0x8727530, receiver=0x8eab0f0, e=0x9020b48) at kernel/qapplication.cpp:4462
#28 0x073338ce in QApplication::notify (this=0xbfee02e0, receiver=0x8eab0f0, e=0x9020b48) at kernel/qapplication.cpp:3862
#29 0x0139c3ca in KApplication::notify (this=0xbfee02e0, receiver=0x8eab0f0, event=0x9020b48) at ../../kdeui/kernel/kapplication.cpp:311
#30 0x0455f0bb in QCoreApplication::notifyInternal (this=0xbfee02e0, receiver=0x8eab0f0, event=0x9020b48) at kernel/qcoreapplication.cpp:731
#31 0x04562c79 in sendEvent (receiver=0x0, event_type=0, data=0x86e88b8) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#32 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x86e88b8) at kernel/qcoreapplication.cpp:1372
#33 0x04562e0d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1265
#34 0x0458c3c4 in sendPostedEvents (s=0x872a100) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#35 postEventSourceDispatch (s=0x872a100) at kernel/qeventdispatcher_glib.cpp:277
#36 0x00bb9aa8 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#37 0x00bba270 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#38 0x00bba524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#39 0x0458c53c in QEventDispatcherGlib::processEvents (this=0x86e8410, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#40 0x073e2775 in QGuiEventDispatcherGlib::processEvents (this=0x86e8410, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#41 0x0455e289 in QEventLoop::processEvents (this=0xbfee0234, flags=...) at kernel/qeventloop.cpp:149
#42 0x0455e522 in QEventLoop::exec (this=0xbfee0234, flags=...) at kernel/qeventloop.cpp:201
#43 0x04562ecc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#44 0x0732c8e7 in QApplication::exec () at kernel/qapplication.cpp:3736
#45 0x0075ce8d in kdemain (argc=5, argv=0xbfee04d4) at ../../../dolphin/src/main.cpp:98
#46 0x080485bb in main (argc=5, argv=0xbfee04d4) at dolphin_dummy.cpp:3

Reported using DrKonqi
Comment 1 Peter Penz 2011-06-23 03:05:41 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).
Comment 2 David Chatham 2013-07-30 21:16:03 UTC
Created attachment 81464 [details]
New crash information added by DrKonqi

dolphin (2.2) on KDE Platform 4.10.5 using Qt 4.8.3

- What I was doing when the application crashed: I had tried to move a file 2 another dir  within my computer on same drive and dolphin just crashed. this happens once every couple of days this is the first time I have gotten any useful info on this

-- Backtrace (Reduced):
#8  QUrl::~QUrl (this=0x9c16aa0, __in_chrg=<optimized out>) at io/qurl.cpp:4271
#9  0xb6f8d4a0 in ~QHashNode (this=0x9c16a98, __in_chrg=<optimized out>) at /usr/include/qt4/QtCore/qhash.h:216
#10 QHash<QUrl, Nepomuk2::Variant>::deleteNode2 (node=0x9c16a98) at /usr/include/qt4/QtCore/qhash.h:521
#11 0xb57574cc in QHashData::free_helper (this=0xa295850, node_delete=0xb6f8d470 <QHash<QUrl, Nepomuk2::Variant>::deleteNode2(QHashData::Node*)>) at tools/qhash.cpp:275
#12 0xb6f8dc21 in QHash<QUrl, Nepomuk2::Variant>::freeData (x=<optimized out>, this=0x979b468) at /usr/include/qt4/QtCore/qhash.h:570