bugBattle for Wesnoth - Bugs: bug #19731, Spurious "Return value of AI...

Show feedback again

bug #19731: Spurious "Return value of AI ACTION was not checked" errors when quitting AI turns

Submitted by:  Ignacio R. Morelle <shadowmaster>
Submitted on:  Sat 12 May 2012 11:36:56 PM UTC  
Category: BugSeverity: 2 - Minor
Priority: 5 - NormalItem Group: Artificial Intelligence
Status: NonePrivacy: Public
Assigned to: Iurii Chernyi <crab>Open/Closed: Open
Release: 1.10.2+svn, 1.11.0-svnOperating System: Debian wheezy

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

Please log in, so followups can be emailed to you.


Sun 13 May 2012 07:40:50 AM UTC, comment #1:

I'll see if the code can be reworked to avoid those warnings in case we quit while discarding the game state.

Iurii Chernyi <crab>
Project MemberIn charge of this item.
Sat 12 May 2012 11:36:56 PM UTC, original submission:

When the player quits the current AI turn in the middle of an AI recruitment action (either by using Ctrl+Q to go back to the titlescreen, or loading from a saved game), the game will emit a spurious error message in stderr every time this happens:

To reproduce, make sure the Accelerated speed and Skip AI moves options are disabled in Preferences, and start the first scenario of Heir to the Throne. End your turn, and just as a newly recruited AI unit is being animated fading into view, press Ctrl+Q or go to the main Menu -> Quit option to leave the game; the error will appear on stderr.

This problem occurs on 1.10.x and trunk at the time of this writing. I had been noticing it for a very long while already during 1.9.x but I never figured this connection with user interface actions until now.

Ignacio R. Morelle <shadowmaster>
Project Administrator


(Note: upload size limit is set to 1024 kB, after insertion of the required escape characters.)

Attach File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by crab (Posted a comment)
  • -unavailable- added by shadowmaster (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Error: not logged in



    No Changes Have Been Made to This Item
    Show feedback again

    Back to the top

    Powered by Savane 3.1-cleanup