The International Simutrans Forum

 

Author Topic: Crash with r6390  (Read 1195 times)

0 Members and 1 Guest are viewing this topic.

Offline Dwachs

  • DevTeam, Coder/patcher
  • Administrator
  • *
  • Posts: 4594
  • Languages: EN, DE, AT
Crash with r6390
« on: October 28, 2013, 12:25:05 PM »
this is a backtrace of a crash that occured to the pak.german server running r6390:
Code: [Select]
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?

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 9518
  • Languages: De,EN,JP
Re: Crash with r6390
« Reply #1 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 ...