Bug 480595 - Dolphin sometimes crashes when moving files to another directory
Summary: Dolphin sometimes crashes when moving files to another directory
Status: REPORTED
Alias: None
Product: dolphin
Classification: Applications
Component: general (other bugs)
Version First Reported In: 23.08.4
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords: drkonqi
: 474258 481354 481511 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-01-31 11:15 UTC by Davin Ockerby
Modified: 2024-02-20 09:03 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Davin Ockerby 2024-01-31 11:15:22 UTC
Application: dolphin (23.08.4)

Qt Version: 5.15.12
Frameworks Version: 5.114.0
Operating System: Linux 6.7.2-arch1-1 x86_64
Windowing System: Wayland
Distribution: Arch Linux
DrKonqi: 5.27.10 [KCrashBackend]

-- Information about the crash:
This has only happened once so far, but this is related to another bug in where copy and pasting files to another directory causes Dolphin file manager to crash.

Upon looking at the crash log, this is a Segmentation fault exception. Perhaps there's a memcpy or malloc function in there that's copying memory to the wrong location?

And if the exception is identical to the related bug, then it's likely the same bug.

This seems to happen only when moving multiple files and folders at a time, into another directory.

The reporter is unsure if this crash is reproducible.

-- Backtrace:
Application: Dolphin (dolphin), signal: Segmentation fault
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = <optimized out>}
[KCrash Handler]
#6  0x000078306640af11 in KCoreDirListerPrivate::isItemVisible (item=..., this=0x5e7b375cf960) at /usr/src/debug/kio5/kio-5.114.0/src/core/kcoredirlister.cpp:2585
#7  KCoreDirListerPrivate::addRefreshItem (this=0x5e7b375cf960, directoryUrl=..., oldItem=..., item=...) at /usr/src/debug/kio5/kio-5.114.0/src/core/kcoredirlister.cpp:2533
#8  0x00007830663ffce5 in KCoreDirListerCache::emitRefreshItem (this=<optimized out>, oldItem=<optimized out>, fileitem=...) at /usr/include/c++/13.2.1/bits/unique_ptr.h:199
#9  0x000078306640a9e9 in KCoreDirListerCache::processPendingUpdates (this=0x78306648e4a0 <_ZZN12_GLOBAL__N_121Q_QGS_kDirListerCache13innerFunctionEvE6holder.lto_priv.0>) at /usr/src/debug/kio5/kio-5.114.0/src/core/kcoredirlister.cpp:2020
#10 0x00007830663ff89c in KCoreDirListerCache::slotFilesChanged (this=0x78306648e4a0 <_ZZN12_GLOBAL__N_121Q_QGS_kDirListerCache13innerFunctionEvE6holder.lto_priv.0>, fileList=<optimized out>) at /usr/src/debug/kio5/kio-5.114.0/src/core/kcoredirlister.cpp:897
#11 0x0000783064a84e27 in ??? () at /usr/lib/libQt5Core.so.5
#12 0x000078306641988a in OrgKdeKDirNotifyInterface::FilesChanged (this=<optimized out>, _t1=<optimized out>) at /usr/src/debug/kio5/build/src/core/KF5KIOCore_autogen/include/moc_kdirnotify.cpp:246
#13 0x0000783066419afa in OrgKdeKDirNotifyInterface::qt_static_metacall (_o=_o@entry=0x5e7b36a290b0, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=4, _a=_a@entry=0x7fff0ea1c460) at /usr/src/debug/kio5/build/src/core/KF5KIOCore_autogen/include/moc_kdirnotify.cpp:107
#14 0x000078306641f7d3 in OrgKdeKDirNotifyInterface::qt_metacall (this=0x5e7b36a290b0, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0x7fff0ea1c460) at /usr/src/debug/kio5/build/src/core/KF5KIOCore_autogen/include/moc_kdirnotify.cpp:204
#15 0x0000783065a9776e in ??? () at /usr/lib/libQt5DBus.so.5
#16 0x0000783064a77964 in QObject::event(QEvent*) () at /usr/lib/libQt5Core.so.5
#17 0x00007830654e18ff in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#18 0x0000783064a4fef8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#19 0x0000783064a54e5b in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib/libQt5Core.so.5
#20 0x0000783064a9aec8 in ??? () at /usr/lib/libQt5Core.so.5
#21 0x0000783062619f69 in g_main_dispatch (context=0x783058000ec0) at ../glib/glib/gmain.c:3476
#22 0x00007830626783a7 in g_main_context_dispatch_unlocked (context=0x783058000ec0) at ../glib/glib/gmain.c:4284
#23 g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x783058000ec0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4349
#24 0x0000783062618162 in g_main_context_iteration (context=0x783058000ec0, may_block=1) at ../glib/glib/gmain.c:4414
#25 0x0000783064a9ed0c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#26 0x0000783064a4ec04 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#27 0x0000783064a500a3 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#28 0x00005e7b35b43db8 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/dolphin/dolphin-23.08.4/src/main.cpp:255
[Inferior 1 (process 15748) detached]

The reporter indicates this bug may be a duplicate of or related to bug 478682.

Reported using DrKonqi
Comment 1 Akseli Lahtinen 2024-02-01 14:24:56 UTC
*** Bug 474258 has been marked as a duplicate of this bug. ***
Comment 2 Akseli Lahtinen 2024-02-15 10:53:05 UTC
*** Bug 481354 has been marked as a duplicate of this bug. ***
Comment 3 Akseli Lahtinen 2024-02-20 09:03:22 UTC
*** Bug 481511 has been marked as a duplicate of this bug. ***