bugBattle for Wesnoth - Bugs: bug #21093, Bank teller crashes next load of...

 
 
Show feedback again

bug #21093: Bank teller crashes next load of test scenario

Submitted by:  J Tyne <jamit>
Submitted on:  Mon 02 Sep 2013 07:55:50 PM UTC  
 
Category: BugSeverity: 5 - Blocker
Priority: 5 - NormalItem Group: WML
Status: NonePrivacy: Public
Assigned to: Jody Northup <upthorn>Open/Closed: Open
Release: 1.11.6+devOperating System: Linux

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

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

 

Mon 02 Sep 2013 09:02:41 PM UTC, comment #1:

Forgot to mention: The "Bank Teller" hex is at 10,6.

J Tyne <jamit>
Project Member
Mon 02 Sep 2013 07:55:50 PM UTC, original submission:

I ran the test scenario (wesnoth -t) and stopped by the "Bank Teller" hex. The following was stored in persist/demo.cfg:

The next time I tried to run the test scenario, I got a segmentation fault. Clearing the contents of persist/demo.cfg caused the crash to go away.

Upon doing a code trace, I found the culprit lying in persist_file_context::clear_var(), where a null pointer is being dereferenced. I'll change that to an assertion failure shortly so that the error message is more meaningful, but a fix would need to come from someone who knows how the persistent variable code is supposed to work.

J Tyne <jamit>
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 soliton (Updated the item)
  • -unavailable- added by jamit (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.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 18 Dec 2013 11:25:52 PM UTCshadowmasterSeverity3 - Normal=>5 - Blocker
    Mon 02 Sep 2013 10:29:01 PM UTCsolitonAssigned toNone=>upthorn
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup