URL:
<http://gna.org/bugs/?12864>
Summary: Random bugs, apparently with WML events spawned by
other events
Project: Battle for Wesnoth
Submitted by: shadowmaster
Submitted on: Thursday 01/15/2009 at 22:08
Category: Bug
Severity: 4 - Important
Priority: 5 - Normal
Item Group: WML
Status: None
Privacy: Public
Assigned to: sapient
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 1.5.7+svn r32134
Operating System: Debian lenny
_______________________________________________________
Details:
In add-on "Invasion from the Unknown" from the Coordinated Wesnoth UMC
Development Project, scenario 22A ("Innuendo") may cause segmentation faults
on Wesnoth on certain system(s). The cause of the bug is not clear, since
commenting random events-spawned-by-events, or skipping any usage of
[wml_message] or [deprecated_message], or relocating WML events that are
children of [event], may prevent it from triggering. It has also been
reported to not occur on 32-bit machines.
An up-to-date SVN snapshot of the add-on may be downloaded from
http://wesnoth-umc-dev.svn.sourceforge.net/viewvc/wesnoth-umc-dev/trunk/Invasion_from_the_Unknown.tar.gz?view=tar
, or you can checkout directly from anonymous SVN using URI
http://wesnoth-umc-dev.svn.sourceforge.net/svnroot/wesnoth-umc-dev .
For the tarball, just uncompress it in the <Wesnoth preferences
dir>/data/campaigns.
I have attached a saved game (Innuendo.gz), the revision of the file in
particular that causes the crash (22A_Innuendo.cfg.bad), and another revision
(22A_Innuendo.cfg.fix) that does not cause it because an event (namely the one
found on all of them under the "# XXX - CRASH" comment) has been relocated.
Note that in the SVN snapshot, scenarios/22A_Innuendo.cfg is already fixed,
and replacing with the file 22A_Innuendo.cfg.bad provided here is an
*essential* step.
I also attached a file, log_and_bt.txt.gz, containing both a log generated
with --log-info=wml,engine and the backtrace after the SIGSEGV is received.
System specs:
- Debian lenny (AMD64 on dual core AMD Athlon)
- libstdc++ 6 4.3 (debian 4.3.2-1.1)
- glibc 6 2.7 (debian 2.7-16)
- gcc, g++, GNU cpp 4.3 (debian 4:4.3.2-2)
- Kernel 2.6.28 (non-Debian build, SMP enabled)
- libpango1.0-0 (debian 1.20.5-3)
- libcairo2 (debian 1.6.4-7)
Build flags (scons):
default_targets = 'campaignd,test,wesnoth,wesnothd'
build = 'debug'
extra_flags_release = '-mtune=native -march=native -O3 -mmmx -msse -msse2
-m3dnow'
extra_flags_debug = '-mtune=native -march=native -mmmx -msse -msse2 -m3dnow'
ccache = True
fast = True
(Note: the bug reproduces exactly the same with debug (-O0) and release (-O3)
builds for me.)
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Thursday 01/15/2009 at 22:08 Name: 22A_Innuendo.cfg.bad Size: 42kB
By: shadowmaster
<http://gna.org/bugs/download.php?file_id=5185>
-------------------------------------------------------
Date: Thursday 01/15/2009 at 22:08 Name: Innuendo.gz Size: 110kB By:
shadowmaster
<http://gna.org/bugs/download.php?file_id=5186>
-------------------------------------------------------
Date: Thursday 01/15/2009 at 22:08 Name: 22A_Innuendo.cfg.fix Size: 42kB
By: shadowmaster
<http://gna.org/bugs/download.php?file_id=5187>
-------------------------------------------------------
Date: Thursday 01/15/2009 at 22:08 Name: log_and_bt.txt.gz Size: 7kB By:
shadowmaster
<http://gna.org/bugs/download.php?file_id=5188>
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?12864>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs