Wesnoth Crashes when Unit is Attacked

Having trouble with the game? Report issues and get help here. Read this first!

Moderator: Forum Moderators

Forum rules
Before reporting issues in this section, you must read the following topic:
Post Reply
Livor
Posts: 24
Joined: August 9th, 2008, 6:27 pm
Location: Texas

Wesnoth Crashes when Unit is Attacked

Post by Livor »

Here's the necessary information:
Wesnoth 1.5.13 Windows Binary
Windows XP SP3

When a unit is attacked in a campaign I am working on Wesnoth crashes and I get the following errors.

Code: Select all

Assertion Failed!

Program:...ogram Files\Battle for Wesnoth 1.5\wesnoth.exe
File: src\astarsearch.cpp
Line: 145

Expression: src.valid(parWidth, parHeight)

Code: Select all

Assertion Failed!

Program:...ogram Files\Battle for Wesnoth 1.5\wesnoth.exe
File: src\astarsearch.cpp
Line: 148

Expression: stop_at <= costCalculator->getNoPathValue()

Code: Select all

Assertion Failed!

Program:...ogram Files\Battle for Wesnoth 1.5\wesnoth.exe
File: src\astarsearch.cpp
Line: 147

Expression: costCalculator != NULL
The bug is easily replicated and I was able to do so on another computer. To replicate, simply start the campaign and let the Red Mage be attacked by the Naga Fighter. The easiest way to do this is to simply end the turn at the beginning of the scenario. I attached the campaign file in case it needed to be quickly replicated.

Is this a known bug? If not, should I register at GNA and report it. I searched both the forums and GNA and I did not see it there.
Attachments
Expedition_of_Dread.zip
Campaign used to replicate error.
(113.19 KiB) Downloaded 191 times
stderr.zip
Error file.
(52.7 KiB) Downloaded 232 times
The greatest tragedy in mankind's entire history may be the hijacking of morality by religion. -Arthur C. Clarke, science fiction writer (1917-2008)
User avatar
beetlenaut
Developer
Posts: 2867
Joined: December 8th, 2007, 3:21 am
Location: Washington State
Contact:

Re: Wesnoth Crashes when Unit is Attacked

Post by beetlenaut »

Livor wrote:should I register at GNA and report it.
The developers have said that bug reports on the forums are often missed. They prefer them on GNA. Besides, that's a bad bug, and they are trying to get BfW ready for a release. They'll want to know about it. (Especially when you can replicate it easily!)
Campaigns: Dead Water,
The Founding of Borstep,
Secrets of the Ancients,
and WML Guide
Livor
Posts: 24
Joined: August 9th, 2008, 6:27 pm
Location: Texas

Re: Wesnoth Crashes when Unit is Attacked

Post by Livor »

OK, added as bug #13174.

Edit: And the moral of the story, don't put coordinates in [side].
The greatest tragedy in mankind's entire history may be the hijacking of morality by religion. -Arthur C. Clarke, science fiction writer (1917-2008)
Post Reply