Bug 486174

Summary: Kpat crash at end of Golf game
Product: [Applications] kpat Reporter: James Mulligan <jamesmulliganuk>
Component: generalAssignee: Stephan Kulow <coolo>
Status: REPORTED ---    
Severity: crash CC: base-w, gimp-werkstatt, kde-games-bugs
Priority: NOR Keywords: drkonqi
Version: 23.08.1   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Saved game before crash

Description James Mulligan 2024-04-26 21:00:28 UTC
Application: kpat (23.08.1)

Qt Version: 5.15.10
Frameworks Version: 5.110.0
Operating System: Linux 6.5.0-28-generic x86_64
Windowing System: X11
Distribution: Ubuntu 23.10
DrKonqi: 5.27.8 [KCrashBackend]

-- Information about the crash:
If you play golf to the end to a non winning position and then choose Demo (D) - it crashes.

The crash can be reproduced sometimes.

-- Backtrace:
Application: KPatience (kpat), signal: Segmentation fault

[KCrash Handler]
#4  0x00005f5198971a73 in ?? ()
#5  0x00007b0040706312 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007b0041365256 in QAction::triggered(bool) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#7  0x00007b0041367f57 in QAction::activate(QAction::ActionEvent) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#8  0x00007b00414f0d22 in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#9  0x00007b00414f8bdb in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#10 0x00007b00413aeb28 in QWidget::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#11 0x00007b004136bc82 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#12 0x00007b00413741bd in QApplication::notify(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#13 0x00007b00406cc7a8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x00007b00413724b2 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#15 0x00007b00413c886a in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#16 0x00007b00413cb12f in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#17 0x00007b004136bc82 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#18 0x00007b00406cc7a8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#19 0x00007b0040b43bdb in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#20 0x00007b0040b1762c in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#21 0x00007b003b245f7e in ?? () from /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#22 0x00007b003e313b2c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007b003e36f46f in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007b003e311d20 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007b0040727daa in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#26 0x00007b00406cb15b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#27 0x00007b00406d3904 in QCoreApplication::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#28 0x00005f5198965a90 in ?? ()
#29 0x00007b003fc28150 in __libc_start_call_main (main=main@entry=0x5f51989631c0, argc=argc@entry=3, argv=argv@entry=0x7ffd57869bc8) at ../sysdeps/nptl/libc_start_call_main.h:58
#30 0x00007b003fc28209 in __libc_start_main_impl (main=0x5f51989631c0, argc=3, argv=0x7ffd57869bc8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffd57869bb8) at ../csu/libc-start.c:360
#31 0x00005f5198966f85 in ?? ()
[Inferior 1 (process 48212) detached]

Reported using DrKonqi
Comment 1 Stephan Kulow 2024-04-28 09:55:58 UTC
please attach a savegame of a position you can reproduce the crash from. The backtrace is unfortunately useless to pin down the problem.
Comment 2 James Mulligan 2024-04-28 16:01:33 UTC
Created attachment 168976 [details]
Saved game before crash
Comment 3 Base 2024-09-06 09:10:13 UTC
Basically enter any Golf game, press Demo and wait for the application to crash (at least it happens in non-winning situation, perhaps it doesn't if Demo reaches a win). Perhaps this is a different bug than reported though, or another way to achieve it.