Bug 474258 - Dolphin crashes on deleting file
Summary: Dolphin crashes on deleting file
Status: RESOLVED DUPLICATE of bug 480595
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 23.08.0
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2023-09-07 14:18 UTC by Mihail
Modified: 2024-02-01 14:24 UTC (History)
3 users (show)

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


Attachments
New crash information added by DrKonqi (4.24 KB, text/plain)
2023-11-03 10:42 UTC, Egor
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mihail 2023-09-07 14:18:48 UTC
Application: dolphin (23.08.0)

Qt Version: 5.15.10
Frameworks Version: 5.109.0
Operating System: Linux 6.3.13-mihail-pc x86_64
Windowing System: X11
Distribution: "Arch Linux"
DrKonqi: 5.27.7 [KCrashBackend]

-- Information about the crash:
I pressed a combination of keys (Shift+Del) to delete the file and confirmed by pressing Enter. After that, Dolphin broke. The file was deleted.

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  0x00007f6023d76b82 in KCoreDirListerPrivate::isItemVisible(KFileItem const&) const (item=..., this=0x64802f2d1070) at /usr/src/debug/kio/kio-5.109.0/src/core/kcoredirlister.cpp:2587
#7  operator() (item=..., __closure=<synthetic pointer>) at /usr/src/debug/kio/kio-5.109.0/src/core/kcoredirlister.cpp:2594
#8  std::copy_if<QList<KFileItem>::const_iterator, std::back_insert_iterator<KFileItemList>, KCoreDirListerPrivate::emitItemsDeleted(const KFileItemList&)::<lambda(const KFileItem&)> > (__pred=..., __result=..., __last=..., __first=...) at /usr/include/c++/13.2.1/bits/stl_algo.h:706
#9  KCoreDirListerPrivate::emitItemsDeleted(KFileItemList const&) (itemsList=..., this=0x64802f2d1070) at /usr/src/debug/kio/kio-5.109.0/src/core/kcoredirlister.cpp:2593
#10 KCoreDirListerCache::itemsDeleted(QList<KCoreDirLister*> const&, KFileItemList const&) (this=0x7f6023df74a0 <_ZZN12_GLOBAL__N_121Q_QGS_kDirListerCache13innerFunctionEvE6holder.lto_priv.0>, listers=<optimized out>, deletedItems=...) at /usr/src/debug/kio/kio-5.109.0/src/core/kcoredirlister.cpp:1926
#11 0x00007f6023d6b365 in KCoreDirListerCache::slotFilesRemoved(QList<QUrl> const&) (this=this@entry=0x7f6023df74a0 <_ZZN12_GLOBAL__N_121Q_QGS_kDirListerCache13innerFunctionEvE6holder.lto_priv.0>, fileList=...) at /usr/src/debug/kio/kio-5.109.0/src/core/kcoredirlister.cpp:856
#12 0x00007f6023d6bac6 in KCoreDirListerCache::slotFilesRemoved(QStringList const&) (this=0x7f6023df74a0 <_ZZN12_GLOBAL__N_121Q_QGS_kDirListerCache13innerFunctionEvE6holder.lto_priv.0>, fileList=<optimized out>) at /usr/src/debug/kio/kio-5.109.0/src/core/kcoredirlister.cpp:806
#13 0x00007f60223ef637 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffdf8dccb80, r=<optimized out>, this=0x64802e599050, this=<optimized out>, r=<optimized out>, a=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#14 doActivate<false>(QObject*, int, void**) (sender=0x64802e56d1f0, signal_index=8, argv=0x7ffdf8dccb80) at kernel/qobject.cpp:3925
#15 0x00007f6023d828ca in OrgKdeKDirNotifyInterface::FilesRemoved(QStringList const&) (this=<optimized out>, _t1=<optimized out>) at /usr/src/debug/kio/build/src/core/KF5KIOCore_autogen/include/moc_kdirnotify.cpp:253
#16 0x00007f6023d82a7a in OrgKdeKDirNotifyInterface::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=_o@entry=0x64802e56d1f0, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=5, _a=_a@entry=0x7ffdf8dccca0) at /usr/src/debug/kio/build/src/core/KF5KIOCore_autogen/include/moc_kdirnotify.cpp:108
#17 0x00007f6023d887b3 in OrgKdeKDirNotifyInterface::qt_metacall(QMetaObject::Call, int, void**) (this=0x64802e56d1f0, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0x7ffdf8dccca0) at /usr/src/debug/kio/build/src/core/KF5KIOCore_autogen/include/moc_kdirnotify.cpp:204
#18 0x00007f602340176e in QDBusConnectionPrivate::deliverCall(QObject*, int, QDBusMessage const&, QVector<int> const&, int) (this=<optimized out>, object=<optimized out>, msg=<optimized out>, metaTypes=<optimized out>, slotIdx=<optimized out>) at /usr/src/debug/qt5-base/qtbase/src/dbus/qdbusintegrator.cpp:1001
#19 0x00007f60223e2174 in QObject::event(QEvent*) (this=0x64802e56d1f0, e=0x7f6014011230) at kernel/qobject.cpp:1347
#20 0x00007f6022e4993f in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x64802e56d1f0, e=0x7f6014011230) at kernel/qapplication.cpp:3640
#21 0x00007f60223ba6f8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x64802e56d1f0, event=0x7f6014011230) at kernel/qcoreapplication.cpp:1064
#22 0x00007f60223bf65b in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=0x0, event_type=0, data=0x64802e305550) at kernel/qcoreapplication.cpp:1821
#23 0x00007f60224056d8 in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x64802e3e8280) at kernel/qeventdispatcher_glib.cpp:277
#24 0x00007f601ff24a61 in g_main_dispatch (context=0x7f6014000ee0) at ../glib/glib/gmain.c:3460
#25 g_main_context_dispatch (context=0x7f6014000ee0) at ../glib/glib/gmain.c:4200
#26 0x00007f601ff81c29 in g_main_context_iterate.isra.0 (context=context@entry=0x7f6014000ee0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4276
#27 0x00007f601ff22112 in g_main_context_iteration (context=0x7f6014000ee0, may_block=1) at ../glib/glib/gmain.c:4343
#28 0x00007f602240951c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x64802e3eca40, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#29 0x00007f60223b9404 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffdf8dcd170, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#30 0x00007f60223ba8a3 in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#31 0x00007f6022790ef2 in QGuiApplication::exec() () at kernel/qguiapplication.cpp:1870
#32 0x00007f6022e47cda in QApplication::exec() () at kernel/qapplication.cpp:2832
#33 0x000064802c795db8 in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/dolphin/dolphin-23.08.0/src/main.cpp:255
[Inferior 1 (process 17316) detached]

Reported using DrKonqi
Comment 1 Egor 2023-11-03 10:42:26 UTC
Created attachment 162838 [details]
New crash information added by DrKonqi

dolphin (21.12.3) using Qt 5.15.2

- What I was doing when the application crashed:
While copying files to the flash drive, I deleted files that were supposed to be copied to the media and then dolphin gave an error.

-- Backtrace (Reduced):
#4  0x00007f482570c9c7 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#5  0x00007f48266e2392 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#6  0x00007f48266e91a0 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#7  0x00007f482570cc53 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#8  0x00007f482672404b in QWidget::setParent(QWidget*, QFlags<Qt::WindowType>) () from /usr/lib64/libQt5Widgets.so.5
Comment 2 Akseli Lahtinen 2024-02-01 14:24:56 UTC

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