News:

Want to praise Simutrans?
Your feedback is important for us ;D.

Client crash - probably due to private car bug

Started by Matthew, March 22, 2023, 08:32:46 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Matthew

Steps to reproduce

0. Possibly on Linux only - will try Windows later
1. Run the current official Simutrans-Extended executable #d16d1d7
2. Load this Bridgewater-Brunel savegame (but this bug was originally found by connecting the client to B-B, where it occurred a couple of times)
3. Wait a few minutes.

Expected behaviour

Game is playable.

Actual behaviour

Client soft crashes with the following error message:

QuoteFATAL ERROR: vector_tpl<T>::[] - 18ordered_vector_tplI5koordjE: index out of bounds: 7735 not in 0..7734
Aborting program execution ...

For help with this error or to file a bug report please see the Simutrans forum at
https://forum.simutrans.com

Backtrace from debug version

Thread 1 "simutrans-exten" received signal SIGINT, Interrupt.
0x00007ffff7789868 in __GI___clock_nanosleep (clock_id=clock_id@entry=0, flags=flags@entry=0, req=0x7fffffff97b0, rem=0x7fffffff97c0) at ../sysdeps/unix/sysv/linux/clock_nanosleep.c:78
78      ../sysdeps/unix/sysv/linux/clock_nanosleep.c: No such file or directory.
(gdb) bt
#0  0x00007ffff7789868 in __GI___clock_nanosleep (clock_id=clock_id@entry=0, flags=flags@entry=0, req=0x7fffffff97b0, rem=0x7fffffff97c0) at ../sysdeps/unix/sysv/linux/clock_nanosleep.c:78
#1  0x00007ffff778e6e7 in __GI___nanosleep (req=<optimised out>, rem=<optimised out>) at ../sysdeps/unix/sysv/linux/nanosleep.c:25
#2  0x00007ffff7c3693b in ?? () from /lib/x86_64-linux-gnu/libSDL2-2.0.so.0
#3  0x0000555555c21542 in dr_sleep (usec=50) at sys/simsys_s2.cc:1004
#4  0x0000555555b98c8d in log_t::fatal (this=0x555555f9a5a0, who=0x555555c2aff3 "vector_tpl<T>::[]", format=0x555555c2afc8 "%s: index out of bounds: %lu not in 0..%lu") at utils/log.cc:313
#5  0x00005555556f23aa in vector_tpl<ordered_vector_tpl<koord, unsigned int> >::operator[] (this=0x555555e06ff0 <weg_t::private_car_route_map::route_maps+16>, i=7735) at boden/wege/../../obj/../dataobj/../tpl/vector_tpl.h:280
#6  0x00005555556effc4 in weg_t::private_car_route_map::contains (this=0x5555c329fe0c, elem=...) at boden/wege/weg.cc:1616
#7  0x00005555556f1479 in weg_t::get_next_on_private_car_route_to (this=0x5555c329fd70, dest=..., reading_set=true, startdir=0 '\000') at boden/wege/weg.cc:1932
#8  0x00005555556f15f9 in weg_t::has_private_car_route (this=0x5555c329fd70, dest=...) at boden/wege/weg.cc:1943
#9  0x0000555555bc626d in private_car_t::hop_check (this=0x5555c2d3f0c0) at vehicle/simroadtraffic.cc:1046
#10 0x0000555555bcc7f2 in vehicle_base_t::do_drive (this=0x5555c2d3f0c0, distance=13376) at vehicle/vehicle.cc:330
#11 0x0000555555bc3c2d in private_car_t::sync_step (this=0x5555c2d3f0c0, delta_t=58) at vehicle/simroadtraffic.cc:543
#12 0x0000555555b6da2d in karte_t::sync_list_t::sync_step (this=0x55557be183a0, delta_t=58) at simworld.cc:4837
#13 0x0000555555b6dc9f in karte_t::sync_step (this=0x55557be12cb0, delta_t=58, do_sync_step=true, display=true) at simworld.cc:4910
#14 0x0000555555af58d9 in interrupt_check (caller_info=0x555555c6d647 "simworld.cc:11432") at simintr.cc:111
#15 0x0000555555b86bae in karte_t::interactive (this=0x55557be12cb0, quit_month=2147483647) at simworld.cc:11432
#16 0x0000555555b03f77 in simu_main (argc=5, argv=0x7fffffffdd98) at simmain.cc:1705
#17 0x0000555555b954f5 in sysmain (argc=5, argv=0x7fffffffdd98) at sys/simsys.cc:1105
#18 0x0000555555c21810 in main (argc=5, argv=0x7fffffffdd98) at sys/simsys_s2.cc:1107

