Bug 409857 - Dolphin crashed in KIO::CopyJobPrivate::copyNextFile() when working with FAT32 Flash Drive
Summary: Dolphin crashed in KIO::CopyJobPrivate::copyNextFile() when working with FAT3...
Status: RESOLVED DUPLICATE of bug 408350
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.60.0
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: David Faure
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2019-07-16 13:06 UTC by Andreas Hurka
Modified: 2019-09-14 19:07 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Hurka 2019-07-16 13:06:52 UTC
Application: dolphin (19.04.3)

Qt Version: 5.12.3
Frameworks Version: 5.60.0
Operating System: Linux 4.15.0-54-generic x86_64
Distribution: KDE neon User Edition 5.16

-- Information about the crash:
- What I was doing when the application crashed:

I was working with an USB3 Flash Drive with a FAT32 Partition.
When trying to copy data from a SD-Card over I accidentally removed the Flash-Drive.
I tried to copy the rest of the data with skipping every file which is already on the drive.
After asking me if it should replace already existing files and me saying skip them and apply to every one of those dolphin crashed.

The crash can be reproduced every time.

-- Backtrace:
Application: Dolphin (dolphin), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fd9b7359240 (LWP 5446))]

Thread 5 (Thread 0x7fd987182700 (LWP 5450)):
#0  0x00007fd9b6be00b4 in __GI___libc_read (fd=17, buf=0x7fd987181b90, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:27
#1  0x00007fd9a8e862d0 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fd9a8e410b7 in g_main_context_check () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fd9a8e41570 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fd9a8e416dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fd9b0ae8dcb in QEventDispatcherGlib::processEvents (this=0x7fd980000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#6  0x00007fd9b0a8a03a in QEventLoop::exec (this=this@entry=0x7fd987181da0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#7  0x00007fd9b08b14ca in QThread::exec (this=<optimized out>) at thread/qthread.cpp:531
#8  0x00007fd9b08b2c72 in QThreadPrivate::start (arg=0x5559a6030160) at thread/qthread_unix.cpp:361
#9  0x00007fd9ab22a6db in start_thread (arg=0x7fd987182700) at pthread_create.c:463
#10 0x00007fd9b6bf188f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7fd98ffff700 (LWP 5449)):
#0  0x00007fd9ab2309f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5559a5fb7218) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x5559a5fb71c8, cond=0x5559a5fb71f0) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x5559a5fb71f0, mutex=0x5559a5fb71c8) at pthread_cond_wait.c:655
#3  0x00007fd9951b03da in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007fd9951b0107 in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007fd9ab22a6db in start_thread (arg=0x7fd98ffff700) at pthread_create.c:463
#6  0x00007fd9b6bf188f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7fd99c9c6700 (LWP 5448)):
#0  0x00007fd9a8e87664 in g_mutex_unlock () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fd9a8e40b18 in g_main_context_prepare () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fd9a8e414fb in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fd9a8e416dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fd9b0ae8dcb in QEventDispatcherGlib::processEvents (this=0x7fd990000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007fd9b0a8a03a in QEventLoop::exec (this=this@entry=0x7fd99c9c5d70, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#6  0x00007fd9b08b14ca in QThread::exec (this=<optimized out>) at thread/qthread.cpp:531
#7  0x00007fd9b0f57015 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#8  0x00007fd9b08b2c72 in QThreadPrivate::start (arg=0x7fd9b11ced80) at thread/qthread_unix.cpp:361
#9  0x00007fd9ab22a6db in start_thread (arg=0x7fd99c9c6700) at pthread_create.c:463
#10 0x00007fd9b6bf188f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7fd99ed67700 (LWP 5447)):
#0  0x00007fd9b6be4bf9 in __GI___poll (fds=0x7fd99ed66ca8, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fd9a84ac747 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007fd9a84ae36a in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007fd9a1b4e578 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007fd9b08b2c72 in QThreadPrivate::start (arg=0x5559a5bf4130) at thread/qthread_unix.cpp:361
#5  0x00007fd9ab22a6db in start_thread (arg=0x7fd99ed67700) at pthread_create.c:463
#6  0x00007fd9b6bf188f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7fd9b7359240 (LWP 5446)):
[KCrash Handler]
#6  0x00007fd9b52df153 in KIO::CopyJobPrivate::copyNextFile (this=this@entry=0x7fd9900429f0) at ./src/core/copyjob.cpp:1642
#7  0x00007fd9b52dfeca in KIO::CopyJobPrivate::createNextDir (this=this@entry=0x7fd9900429f0) at ./src/core/copyjob.cpp:1301
#8  0x00007fd9b52e22de in KIO::CopyJobPrivate::slotResultCreatingDirs (this=this@entry=0x7fd9900429f0, job=job@entry=0x7fd99800e9b0) at ./src/core/copyjob.cpp:1157
#9  0x00007fd9b52e573b in KIO::CopyJob::slotResult (this=0x5559a6322ae0, job=0x7fd99800e9b0) at ./src/core/copyjob.cpp:2190
#10 0x00007fd9b0abb98f in QtPrivate::QSlotObjectBase::call (a=0x7fff440896b0, r=0x5559a6322ae0, this=0x5559a67a06d0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:394
#11 QMetaObject::activate (sender=sender@entry=0x7fd99800e9b0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7fff440896b0) at kernel/qobject.cpp:3776
#12 0x00007fd9b0abbf47 in QMetaObject::activate (sender=sender@entry=0x7fd99800e9b0, m=m@entry=0x7fd9b296d500 <KJob::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7fff440896b0) at kernel/qobject.cpp:3648
#13 0x00007fd9b270f9ec in KJob::result (this=this@entry=0x7fd99800e9b0, _t1=<optimized out>, _t1@entry=0x7fd99800e9b0, _t2=...) at ./obj-x86_64-linux-gnu/src/lib/KF5CoreAddons_autogen/include/moc_kjob.cpp:573
#14 0x00007fd9b2710521 in KJob::finishJob (this=0x7fd99800e9b0, emitResult=<optimized out>) at ./src/lib/jobs/kjob.cpp:109
#15 0x00007fd9b27123da in KJob::emitResult (this=<optimized out>) at ./src/lib/jobs/kjob.cpp:293
#16 0x00007fd9b53380e0 in KIO::SimpleJob::slotFinished (this=this@entry=0x7fd99800e9b0) at ./src/core/simplejob.cpp:232
#17 0x00007fd9b52ea5cd in KIO::MkdirJob::slotFinished (this=0x7fd99800e9b0) at ./src/core/mkdirjob.cpp:117
#18 0x00007fd9b533647b in KIO::SimpleJob::slotError (this=0x7fd99800e9b0, err=<optimized out>, errorText=...) at ./src/core/simplejob.cpp:245
#19 0x00007fd9b0abb98f in QtPrivate::QSlotObjectBase::call (a=0x7fff440899b0, r=0x7fd99800e9b0, this=0x5559a67abe50) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:394
#20 QMetaObject::activate (sender=sender@entry=0x5559a63381f0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7fff440899b0) at kernel/qobject.cpp:3776
#21 0x00007fd9b0abbf47 in QMetaObject::activate (sender=sender@entry=0x5559a63381f0, m=m@entry=0x7fd9b55ea620 <KIO::SlaveInterface::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7fff440899b0) at kernel/qobject.cpp:3648
#22 0x00007fd9b530ba26 in KIO::SlaveInterface::error (this=this@entry=0x5559a63381f0, _t1=<optimized out>, _t2=...) at ./obj-x86_64-linux-gnu/src/core/KF5KIOCore_autogen/include/moc_slaveinterface.cpp:429
#23 0x00007fd9b530fb22 in KIO::SlaveInterface::dispatch (this=0x5559a63381f0, _cmd=<optimized out>, rawdata=...) at ./src/core/slaveinterface.cpp:192
#24 0x00007fd9b530c1c8 in KIO::SlaveInterface::dispatch (this=0x5559a63381f0) at ./src/core/slaveinterface.cpp:89
#25 0x00007fd9b53124f1 in KIO::Slave::gotInput (this=0x5559a63381f0) at ./src/core/slave.cpp:406
#26 0x00007fd9b0abb98f in QtPrivate::QSlotObjectBase::call (a=0x7fff44089c30, r=0x5559a63381f0, this=0x5559a6326430) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:394
#27 QMetaObject::activate (sender=0x5559a63220d0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3776
#28 0x00007fd9b0abbf47 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7fd9b55e9380 <KIO::Connection::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3648
#29 0x00007fd9b52b2fd9 in KIO::Connection::readyRead (this=<optimized out>) at ./obj-x86_64-linux-gnu/src/core/KF5KIOCore_autogen/include/moc_connection_p.cpp:147
#30 KIO::ConnectionPrivate::dequeue (this=0x5559a60b49c0) at ./src/core/connection.cpp:46
#31 0x00007fd9b0abc3e2 in QObject::event (this=0x5559a63220d0, e=<optimized out>) at kernel/qobject.cpp:1260
#32 0x00007fd9b1d5365c in QApplicationPrivate::notify_helper (this=this@entry=0x5559a5bd4e50, receiver=receiver@entry=0x5559a63220d0, e=e@entry=0x7fd99800b330) at kernel/qapplication.cpp:3736
#33 0x00007fd9b1d5ab90 in QApplication::notify (this=0x7fff4408a340, receiver=0x5559a63220d0, e=0x7fd99800b330) at kernel/qapplication.cpp:3483
#34 0x00007fd9b0a8bd18 in QCoreApplication::notifyInternal2 (receiver=0x5559a63220d0, event=0x7fd99800b330) at kernel/qcoreapplication.cpp:1060
#35 0x00007fd9b0a8beee in QCoreApplication::sendEvent (receiver=<optimized out>, event=event@entry=0x7fd99800b330) at kernel/qcoreapplication.cpp:1450
#36 0x00007fd9b0a8e8d7 in QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x5559a5bca7f0) at kernel/qcoreapplication.cpp:1799
#37 0x00007fd9b0a8ee78 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1653
#38 0x00007fd9b0ae9793 in postEventSourceDispatch (s=0x5559a5c28db0) at kernel/qeventdispatcher_glib.cpp:276
#39 0x00007fd9a8e41417 in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#40 0x00007fd9a8e41650 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#41 0x00007fd9a8e416dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#42 0x00007fd9b0ae8daf in QEventDispatcherGlib::processEvents (this=0x5559a5c25dc0, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#43 0x00007fd9b0a8a03a in QEventLoop::exec (this=this@entry=0x7fff4408a240, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#44 0x00007fd9b0a93170 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1363
#45 0x00007fd9b6f04d21 in kdemain (argc=<optimized out>, argv=<optimized out>) at ./src/main.cpp:168
#46 0x00007fd9b6af1b97 in __libc_start_main (main=0x5559a48a0720 <main>, argc=2, argv=0x7fff4408a4c8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff4408a4b8) at ../csu/libc-start.c:310
#47 0x00005559a48a075a in _start ()

Reported using DrKonqi
Comment 1 Méven Car 2019-07-19 08:28:40 UTC
Were you trying to copy some file bigger than 4GB ?
It could be the underlying issue cause.
Comment 2 Ahmad Samir 2019-09-14 19:07:32 UTC

*** This bug has been marked as a duplicate of bug 408350 ***