The International Simutrans Forum

Development => Patches & Projects => Incorporated Patches and Solved Bug Reports => Topic started by: 5045 on January 19, 2016, 10:56:56 PM

Title: Building train platforms in networkgame = crash
Post by: 5045 on January 19, 2016, 10:56:56 PM
pak128
current simutrans stable (R7720)
i tried to extend the platform of an existing station by 1 tile and now it crashed the game already the third time,
running the client with debug 3 it shows this:

Message: NWC_CHECK:     time difference to server 574
Message: network_world_command_t::execute:      do_command 9 at sync_step 8887553 world now at 8887530
Message: route_t::calc_route(): No route from 619,788 to 460,911 found
Message: aircraft_t::calc_route():      search runway start near (460,911,0)
Message: route_t::append_straight_route():      start from (454,906) to (614,790)
Message: route_t::append_straight_route():      to (614,790) found.
Message: route_t::append_straight_route():      start from (614,790) to (619,790)
Message: route_t::append_straight_route():      to (619,790) found.
Warning: karte_t:::do_network_world_command:    sync_step=8887552  server=[rand=2042246288 halt=1 line=1 cnvy=1] client=[rand=2042246288 halt=1 line=1 cnvy=1]
Message: interaction_t::interactive_event(event_t &ev): calling a tool
Message: network_command_t::rdwr:       write packet_id=8, client_id=2
Warning: nwc_tool_t::rdwr:      rdwr id=8 client=0 plnr=5 pos=1724,870,0 tool_id=4115 defpar=train_platform_med init=0 flags=0
Message: packet_t::send:        sent 69 bytes to socket[8]; id=8, size=69
Message: network_command_t::rdwr:       read packet_id=8, client_id=0
Warning: nwc_tool_t::rdwr:      rdwr id=8 client=2 plnr=5 pos=1724,870,0 tool_id=4115 defpar=train_platform_med init=0 flags=0
Warning: network_check_activity():      received cmd id=8 nwc_tool_t from socket[8]
Message: network_world_command_t::execute:      do_command 8 at sync_step 8887626 world now at 8887614
Warning: karte_t:::do_network_world_command:    skipping command due to checklist mismatch : sync_step=8887625 server=[rand=897998504 halt=1 line=1 cnvy=1] executor=[rand=2072448310 halt=1 line=1 cnvy=1]
Warning: karte_t::network_disconnect(): Lost synchronisation with server.
Message: karte_t::reset_timer():        called, mode=$0
Violación de segmento

last line means "segmention fault"
Title: Re: Building train platforms in networkgame = crash
Post by: Dwachs on January 20, 2016, 07:25:25 AM
Can you upload the savegame somewhere? What crashes: the client and/or the server?

The client did not build the station as there where a checklist mismatch. It crashes after dropping the network connection. This is strange.

Title: Re: Building train platforms in networkgame = crash
Post by: 5045 on January 20, 2016, 08:36:49 AM
Client crashed, but actually the client version was 6640 and the server 7720. I was not aware of this because the network connection dialogue didn't showed up this mismatch and I guess all this trouble was caused by the version difference...