Debug level 5 log

The following entries always appear in the log immediately before the crash:

Warning: route_t::intern_calc_route():  Problem with heuristic:  from 6155,411,-3 to (6685,483,2) at 6257,401, best = 268947, cost = 45281, heur = 460460, dist = 462, turns = 414717
Warning: route_t::intern_calc_route():  Problem with heuristic:  from 6155,411,-3 to (6685,483,2) at 6256,401, best = 268947, cost = 44871, heur = 456370, dist = 463, turns = 411036
Warning: route_t::intern_calc_route():  Problem with heuristic:  from 6155,411,-3 to (6685,483,2) at 6255,401, best = 268947, cost = 44461, heur = 452280, dist = 464, turns = 407355
Warning: route_t::intern_calc_route():  Problem with heuristic:  from 6155,411,-3 to (6685,483,2) at 6254,401, best = 268947, cost = 44051, heur = 448190, dist = 465, turns = 403674
Warning: route_t::intern_calc_route():  Problem with heuristic:  from 6155,411,-3 to (6685,483,2) at 6253,401, best = 268947, cost = 43641, heur = 444100, dist = 466, turns = 399993
Warning: route_t::intern_calc_route():  Problem with heuristic:  from 6155,411,-3 to (6685,483,2) at 6252,401, best = 268947, cost = 43231, heur = 440010, dist = 467, turns = 396312
Warning: route_t::intern_calc_route():  Problem with heuristic:  from 6155,411,-3 to (6685,483,2) at 6251,401, best = 268947, cost = 42821, heur = 435920, dist = 468, turns = 392631
Warning: route_t::intern_calc_route():  Problem with heuristic:  from 6155,411,-3 to (6685,483,2) at 6250,401, best = 268947, cost = 42411, heur = 431830, dist = 469, turns = 388950
Warning: route_t::intern_calc_route():  Problem with heuristic:  from 6155,411,-3 to (6685,483,2) at 6249,401, best = 268947, cost = 42001, heur = 427740, dist = 470, turns = 385269
Warning: route_t::intern_calc_route():  Problem with heuristic:  from 6155,411,-3 to (6685,483,2) at 6248,401, best = 268947, cost = 41591, heur = 423650, dist = 471, turns = 381588
Warning: route_t::intern_calc_route():  Problem with heuristic:  from 6155,411,-3 to (6685,483,2) at 6247,401, best = 268947, cost = 41181, heur = 419560, dist = 472, turns = 377907
Warning: route_t::intern_calc_route():  Problem with heuristic:  from 6155,411,-3 to (6685,483,2) at 6246,401, best = 268947, cost = 40771, heur = 415470, dist = 473, turns = 374226
Warning: route_t::intern_calc_route():  Problem with heuristic:  from 6155,411,-3 to (6685,483,2) at 6245,401, best = 268947, cost = 40361, heur = 411380, dist = 474, turns = 370545
Warning: route_t::intern_calc_route():  Problem with heuristic:  from 6155,411,-3 to (6685,483,2) at 6244,401, best = 268947, cost = 39951, heur = 407290, dist = 475, turns = 366864
Warning: route_t::intern_calc_route():  Problem with heuristic:  from 6155,411,-3 to (6685,483,2) at 6243,401, best = 268947, cost = 39541, heur = 403200, dist = 476, turns = 363183
Warning: route_t::intern_calc_route():  Problem with heuristic:  from 6155,411,-3 to (6685,483,2) at 6242,401, best = 268947, cost = 39131, heur = 399110, dist = 477, turns = 359502
Warning: route_t::intern_calc_route():  Problem with heuristic:  from 6155,411,-3 to (6685,483,2) at 6241,401, best = 268947, cost = 38721, heur = 395020, dist = 478, turns = 355821
Warning: route_t::intern_calc_route():  Problem with heuristic:  from 6155,411,-3 to (6685,483,2) at 6240,401, best = 268947, cost = 38311, heur = 390930, dist = 479, turns = 352140
Warning: route_t::intern_calc_route():  Problem with heuristic:  from 6155,411,-3 to (6685,483,2) at 6239,401, best = 268947, cost = 37901, heur = 386840, dist = 480, turns = 348459
Warning: route_t::intern_calc_route():  Problem with heuristic:  from 6155,411,-3 to (6685,483,2) at 6238,401, best = 268947, cost = 37461, heur = 382480, dist = 481, turns = 344538
Warning: route_t::intern_calc_route():  Problem with heuristic:  from 6155,411,-3 to (6685,483,2) at 6237,401, best = 268947, cost = 37051, heur = 378390, dist = 482, turns = 340857
Warning: route_t::intern_calc_route():  Problem with heuristic:  from 6155,411,-3 to (6685,483,2) at 6237,402, best = 268947, cost = 36729, heur = 375140, dist = 482, turns = 337929
Warning: route_t::intern_calc_route():  Problem with heuristic:  from 6155,411,-3 to (6685,483,2) at 6236,402, best = 268947, cost = 36437, heur = 372230, dist = 483, turns = 335310
Warning: route_t::intern_calc_route():  Problem with heuristic:  from 6155,411,-3 to (6685,483,2) at 6235,402, best = 268947, cost = 36027, heur = 368140, dist = 484, turns = 331629
Warning: route_t::intern_calc_route():  Problem with heuristic:  from 6155,411,-3 to (6685,483,2) at 6234,402, best = 268947, cost = 35617, heur = 364050, dist = 485, turns = 327948
Warning: route_t::intern_calc_route():  Problem with heuristic:  from 6155,411,-3 to (6685,483,2) at 6233,402, best = 268947, cost = 35207, heur = 359960, dist = 486, turns = 324267
Warning: route_t::intern_calc_route():  Problem with heuristic:  from 6155,411,-3 to (6685,483,2) at 6232,402, best = 268947, cost = 34797, heur = 355870, dist = 487, turns = 320586
Warning: route_t::intern_calc_route():  Problem with heuristic:  from 6155,411,-3 to (6685,483,2) at 6231,402, best = 268947, cost = 34387, heur = 351780, dist = 488, turns = 316905
Warning: route_t::intern_calc_route():  Problem with heuristic:  from 6155,411,-3 to (6685,483,2) at 6230,402, best = 268947, cost = 33977, heur = 347690, dist = 489, turns = 313224
Warning: route_t::intern_calc_route():  Problem with heuristic:  from 6155,411,-3 to (6685,483,2) at 6229,402, best = 268947, cost = 33567, heur = 343600, dist = 490, turns = 309543
Warning: route_t::intern_calc_route():  Problem with heuristic:  from 6155,411,-3 to (6685,483,2) at 6228,402, best = 268947, cost = 33157, heur = 339510, dist = 491, turns = 305862
Warning: route_t::intern_calc_route():  Problem with heuristic:  from 6155,411,-3 to (6685,483,2) at 6227,402, best = 268947, cost = 32747, heur = 335420, dist = 492, turns = 302181
Warning: route_t::intern_calc_route():  Problem with heuristic:  from 6155,411,-3 to (6685,483,2) at 6226,402, best = 268947, cost = 32337, heur = 331330, dist = 493, turns = 298500
Warning: route_t::intern_calc_route():  Problem with heuristic:  from 6155,411,-3 to (6685,483,2) at 6225,402, best = 268947, cost = 31927, heur = 327240, dist = 494, turns = 294819
Warning: route_t::intern_calc_route():  Problem with heuristic:  from 6155,411,-3 to (6685,483,2) at 6224,402, best = 268947, cost = 31517, heur = 323150, dist = 495, turns = 291138
Warning: route_t::intern_calc_route():  Problem with heuristic:  from 6155,411,-3 to (6685,483,2) at 6223,402, best = 268947, cost = 31107, heur = 319060, dist = 496, turns = 287457
Warning: route_t::intern_calc_route():  Problem with heuristic:  from 6155,411,-3 to (6685,483,2) at 6222,402, best = 268947, cost = 30697, heur = 314970, dist = 497, turns = 283776
Warning: route_t::intern_calc_route():  Problem with heuristic:  from 6155,411,-3 to (6685,483,2) at 6221,402, best = 268947, cost = 30287, heur = 310880, dist = 498, turns = 280095
Warning: route_t::intern_calc_route():  Problem with heuristic:  from 6155,411,-3 to (6685,483,2) at 6220,402, best = 268947, cost = 29877, heur = 306790, dist = 499, turns = 276414
Warning: route_t::intern_calc_route():  Problem with heuristic:  from 6155,411,-3 to (6685,483,2) at 6219,402, best = 268947, cost = 29467, heur = 302700, dist = 500, turns = 272733
Warning: route_t::intern_calc_route():  Problem with heuristic:  from 6155,411,-3 to (6685,483,2) at 6218,402, best = 268947, cost = 29057, heur = 298610, dist = 501, turns = 269052
Warning: route_t::intern_calc_route():  Problem with heuristic:  from 6155,411,-3 to (6685,483,2) at 6217,402, best = 268947, cost = 28647, heur = 294520, dist = 502, turns = 265371
Warning: route_t::intern_calc_route():  Problem with heuristic:  from 6155,411,-3 to (6685,483,2) at 6216,402, best = 268947, cost = 28237, heur = 290430, dist = 503, turns = 261690
Warning: route_t::intern_calc_route():  Problem with heuristic:  from 6155,411,-3 to (6685,483,2) at 6215,402, best = 268947, cost = 27827, heur = 286340, dist = 504, turns = 258009
Warning: route_t::intern_calc_route():  Problem with heuristic:  from 6155,411,-3 to (6685,483,2) at 6214,402, best = 268947, cost = 27417, heur = 282250, dist = 505, turns = 254328
Warning: route_t::intern_calc_route():  Problem with heuristic:  from 6155,411,-3 to (6685,483,2) at 6213,402, best = 268947, cost = 27007, heur = 278160, dist = 506, turns = 250647
Warning: route_t::intern_calc_route():  Problem with heuristic:  from 6155,411,-3 to (6685,483,2) at 6212,402, best = 268947, cost = 26597, heur = 274070, dist = 507, turns = 246966
Warning: route_t::intern_calc_route():  Problem with heuristic:  from 6155,411,-3 to (6685,483,2) at 6211,402, best = 268947, cost = 26187, heur = 269980, dist = 508, turns = 243285

