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 Jun 14 15:03:32 2013  
 
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 Oct 13 10:52:03 2015, 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>
Project Member
Fri Jul 5 07:58:36 2013, 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 Jul 5 04:31:09 2013, 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 Jun 14 15:03:32 2013, 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):
   
   
Comment:
   

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 Nov 28 07:14:59 2015shadowmasterOpen/ClosedOpen=>Closed
    Wed Oct 28 02:57:23 2015vultrazStatusNone=>Fixed
      Assigned toNone=>vultraz
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup