[Kde-games-devel] Review Request: Fix crash due to calling GameView::gameOver inside GameView::startNewGame
Albert Astals Cid
aacid at kde.org
Thu Dec 13 18:40:01 UTC 2012
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://svn.reviewboard.kde.org/r/7013/#review11004
-----------------------------------------------------------
Ship it!
Sorry for the time it took to review. It makes sense, i've commited it now and will be in 4.9.5, can you please mark the review as submitted?
- Albert Astals Cid
On Aug. 21, 2012, 1:09 a.m., Michael Reeves wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://svn.reviewboard.kde.org/r/7013/
> -----------------------------------------------------------
>
> (Updated Aug. 21, 2012, 1:09 a.m.)
>
>
> Review request for KDE Games.
>
>
> Description
> -------
>
> Attempt to fix crash due to null Map pointer. Prevents calling GameView::startNewGame or GameView::gameOver before GameView is fully ready the cause of my variant.
>
> Crash is reproducable as of revision 1311053 in the 4.9 branch. Did not test master.
>
>
> Diffs
> -----
>
> /branches/KDE/4.9/kdegames/konquest/gameview.h 1311580
> /branches/KDE/4.9/kdegames/konquest/gameview.cc 1311580
>
> Diff: http://svn.reviewboard.kde.org/r/7013/diff/
>
>
> Testing
> -------
>
> *Built konquest from 4.9 svn head.
> *Repeatly start new computer only game using only keyboard equivalants.
> *Unpatched code intermiently crashes with attatched stack trace.
> *Valgrind shows repeated invalid reads with the finally one leading to the crash. Relevant output is attatched.
> I am unable to reproduce this after patching the code.
>
>
> Thanks,
>
> Michael Reeves
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-games-devel/attachments/20121213/4234f80d/attachment.html>
More information about the kde-games-devel
mailing list