Crashes in master-2511_release_x64 on save
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
widelands |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Many times when saving (either manual or autosave) the game will error - first by saying an invalid code point was reached, then if attempting to save again, it will crash out. Restarting the program and loading a save prior to the invalid code point "fixes" the issue, but is often "unstable" in that it will easily crash again if saving again within a few minutes.
I'm playing the new empire mission neptune's revenge
here's a dump from a stdout.txt from a corrupted savefile
This is Widelands Version master-
Set home directory: C:\Users\
Widelands executable directory: G:\Games\Widelands
Adding directory: G:\Games\
selected language: (system language)
Graphics: Try to set Videomode 1600x900
Graphics: OpenGL: Version "4.5.0 NVIDIA 382.05"
Graphics: SDL_GL_RED_SIZE is 8
Graphics: SDL_GL_GREEN_SIZE is 8
Graphics: SDL_GL_BLUE_SIZE is 8
Graphics: SDL_GL_ALPHA_SIZE is 0
Graphics: SDL_GL_BUFFER_SIZE is 24
Graphics: SDL_GL_DOUBLEBUFFER is 1
Graphics: SDL_GL_DEPTH_SIZE is 24
Graphics: SDL_GL_STENCIL_SIZE is 0
Graphics: SDL_GL_
Graphics: SDL_GL_
Graphics: SDL_GL_
Graphics: SDL_GL_
Graphics: SDL_GL_STEREO is 0
Graphics: SDL_GL_
Graphics: SDL_GL_
Graphics: SDL_GL_
Graphics: SDL_GL_
Graphics: SDL_GL_
Graphics: SDL_GL_
Graphics: SDL_GL_
Graphics: SDL_GL_
Graphics: SDL_GL_
Graphics: OpenGL: Double buffering enabled
Graphics: OpenGL: Max texture size: 16384
Graphics: OpenGL: ShadingLanguage: "4.50 NVIDIA"
**** GRAPHICS REPORT ****
VIDEO DRIVER windows
pixel fmt 370546692
size 1600 900
**** END GRAPHICS REPORT ****
[] Section [global], key 'ai_training' not used (did you spell the name correctly?)
[] Section [global], key 'auto_speed' not used (did you spell the name correctly?)
SoundHandler: loaded song "music/
SoundHandler: loaded song "music/menu_00.ogg"
Game: Reading Preload Data ... took 0ms
Game: Reading Game Class Data ... took 0ms
Game: Reading Map Data ... Game: Reading Map Data took 2ms
Game: Reading Player Info ... Loading the world took 1202ms
Loading the tribes took 5035ms
Game: Reading Player Info took 6252ms
Game: Calling read_complete()
Reading Elemental Data ... took 2ms
Reading Player Names And Tribe Data ... took 0ms
Reading Port Spaces Data ... took 1ms
Reading Heights Data ... took 0ms
Reading Terrain Data ... took 1ms
Reading Map Objects ... took 7ms
Reading Player Start Position Data ... took 0ms
Reading Resources Data ... took 1ms
Reading Map Version Data ... took 1ms
Reading Allowed Worker Types Data ... took 0ms
Reading Allowed Building Types Data ... took 1ms
Reading Node Ownership Data ... took 0ms
Reading Exploration Data ... took 1ms
Reading Flag Data ... took 5ms
Reading Road Data ... took 1ms
Reading Building Data ... took 4ms
Reading Flagdata Data ... took 0ms
Reading Roaddata Data ... took 5ms
Reading Buildingdata Data ... took 1ms
Second and third phase loading Map Objects ... took 4ms
Reading Players View Data ... Vision check successful for player 1
Vision check successful for player 2
took 19ms
Reading Player Message Data ... took 208ms
Reading Objective Data ... took 6ms
Reading Scripting Data ... took 10ms
Reading map images ... took 45ms
WidelandsMapLo
Game: read_complete took: 328ms
Game: Reading Player Economies Info ... WARNING: target quantity configured for fish, which should not have target quantity, ignoring
WARNING: target quantity configured for log, which should not have target quantity, ignoring
WARNING: target quantity configured for meat, which should not have target quantity, ignoring
WARNING: target quantity configured for thatch_reed, which should not have target quantity, ignoring
WARNING: target quantity configured for water, which should not have target quantity, ignoring
WARNING: target quantity configured for wheat, which should not have target quantity, ignoring
took 1ms
Game: Reading ai persistent data ... took 1ms
Game: Reading Command Queue Data ... took 2ms
Game: Parsing messages ... took 0ms
Game: Reading Interactive Player Data ... took 1ms
GameLoader::load() took 6587ms
[sync] Reset
SoundHandler: loaded song "music/
ComputerPlayer(2): initializing as type 2
... DNA initialized
2: 0 basic buildings in savegame file.
2: expedition max duration = 5006 (83 minutes), map area root: 104
TI(1149): destination disappeared or economy mismatch -> fail
TI(1127): destination disappeared or economy mismatch -> fail
TI(1170): destination disappeared or economy mismatch -> fail
TI(1214): destination disappeared or economy mismatch -> fail
TI(1168): destination disappeared or economy mismatch -> fail
TI(1128): destination disappeared or economy mismatch -> fail
TI(1208): destination disappeared or economy mismatch -> fail
TI(1132): destination disappeared or economy mismatch -> fail
TI(1161): destination disappeared or economy mismatch -> fail
TI(1188): destination disappeared or economy mismatch -> fail
lastserial: 0
SoundHandler: loaded song "music/menu_00.ogg"
Game: Reading Preload Data ... took 0ms
Game: Reading Game Class Data ... took 1ms
Game: Reading Map Data ... Game: Reading Map Data took 5ms
Game: Reading Player Info ... Loading the world took 297ms
Loading the tribes took 1774ms
Game: Reading Player Info took 2094ms
Game: Calling read_complete()
Reading Elemental Data ... took 2ms
Reading Player Names And Tribe Data ... took 0ms
Reading Port Spaces Data ... took 1ms
Reading Heights Data ... took 0ms
Reading Terrain Data ... took 1ms
Reading Map Objects ... took 6ms
Reading Player Start Position Data ... took 0ms
Reading Resources Data ... took 2ms
Reading Map Version Data ... took 0ms
Reading Allowed Worker Types Data ... took 1ms
Reading Allowed Building Types Data ... took 0ms
Reading Node Ownership Data ... took 1ms
Reading Exploration Data ... took 0ms
Reading Flag Data ... took 5ms
Reading Road Data ... took 1ms
Reading Building Data ... took 4ms
Reading Flagdata Data ... took 0ms
Reading Roaddata Data ... took 5ms
Reading Buildingdata Data ... took 2ms
Second and third phase loading Map Objects ... took 3ms
Reading Players View Data ... Vision check successful for player 1
Vision check successful for player 2
took 19ms
Reading Player Message Data ... took 2ms
Reading Objective Data ... took 0ms
Reading Scripting Data ... took 1ms
Reading map images ... took 0ms
WidelandsMapLo
Game: read_complete took: 60ms
Game: Reading Player Economies Info ... GameLoader::load() took 2161ms
Fatal exception: ZipFilesystem:
FATAL ERROR - game crashed. Attempting emergency save.
ObjectManager: ouch! remaining objects
lastserial: 1936
Unexpected error during the game
ZipFilesystem:
Please report this problem to help us improve Widelands. You will find related messages in the standard output (stdout.txt on Windows). You are using build master-
Please add this information to your report.
Widelands attempts to create a savegame when errors occur during the game. It is often – though not always – possible to load it and continue playing.
SoundHandler closing times 1, freq 22050, format 32784, chan 2
SDL_AUDIODRIVER directsound
Related branches
- Notabilis: Approve
-
Diff: 100 lines (+23/-6)4 files modifieddata/campaigns/emp03.wmf/scripting/mission_thread.lua (+1/-2)
data/campaigns/emp04.wmf/scripting/starting_conditions.lua (+1/-2)
data/campaigns/tutorial04_economy.wmf/scripting/mission_thread.lua (+1/-2)
src/scripting/lua_map.cc (+20/-0)
tags: | added: crash savegame |
Changed in widelands: | |
milestone: | none → build20-rc1 |
status: | New → Confirmed |
Changed in widelands: | |
status: | In Progress → Fix Committed |
assignee: | GunChleoc (gunchleoc) → nobody |
Does the problem happens on any map, or just on that new tutorial?