New scenarios crash on load

Bug #1821506 reported by kaputtnik
6
This bug affects 1 person
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:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8424:(snd_pcm_recover) underrun occurred
┃ 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
Speicherzugriffsfehler (Speicherabzug geschrieben)

Because i was not sure to have any mistakes in my scripts, i tested the scenario tutorial from the website (https://wl.widelands.org/wiki/Scenario%20Tutorial/) but this also crashes.

Loading other, older, scenarios do work.

An example scenario map is attached.

Tags: crash scenario

Related branches

Revision history for this message
kaputtnik (franku) wrote :
Revision history for this message
GunChleoc (gunchleoc) wrote :

Even if there is a mistake in the script, it should not crash. I can reproduce this.

Changed in widelands:
status: New → Confirmed
milestone: none → build20-rc1
GunChleoc (gunchleoc)
Changed in widelands:
status: Confirmed → In Progress
assignee: nobody → GunChleoc (gunchleoc)
Revision history for this message
Klaus Halfmann (klaus-halfmann) wrote :

Mmm, where exactly do I have to place that .wmf file?

Revision history for this message
GunChleoc (gunchleoc) wrote :

Anywhere you can load a map from. So, data/maps, or ./widelands/maps/My_Maps

Changed in widelands:
status: In Progress → Fix Committed
Revision history for this message
GunChleoc (gunchleoc) wrote :

Fixed in build20-rc1

Changed in widelands:
assignee: GunChleoc (gunchleoc) → nobody
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.