| Summary: | Kpat crashes while switching games | ||
|---|---|---|---|
| Product: | [Applications] kpat | Reporter: | Brian Kaye <bdk> |
| Component: | general | Assignee: | Stephan Kulow <coolo> |
| Status: | RESOLVED FIXED | ||
| Severity: | crash | CC: | bdk, kde-games-bugs-null |
| Priority: | NOR | Keywords: | drkonqi |
| Version First Reported In: | 22.04.1 | ||
| Target Milestone: | --- | ||
| Platform: | Fedora RPMs | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | New crash information added by DrKonqi | ||
|
Description
Brian Kaye
2022-07-20 02:56:02 UTC
This is the old solver running that was massakred and is no longer tested due to most using blackhole solver. I'll remove it (In reply to Stephan Kulow from comment #1) > This is the old solver running that was massakred and is no longer tested > due to most using blackhole solver. I'll remove it How does one determine which solver is being used. The problem persists. The problem only occurs when switching between golf and klonike. I switch Freecell>Golf>Kondike>Grandfather'sClock>.....>Spider. Then reverse.The problem does not occur in the reverse direction Check ldd on your kpat binary - if it links blackhole, then you're using that. If not, then you're using the old code. But the crash very much is in the old code. (In reply to Brian Kaye from comment #2) > (In reply to Stephan Kulow from comment #1) > > This is the old solver running that was massakred and is no longer tested > > due to most using blackhole solver. I'll remove it > > How does one determine which solver is being used. The problem persists. The > problem only occurs when switching between golf and klonike. I switch > Freecell>Golf>Kondike>Grandfather'sClock>.....>Spider. Then reverse.The > problem does not occur in the reverse direction The version I am running is 22.12.2 from a Fedora RPM ldd /usr/bin/kpat|grep blackhole generates null output Yep, as I expected. I remove the old code, so it won't crash on you anymore. You won't have a solver either, but that's a bug worthy to report to fedora. (In reply to Stephan Kulow from comment #6) > Yep, as I expected. I remove the old code, so it won't crash on you anymore. > You won't have a solver either, but that's a bug worthy to report to fedora. I would prefer to have the solver there even if it crashes occasionally. What can I do to help? Created attachment 157343 [details]
New crash information added by DrKonqi
kpat (22.12.3) using Qt 5.15.8
Kpatience Version 22.12.3 fedora 37 . Successfully wond Golf game and waited 2 minutes. When I picked klondike it crashed.
-- Backtrace (Reduced):
#4 MemoryManager::new_from_block (s=48, this=0x56498917e670) at /usr/src/debug/kpat-22.12.3-1.fc37.x86_64/src/patsolve/memory.cpp:156
#5 Solver<9ul>::pack_position (this=0x56498add54b0) at /usr/src/debug/kpat-22.12.3-1.fc37.x86_64/src/patsolve/patsolve.cpp:217
#6 Solver<9ul>::insert (node=0x7ffe2949f940, d=0, cluster=<synthetic pointer>, this=0x56498add54b0) at /usr/src/debug/kpat-22.12.3-1.fc37.x86_64/src/patsolve/patsolve.cpp:887
#7 Solver<9ul>::new_position (this=this@entry=0x56498add54b0, parent=parent@entry=0x0, m=m@entry=0x7ffe2949f990) at /usr/src/debug/kpat-22.12.3-1.fc37.x86_64/src/patsolve/patsolve.cpp:919
#8 0x00005649872cfbbe in Solver<9ul>::doit (this=0x56498add54b0) at /usr/src/debug/kpat-22.12.3-1.fc37.x86_64/src/patsolve/patsolve.cpp:505
the crashing code is gone from newer kpat versions. |