Summary: | Crash when trying to move a pawn two squares | ||
---|---|---|---|
Product: | [Applications] knights | Reporter: | Luigi Toscano <luigi.toscano> |
Component: | general | Assignee: | Alexander Semke <alexander.semke> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | arojas, kde-games-bugs |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | https://commits.kde.org/knights/4d1d989114a054cc05d7015870865e69aba08ef8 | Version Fixed In: | |
Attachments: |
backtrace using gdb
backtrace from drkonqi |
Description
Luigi Toscano
2018-09-16 15:06:31 UTC
Created attachment 115014 [details]
backtrace using gdb
Created attachment 115015 [details]
backtrace from drkonqi
I'm going to publish the patch which adds support for KCrash (and drkonqi) as soon as possible (i.e. when phabricator answers). This is the log that I get with it.
(In reply to Luigi Toscano from comment #0) > When moving a pawn two squares, the games crashes. This is not reproducible for me. Does it always crash for you independent of color and position? Git commit 4d1d989114a054cc05d7015870865e69aba08ef8 by Antonio Rojas. Committed on 16/09/2018 at 20:08. Pushed by arojas into branch 'master'. Fix crash when moving pawn two squares Construct the QList before using it in the range based loop Differential Revision: https://phabricator.kde.org/D15555 M +2 -1 src/rules/chessrules.cpp https://commits.kde.org/knights/4d1d989114a054cc05d7015870865e69aba08ef8 It was solved in the meantime, but just for the record: I could reproduce it every time, both with whites and blacks, and with pawns in different position. I compiled it locally with kdesrc-build with gcc 8.2.0 on Debian testing against a locally built Frameworks 5.50. (see also the comment in the review). |