The International Simutrans Forum

Development => Bug Reports => Topic started by: Dwachs on October 28, 2013, 12:25:05 PM

Title: Crash with r6390
Post by: Dwachs on October 28, 2013, 12:25:05 PM
this is a backtrace of a crash that occured to the pak.german server running r6390:

Program terminated with signal 11, Segmentation fault.
#0  0x0000000000601205 in vehikel_basis_t::no_cars_blocking(grund_t const*, convoi_t const*, unsigned char, unsigned char, unsigned char) ()
(gdb) bt
#0  0x0000000000601205 in vehikel_basis_t::no_cars_blocking(grund_t const*, convoi_t const*, unsigned char, unsigned char, unsigned char) ()
#1  0x000000000060e762 in automobil_t::ist_weg_frei(int&, bool) ()
#2  0x00000000006065ae in vehikel_t::hop_check() ()
#3  0x000000000060277a in vehikel_basis_t::fahre_basis(unsigned int) ()
#4  0x00000000005919ff in convoi_t::sync_step(long) ()
#5  0x00000000005f34e8 in karte_t::sync_step(long, bool, bool) ()
#6  0x00000000005f88e4 in karte_t::interactive(unsigned int) ()
#7  0x00000000005b767c in simu_main(int, char**) ()
#8  0x00000000005c21db in sysmain(int, char**) ()
#9  0x00000000006131dd in main ()

Unfortunately, no more information available.

Is this something new, or something which is already fixed?
Title: Re: Crash with r6390
Post by: prissi on October 28, 2013, 01:04:15 PM
It could be that there are more than 256 cars piled on a corner and a deletd car (during sync_step) is accessed. I think I did some debugging on that not too long ago. But very hard to tell from this, it could be also a car on a way which is already deleted ...