Bug 438331 - Krusader crashes after closing a tab
Summary: Krusader crashes after closing a tab
Status: RESOLVED NOT A BUG
Alias: None
Product: krusader
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Krusader Bugs Distribution List
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2021-06-09 15:03 UTC by frasou
Modified: 2021-09-22 06:16 UTC (History)
4 users (show)

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


Attachments
New crash information added by DrKonqi (8.56 KB, text/plain)
2021-06-10 15:23 UTC, frasou
Details
New crash information added by DrKonqi (14.49 KB, text/plain)
2021-09-21 13:17 UTC, frasou
Details

Note You need to log in before you can comment on or make changes to this bug.
Description frasou 2021-06-09 15:03:32 UTC
Application: krusader (2.7.2 "Peace of Mind")
 (Compiled from sources)
Qt Version: 5.15.2
Frameworks Version: 5.82.0
Operating System: Linux 5.10.33-gentoo-dist x86_64
Windowing System: X11
Drkonqi Version: 5.21.5
Distribution: "Gentoo Base System release 2.7"

-- Information about the crash:
- What I was doing when the application crashed:
I was trying to close one of a tab. Tab was pointing to a /tmp dir. There were three tabs, two of them was pointing to /tmp. But when I closed either of them, krusader crashed.

The crash can be reproduced every time.

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

