Editor: Crash when saving a map

Bug #1734729 reported by kaputtnik
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
widelands
Fix Released
Undecided
Unassigned

Bug Description

First encountered with r8484 Release build. Then tested with r8506 (debug and ASAN):

1. Start Editor
2. Place a players starting position
3. Save map

Result with r8506 running gdb:

Thread 1 "widelands" received signal SIGSEGV, Segmentation fault.
0x0000555556cecf31 in Widelands::MapScriptingPacket::write (this=0x7fffffff8780, fs=..., egbase=...,
    mos=...) at ../src/map_io/map_scripting_packet.cc:90
90 if (map_fs->file_exists("scripting/tribes/init.lua")) {

Backtrace is attached, ASAN output will follow.

Tags: crash editor

Related branches

Revision history for this message
kaputtnik (franku) wrote :
Revision history for this message
kaputtnik (franku) wrote :
affects: widelands-media → widelands
tags: added: crash editor
Revision history for this message
kaputtnik (franku) wrote :

Forgot: I've successfully made a map with r8482, so the culprit is r8483 or r8484

Revision history for this message
GunChleoc (gunchleoc) wrote :

r8483 or r8484 are impossible as culprits, all that was changed there were translations and some sprintf placeholders in the options screen.

Revision history for this message
kaputtnik (franku) wrote :

Ah, sorry... i have made the map with r8482 of the road cursor branch. After merging trunk into it the crash happened.

GunChleoc (gunchleoc)
Changed in widelands:
status: New → Fix Committed
milestone: none → build20-rc1
Revision history for this message
GunChleoc (gunchleoc) wrote :

Fixed in build20-rc1

Changed in widelands:
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.