Skip to main content
Topic: [crash devel] loading standard pak britain -- resolved (Read 2218 times) previous topic - next topic

[crash devel] loading standard pak britain -- resolved

simutrans experimental devel branch (commit  c69703dd87bb61f15249) crashes when loading the released version 1.07 of pak128.Britain standard. Compiled on linux 64 with gcc 4.3.3

Code: [Select]
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff6c542ad in fgets () from /lib/libc.so.6
(gdb) bt
#0  0x00007ffff6c542ad in fgets () from /lib/libc.so.6
#1  0x0000000000473261 in tabfile_t::read_line (this=0x7fffffffbc40,
    s=0x7fffffffa270 "# maglev_track=?", size=4096) at dataobj/tabfile.cc:187
#2  0x00000000004731c1 in tabfile_t::read (this=0x7fffffffbc40, objinfo=...)
    at dataobj/tabfile.cc:164
#3  0x000000000059014f in stadt_t::privatecar_init (objfilename=...)
    at simcity.cc:96
#4  0x00000000005e727e in simu_main (argc=1, argv=0x7fffffffe2d8)
    at simmain.cc:737
#5  0x000000000066cb42 in main (argc=1, argv=0x7fffffffe2d8) at simsys_s.cc:747

8.x versions could still load pak128.britain standard.

 

Re: [crash devel] loading standard pak britain

Reply #1
splendid, you pushed a fix for this bug -- compiling right now.

-> and it works. I can also build depots again.