Screenshot of tile in debug log
It's probably irrelevant, since deleting this convoy does not prevent the crash.
Open in new tab or click through to Imgur to zoom in.


Observations

Shortly afterwards, the listserver reported that the server was running and another client was connected, which suggests that some other players were not affected. Reports from other players would be helpful.
(Signature being tested) If you enjoy playing Simutrans, then you might also enjoy watching Japan Railway Journal
Available in English and simplified Chinese
如果您喜欢玩Simutrans的话,那么说不定就想看《日本铁路之旅》(英语也有简体中文字幕)。

jamespetts

Quote from: Matthew on March 22, 2023, 08:32:46 PMSteps to reproduce

0. Possibly on Linux only - will try Windows later
1. Run the current official Simutrans-Extended executable #d16d1d7
2. Load this Bridgewater-Brunel savegame (but this bug was originally found by connecting the client to B-B, where it occurred a couple of times)
3. Wait a few minutes.

Expected behaviour

Game is playable.

Actual behaviour

Client soft crashes with the following error message:

Backtrace from debug version

Thread 1 "simutrans-exten" received signal SIGINT, Interrupt.
0x00007ffff7789868 in __GI___clock_nanosleep (clock_id=clock_id@entry=0, flags=flags@entry=0, req=0x7fffffff97b0, rem=0x7fffffff97c0) at ../sysdeps/unix/sysv/linux/clock_nanosleep.c:78
78      ../sysdeps/unix/sysv/linux/clock_nanosleep.c: No such file or directory.
(gdb) bt
#0  0x00007ffff7789868 in __GI___clock_nanosleep (clock_id=clock_id@entry=0, flags=flags@entry=0, req=0x7fffffff97b0, rem=0x7fffffff97c0) at ../sysdeps/unix/sysv/linux/clock_nanosleep.c:78
#1  0x00007ffff778e6e7 in __GI___nanosleep (req=<optimised out>, rem=<optimised out>) at ../sysdeps/unix/sysv/linux/nanosleep.c:25
#2  0x00007ffff7c3693b in ?? () from /lib/x86_64-linux-gnu/libSDL2-2.0.so.0
#3  0x0000555555c21542 in dr_sleep (usec=50) at sys/simsys_s2.cc:1004
#4  0x0000555555b98c8d in log_t::fatal (this=0x555555f9a5a0, who=0x555555c2aff3 "vector_tpl<T>::[]", format=0x555555c2afc8 "%s: index out of bounds: %lu not in 0..%lu") at utils/log.cc:313
#5  0x00005555556f23aa in vector_tpl<ordered_vector_tpl<koord, unsigned int> >::operator[] (this=0x555555e06ff0 <weg_t::private_car_route_map::route_maps+16>, i=7735) at boden/wege/../../obj/../dataobj/../tpl/vector_tpl.h:280
#6  0x00005555556effc4 in weg_t::private_car_route_map::contains (this=0x5555c329fe0c, elem=...) at boden/wege/weg.cc:1616
#7  0x00005555556f1479 in weg_t::get_next_on_private_car_route_to (this=0x5555c329fd70, dest=..., reading_set=true, startdir=0 '\000') at boden/wege/weg.cc:1932
#8  0x00005555556f15f9 in weg_t::has_private_car_route (this=0x5555c329fd70, dest=...) at boden/wege/weg.cc:1943
#9  0x0000555555bc626d in private_car_t::hop_check (this=0x5555c2d3f0c0) at vehicle/simroadtraffic.cc:1046
#10 0x0000555555bcc7f2 in vehicle_base_t::do_drive (this=0x5555c2d3f0c0, distance=13376) at vehicle/vehicle.cc:330
#11 0x0000555555bc3c2d in private_car_t::sync_step (this=0x5555c2d3f0c0, delta_t=58) at vehicle/simroadtraffic.cc:543
#12 0x0000555555b6da2d in karte_t::sync_list_t::sync_step (this=0x55557be183a0, delta_t=58) at simworld.cc:4837
#13 0x0000555555b6dc9f in karte_t::sync_step (this=0x55557be12cb0, delta_t=58, do_sync_step=true, display=true) at simworld.cc:4910
#14 0x0000555555af58d9 in interrupt_check (caller_info=0x555555c6d647 "simworld.cc:11432") at simintr.cc:111
#15 0x0000555555b86bae in karte_t::interactive (this=0x55557be12cb0, quit_month=2147483647) at simworld.cc:11432
#16 0x0000555555b03f77 in simu_main (argc=5, argv=0x7fffffffdd98) at simmain.cc:1705
#17 0x0000555555b954f5 in sysmain (argc=5, argv=0x7fffffffdd98) at sys/simsys.cc:1105
#18 0x0000555555c21810 in main (argc=5, argv=0x7fffffffdd98) at sys/simsys_s2.cc:1107

