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 May 12 23:36:56 2012  
Category: BugSeverity: 2 - Minor
Priority: 5 - NormalItem Group: Artificial Intelligence
Status: FixedPrivacy: Public
Assigned to: Matthias Schoeck <mattsc>Open/Closed: Closed
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.


Mon Mar 20 08:24:22 2017, comment #3:

I tried this in the middle of an enemy recruit and didn't find any issue - including in the logs. So closing this as fixed.

Wedge009 <wedge009>
Project Member
Sun Oct 2 02:58:15 2016, comment #2:

These error messages have been converted to warnings and, at least for me, do not show up for the test case described any more. Can we consider this fixed?

First part of fix in commit 7185d6cc80.
Second part in commit aecf8ab7bc.

Matthias Schoeck <mattsc>
Project MemberIn charge of this item.
Sun May 13 07:40:50 2012, 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 Member
Sat May 12 23:36:56 2012, 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 wedge009 (Posted a comment)
  • -unavailable- added by mattsc (Posted a comment)
  • -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



    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon Mar 20 08:24:22 2017wedge009StatusReady For Test=>Fixed
    Sun Oct 2 02:58:15 2016mattscStatusNone=>Ready For Test
      Assigned tocrab=>mattsc
    Show feedback again

    Back to the top

    Powered by Savane 3.1-cleanup