Bug 443012 - Dolphin crashes (segmentation fault) when undoing copy of files to external hard drive.
Summary: Dolphin crashes (segmentation fault) when undoing copy of files to external h...
Status: RESOLVED FIXED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 21.08.1
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2021-09-27 13:30 UTC by zoso660
Modified: 2023-12-08 09:11 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description zoso660 2021-09-27 13:30:29 UTC
Application: dolphin (21.08.1)

Qt Version: 5.15.3
Frameworks Version: 5.86.0
Operating System: Linux 5.11.0-36-generic x86_64
Windowing System: X11
Drkonqi Version: 5.22.5
Distribution: KDE neon User Edition 5.22

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

I copied a few files from my local hard drive to a folder on a USB 3.0 hard drive.

Basically, from a location in one Dolphin tab to another Dolphin tab (I assume in the same Dolphin instance).

I then hit Ctrl-Z to undo the operation.

A dialog box popped up about ensuring I wanted to permanently delete the copied files.

After accepting the dialog box, Dolphin crashed, indicating a segmentation fault.

After restarting Dolphin, only a couple of the copied files ended up getting deleted.

The crash can be reproduced every time.

-- Backtrace:
Application: Dolphin (dolphin), signal: Segmentation fault

[New LWP 12359]
[New LWP 12364]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007f85d8f28aff in __GI___poll (fds=0x7fff8c48ab38, nfds=1, timeout=1000) at ../sysdeps/unix/sysv/linux/poll.c:29
[Current thread is 1 (Thread 0x7f85d44e59c0 (LWP 12356))]

Thread 3 (Thread 0x7f85b7fff700 (LWP 12364)):
#0  __GI___libc_read (nbytes=16, buf=0x7f85b7ffe9d0, fd=21) at ../sysdeps/unix/sysv/linux/read.c:26
#1  __GI___libc_read (fd=21, buf=0x7f85b7ffe9d0, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:24
#2  0x00007f85d7003b2f in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f85d6fbaebe in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f85d6fbb312 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f85d6fbb4a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f85d94f65eb in QEventDispatcherGlib::processEvents (this=0x7f85ac000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#7  0x00007f85d949a87b in QEventLoop::exec (this=this@entry=0x7f85b7ffebe0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#8  0x00007f85d92b4292 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#9  0x00007f85d92b542c in QThreadPrivate::start (arg=0x5626bd384680) at thread/qthread_unix.cpp:329
#10 0x00007f85d7a39609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#11 0x00007f85d8f35293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f85d2ab8700 (LWP 12359)):
#0  0x00007f85d70084dd in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f85d6fbaf2a in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f85d6fbb400 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f85d6fbb4a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f85d94f65eb in QEventDispatcherGlib::processEvents (this=0x7f85c4000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f85d949a87b in QEventLoop::exec (this=this@entry=0x7f85d2ab7bb0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#6  0x00007f85d92b4292 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007f85da54ef4b in ?? () from /lib/x86_64-linux-gnu/libQt5DBus.so.5
#8  0x00007f85d92b542c in QThreadPrivate::start (arg=0x7f85da5d2d80) at thread/qthread_unix.cpp:329
#9  0x00007f85d7a39609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#10 0x00007f85d8f35293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f85d44e59c0 (LWP 12356)):
[KCrash Handler]
#4  0x00007f85db059e47 in ?? () from /lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#5  0x00007f85db2f0753 in ?? () from /lib/x86_64-linux-gnu/libKF5KIOWidgets.so.5
#6  0x00007f85d94d2d9e in QtPrivate::QSlotObjectBase::call (a=0x7fff8c48b950, r=0x5626bd1f1000, this=0x5626bf40f2e0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#7  doActivate<false> (sender=0x5626bea48580, signal_index=6, argv=0x7fff8c48b950) at kernel/qobject.cpp:3886
#8  0x00007f85d94cc167 in QMetaObject::activate (sender=sender@entry=0x5626bea48580, m=m@entry=0x7f85da75a720 <KJob::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7fff8c48b950) at kernel/qobject.cpp:3946
#9  0x00007f85da706b90 in KJob::result (this=this@entry=0x5626bea48580, _t1=<optimized out>, _t1@entry=0x5626bea48580, _t2=...) at ./obj-x86_64-linux-gnu/src/lib/KF5CoreAddons_autogen/include/moc_kjob.cpp:631
#10 0x00007f85da70794b in KJob::finishJob (this=0x5626bea48580, emitResult=<optimized out>) at ./src/lib/jobs/kjob.cpp:97
#11 0x00007f85db01ceb8 in KIO::SimpleJob::slotFinished() () from /lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#12 0x00007f85d94d2d9e in QtPrivate::QSlotObjectBase::call (a=0x7fff8c48baf0, r=0x5626bea48580, this=0x5626bf0d0390) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#13 doActivate<false> (sender=0x5626bf0a98a0, signal_index=7, argv=0x7fff8c48baf0) at kernel/qobject.cpp:3886
#14 0x00007f85dafea472 in KIO::SlaveInterface::dispatch(int, QByteArray const&) () from /lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#15 0x00007f85dafe816f in KIO::SlaveInterface::dispatch() () from /lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#16 0x00007f85daff10d2 in KIO::Slave::gotInput() () from /lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#17 0x00007f85d94d2d9e in QtPrivate::QSlotObjectBase::call (a=0x7fff8c48bd60, r=0x5626bf0a98a0, this=0x5626bec671a0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#18 doActivate<false> (sender=0x5626bf04fa00, signal_index=3, argv=0x7fff8c48bd60) at kernel/qobject.cpp:3886
#19 0x00007f85d94c9919 in QObject::event (this=0x5626bf04fa00, e=0x5626be3fe7e0) at kernel/qobject.cpp:1314
#20 0x00007f85d9f77dc3 in QApplicationPrivate::notify_helper (this=this@entry=0x5626bd03f8b0, receiver=receiver@entry=0x5626bf04fa00, e=e@entry=0x5626be3fe7e0) at kernel/qapplication.cpp:3632
#21 0x00007f85d9f80bb8 in QApplication::notify (this=0x7fff8c48c400, receiver=0x5626bf04fa00, e=0x5626be3fe7e0) at kernel/qapplication.cpp:3156
#22 0x00007f85d949bd7a in QCoreApplication::notifyInternal2 (receiver=0x5626bf04fa00, event=0x5626be3fe7e0) at ../../include/QtCore/5.15.3/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:325
#23 0x00007f85d949e681 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x5626bd019ef0) at kernel/qcoreapplication.cpp:1821
#24 0x00007f85d94f6f77 in postEventSourceDispatch (s=0x5626bd1722a0) at kernel/qeventdispatcher_glib.cpp:277
#25 0x00007f85d6fbb17d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007f85d6fbb400 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007f85d6fbb4a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007f85d94f65d2 in QEventDispatcherGlib::processEvents (this=0x5626bd172240, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#29 0x00007f85d949a87b in QEventLoop::exec (this=this@entry=0x7fff8c48c310, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#30 0x00007f85d94a2a34 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#31 0x00005626bbda9fb2 in main (argc=<optimized out>, argv=<optimized out>) at ./src/main.cpp:222
[Inferior 1 (process 12356) detached]

Possible duplicates by query: bug 442774, bug 442552, bug 442479, bug 442360, bug 442332.

Reported using DrKonqi
Comment 1 Patrick Silva 2021-09-27 20:50:22 UTC
possibly duplicate of bug 442332
Comment 2 Akseli Lahtinen 2023-12-08 09:11:47 UTC
Should be fixed, can't reproduce