Debug level 5 log

The following entries always appear in the log immediately before the crash:

Warning: route_t::intern_calc_route():  Problem with heuristic:  from 6155,411,-3 to (6685,483,2) at 6257,401, best = 268947, cost = 45281, heur = 460460, dist = 462, turns = 414717
Warning: route_t::intern_calc_route():  Problem with heuristic:  from 6155,411,-3 to (6685,483,2) at 6256,401, best = 268947, cost = 44871, heur = 456370, dist = 463, turns = 411036
Warning: route_t::intern_calc_route():  Problem with heuristic:  from 6155,411,-3 to (6685,483,2) at 6255,401, best = 268947, cost = 44461, heur = 452280, dist = 464, turns = 407355
Warning: route_t::intern_calc_route():  Problem with heuristic:  from 6155,411,-3 to (6685,483,2) at 6254,401, best = 268947, cost = 44051, heur = 448190, dist = 465, turns = 403674
Warning: route_t::intern_calc_route():  Problem with heuristic:  from 6155,411,-3 to (6685,483,2) at 6253,401, best = 268947, cost = 43641, heur = 444100, dist = 466, turns = 399993
Warning: route_t::intern_calc_route():  Problem with heuristic:  from 6155,411,-3 to (6685,483,2) at 6252,401, best = 268947, cost = 43231, heur = 440010, dist = 467, turns = 396312
Warning: route_t::intern_calc_route():  Problem with heuristic:  from 6155,411,-3 to (6685,483,2) at 6251,401, best = 268947, cost = 42821, heur = 435920, dist = 468, turns = 392631
Warning: route_t::intern_calc_route():  Problem with heuristic:  from 6155,411,-3 to (6685,483,2) at 6250,401, best = 268947, cost = 42411, heur = 431830, dist = 469, turns = 388950
Warning: route_t::intern_calc_route():  Problem with heuristic:  from 6155,411,-3 to (6685,483,2) at 6249,401, best = 268947, cost = 42001, heur = 427740, dist = 470, turns = 385269
Warning: route_t::intern_calc_route():  Problem with heuristic:  from 6155,411,-3 to (6685,483,2) at 6248,401, best = 268947, cost = 41591, heur = 423650, dist = 471, turns = 381588
Warning: route_t::intern_calc_route():  Problem with heuristic:  from 6155,411,-3 to (6685,483,2) at 6247,401, best = 268947, cost = 41181, heur = 419560, dist = 472, turns = 377907
Warning: route_t::intern_calc_route():  Problem with heuristic:  from 6155,411,-3 to (6685,483,2) at 6246,401, best = 268947, cost = 40771, heur = 415470, dist = 473, turns = 374226
Warning: route_t::intern_calc_route():  Problem with heuristic:  from 6155,411,-3 to (6685,483,2) at 6245,401, best = 268947, cost = 40361, heur = 411380, dist = 474, turns = 370545
Warning: route_t::intern_calc_route():  Problem with heuristic:  from 6155,411,-3 to (6685,483,2) at 6244,401, best = 268947, cost = 39951, heur = 407290, dist = 475, turns = 366864
Warning: route_t::intern_calc_route():  Problem with heuristic:  from 6155,411,-3 to (6685,483,2) at 6243,401, best = 268947, cost = 39541, heur = 403200, dist = 476, turns = 363183
Warning: route_t::intern_calc_route():  Problem with heuristic:  from 6155,411,-3 to (6685,483,2) at 6242,401, best = 268947, cost = 39131, heur = 399110, dist = 477, turns = 359502
Warning: route_t::intern_calc_route():  Problem with heuristic:  from 6155,411,-3 to (6685,483,2) at 6241,401, best = 268947, cost = 38721, heur = 395020, dist = 478, turns = 355821
Warning: route_t::intern_calc_route():  Problem with heuristic:  from 6155,411,-3 to (6685,483,2) at 6240,401, best = 268947, cost = 38311, heur = 390930, dist = 479, turns = 352140
Warning: route_t::intern_calc_route():  Problem with heuristic:  from 6155,411,-3 to (6685,483,2) at 6239,401, best = 268947, cost = 37901, heur = 386840, dist = 480, turns = 348459
Warning: route_t::intern_calc_route():  Problem with heuristic:  from 6155,411,-3 to (6685,483,2) at 6238,401, best = 268947, cost = 37461, heur = 382480, dist = 481, turns = 344538
Warning: route_t::intern_calc_route():  Problem with heuristic:  from 6155,411,-3 to (6685,483,2) at 6237,401, best = 268947, cost = 37051, heur = 378390, dist = 482, turns = 340857
Warning: route_t::intern_calc_route():  Problem with heuristic:  from 6155,411,-3 to (6685,483,2) at 6237,402, best = 268947, cost = 36729, heur = 375140, dist = 482, turns = 337929
Warning: route_t::intern_calc_route():  Problem with heuristic:  from 6155,411,-3 to (6685,483,2) at 6236,402, best = 268947, cost = 36437, heur = 372230, dist = 483, turns = 335310
Warning: route_t::intern_calc_route():  Problem with heuristic:  from 6155,411,-3 to (6685,483,2) at 6235,402, best = 268947, cost = 36027, heur = 368140, dist = 484, turns = 331629
Warning: route_t::intern_calc_route():  Problem with heuristic:  from 6155,411,-3 to (6685,483,2) at 6234,402, best = 268947, cost = 35617, heur = 364050, dist = 485, turns = 327948
Warning: route_t::intern_calc_route():  Problem with heuristic:  from 6155,411,-3 to (6685,483,2) at 6233,402, best = 268947, cost = 35207, heur = 359960, dist = 486, turns = 324267
Warning: route_t::intern_calc_route():  Problem with heuristic:  from 6155,411,-3 to (6685,483,2) at 6232,402, best = 268947, cost = 34797, heur = 355870, dist = 487, turns = 320586
Warning: route_t::intern_calc_route():  Problem with heuristic:  from 6155,411,-3 to (6685,483,2) at 6231,402, best = 268947, cost = 34387, heur = 351780, dist = 488, turns = 316905
Warning: route_t::intern_calc_route():  Problem with heuristic:  from 6155,411,-3 to (6685,483,2) at 6230,402, best = 268947, cost = 33977, heur = 347690, dist = 489, turns = 313224
Warning: route_t::intern_calc_route():  Problem with heuristic:  from 6155,411,-3 to (6685,483,2) at 6229,402, best = 268947, cost = 33567, heur = 343600, dist = 490, turns = 309543
Warning: route_t::intern_calc_route():  Problem with heuristic:  from 6155,411,-3 to (6685,483,2) at 6228,402, best = 268947, cost = 33157, heur = 339510, dist = 491, turns = 305862
Warning: route_t::intern_calc_route():  Problem with heuristic:  from 6155,411,-3 to (6685,483,2) at 6227,402, best = 268947, cost = 32747, heur = 335420, dist = 492, turns = 302181
Warning: route_t::intern_calc_route():  Problem with heuristic:  from 6155,411,-3 to (6685,483,2) at 6226,402, best = 268947, cost = 32337, heur = 331330, dist = 493, turns = 298500
Warning: route_t::intern_calc_route():  Problem with heuristic:  from 6155,411,-3 to (6685,483,2) at 6225,402, best = 268947, cost = 31927, heur = 327240, dist = 494, turns = 294819
Warning: route_t::intern_calc_route():  Problem with heuristic:  from 6155,411,-3 to (6685,483,2) at 6224,402, best = 268947, cost = 31517, heur = 323150, dist = 495, turns = 291138
Warning: route_t::intern_calc_route():  Problem with heuristic:  from 6155,411,-3 to (6685,483,2) at 6223,402, best = 268947, cost = 31107, heur = 319060, dist = 496, turns = 287457
Warning: route_t::intern_calc_route():  Problem with heuristic:  from 6155,411,-3 to (6685,483,2) at 6222,402, best = 268947, cost = 30697, heur = 314970, dist = 497, turns = 283776
Warning: route_t::intern_calc_route():  Problem with heuristic:  from 6155,411,-3 to (6685,483,2) at 6221,402, best = 268947, cost = 30287, heur = 310880, dist = 498, turns = 280095
Warning: route_t::intern_calc_route():  Problem with heuristic:  from 6155,411,-3 to (6685,483,2) at 6220,402, best = 268947, cost = 29877, heur = 306790, dist = 499, turns = 276414
Warning: route_t::intern_calc_route():  Problem with heuristic:  from 6155,411,-3 to (6685,483,2) at 6219,402, best = 268947, cost = 29467, heur = 302700, dist = 500, turns = 272733
Warning: route_t::intern_calc_route():  Problem with heuristic:  from 6155,411,-3 to (6685,483,2) at 6218,402, best = 268947, cost = 29057, heur = 298610, dist = 501, turns = 269052
Warning: route_t::intern_calc_route():  Problem with heuristic:  from 6155,411,-3 to (6685,483,2) at 6217,402, best = 268947, cost = 28647, heur = 294520, dist = 502, turns = 265371
Warning: route_t::intern_calc_route():  Problem with heuristic:  from 6155,411,-3 to (6685,483,2) at 6216,402, best = 268947, cost = 28237, heur = 290430, dist = 503, turns = 261690
Warning: route_t::intern_calc_route():  Problem with heuristic:  from 6155,411,-3 to (6685,483,2) at 6215,402, best = 268947, cost = 27827, heur = 286340, dist = 504, turns = 258009
Warning: route_t::intern_calc_route():  Problem with heuristic:  from 6155,411,-3 to (6685,483,2) at 6214,402, best = 268947, cost = 27417, heur = 282250, dist = 505, turns = 254328
Warning: route_t::intern_calc_route():  Problem with heuristic:  from 6155,411,-3 to (6685,483,2) at 6213,402, best = 268947, cost = 27007, heur = 278160, dist = 506, turns = 250647
Warning: route_t::intern_calc_route():  Problem with heuristic:  from 6155,411,-3 to (6685,483,2) at 6212,402, best = 268947, cost = 26597, heur = 274070, dist = 507, turns = 246966
Warning: route_t::intern_calc_route():  Problem with heuristic:  from 6155,411,-3 to (6685,483,2) at 6211,402, best = 268947, cost = 26187, heur = 269980, dist = 508, turns = 243285

Screenshot of tile in debug log
It's probably irrelevant, since deleting this convoy does not prevent the crash.
Open in new tab or click through to Imgur to zoom in.


Observations

Shortly afterwards, the listserver reported that the server was running and another client was connected, which suggests that some other players were not affected. Reports from other players would be helpful.

Thank you for your report. I believe that I have fixed this. I should be grateful if you could re-test with the next nightly build.
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.

Matthew

This bug appears to be fixed with this morning's build #f1c0de6. Thank you, James! Private cars & carriages makes Sim-Ex a better game as no one is safe from competition.
(Signature being tested) If you enjoy playing Simutrans, then you might also enjoy watching Japan Railway Journal
Available in English and simplified Chinese
如果您喜欢玩Simutrans的话,那么说不定就想看《日本铁路之旅》(英语也有简体中文字幕)。