URL:
<http://gna.org/bugs/?20779>
Summary: Irrational segmentation fault when returning from
fire_event
Project: Battle for Wesnoth
Submitted by: None
Submitted on: Thu 02 May 2013 12:30:15 AM UTC
Category: Bug
Severity: 4 - Important
Priority: 5 - Normal
Item Group: WML
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 1.10
Operating System: Ubuntu, Windows
_______________________________________________________
Details:
I have encountered a mysterious segmentation fault in my campaign. I have
recently added a tutorial to it, a rather funny introduction to the campaign's
interface, but suddenly it appeared. A character started telling 0-3 times an
empty message (it should not have talked at that point at all) and then it
crashes with a segmentation fault. An almost identical code is executed many
times, and in all other cases it worked. I did not have enough RAM capacity to
valgrind it (because the add-on it requires is quite huge).
A unit was created there, then it was stored, an event was fired on it, I
could verify that it continued until the end of the event, then it was
supposed to come back to the event being executed, but before executing
anything behind that fire_event, the unit said 0-3 times an empty message and
it crashed.
An almost identical structure was used a lot of times before and it never did
this. That is why it is impossible to provide a minimalistic code or
something, I am just including a save file where it appeared (right click on
the Rogue, and click on the last option). All the WML in the event fired
worked a thousand times without it and just changes some properties of the
unit. The add-on on the server already contains a workaround, but the bug
should repeat when using the save file with the newer code.
It happened on 1.10.6 on Ubuntu 12.10, but it was also encountered on Windows,
and it did the same.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Thu 02 May 2013 12:30:15 AM UTC Name: LotI1-Tutorial-Auto-Save5.gz
Size: 60kB By: None
<http://gna.org/bugs/download.php?file_id=17875>
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?20779>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs