BUG? at end of Eastern Invasion

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
mikecindi
Posts: 36
Joined: August 9th, 2006, 9:31 am

BUG? at end of Eastern Invasion

Post by mikecindi »

OS: WinXP sp2
BfW: 1.1.10
Problem recreation: At the end of the Eastern Invasion scenario "Weldyn under Attack", Gweddry has to choose to accept a challenge or not. When I choose not to accept the challenge BfW crashes with the following:

---------------------------
Microsoft Visual C++ Runtime Library
---------------------------
Assertion failed!

Program: C:\Program Files\Wesnoth 1.1.10\wesnoth.exe
File: C:\Entwicklung\Wesnoth\wesnoth-1.1.1...\unit_map.cpp
Line: 55

Expression: res.second

For information on how your program can cause an assertion
failure, see the Visual C++ documentation on asserts

(Press Retry to debug the application - JIT must be enabled)
---------------------------
Abort Retry Ignore
---------------------------

If I choose to accept the challenge then BfW contiues as it should to "Weldyn Besieged".


Here is the stderr.txt:
Battle for Wesnoth v1.1.10
Started on Fri Nov 03 07:34:52 2006

started game: 10
Checking video mode: 1024x768x32...
32
setting mode to 1024x768x32
locale could not be determined; defaulting to system locale
WARNING: setlocale() failed for .
found valid cache at 'C:/Program Files/Wesnoth 1.1.10/userdata/cache/game.cfg-cache-v1.1.10-MEDIUM-NORMAL' using it
loadscreen: filesystem counter = 101
loadscreen: binarywml counter = 11237
loadscreen: setconfig counter = 221
loadscreen: parser counter = 202
started music
7050
showing title screen...
7051
Loading tips of day
title screen returned result
started music
14196
showing title screen...
14197
title screen returned result
locale could not be determined; defaulting to system locale
locale could not be determined; defaulting to system locale
found valid cache at 'C:/Program Files/Wesnoth 1.1.10/userdata/cache/game.cfg-cache-v1.1.10-CAMPAIGN_EASTERN_INVASION-MEDIUM-NORMAL' using it
scenario: 'Weldyn_Attack'
has snapshot: yes
setting replay to end...
scenario: 'Weldyn_Attack'
error display: could not open image ''

EDIT: Thought I'd add the saved game just before the error. Just complete turn 18 and the AI will attack then Gweddry gets to make his choice.
Attachments
Weldyn_under_Attack_Turn_18.bz2
(29.1 KiB) Downloaded 139 times
The plans of the diligent...Pro. 21:5
mikecindi
Posts: 36
Joined: August 9th, 2006, 9:31 am

Post by mikecindi »

OS: Vector Linux 5.8rc2 - kernel 2.6.19
BfW: 1.1.13
Same problem as with Windows version in BfW 1.1.10. I've attached the saved game just complete the final turn and then make Gweddry choose not to duel ("I will not accept a fight in which he will obviously cheat! I refuse!).
Console output:
mscott:$ wesnoth
Battle for Wesnoth v1.1.13
Started on Sun Dec 3 22:00:16 2006

started game: 1239879289
Checking video mode: 1024x768x32...
32
setting mode to 1024x768x32
locale could not be determined; defaulting to system locale
set locale to
found valid cache at '/home/mscott/.wesnoth/cache/game.cfg-cache-v1.1.13-MEDIUM-NORMAL' using it
loadscreen: filesystem counter = 101
loadscreen: binarywml counter = 11433
loadscreen: setconfig counter = 221
loadscreen: parser counter = 202
started music
3055093169
showing title screen...
3055093170
Loading tips of day
title screen returned result
locale could not be determined; defaulting to system locale
found valid cache at '/home/mscott/.wesnoth/cache/game.cfg-cache-v1.1.13-CAMPAIGN_EASTERN_INVASION-MED
IUM-NORMAL' using it
scenario: 'Weldyn_Attack'
has snapshot: yes
setting replay to end...
scenario: 'Weldyn_Attack'
error display: could not open image ''
error display: could not open image 'attacks/.png'
Cleaning autosaves with prefix 'Weldyn under Attack-Auto-Save'
Deleting autosave 'Weldyn under Attack-Auto-Save18'
Deleting autosave 'Weldyn under Attack-Auto-Save17'
Deleting autosave 'Weldyn under Attack-Auto-Save16'
Deleting autosave 'Weldyn under Attack-Auto-Save15'
Deleting autosave 'Weldyn under Attack-Auto-Save14'
Deleting autosave 'Weldyn under Attack-Auto-Save13'
Deleting autosave 'Weldyn under Attack-Auto-Save12'
Deleting autosave 'Weldyn under Attack-Auto-Save11'
Deleting autosave 'Weldyn under Attack-Auto-Save10'
Deleting autosave 'Weldyn under Attack-Auto-Save9'
Deleting autosave 'Weldyn under Attack-Auto-Save8'
Deleting autosave 'Weldyn under Attack-Auto-Save7'
Deleting autosave 'Weldyn under Attack-Auto-Save6'
Deleting autosave 'Weldyn under Attack-Auto-Save5'
Deleting autosave 'Weldyn under Attack-Auto-Save4'
Deleting autosave 'Weldyn under Attack-Auto-Save3'
Deleting autosave 'Weldyn under Attack-Auto-Save2'
wesnoth: unit_map.cpp:55: void unit_map::add(std::pair<gamemap::location, unit>*): Assertion `res.second' failed.
Aborted

console output after trying to load the "Weldyn Beseiged" save from above:
mscott:$ wesnoth
Battle for Wesnoth v1.1.13
Started on Sun Dec 3 22:25:56 2006

started game: 1241419543
Checking video mode: 1024x768x32...
32
setting mode to 1024x768x32
locale could not be determined; defaulting to system locale
set locale to
found valid cache at '/home/mscott/.wesnoth/cache/game.cfg-cache-v1.1.13-MEDIUM-NORMAL' using it
loadscreen: filesystem counter = 101
loadscreen: binarywml counter = 11433
loadscreen: setconfig counter = 221
loadscreen: parser counter = 202
started music
3053552867
showing title screen...
3053552867
Loading tips of day
title screen returned result
locale could not be determined; defaulting to system locale
found valid cache at '/home/mscott/.wesnoth/cache/game.cfg-cache-v1.1.13-CAMPAIGN_EASTERN_INVASION-MEDIUM-NORMAL' using it
scenario: 'Reject'
has snapshot: no
skipping...
wesnoth: unit_map.cpp:55: void unit_map::add(std::pair<gamemap::location, unit>*): Assertion `res.second' failed.
Aborted
Attachments
Weldyn_under_Attack_Turn_18.tar.gz
(64.29 KiB) Downloaded 131 times
The plans of the diligent...Pro. 21:5
SkeletonCrew
Inactive Developer
Posts: 787
Joined: March 31st, 2006, 6:55 am

Post by SkeletonCrew »

Hmmm that's rather nasty, could you please post this report on http://bugs.wesnoth.org and set severity to blocker? This way it has less chance to go unnoticed ;)
mikecindi
Posts: 36
Joined: August 9th, 2006, 9:31 am

Post by mikecindi »

'tis done...thanks for the quick reply SkeletonCrew.
Mike
The plans of the diligent...Pro. 21:5
Greek Maniac
Posts: 10
Joined: December 1st, 2006, 5:49 pm
Location: Greece
Contact:

Post by Greek Maniac »

I got a problem at Eastern Invansion in the level before you choose to duel with Mal-Ravanal or not.Didn't find the unit: "Lord" :!: :!: :!: You believe it?
Don't go to Greece because a maniac will kill you...
User avatar
zookeeper
WML Wizard
Posts: 9742
Joined: September 11th, 2004, 10:40 pm
Location: Finland

Post by zookeeper »

Greek Maniac wrote:I got a problem at Eastern Invansion in the level before you choose to duel with Mal-Ravanal or not.Didn't find the unit: "Lord" :!: :!: :!: You believe it?
Yeah, I'm sure you have such a problem, but it's actually your own fault most likely.
SkeletonCrew
Inactive Developer
Posts: 787
Joined: March 31st, 2006, 6:55 am

Post by SkeletonCrew »

mikecindi wrote:'tis done...thanks for the quick reply SkeletonCrew.
Mike
Thanks for the bug report, I'll take a look at it later this week if nobody does so before.
SkeletonCrew
Inactive Developer
Posts: 787
Joined: March 31st, 2006, 6:55 am

Post by SkeletonCrew »

I found the bug and zookeeper created a fix, the fix will be available in the next release.
mikecindi
Posts: 36
Joined: August 9th, 2006, 9:31 am

Post by mikecindi »

Thank you.
Mike
The plans of the diligent...Pro. 21:5
mikecindi
Posts: 36
Joined: August 9th, 2006, 9:31 am

Post by mikecindi »

Just checked out the fix in 1.1.14 and all is good! Thank you everyone on the dev team (esp. those of you who worked on this "bug").
Mike
The plans of the diligent...Pro. 21:5
SkeletonCrew
Inactive Developer
Posts: 787
Joined: March 31st, 2006, 6:55 am

Post by SkeletonCrew »

Thanks for reporting that the fix works.
Post Reply