Bug 431323 - Was the swap file filled?
Summary: Was the swap file filled?
Status: REPORTED
Alias: None
Product: krusader
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Krusader Bugs Distribution List
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2021-01-08 18:23 UTC by Peter C. Trenholme
Modified: 2021-01-08 18:23 UTC (History)
1 user (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 Peter C. Trenholme 2021-01-08 18:23:16 UTC
Application: krusader (2.7.2 "Peace of Mind")

Qt Version: 5.15.2
Frameworks Version: 5.75.0
Operating System: Linux 5.9.16-200.fc33.x86_64 x86_64
Windowing system: X11
Distribution: Fedora 33 (Thirty Three)

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

I was attempting to update my /Backups partition from my /Common partition;

$ df -h /Common /Backups
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda7       723G  120G  604G  17% /Common
/dev/sda6       783G  523G  221G  71% /Backups

After running for about a week (On a fairly slow "AcePC," with an "atom" processor.) I turned on the screen, and found the crash report. I suspect that the data base being created (in core?) ran out of space. (I do have a fairly large swap file:

$ swapon --show
NAME       TYPE       SIZE   USED PRIO
/dev/sda4  partition 23.6G 107.1M   -2
/dev/zram0 partition  1.8G   1.8G  100

but it looks like (see above) the in-ram swap was filled, and the backup swap file was filling.) (Which may explain why the process ran for almost a week before crashing.)

When I looked at the "syncronize" display during the week, I noticed that the system was spending a lot of time getting details about directories that exist on only one side. At lot of tme and effort could be avoided if that condition was noted for latter processing when the user was selecting which items to move. (I.e., if a whole directory tree is to be moved, why bother to look at the elements of that tree? Only if the user wants to look at the tree elements (by clicking on the tree root) would there be any need to list the tree contents.)

-- Backtrace:
Application: Krusader - ROOT PRIVILEGES (krusader), signal: Segmentation fault

[KCrash Handler]
#4  0x00007fea221045c5 in QTreeModel::hasChildren(QModelIndex const&) const () from /lib64/libQt5Widgets.so.5
#5  0x00007fea220f8773 in QTreeViewPrivate::hasVisibleChildren(QModelIndex const&) const () from /lib64/libQt5Widgets.so.5
#6  0x00007fea220fa007 in QTreeViewPrivate::layout(int, bool, bool) () from /lib64/libQt5Widgets.so.5
#7  0x00007fea220fa0dd in QTreeViewPrivate::layout(int, bool, bool) () from /lib64/libQt5Widgets.so.5
#8  0x00007fea220fa0dd in QTreeViewPrivate::layout(int, bool, bool) () from /lib64/libQt5Widgets.so.5
#9  0x00007fea220fa0dd in QTreeViewPrivate::layout(int, bool, bool) () from /lib64/libQt5Widgets.so.5
#10 0x00007fea220fa0dd in QTreeViewPrivate::layout(int, bool, bool) () from /lib64/libQt5Widgets.so.5
#11 0x00007fea220fa0dd in QTreeViewPrivate::layout(int, bool, bool) () from /lib64/libQt5Widgets.so.5
#12 0x00007fea221001b1 in QTreeView::doItemsLayout() () from /lib64/libQt5Widgets.so.5
#13 0x00007fea220fd3f5 in QTreeView::scrollTo(QModelIndex const&, QAbstractItemView::ScrollHint) () from /lib64/libQt5Widgets.so.5
#14 0x000055d45b692e49 in SynchronizerGUI::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) [clone .part.0] ()
#15 0x00007fea213a33c0 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#16 0x000055d45b68cae8 in Synchronizer::addItem(SynchronizerFileItem*, QString const&, QString const&, QString const&, QString const&, bool, bool, unsigned long long, unsigned long long, long, long, QString const&, QString const&, QString const&, QString const&, QString const&, QString const&, unsigned int, unsigned int, QString const&, QString const&, TaskType, bool, bool) ()
#17 0x000055d45b68cdb0 in Synchronizer::addLeftOnlyItem(SynchronizerFileItem*, QString const&, QString const&, unsigned long long, long, QString const&, QString const&, QString const&, unsigned int, QString const&, bool, bool) ()
#18 0x000055d45b685820 in SynchronizerGUI::compare() ()
#19 0x00007fea213a33c0 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#20 0x00007fea21f17316 in QAbstractButton::clicked(bool) () from /lib64/libQt5Widgets.so.5
#21 0x00007fea21f17cde in QAbstractButtonPrivate::emitClicked() () from /lib64/libQt5Widgets.so.5
#22 0x00007fea21f19673 in QAbstractButtonPrivate::click() () from /lib64/libQt5Widgets.so.5
#23 0x00007fea21f19855 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /lib64/libQt5Widgets.so.5
#24 0x00007fea21e68b1e in QWidget::event(QEvent*) () from /lib64/libQt5Widgets.so.5
#25 0x00007fea21e27ec3 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#26 0x00007fea21e2eeeb in QApplication::notify(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#27 0x00007fea21373bd8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#28 0x00007fea21e2defa in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () from /lib64/libQt5Widgets.so.5
#29 0x00007fea21e81375 in QWidgetWindow::handleMouseEvent(QMouseEvent*) () from /lib64/libQt5Widgets.so.5
#30 0x00007fea21e846be in QWidgetWindow::event(QEvent*) () from /lib64/libQt5Widgets.so.5
#31 0x00007fea21e27ec3 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#32 0x00007fea21373bd8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#33 0x00007fea217af143 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /lib64/libQt5Gui.so.5
#34 0x00007fea217908cc in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Gui.so.5
#35 0x00007fea0ffc747e in xcbSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt5XcbQpa.so.5
#36 0x00007fea1fc9896f in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#37 0x00007fea1fcea758 in g_main_context_iterate.constprop () from /lib64/libglib-2.0.so.0
#38 0x00007fea1fc95d43 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#39 0x00007fea213c06f3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#40 0x00007fea2137257b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#41 0x00007fea2137a1b4 in QCoreApplication::exec() () from /lib64/libQt5Core.so.5
#42 0x000055d45b546297 in main ()
[Inferior 1 (process 5695) detached]

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

Possible duplicates by query: bug 418505.

Reported using DrKonqi