Bug 435159 - Dolphin crashed soon after copying large number of files via bash
Summary: Dolphin crashed soon after copying large number of files via bash
Status: RESOLVED DUPLICATE of bug 422282
Alias: None
Product: dolphin
Classification: Applications
Component: panels: folders (show other bugs)
Version: 20.12.2
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-30 18:17 UTC by DAVID MAX
Modified: 2021-03-31 15:35 UTC (History)
2 users (show)

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


Attachments
This is the crash dump file (4.65 KB, text/vnd.kde.kcrash-report)
2021-03-30 18:17 UTC, DAVID MAX
Details

Note You need to log in before you can comment on or make changes to this bug.
Description DAVID MAX 2021-03-30 18:17:09 UTC
Created attachment 137184 [details]
This is the crash dump file

SUMMARY
KDE spin of Fedora 33

STEPS TO REPRODUCE
1. cp ~/D/WEBSITE.BLOG/V47/IMAGES/* IMAGES 
2. 
3. 

OBSERVED RESULT
Files apparently copied okay (138 MB).
Dolphin being used in split mode, with files details shown (i.e. not icons)
Tried restarting Dolphin, but crashed again almost immediately.

EXPECTED RESULT
Previously could view files listing in source directory

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2021-03-30 19:51:00 UTC
Application: dolphin (20.12.2)

Qt Version: 5.15.2
Frameworks Version: 5.79.0
Operating System: Linux 5.11.9-200.fc33.x86_64 x86_64
Windowing system: X11
Distribution: Fedora 33 (KDE Plasma)

-- Information about the crash:
<In detail, tell us what you were doing  when the application crashed.>

The crash can be reproduced every time.

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

[KCrash Handler]
#4  0x00007fe8b42c57a3 in QHashData::free_helper(void (*)(QHashData::Node*)) () from /lib64/libQt5Core.so.5
#5  0x00007fe8b628f4bd in KFileItemModel::removeItems(KItemRangeList const&, KFileItemModel::RemoveItemsBehavior) () from /lib64/libdolphinprivate.so.5
#6  0x00007fe8b62886de in KFileItemModel::setExpanded(int, bool) () from /lib64/libdolphinprivate.so.5
#7  0x00007fe8b62a8021 in KItemListController::onRelease(QPointF const&, QFlags<Qt::KeyboardModifier>, QFlags<Qt::MouseButton>, bool) () from /lib64/libdolphinprivate.so.5
#8  0x00007fe8b62a81c9 in KItemListController::mouseReleaseEvent(QGraphicsSceneMouseEvent*, QTransform const&) () from /lib64/libdolphinprivate.so.5
#9  0x00007fe8b62ac259 in KItemListController::processEvent(QEvent*, QTransform const&) () from /lib64/libdolphinprivate.so.5
#10 0x00007fe8b62ac351 in KItemListView::event(QEvent*) () from /lib64/libdolphinprivate.so.5
#11 0x00007fe8b4f80ec3 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#12 0x00007fe8b4427bd8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#13 0x00007fe8b52a1ddd in QGraphicsScenePrivate::sendEvent(QGraphicsItem*, QEvent*) () from /lib64/libQt5Widgets.so.5
#14 0x00007fe8b52a2191 in QGraphicsScenePrivate::sendMouseEvent(QGraphicsSceneMouseEvent*) () from /lib64/libQt5Widgets.so.5
#15 0x00007fe8b52a79d0 in QGraphicsScene::mouseReleaseEvent(QGraphicsSceneMouseEvent*) () from /lib64/libQt5Widgets.so.5
#16 0x00007fe8b52b4681 in QGraphicsScene::event(QEvent*) () from /lib64/libQt5Widgets.so.5
#17 0x00007fe8b4f80ec3 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#18 0x00007fe8b4427bd8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#19 0x00007fe8b52d1718 in QGraphicsView::mouseReleaseEvent(QMouseEvent*) () from /lib64/libQt5Widgets.so.5
#20 0x00007fe8b4fc1b1e in QWidget::event(QEvent*) () from /lib64/libQt5Widgets.so.5
#21 0x00007fe8b506b6f2 in QFrame::event(QEvent*) () from /lib64/libQt5Widgets.so.5
#22 0x00007fe8b4427995 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#23 0x00007fe8b4f80eb2 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#24 0x00007fe8b4f87eeb in QApplication::notify(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#25 0x00007fe8b4427bd8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#26 0x00007fe8b4f86efa in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () from /lib64/libQt5Widgets.so.5
#27 0x00007fe8b4fda375 in QWidgetWindow::handleMouseEvent(QMouseEvent*) () from /lib64/libQt5Widgets.so.5
#28 0x00007fe8b4fdd6be in QWidgetWindow::event(QEvent*) () from /lib64/libQt5Widgets.so.5
#29 0x00007fe8b4f80ec3 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#30 0x00007fe8b4427bd8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#31 0x00007fe8b4927143 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /lib64/libQt5Gui.so.5
#32 0x00007fe8b49088cc in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Gui.so.5
#33 0x00007fe8a1f2b47e in xcbSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt5XcbQpa.so.5
#34 0x00007fe8b23d0a9f in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#35 0x00007fe8b2422a98 in g_main_context_iterate.constprop () from /lib64/libglib-2.0.so.0
#36 0x00007fe8b23cde73 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#37 0x00007fe8b44746f3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#38 0x00007fe8b442657b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#39 0x00007fe8b442e1b4 in QCoreApplication::exec() () from /lib64/libQt5Core.so.5
#40 0x00007fe8b6567d5e in kdemain () from /lib64/libkdeinit5_dolphin.so
#41 0x00007fe8b636d1e2 in __libc_start_main () from /lib64/libc.so.6
#42 0x000055eba807d0ae in _start ()
[Inferior 1 (process 26063) detached]
Comment 2 Nate Graham 2021-03-30 19:51:29 UTC

*** This bug has been marked as a duplicate of bug 422282 ***
Comment 3 DAVID MAX 2021-03-31 15:35:54 UTC
I noticed that the previous instance of this bug (the duplicate) involved Windows.

After submitting this bug report, a few things occurred to me:

1. The source of the files being copied (with cp in bash) was an NTFS formatted partition containing Windows files. 

2. One file in the target directory was accidentally created with a bizarre name as a result ('SECRET\HH.secret.html') which may have caused problems on Linux. (Files were created by a Python macro, now corrected -- this was not the result of the cp command).

3. After this issue was corrected (so that a legitimate Linux path was formed instead), Dolphin ran okay today and has not crashed since.