[KCrash Handler]
#5  0x00007f6239686358 in KUrlNavigator::editor() const () from /usr/lib64/libKF5KIOFileWidgets.so.5
#6  0x000055f9bc8a7804 in ListPanel::eventFilter (this=0x55f9bf4fec30, watched=0x55f9bf171220, e=0x7ffe2862f900) at /tmp/portage/kde-misc/krusader-2.7.2/work/krusader-2.7.2/krusader/Panel/listpanel.cpp:532
#7  0x00007f6237882335 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#8  0x00007f62382cacae in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#9  0x00007f62382d558c in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#10 0x00007f62378825d7 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#11 0x00007f6237882794 in QCoreApplication::sendEvent(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#12 0x00007f6238308b33 in QWidget::~QWidget() () from /usr/lib64/libQt5Widgets.so.5
#13 0x00007f62383dbd0a in QComboBox::~QComboBox() () from /usr/lib64/libQt5Widgets.so.5
#14 0x00007f6238fac52a in KComboBox::~KComboBox() () from /usr/lib64/libKF5Completion.so.5
#15 0x00007f623913977b in KUrlComboBox::~KUrlComboBox() () from /usr/lib64/libKF5KIOWidgets.so.5
#16 0x00007f623913979f in KUrlComboBox::~KUrlComboBox() () from /usr/lib64/libKF5KIOWidgets.so.5
#17 0x00007f62378b8a47 in QObjectPrivate::deleteChildren() () from /usr/lib64/libQt5Core.so.5
#18 0x00007f6238308bf2 in QWidget::~QWidget() () from /usr/lib64/libQt5Widgets.so.5
#19 0x00007f6239686979 in KUrlNavigator::~KUrlNavigator() () from /usr/lib64/libKF5KIOFileWidgets.so.5
#20 0x00007f623968698f in KUrlNavigator::~KUrlNavigator() () from /usr/lib64/libKF5KIOFileWidgets.so.5
#21 0x000055f9bc8aeec6 in ListPanel::~ListPanel (this=0x55f9bf4fec30, __in_chrg=<optimized out>) at /tmp/portage/kde-misc/krusader-2.7.2/work/krusader-2.7.2/krusader/Panel/listpanel.cpp:389
#22 0x000055f9bc8aefd1 in ListPanel::~ListPanel (this=0x55f9bf4fec30, __in_chrg=<optimized out>) at /tmp/portage/kde-misc/krusader-2.7.2/work/krusader-2.7.2/krusader/Panel/listpanel.cpp:396
#23 0x000055f9bc86defe in PanelManager::deletePanel (this=this@entry=0x55f9bf4e8300, p=0x55f9bf4fec30) at /tmp/portage/kde-misc/krusader-2.7.2/work/krusader-2.7.2/krusader/panelmanager.cpp:387
#24 0x000055f9bc86e4b2 in PanelManager::slotCloseTab (this=0x55f9bf4e8300, index=2) at /tmp/portage/kde-misc/krusader-2.7.2/work/krusader-2.7.2/krusader/panelmanager.cpp:297
#25 0x000055f9bc85d88a in PanelManager::qt_static_metacall (_o=0x55f9bf4e8300, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at krusader/krusader_autogen/EWIEGA46WW/moc_panelmanager.cpp:182
#26 0x00007f62378bbb44 in void doActivate<false>(QObject*, int, void**) () from /usr/lib64/libQt5Core.so.5
#27 0x00007f62378b4214 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQt5Core.so.5
#28 0x00007f6238490b7a in QTabBar::tabCloseRequested(int) () from /usr/lib64/libQt5Widgets.so.5
#29 0x00007f6238491235 in QTabBarPrivate::_q_closeTab() () from /usr/lib64/libQt5Widgets.so.5
#30 0x00007f623849a3fa in QTabBar::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib64/libQt5Widgets.so.5
#31 0x00007f62378bbb44 in void doActivate<false>(QObject*, int, void**) () from /usr/lib64/libQt5Core.so.5
#32 0x00007f62378b4214 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQt5Core.so.5
#33 0x00007f62383ca8b3 in QAbstractButton::clicked(bool) () from /usr/lib64/libQt5Widgets.so.5
#34 0x00007f62383caaf4 in QAbstractButtonPrivate::emitClicked() () from /usr/lib64/libQt5Widgets.so.5
#35 0x00007f62383cc050 in QAbstractButtonPrivate::click() () from /usr/lib64/libQt5Widgets.so.5
#36 0x00007f62383cc1f5 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib64/libQt5Widgets.so.5
#37 0x00007f623830cd52 in QWidget::event(QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#38 0x00007f62383cd25a in QAbstractButton::event(QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#39 0x00007f62382cacbe in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#40 0x00007f62382d37d1 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#41 0x00007f62378825d7 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#42 0x00007f62378827b2 in QCoreApplication::sendSpontaneousEvent(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#43 0x00007f62382d237a in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () from /usr/lib64/libQt5Widgets.so.5
#44 0x00007f6238327e64 in QWidgetWindow::handleMouseEvent(QMouseEvent*) () from /usr/lib64/libQt5Widgets.so.5
#45 0x00007f623832b44c in QWidgetWindow::event(QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#46 0x00007f62382cacbe in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#47 0x00007f62382d333d in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#48 0x00007f62378825d7 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#49 0x00007f62378827b2 in QCoreApplication::sendSpontaneousEvent(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#50 0x00007f6237c79a21 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /usr/lib64/libQt5Gui.so.5
#51 0x00007f6237c7b1d4 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib64/libQt5Gui.so.5
#52 0x00007f6237c501f5 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Gui.so.5
#53 0x00007f6233505d87 in xcbSourceDispatch(_GSource*, int (*)(void*), void*) () from /usr/lib64/libQt5XcbQpa.so.5
#54 0x00007f62361bff6e in g_main_dispatch () from /usr/lib64/libglib-2.0.so.0
#55 0x00007f62361c349c in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#56 0x00007f62361c360a in g_main_context_iterate () from /usr/lib64/libglib-2.0.so.0
#57 0x00007f62361c368d in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#58 0x00007f62378decba in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#59 0x00007f62335060de in QXcbGlibEventDispatcher::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5XcbQpa.so.5
#60 0x00007f6237880ae5 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#61 0x00007f6237880f01 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#62 0x00007f6237889d80 in QCoreApplication::exec() () from /usr/lib64/libQt5Core.so.5
#63 0x00007f6237c6c870 in QGuiApplication::exec() () from /usr/lib64/libQt5Gui.so.5
#64 0x00007f62382cac33 in QApplication::exec() () from /usr/lib64/libQt5Widgets.so.5
#65 0x000055f9bc879d82 in main (argc=<optimized out>, argv=<optimized out>) at /tmp/portage/kde-misc/krusader-2.7.2/work/krusader-2.7.2/krusader/main.cpp:316
[Inferior 1 (process 19934) detached]

Possible duplicates by query: bug 381101, bug 327326, bug 323576, bug 309216, bug 307631.

Reported using DrKonqi
Comment 1 frasou 2021-06-10 15:23:31 UTC
Created attachment 139205 [details]
New crash information added by DrKonqi

krusader (2.7.2 "Peace of Mind") using Qt 5.15.2

- What I was doing when the application crashed:
Simply closing the krusader end up in segfault.

