https://bugs.kde.org/show_bug.cgi?id=484059
Bug ID: 484059 Summary: KPatience crashs on undo function Classification: Applications Product: kpat Version: 24.02.0 Platform: Arch Linux OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: co...@kde.org Reporter: k...@istiophorus.org CC: kde-games-b...@kde.org Target Milestone: --- SUMMARY KPatience 24.02.0 crashes on clicking undo function. STEPS TO REPRODUCE 1. Open KPat, Start a game, e.g. "Grandfather" 2. Click redeal 3. Click undo OBSERVED RESULT The window freezes and has to be terminated forcefully. ADDITIONAL INFORMATION GDB / debuginfod does not find debugging symbols, however gdb shows "alloc(): invalid next size" with following backtrace: # … [New Thread 0x7fff969196c0 (LWP 23412)] [Thread 0x7fff969196c0 (LWP 23412) exited] realloc(): invalid next size Thread 1 "kpat" received signal SIGABRT, Aborted. 0x00007ffff5aab32c in ?? () from /usr/lib/libc.so.6 (gdb) bt #0 0x00007ffff5aab32c in ??? () at /usr/lib/libc.so.6 #1 0x00007ffff5a5a6c8 in raise () at /usr/lib/libc.so.6 #2 0x00007ffff5a424b8 in abort () at /usr/lib/libc.so.6 #3 0x00007ffff5a43395 in ??? () at /usr/lib/libc.so.6 #4 0x00007ffff5ab52a7 in ??? () at /usr/lib/libc.so.6 #5 0x00007ffff5ab934c in ??? () at /usr/lib/libc.so.6 #6 0x00007ffff5aba1a6 in realloc () at /usr/lib/libc.so.6 #7 0x00007ffff622e4e8 in QArrayData::reallocateUnaligned(QArrayData*, void*, long long, long long, QArrayData::AllocationOption) () at /usr/lib/libQt6Core.so.6 #8 0x00007ffff7c89d5c in ??? () at /usr/lib/libkcardgame.so #9 0x00007ffff7c6d3b0 in ??? () at /usr/lib/libkcardgame.so #10 0x00007ffff7c7818b in KCardPile::insert(int, KCard*) () at /usr/lib/libkcardgame.so #11 0x000055555557acbc in ??? () #12 0x000055555557fe19 in ??? () #13 0x00007ffff6190ca9 in ??? () at /usr/lib/libQt6Core.so.6 #14 0x00007ffff6ae2077 in QAction::activate(QAction::ActionEvent) () at /usr/lib/libQt6Gui.so.6 #15 0x00007ffff71feb1c in ??? () at /usr/lib/libQt6Widgets.so.6 #16 0x00007ffff720d245 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () at /usr/lib/libQt6Widgets.so.6 #17 0x00007ffff731f6fe in QToolButton::mouseReleaseEvent(QMouseEvent*) () at /usr/lib/libQt6Widgets.so.6 #18 0x00007ffff7145065 in QWidget::event(QEvent*) () at /usr/lib/libQt6Widgets.so.6 #19 0x00007ffff70f438b in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt6Widgets.so.6 #20 0x00007ffff70f6be8 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt6Widgets.so.6 #21 0x00007ffff6139818 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt6Core.so.6 #22 0x00007ffff70f2327 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () at /usr/lib/libQt6Widgets.so.6 #23 0x00007ffff7157a97 in ??? () at /usr/lib/libQt6Widgets.so.6 #24 0x00007ffff7158db0 in ??? () at /usr/lib/libQt6Widgets.so.6 #25 0x00007ffff70f438b in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt6Widgets.so.6 #26 0x00007ffff6139818 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt6Core.so.6 #27 0x00007ffff676f9e5 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at /usr/lib/libQt6Gui.so.6 #28 0x00007ffff67da85c in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt6Gui.so.6 #29 0x00007ffff6bb26c4 in ??? () at /usr/lib/libQt6Gui.so.6 #30 0x00007ffff4622f69 in ??? () at /usr/lib/libglib-2.0.so.0 #31 0x00007ffff46813a7 in ??? () at /usr/lib/libglib-2.0.so.0 #32 0x00007ffff4621162 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0 #33 0x00007ffff63739c4 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt6Core.so.6 #34 0x00007ffff6143d6e in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt6Core.so.6 #35 0x00007ffff613c2b8 in QCoreApplication::exec() () at /usr/lib/libQt6Core.so.6 #36 0x000055555557234d in ??? () #37 0x00007ffff5a43cd0 in ??? () at /usr/lib/libc.so.6 #38 0x00007ffff5a43d8a in __libc_start_main () at /usr/lib/libc.so.6 #39 0x00005555555748d5 in ??? () (gdb) -- You are receiving this mail because: You are watching all bug changes.