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

            Bug ID: 481546
           Summary: Crash at the end of a game with 2 CPU players
    Classification: Applications
           Product: knights
           Version: unspecified
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: alexander.se...@web.de
          Reporter: dawid.trend...@gmail.com
                CC: kde-games-b...@kde.org
  Target Milestone: ---

Created attachment 165936
  --> https://bugs.kde.org/attachment.cgi?id=165936&action=edit
Frame stack

At the end of the game with 2 CPU players, the Manager::gameOver is called
twice. It cause the Game Over - Knights dialog to appear twice as well.

At the close of second dialog:

*** Program received signal SIGSEGV (Segmentation fault) ***
*** Exited on signal SIGSEGV ***

***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug
symbols.
See
https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. Start application
2. Start new game with 2 CPU, GNU Chess, Time Control 1 minute
3. Wait till end of the game
4. Close both game over dialogs
5. Crash

OBSERVED RESULT

Crash, two Game Over dialogs.

EXPECTED RESULT

No crash, probably single Game Over dialog.

SOFTWARE/OS VERSIONS
Archlinux
master branch of Knights, commit 3572b3f4

https://invent.kde.org/games/knights/-/commit/3572b3f4e79b57b5a56248100cc8652c219bac06

ADDITIONAL INFORMATION
Reproducing this issue might be difficult without applying the fix 3572b3f4, as
another crash will occur earlier.

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

Reply via email to