Bug 482047 - Ark crashed when closing a zip archive with a lot of folders.
Summary: Ark crashed when closing a zip archive with a lot of folders.
Status: REPORTED
Alias: None
Product: frameworks-kconfigwidgets
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: 5.115.0
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2024-02-29 15:21 UTC by Wang3694597
Modified: 2024-03-03 19:34 UTC (History)
3 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 Wang3694597 2024-02-29 15:21:35 UTC
Application: ark (23.08.5)

Qt Version: 5.15.12
Frameworks Version: 5.115.0
Operating System: Linux 6.7.5-arch1-1 x86_64
Windowing System: Wayland
Distribution: Arch Linux
DrKonqi: 5.27.10 [KCrashBackend]

-- Information about the crash:
This archive was generated when I downloaded files in bulk via OneDrive for the web.
After viewing a jpg image in the archive (through the built-in image preview function of Ark),and it crashed when using the mouse custom function key to close the image preview window and Ark.I didn't notice anything unusual before the crash.
Crashed are bound to occur when closing a window with the mouse custom function key, but not when closing with "Alt + F4" or clicking the "X".

The crash can be reproduced every time.

-- Backtrace:
Application: Ark (ark), signal: Segmentation fault
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = <optimized out>}
[KCrash Handler]
#6  QWidget::windowHandle (this=0x0) at kernel/qwidget.cpp:2486
#7  0x00007357b895608a in ButtonPressListener::eventFilter (event=<optimized out>, watched=<optimized out>, this=<optimized out>) at /usr/src/debug/kconfigwidgets5/kconfigwidgets-5.115.0/src/khamburgermenuhelpers.cpp:62
#8  ButtonPressListener::eventFilter (this=<optimized out>, watched=<optimized out>, event=<optimized out>) at /usr/src/debug/kconfigwidgets5/kconfigwidgets-5.115.0/src/khamburgermenuhelpers.cpp:36
#9  0x00007357b7290ed2 in QCoreApplicationPrivate::sendThroughObjectEventFilters (receiver=receiver@entry=0x5986b276d700, event=event@entry=0x7fffdcffdaf0) at kernel/qcoreapplication.cpp:1190
#10 0x00007357b7f578ef in QApplicationPrivate::notify_helper (this=this@entry=0x5986b20221a0, receiver=receiver@entry=0x5986b276d700, e=e@entry=0x7fffdcffdaf0) at kernel/qapplication.cpp:3634
#11 0x00007357b7f5c918 in QApplication::notify (this=<optimized out>, receiver=0x5986b276d700, e=0x7fffdcffdaf0) at kernel/qapplication.cpp:3002
#12 0x00007357b7293ef8 in QCoreApplication::notifyInternal2 (receiver=0x5986b276d700, event=0x7fffdcffdaf0) at kernel/qcoreapplication.cpp:1064
#13 0x00007357b7293f47 in QCoreApplication::forwardEvent (receiver=<optimized out>, event=<optimized out>, originatingEvent=<optimized out>) at kernel/qcoreapplication.cpp:1079
#14 0x00007357b7fadc4b in QWidgetWindow::handleGestureEvent (e=<optimized out>, this=<optimized out>) at kernel/qwidgetwindow.cpp:1123
#15 QWidgetWindow::event (this=0x5986b25ab330, event=0x7fffdcffdaf0) at kernel/qwidgetwindow.cpp:371
#16 0x00007357b7f578ff in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x5986b25ab330, e=0x7fffdcffdaf0) at kernel/qapplication.cpp:3640
#17 0x00007357b7293ef8 in QCoreApplication::notifyInternal2 (receiver=0x5986b25ab330, event=0x7fffdcffdaf0) at kernel/qcoreapplication.cpp:1064
#18 0x00007357b7735580 in QGuiApplicationPrivate::processKeyEvent (e=0x5986b2443550) at kernel/qguiapplication.cpp:2417
#19 0x00007357b771a6d5 in QWindowSystemInterface::sendWindowSystemEvents (flags=...) at kernel/qwindowsysteminterface.cpp:1169
#20 0x00007357b515ecf5 in userEventSourceDispatch(_GSource*, int (*)(void*), void*) () at /usr/lib/libQt5WaylandClient.so.5
#21 0x00007357b5d0df69 in g_main_dispatch (context=0x7357ac000ec0) at ../glib/glib/gmain.c:3476
#22 0x00007357b5d6c3a7 in g_main_context_dispatch_unlocked (context=0x7357ac000ec0) at ../glib/glib/gmain.c:4284
#23 g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x7357ac000ec0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4349
#24 0x00007357b5d0c162 in g_main_context_iteration (context=0x7357ac000ec0, may_block=1) at ../glib/glib/gmain.c:4414
#25 0x00007357b72e2d0c in QEventDispatcherGlib::processEvents (this=0x5986b2076e40, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#26 0x00007357b7292c04 in QEventLoop::exec (this=this@entry=0x7fffdcffddf0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#27 0x00007357b72940a3 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#28 0x00007357b772bef2 in QGuiApplication::exec () at kernel/qguiapplication.cpp:1870
#29 0x00007357b7f55cda in QApplication::exec () at kernel/qapplication.cpp:2832
#30 0x00005986b0b10574 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/ark/ark-23.08.5/app/main.cpp:341
[Inferior 1 (process 54916) detached]

Reported using DrKonqi
Comment 1 Nicolas Fella 2024-03-01 17:44:54 UTC
#6  QWidget::windowHandle (this=0x0) at kernel/qwidget.cpp:2486
#7  0x00007357b895608a in ButtonPressListener::eventFilter (event=<optimized out>, watched=<optimized out>, this=<optimized out>) at /usr/src/debug/kconfigwidgets5/kconfigwidgets-5.115.0/src/khamburgermenuhelpers.cpp:62
#8  ButtonPressListener::eventFilter (this=<optimized out>, watched=<optimized out>, event=<optimized out>) at /usr/src/debug/kconfigwidgets5/kconfigwidgets-5.115.0/src/khamburgermenuhelpers.cpp:36

Crash happens inside KHamburgerMenu code