bugBattle for Wesnoth - Bugs: bug #20900, Game hangs if bad argument to...

Show feedback again

bug #20900: Game hangs if bad argument to --screenshot command line option is provided.

Submitted by:  Andrius Silinskas <thunderstruck>
Submitted on:  Fri 14 Jun 2013 03:03:32 PM UTC  
Category: BugSeverity: 2 - Minor
Priority: 5 - NormalItem Group: Editor
Status: FixedPrivacy: Public
Assigned to: Charles Dang <vultraz>Open/Closed: Closed
Release: 1.11.4+devOperating System: any

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

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


Tue 13 Oct 2015 10:52:03 AM UTC, comment #3:

I submitted PR #524 which does the bare minimum for resolving the file_exists-check-omitted bug. People are welcome to add the extra error messages/handling included in the patch.

Wedge009 <wedge009>
Fri 05 Jul 2013 07:58:36 AM UTC, comment #2:

Thanks, Patryk.

I already contacted one of the developers and the patch is now assigned to him.

Andrius Silinskas <thunderstruck>
Project Member
Fri 05 Jul 2013 04:31:09 AM UTC, comment #1:

I just submitted patch fixing this issue, see: https://gna.org/patch/index.php?3972

Now dev with repo access needs to take a look at it. Andrius, do you know whom should we poke to review that patch? ;)

Patryk Obara <dreamer_>
Fri 14 Jun 2013 03:03:32 PM UTC, original submission:

If the first argument for --screenshot command line option is non-existing file or file which is actually not a map, Wesnoth goes into infinitive loop. It should stop and provide a useful error message instead.

To reproduce:
"./wesnoth --screenshot non_existing_map.map out.bmp"

Andrius Silinskas <thunderstruck>
Project Member


(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 shadowmaster (Updated the item)
  • -unavailable- added by vultraz (Updated the item)
  • -unavailable- added by wedge009 (Posted a comment)
  • -unavailable- added by dreamer_ (Posted a comment)
  • -unavailable- added by thunderstruck (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 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 28 Nov 2015 07:14:59 AM UTCshadowmasterOpen/ClosedOpen=>Closed
    Wed 28 Oct 2015 02:57:23 AM UTCvultrazStatusNone=>Fixed
      Assigned toNone=>vultraz
    Show feedback again

    Back to the top

    Powered by Savane 3.1-cleanup