The International Simutrans Forum

 

Author Topic: [10.x] crash when loading savegame  (Read 1444 times)

0 Members and 1 Guest are viewing this topic.

Offline sdog

  • Devotee
  • *
  • Posts: 2052
[10.x] crash when loading savegame
« on: February 09, 2012, 06:23:40 AM »

commit b7fe3eba4540d2f70d2b106661c7fba2736fbbe1

Date:   Mon Feb 6 02:39:28 2012 +0000


loading a savegame saved with the same version caused a fatal error:


Code: [Select]
FATAL ERROR: quickstone<T>::quickstone_tpl(T*,uint16)
wants to assign non-null pointer to null index




Program received signal SIGABRT, Aborted.
0x00007ffff6c133a5 in raise () from /lib/x86_64-linux-gnu/libc.so.6
(gdb) bt
#0  0x00007ffff6c133a5 in raise () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007ffff6c16b0b in abort () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x000000000063ac9a in log_t::fatal(char const*, char const*, ...) ()
#3  0x00000000005cc9f1 in haltestelle_t::rdwr(loadsave_t*) ()
#4  0x00000000005d11c9 in haltestelle_t::haltestelle_t(karte_t*, loadsave_t*) ()
#5  0x00000000005d12ec in haltestelle_t::create(karte_t*, loadsave_t*) ()
#6  0x0000000000624ece in karte_t::laden(loadsave_t*) ()
#7  0x000000000062ae20 in karte_t::laden(char const*) ()
#8  0x0000000000521c6c in savegame_frame_t::action_triggered(gui_action_creator_t*, value_t) ()
#9  0x00000000004bf200 in gui_table_t::infowin_event(event_t const*) ()
#10 0x00000000004bd434 in gui_scrollpane_t::infowin_event(event_t const*) ()
#11 0x00000000004f101d in gui_container_t::infowin_event(event_t const*) ()
#12 0x00000000004f2509 in gui_frame_t::infowin_event(event_t const*) ()
#13 0x000000000060c705 in check_pos_win(event_t*) ()
#14 0x000000000062c755 in karte_t::interactive(unsigned int) ()
#15 0x00000000005d9a83 in simu_main(int, char**) ()
#16 0x000000000040933c in main ()


compiled with gcc 4.6.1 on a 64 bit ubuntu 11.10
pak 128.britain-experimental made (make) from git, fetched at the same time as prog.

Offline jamespetts

  • Simutrans-Extended project coordinator
  • Administrator
  • *
  • Posts: 20918
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: [10.x] crash when loading savegame
« Reply #1 on: February 09, 2012, 10:46:49 AM »
Thank you for the report. I have pushed a small change to 10.x - can you test again?

Offline sdog

  • Devotee
  • *
  • Posts: 2052
Re: [10.x] crash when loading savegame
« Reply #2 on: February 10, 2012, 12:52:15 AM »
shan't be able to test it today, as i'll be home late.

Offline jamespetts

  • Simutrans-Extended project coordinator
  • Administrator
  • *
  • Posts: 20918
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: [10.x] crash when loading savegame
« Reply #3 on: February 10, 2012, 01:02:25 AM »
I have made some progress in investigating this, as I suspect that it is linked to the server desync bug: see here for details.