https://bugs.kde.org/show_bug.cgi?id=456934

            Bug ID: 456934
           Summary: Kpat crashes while switching games
           Product: kpat
           Version: 22.04.1
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: co...@kde.org
          Reporter: b...@unb.ca
                CC: kde-games-b...@kde.org
  Target Milestone: ---

Application: kpat (22.04.1)

Qt Version: 5.15.3
Frameworks Version: 5.96.0
Operating System: Linux 5.18.11-200.fc36.x86_64 x86_64
Windowing System: X11
Distribution: "Fedora release 36 (Thirty Six)"
DrKonqi: 5.25.3 [KCrashBackend]

-- Information about the crash:
Switching games after golf game success causes crash. Does not occur every
time.

The crash can be reproduced sometimes.

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

[KCrash Handler]
#4  MemoryManager::new_from_block (s=48, this=0x55cf9cffac30) at
/usr/src/debug/kpat-22.04.1-1.fc36.x86_64/src/patsolve/memory.cpp:157
#5  Solver<9ul>::pack_position (this=0x55cf9e67b190) at
/usr/src/debug/kpat-22.04.1-1.fc36.x86_64/src/patsolve/patsolve.cpp:217
#6  Solver<9ul>::insert (node=0x7ffdfa218ee0, d=0, cluster=<synthetic pointer>,
this=0x55cf9e67b190) at
/usr/src/debug/kpat-22.04.1-1.fc36.x86_64/src/patsolve/patsolve.cpp:887
#7  Solver<9ul>::new_position (this=this@entry=0x55cf9e67b190,
parent=parent@entry=0x0, m=m@entry=0x7ffdfa218f30) at
/usr/src/debug/kpat-22.04.1-1.fc36.x86_64/src/patsolve/patsolve.cpp:919
#8  0x000055cf9bea7c2e in Solver<9ul>::doit (this=0x55cf9e67b190) at
/usr/src/debug/kpat-22.04.1-1.fc36.x86_64/src/patsolve/patsolve.cpp:505
#9  Solver<9ul>::patsolve (this=0x55cf9e67b190, _max_positions=<optimized out>)
at /usr/src/debug/kpat-22.04.1-1.fc36.x86_64/src/patsolve/patsolve.cpp:800
#10 0x000055cf9be81c33 in DealerScene::isGameLost (this=0x55cf9d1cc200) at
/usr/src/debug/kpat-22.04.1-1.fc36.x86_64/src/dealer.cpp:1844
#11 DealerScene::isGameLost (this=0x55cf9d1cc200) at
/usr/src/debug/kpat-22.04.1-1.fc36.x86_64/src/dealer.cpp:1727
#12 0x000055cf9be874ba in DealerScene::takeState
(this=this@entry=0x55cf9d1cc200) at
/usr/src/debug/kpat-22.04.1-1.fc36.x86_64/src/dealer.cpp:1331
#13 0x000055cf9be89739 in DealerScene::animationDone (this=0x55cf9d1cc200) at
/usr/src/debug/kpat-22.04.1-1.fc36.x86_64/src/dealer.cpp:1546
#14 0x00007f8ca8cdac36 in void doActivate<false>(QObject*, int, void**) () from
/lib64/libQt5Core.so.5
#15 0x00007f8ca8cdac36 in void doActivate<false>(QObject*, int, void**) () from
/lib64/libQt5Core.so.5
#16 0x00007f8ca8cdac36 in void doActivate<false>(QObject*, int, void**) () from
/lib64/libQt5Core.so.5
#17 0x00007f8ca8cddfce in QTimer::timeout(QTimer::QPrivateSignal) () from
/lib64/libQt5Core.so.5
#18 0x00007f8ca8cd1525 in QObject::event(QEvent*) () from
/lib64/libQt5Core.so.5
#19 0x00007f8ca99aec82 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /lib64/libQt5Widgets.so.5
#20 0x00007f8ca8ca7658 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /lib64/libQt5Core.so.5
#21 0x00007f8ca8cf7681 in QTimerInfoList::activateTimers() () from
/lib64/libQt5Core.so.5
#22 0x00007f8ca8cf7fa4 in idleTimerSourceDispatch(_GSource*, int (*)(void*),
void*) () from /lib64/libQt5Core.so.5
#23 0x00007f8ca6926faf in g_main_context_dispatch () from
/lib64/libglib-2.0.so.0
#24 0x00007f8ca697c2c8 in g_main_context_iterate.constprop () from
/lib64/libglib-2.0.so.0
#25 0x00007f8ca6924940 in g_main_context_iteration () from
/lib64/libglib-2.0.so.0
#26 0x00007f8ca8cf82fa in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /lib64/libQt5Core.so.5
#27 0x00007f8ca8ca60ba in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/lib64/libQt5Core.so.5
#28 0x00007f8ca8cae162 in QCoreApplication::exec() () from
/lib64/libQt5Core.so.5
#29 0x000055cf9be77596 in main (argc=<optimized out>, argv=<optimized out>) at
/usr/src/debug/kpat-22.04.1-1.fc36.x86_64/src/main.cpp:353
[Inferior 1 (process 373529) detached]

The reporter indicates this bug may be a duplicate of or related to bug 397817.

Reported using DrKonqi

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to