-- Backtrace (Reduced):
#5  0x00007f2b2d7c1358 in KUrlNavigator::editor() const () from /usr/lib64/libKF5KIOFileWidgets.so.5
#6  0x00005593b444f804 in ListPanel::eventFilter (this=0x5593b4fb04f0, watched=0x5593b53790a0, e=0x7fff4219dfd0) at /tmp/portage/kde-misc/krusader-2.7.2/work/krusader-2.7.2/krusader/Panel/listpanel.cpp:532
#7  0x00007f2b2b9bd335 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#8  0x00007f2b2c405cae in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#9  0x00007f2b2c41058c in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
Comment 2 Toni Asensi Esteve 2021-07-31 17:40:02 UTC
Hi, Frasou. It doesn't happen to me using Kubuntu 20.04 and the git version of Krusader.

If you can follow the steps of
    https://commits.kde.org/krusader?path=INSTALL
then you can build the git version of Krusader, use its latest features, etc. 
If you have been able to do it, is your problem solved?
Comment 3 Davide Gianforte 2021-08-09 15:14:23 UTC
I had the same issue, but it solved after the upgrade to Frameworks 5.83
Comment 4 frasou 2021-08-10 07:08:49 UTC
(In reply to Toni Asensi Esteve from comment #2)
> Hi, Frasou. It doesn't happen to me using Kubuntu 20.04 and the git version
> of Krusader.
> 
> If you can follow the steps of
>     https://commits.kde.org/krusader?path=INSTALL
> then you can build the git version of Krusader, use its latest features,
> etc. 
> If you have been able to do it, is your problem solved?

Hello Toni,
I am sorry for late answer. I am not able to do this as I am only a user of KDE system and linux. It is too complicated for me.
Comment 5 frasou 2021-08-10 07:11:53 UTC
(In reply to Davide Gianforte from comment #3)
> I had the same issue, but it solved after the upgrade to Frameworks 5.83

Thank you David for your post. The highest version in my distribution is 5.82.0. So I will wait for the upgrade and I'll let you know if the bug has been solved.
Comment 6 Toni Asensi Esteve 2021-08-14 16:05:10 UTC
> The highest version in my distribution is 5.82.0. 
> So I will wait for the upgrade and I'll let you know 
> if the bug has been solved.
Ok, as this bug report is in a "NEEDSINFO WAITINGFORINFO" state, in order to avoid some consequences of that: I'll close this bug report, and you can reopen it if you upgrade your software and see the problem again. Greetings.
Comment 7 frasou 2021-09-21 13:17:33 UTC
Created attachment 141766 [details]
New crash information added by DrKonqi

krusader (2.7.2 "Peace of Mind") using Qt 5.15.2

- What I was doing when the application crashed:
Still the same, Krusader crashed while closing any of tabs.
Krusader 2.7.2
kde-frameworks 5.85.0

-- Backtrace (Reduced):
#6  0x00007f51c60261da in KUrlNavigator::editor (this=0x55e47b350ca0) at /data/Torrent/portage/portage/kde-frameworks/kio-5.85.0-r1/work/kio-5.85.0/src/filewidgets/kurlnavigator.cpp:1279
#7  0x000055e47942f804 in ListPanel::eventFilter (this=0x55e47b275d50, watched=0x55e47b3b38b0, e=0x7ffd98f797f0) at /tmp/portage/kde-misc/krusader-2.7.2/work/krusader-2.7.2/krusader/Panel/listpanel.cpp:532
#8  0x00007f51c4238aeb in QCoreApplicationPrivate::sendThroughObjectEventFilters (receiver=receiver@entry=0x55e47b3b38b0, event=event@entry=0x7ffd98f797f0) at /data/Torrent/portage/portage/dev-qt/qtcore-5.15.2-r3/work/qtbase-everywhere-src-5.15.2/src/corelib/kernel/qcoreapplication.cpp:1189
#9  0x00007f51c4c86c06 in QApplicationPrivate::notify_helper (this=this@entry=0x55e47a407960, receiver=receiver@entry=0x55e47b3b38b0, e=e@entry=0x7ffd98f797f0) at /data/Torrent/portage/portage/dev-qt/qtwidgets-5.15.2-r1/work/qtbase-everywhere-src-5.15.2/src/widgets/kernel/qapplication.cpp:3626
#10 0x00007f51c4c90aa9 in QApplication::notify (this=0x7ffd98f7aa50, receiver=0x55e47b3b38b0, e=0x7ffd98f797f0) at /data/Torrent/portage/portage/dev-qt/qtwidgets-5.15.2-r1/work/qtbase-everywhere-src-5.15.2/src/widgets/kernel/qapplication.cpp:3582
Comment 8 Davide Gianforte 2021-09-22 06:16:36 UTC
It was resolved in https://invent.kde.org/utilities/krusader/-/commit/415d519e825a6b8b64d2ef5f9a8e9bf7a458d1d0 (no official release yet, though).