Try loading the attached scenario.
Loading BDF font 'cyr.bdf'
Reading city configuration ...
Reading speedbonus configuration ...
Reading menu configuration ...
Reading object data from pak/...
Loaded /home/yona/Descargas/simutrans/pak/sound/horse.wav to sample 19.
Loaded /home/yona/Descargas/simutrans/pak/sound/crossing.wav to sample 20.
Reading menu configuration ...
Midi disabled ...
Calculating textures ...done
Creating cities ...
Creating cities: 1
Creating factories ...
Distributing 1 tourist attractions ...
Preparing startup ...
Loading BDF font 'cyr.bdf'
Show banner ...
Running world, pause=0, fast forward=0 ...
script engine started.
World destroyed.
script engine started.
sim: boden/wege/weg.cc:98: static weg_t* weg_t::alloc(waytype_t): Assertion `0' failed.
Thread 1 "sim" received signal SIGABRT, Aborted.
0xb7fdabc8 in __kernel_vsyscall ()
(gdb) where
#0 0xb7fdabc8 in __kernel_vsyscall ()
#1 0xb7b585c9 in __GI_raise (sig=6) at ../sysdeps/unix/sysv/linux/raise.c:54
#2 0xb7b59ca7 in __GI_abort () at abort.c:89
#3 0xb7b50e17 in __assert_fail_base (
fmt=0xb7ca365c "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n",
assertion=0x836a3e2 "0", file=0x836a3d0 "boden/wege/weg.cc", line=98,
function=0x836a5a0 <weg_t::alloc(waytype_t)::__PRETTY_FUNCTION__> "static weg_t* weg_t::alloc(waytype_t)") at assert.c:92
#4 0xb7b50e9b in __GI___assert_fail (assertion=0x836a3e2 "0",
file=0x836a3d0 "boden/wege/weg.cc", line=98,
function=0x836a5a0 <weg_t::alloc(waytype_t)::__PRETTY_FUNCTION__> "static weg_t* weg_t::alloc(waytype_t)") at assert.c:101
#5 0x0809d6d3 in weg_t::alloc (wt=ignore_wt) at boden/wege/weg.cc:98
#6 0x0830cbfe in tool_build_way_t::get_besch (this=0x9a83620,
timeline_year_month=23160, remember=false) at simtool.cc:2129
#7 0x0830d091 in tool_build_way_t::init (this=0x9a83620, player=0x89de210)
at simtool.cc:2221
#8 0x081f4918 in script_api::param<script_api::call_tool_work>::push (vm=
0x9a6cd20, v=...) at script/api/api_command.cc:195
#9 0x081f4701 in command_work (vm=0x9a6cd20) at script/api/api_command.cc:145
#10 0x0829c707 in SQVM::CallNative (this=0x9a6cd20, nclosure=0x9a94b10,
nargs=5, newbase=9, retval=..., suspend=@0xbfffc72f: false)
at squirrel/squirrel/sqvm.cc:1210