New scenarios crash on load
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
widelands |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
bzr9026[trunk] (Release)
When trying to load a newly created scenario, the game crashes:
**** SOUND REPORT ****
SDL version: 2.0.9
SDL_mixer version: 2.0.4
**** END SOUND REPORT ****
Initializing economy serial
┏━ Running Lua for world:
┃ Resources: 1ms
┃ Terrains: 8ms
┃ Immovables: 493ms
ALSA lib pcm.c:8424:
ALSA lib pcm.c:8424:
┃ Critters: 1404ms
┗━ took: 1906ms
Loading the world took 1931ms
┏━ Running Lua for tribes:
┃ Ships: 73ms
┃ Wares: 200ms
┃ Immovables: 272ms
┃ Workers: 1314ms
┃ Warehouses: 39ms
┃ Productionsites: 1123ms
┃ Trainingsites: 33ms
┃ Militarysites: 60ms
┃ Partially finished buildings: 2ms
┃ Tribe infos: 50ms
┗━ took: 3170ms
Loading the tribes took 3175ms
Speicherzugriff
Because i was not sure to have any mistakes in my scripts, i tested the scenario tutorial from the website (https:/
Loading other, older, scenarios do work.
An example scenario map is attached.
Related branches
- hessenfarmer: Approve (test review)
-
Diff: 37 lines (+13/-2)2 files modifiedsrc/logic/game.cc (+8/-1)
src/logic/playersmanager.cc (+5/-1)
Changed in widelands: | |
status: | Confirmed → In Progress |
assignee: | nobody → GunChleoc (gunchleoc) |
Changed in widelands: | |
status: | In Progress → Fix Committed |
Even if there is a mistake in the script, it should not crash. I can reproduce this.