News:

Simutrans Wiki Manual
The official on-line manual for Simutrans. Read and contribute.

[10.x] crash when loading savegame

Started by sdog, February 09, 2012, 06:23:40 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

sdog


commit b7fe3eba4540d2f70d2b106661c7fba2736fbbe1

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


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



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.

jamespetts

Thank you for the report. I have pushed a small change to 10.x - can you test again?
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

sdog

shan't be able to test it today, as i'll be home late.

jamespetts

I have made some progress in investigating this, as I suspect that it is linked to the server desync bug: see here for details.
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.