The International Simutrans Forum

Development => Patches & Projects => Incorporated Patches and Solved Bug Reports => Topic started by: Ashley on March 16, 2012, 10:16:05 PM

Title: New network bug
Post by: Ashley on March 16, 2012, 10:16:05 PM

2012-03-16T21:46:27.071239+00:00 pulsar sim64[799]: Warning: nwc_tool_t::clone:#011send sync_steps=21550  wkz=4097 work
2012-03-16T21:46:27.071251+00:00 pulsar sim64[799]: Warning: nwc_tool_t::rdwr:#011rdwr id=6 client=6 plnr=7 pos=599,68,0 wkzid=4097 defpar=(null) init=0 flags=0
2012-03-16T21:46:27.481060+00:00 pulsar sim64[799]: Warning: nwc_tool_t::rdwr:#011rdwr id=6 client=0 plnr=7 pos=600,68,0 wkzid=4097 defpar=(null) init=0 flags=0
2012-03-16T21:46:27.481101+00:00 pulsar sim64[799]: Warning: network_check_activity():#011received cmd id=6 nwc_tool_t from socket[10]
2012-03-16T21:46:27.481113+00:00 pulsar sim64[799]: Warning: nwc_tool_t::clone:#011send sync_steps=21553  wkz=4097 work
2012-03-16T21:46:27.481125+00:00 pulsar sim64[799]: Warning: nwc_tool_t::rdwr:#011rdwr id=6 client=6 plnr=7 pos=600,68,0 wkzid=4097 defpar=(null) init=0 flags=0
2012-03-16T21:46:34.700003+00:00 pulsar sim64[799]: Warning: nwc_tool_t::rdwr:#011rdwr id=6 client=0 plnr=7 pos=599,68,0 wkzid=4115 defpar=PSHall1TrainStop init=0 flags=0
2012-03-16T21:46:34.700047+00:00 pulsar sim64[799]: Warning: network_check_activity():#011received cmd id=6 nwc_tool_t from socket[10]
2012-03-16T21:46:34.700059+00:00 pulsar sim64[799]: Warning: nwc_tool_t::clone:#011send sync_steps=21605  wkz=4115 work
2012-03-16T21:46:34.700074+00:00 pulsar sim64[799]: Warning: nwc_tool_t::rdwr:#011rdwr id=6 client=6 plnr=7 pos=599,68,0 wkzid=4115 defpar=PSHall1TrainStop init=0 flags=0
2012-03-16T21:46:38.226399+00:00 pulsar sim64[799]: Warning: nwc_tool_t::rdwr:#011rdwr id=6 client=0 plnr=7 pos=601,69,0 wkzid=4097 defpar=(null) init=0 flags=0
2012-03-16T21:46:38.226438+00:00 pulsar sim64[799]: Warning: network_check_activity():#011received cmd id=6 nwc_tool_t from socket[10]
2012-03-16T21:46:38.226449+00:00 pulsar sim64[799]: Warning: nwc_tool_t::clone:#011send sync_steps=21630  wkz=4097 work
2012-03-16T21:46:38.226461+00:00 pulsar sim64[799]: Warning: nwc_tool_t::rdwr:#011rdwr id=6 client=6 plnr=7 pos=601,69,0 wkzid=4097 defpar=(null) init=0 flags=0
2012-03-16T21:46:40.821517+00:00 pulsar sim64[799]: Warning: nwc_tool_t::rdwr:#011rdwr id=6 client=0 plnr=7 pos=600,68,0 wkzid=4115 defpar=PostStop init=0 flags=0
2012-03-16T21:46:40.821553+00:00 pulsar sim64[799]: Warning: network_check_activity():#011received cmd id=6 nwc_tool_t from socket[10]
2012-03-16T21:46:40.821565+00:00 pulsar sim64[799]: Warning: nwc_tool_t::clone:#011send sync_steps=21649  wkz=4115 work
2012-03-16T21:46:40.821575+00:00 pulsar sim64[799]: Warning: nwc_tool_t::rdwr:#011rdwr id=6 client=6 plnr=7 pos=600,68,0 wkzid=4115 defpar=PostStop init=0 flags=0
2012-03-16T21:46:49.529224+00:00 pulsar sim64[799]: Warning: nwc_tool_t::rdwr:#011rdwr id=6 client=0 plnr=7 pos=601,72,-1 wkzid=4097 defpar=(null) init=0 flags=0
2012-03-16T21:46:49.529257+00:00 pulsar sim64[799]: Warning: network_check_activity():#011received cmd id=6 nwc_tool_t from socket[10]
2012-03-16T21:46:49.529269+00:00 pulsar sim64[799]: Warning: nwc_tool_t::clone:#011send sync_steps=21711  wkz=4097 work
2012-03-16T21:46:49.529279+00:00 pulsar sim64[799]: Warning: nwc_tool_t::rdwr:#011rdwr id=6 client=6 plnr=7 pos=601,72,-1 wkzid=4097 defpar=(null) init=0 flags=0
2012-03-16T21:46:49.583561+00:00 pulsar sim64[799]: FATAL ERROR: unknown
2012-03-16T21:46:49.583598+00:00 pulsar sim64[799]: pure virtual function call
2012-03-16T21:46:49.583610+00:00 pulsar sim64[799]: Aborting program execution ...
2012-03-16T21:46:49.583619+00:00 pulsar sim64[799]:
2012-03-16T21:46:49.583629+00:00 pulsar sim64[799]: For help with this error or to file a bug report please see the Simutrans forum:
2012-03-16T21:46:49.583639+00:00 pulsar sim64[799]: http://forum.simutrans.com
2012-03-16T21:46:49.583648+00:00 pulsar sim64[799]: FATAL ERROR: unknown
2012-03-16T21:46:49.583657+00:00 pulsar sim64[799]: pure virtual function call
2012-03-16T21:46:49.583666+00:00 pulsar sim64[799]: Calculating textures ...done


Log:
http://entropy.me.uk/simutrans/sim64_crash_pv.log

Savegame:
http://entropy.me.uk/simutrans/sim64_crash_pv.sve

Has happened a few times, looks like it happens after the same wkzid every time.
Title: Re: New network bug
Post by: prissi on March 16, 2012, 11:34:33 PM
This is the remover tool. The bridge at 601,72 was deleted, which contained a railway station on its road. MAybe that is the cause. I will investigate more tomorrow.
Title: Re: New network bug
Post by: Dwachs on March 17, 2012, 10:16:18 AM
The problem is that grund_t::remove_everything_from_way does not remove the halt on it, as the tram track on the bridge end is not deleted, and so the station is not removed.

I do not have time to fix this now.

The problem can be circumvented if the halts on the bridge ends are deleted first, and then the bridge.

Edit: fixed in r5572.