Bug 502994 - Crash when selecting "Extract To" with no archive selected
Summary: Crash when selecting "Extract To" with no archive selected
Status: RESOLVED UNMAINTAINED
Alias: None
Product: ark
Classification: Applications
Component: general (other bugs)
Version First Reported In: 23.08.5
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Elvis Angelaccio
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2025-04-19 01:20 UTC by CoJaBo
Modified: 2025-04-21 17:00 UTC (History)
2 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 CoJaBo 2025-04-19 01:20:07 UTC
Application: ark (23.08.5)

Qt Version: 5.15.13
Frameworks Version: 5.115.0
Operating System: Linux 6.11.0-19-generic x86_64
Windowing System: X11
Distribution: Ubuntu 24.04.2 LTS
DrKonqi: 5.27.11 [KCrashBackend]

-- Information about the crash:
Clicking the menu option Open Menu->More->Archive->Extract All->Extract To results in an application crash if there is no archive selected/open, e.g., if selected immediately after starting the application. This occurs every time. Probably this menu item shouldn't be enabled in this condition.

The crash can be reproduced every time.

-- Backtrace:
Application: Ark (ark), signal: Segmentation fault

[KCrash Handler]
#4  0x00007b3078a8ae66 in Kerfuffle::Archive::isValid() const () from /lib/x86_64-linux-gnu/libkerfuffle.so.23
#5  0x00007b3078a8b8b5 in Kerfuffle::Archive::numberOfEntries() const () from /lib/x86_64-linux-gnu/libkerfuffle.so.23
#6  0x00007b3078a8b975 in Kerfuffle::Archive::isSingleFile() const () from /lib/x86_64-linux-gnu/libkerfuffle.so.23
#7  0x00007b3078a8b9b5 in Kerfuffle::Archive::hasMultipleTopLevelEntries() const () from /lib/x86_64-linux-gnu/libkerfuffle.so.23
#8  0x00007b3068334735 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/parts/arkpart.so
#9  0x00007b3076f12e16 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007b3077b64f94 in QAction::triggered(bool) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#11 0x00007b3077b67eab in QAction::activate(QAction::ActionEvent) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#12 0x00007b3077cfc512 in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#13 0x00007b3077d04702 in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#14 0x00007b3077bb0df8 in QWidget::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#15 0x00007b3077b6bd45 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#16 0x00007b3077b746b0 in QApplication::notify(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#17 0x00007b3076ed8118 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#18 0x00007b3077b72874 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#19 0x00007b3077bcb5d2 in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#20 0x00007b3077bcdfbf in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#21 0x00007b3077b6bd45 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#22 0x00007b3076ed8118 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#23 0x00007b3077345a3b in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#24 0x00007b3077317bfc in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#25 0x00007b30720fcd06 in ?? () from /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#26 0x00007b30755145b5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007b3075573717 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007b3075513a53 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007b3076f35279 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#30 0x00007b3076ed6a7b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#31 0x00007b3077d01ffe in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#32 0x00007b3077d6c591 in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#33 0x00007b3076f12dbf in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#34 0x00007b3077c67a62 in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#35 0x00007b3077c683f5 in QAbstractButton::mousePressEvent(QMouseEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#36 0x00007b3077d6d26f in QToolButton::mousePressEvent(QMouseEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#37 0x00007b3077bb0df8 in QWidget::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#38 0x00007b3077b6bd45 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#39 0x00007b3077b746b0 in QApplication::notify(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#40 0x00007b3076ed8118 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#41 0x00007b3077b72874 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#42 0x00007b3077bcaa39 in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#43 0x00007b3077bcdfbf in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#44 0x00007b3077b6bd45 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#45 0x00007b3076ed8118 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#46 0x00007b3077345a3b in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#47 0x00007b3077317bfc in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#48 0x00007b30720fcd06 in ?? () from /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#49 0x00007b30755145b5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#50 0x00007b3075573717 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#51 0x00007b3075513a53 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#52 0x00007b3076f35279 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#53 0x00007b3076ed6a7b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#54 0x00007b3076edf3e8 in QCoreApplication::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#55 0x000063d389e0d9c2 in ?? ()
#56 0x00007b307642a1ca in __libc_start_call_main (main=main@entry=0x63d389e0c460, argc=argc@entry=1, argv=argv@entry=0x7fff1f645fc8) at ../sysdeps/nptl/libc_start_call_main.h:58
#57 0x00007b307642a28b in __libc_start_main_impl (main=0x63d389e0c460, argc=1, argv=0x7fff1f645fc8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff1f645fb8) at ../csu/libc-start.c:360
#58 0x000063d389e0f555 in ?? ()
[Inferior 1 (process 110765) detached]

Reported using DrKonqi
Comment 1 John Kizer 2025-04-21 17:00:53 UTC
I'm afraid Ark 23.08.5 is unfortunately no longer eligible for support or maintenance from KDE.

KDE projects typically move quickly, and bugs in one version are often fixed in the next one. Please update to Ark 25.04.0 as soon as your distribution offers it to you, or use other application distribution methods such as Flathub. If you need support for Ark 23.08.5, please contact your distribution, who bears the responsibility of providing support for older software in their "long-term support" releases.

If this issue is still reproducible in Ark 25.04.0, feel free to re-open this bug report.

(For what it's worth, it looks like the underlying cause of this has been resolved anyway, as Archive->Extract All is not a selectable menu item in the current version if no archive is open)

Thanks for understanding!