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-pae i686 Distribution: Ubuntu 11.04 -- Information about the crash: opened one non-rooted dolphin window with 715 folders and tried to copy it to a rooted dolphin window. The rooted window was opened on an external HD connected by USB. -- Backtrace: Application: Dolphin (dolphin), signal: Segmentation fault [Current thread is 1 (Thread 0xb4d99a20 (LWP 8755))] Thread 3 (Thread 0xb2959b70 (LWP 8762)): #0 0xb554a613 in __i686.get_pc_thunk.bx () from /lib/i386-linux-gnu/libpthread.so.0 #1 0xb554e337 in pthread_mutex_lock () from /lib/i386-linux-gnu/libpthread.so.0 #2 0xb77e6616 in pthread_mutex_lock () from /lib/i386-linux-gnu/libc.so.6 #3 0xb5498009 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0 #4 0xb5498e63 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0 #5 0xb5499524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0 #6 0xb5e7e577 in QEventDispatcherGlib::processEvents (this=0xa054e48, flags=...) at kernel/qeventdispatcher_glib.cpp:424 #7 0xb5e50289 in QEventLoop::processEvents (this=0xb2959290, flags=...) at kernel/qeventloop.cpp:149 #8 0xb5e50522 in QEventLoop::exec (this=0xb2959290, flags=...) at kernel/qeventloop.cpp:201 #9 0xb5d5a2a0 in QThread::exec (this=0xa023320) at thread/qthread.cpp:492 #10 0xb5e31fdb in QInotifyFileSystemWatcherEngine::run (this=0xa023320) at io/qfilesystemwatcher_inotify.cpp:248 #11 0xb5d5cda2 in QThreadPrivate::start (arg=0xa023320) at thread/qthread_unix.cpp:320 #12 0xb554be99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0 #13 0xb77d873e in clone () from /lib/i386-linux-gnu/libc.so.6 Thread 2 (Thread 0xb1ed5b70 (LWP 8776)): #0 0xb546ba09 in g_ptr_array_set_size () from /lib/i386-linux-gnu/libglib-2.0.so.0 #1 0xb5497edf in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0 #2 0xb5498e63 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0 #3 0xb5499524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0 #4 0xb5e7e577 in QEventDispatcherGlib::processEvents (this=0xa17cf68, flags=...) at kernel/qeventdispatcher_glib.cpp:424 #5 0xb5e50289 in QEventLoop::processEvents (this=0xb1ed5290, flags=...) at kernel/qeventloop.cpp:149 #6 0xb5e50522 in QEventLoop::exec (this=0xb1ed5290, flags=...) at kernel/qeventloop.cpp:201 #7 0xb5d5a2a0 in QThread::exec (this=0xa37fb20) at thread/qthread.cpp:492 #8 0xb5e31fdb in QInotifyFileSystemWatcherEngine::run (this=0xa37fb20) at io/qfilesystemwatcher_inotify.cpp:248 #9 0xb5d5cda2 in QThreadPrivate::start (arg=0xa37fb20) at thread/qthread_unix.cpp:320 #10 0xb554be99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0 #11 0xb77d873e in clone () from /lib/i386-linux-gnu/libc.so.6 Thread 1 (Thread 0xb4d99a20 (LWP 8755)): [KCrash Handler] #5 0xb71a3f75 in value (this=0xbfc00430, field=16777223) at /usr/include/qt4/QtCore/qhash.h:607 #6 KIO::UDSEntry::stringValue (this=0xbfc00430, field=16777223) at ../../kio/kio/udsentry.cpp:75 #7 0xb70c0797 in KIO::CopyJobPrivate::sourceStated (this=0xa590388, entry=..., sourceUrl=...) at ../../kio/kio/copyjob.cpp:367 #8 0xb70c2e59 in KIO::CopyJobPrivate::slotResultStating (this=0xa590388, job=0xa68caa8) at ../../kio/kio/copyjob.cpp:360 #9 0xb70ba5a2 in KIO::CopyJob::qt_metacall (this=0xa590480, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbfc00578) at ./copyjob.moc:121 #10 0xb5e576ba in QMetaObject::metacall (object=0xa590480, cl=QMetaObject::InvokeMetaMethod, idx=43, argv=0xbfc00578) at kernel/qmetaobject.cpp:237 #11 0xb5e674ff in QMetaObject::activate (sender=0xa68caa8, m=0xb61f7548, local_signal_index=3, argv=0xbfc00578) at kernel/qobject.cpp:3287 #12 0xb60a2e93 in KJob::result (this=0xa68caa8, _t1=0xa68caa8) at ./kjob.moc:194 #13 0xb60a2ee8 in KJob::emitResult (this=0xa68caa8) at ../../kdecore/jobs/kjob.cpp:312 #14 0xb70ea61b in KIO::SimpleJob::slotFinished (this=0xa68caa8) at ../../kio/kio/job.cpp:525 #15 0xb70ed7be in KIO::ListJob::slotFinished (this=0xa68caa8) at ../../kio/kio/job.cpp:2564 #16 0xb70f190e in KIO::ListJob::qt_metacall (this=0xa68caa8, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbfc007cc) at ./jobclasses.moc:818 #17 0xb5e576ba in QMetaObject::metacall (object=0xa68caa8, cl=QMetaObject::InvokeMetaMethod, idx=43, argv=0xbfc007cc) at kernel/qmetaobject.cpp:237 #18 0xb5e674ff in QMetaObject::activate (sender=0xa820d50, m=0xb726f6c4, local_signal_index=4, argv=0x0) at kernel/qobject.cpp:3287 #19 0xb719a5a7 in KIO::SlaveInterface::finished (this=0xa820d50) at ./slaveinterface.moc:171 #20 0xb719d3d7 in KIO::SlaveInterface::dispatch (this=0xa820d50, _cmd=104, rawdata=...) at ../../kio/kio/slaveinterface.cpp:173 #21 0xb7199e53 in KIO::SlaveInterface::dispatch (this=0xa820d50) at ../../kio/kio/slaveinterface.cpp:89 #22 0xb718c5c8 in KIO::Slave::gotInput (this=0xa820d50) at ../../kio/kio/slave.cpp:348 #23 0xb718ccf3 in KIO::Slave::qt_metacall (this=0xa820d50, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbfc00adc) at ./slave.moc:82 #24 0xb5e576ba in QMetaObject::metacall (object=0xa820d50, cl=QMetaObject::InvokeMetaMethod, idx=30, argv=0xbfc00adc) at kernel/qmetaobject.cpp:237 #25 0xb5e674ff in QMetaObject::activate (sender=0xa7b4780, m=0xb726c440, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3287 #26 0xb70b7237 in KIO::Connection::readyRead (this=0xa7b4780) at ./connection.moc:92 #27 0xb70b7a56 in KIO::ConnectionPrivate::dequeue (this=0xa6ed920) at ../../kio/kio/connection.cpp:82 #28 0xb70b7b06 in KIO::Connection::qt_metacall (this=0xa7b4780, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xa58ce30) at ./connection.moc:79 #29 0xb5e576ba in QMetaObject::metacall (object=0xa7b4780, cl=QMetaObject::InvokeMetaMethod, idx=5, argv=0xa58ce30) at kernel/qmetaobject.cpp:237 #30 0xb5e61e16 in QMetaCallEvent::placeMetaCall (this=0xadf3bb0, object=0xa7b4780) at kernel/qobject.cpp:535 #31 0xb5e663b7 in QObject::event (this=0xa7b4780, e=0xadf3bb0) at kernel/qobject.cpp:1226 #32 0xb632dd24 in QApplicationPrivate::notify_helper (this=0x9f63298, receiver=0xa7b4780, e=0xadf3bb0) at kernel/qapplication.cpp:4462 #33 0xb63328ce in QApplication::notify (this=0xbfc01400, receiver=0xa7b4780, e=0xadf3bb0) at kernel/qapplication.cpp:3862 #34 0xb6e5f3ca in KApplication::notify (this=0xbfc01400, receiver=0xa7b4780, event=0xadf3bb0) at ../../kdeui/kernel/kapplication.cpp:311 #35 0xb5e510bb in QCoreApplication::notifyInternal (this=0xbfc01400, receiver=0xa7b4780, event=0xadf3bb0) at kernel/qcoreapplication.cpp:731 #36 0xb5e54c79 in sendEvent (receiver=0x0, event_type=0, data=0x9f2a8b8) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215 #37 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x9f2a8b8) at kernel/qcoreapplication.cpp:1372 #38 0xb5e54e0d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1265 #39 0xb5e7e3c4 in sendPostedEvents (s=0x9f66d00) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220 #40 postEventSourceDispatch (s=0x9f66d00) at kernel/qeventdispatcher_glib.cpp:277 #41 0xb5498aa8 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0 #42 0xb5499270 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0 #43 0xb5499524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0 #44 0xb5e7e53c in QEventDispatcherGlib::processEvents (this=0x9f2a410, flags=...) at kernel/qeventdispatcher_glib.cpp:422 #45 0xb63e1775 in QGuiEventDispatcherGlib::processEvents (this=0x9f2a410, flags=...) at kernel/qguieventdispatcher_glib.cpp:204 #46 0xb5e50289 in QEventLoop::processEvents (this=0xbfc01354, flags=...) at kernel/qeventloop.cpp:149 #47 0xb5e50522 in QEventLoop::exec (this=0xbfc01354, flags=...) at kernel/qeventloop.cpp:201 #48 0xb5e54ecc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008 #49 0xb632b8e7 in QApplication::exec () at kernel/qapplication.cpp:3736 #50 0xb78b0e8d in kdemain (argc=1, argv=0xbfc015f4) at ../../../dolphin/src/main.cpp:98 #51 0x080485bb in main (argc=1, argv=0xbfc015f4) at dolphin_dummy.cpp:3 Reported using DrKonqi
*** Bug 289396 has been marked as a duplicate of this bug. ***
There is something wrong with the internal logic of KIO::CopyJob. Infering from the stack trace, KIO::CopyJobPrivate::state at the time of the crash is STATE_STATING (because KIO::CopyJobPrivate::slotResultStating() gets called), yet the terminating subjob is a KIO::ListJob. As a consequence the ListJob gets static_cast<> to a StatJob in KIO::CopyJobPrivate::slotResultStating(), leading to the SIGSEGV.
Crash in unmaintained/unsupported KF4 software. If anyone can still reproduce using recent KF5 versions of KIO and Dolphin, please file a new bug.