OpenTTD

Tasklist

FS#6112 - Crash on server join

Attached to Project: OpenTTD
Opened by Mingwei Samuel (Hazzard) - Sunday, 14 September 2014, 05:29 GMT
Last edited by Remko Bijker (Rubidium) - Sunday, 14 September 2014, 15:26 GMT
Type Bug
Category Core
Status Closed
Assigned To No-one
Operating System All
Severity Low
Priority Normal
Reported Version 1.4.3-RC1
Due in Version 1.4.3
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Crashes when finished downloading multiplayer map, only seems to happen on the OpenTTDCoop welcome server: http://www.openttdcoop.org/?page=servers&s=stable

Running win7 64 bit
Crash happened in the 64, 32, and 9x versions of openttd (only tried zip archives)
   crash.png (857.8 KiB)
   crash.log (11.8 KiB)
(application/octet-stream)    crash.dmp (6.67 MiB)
This task depends upon

Closed by  Remko Bijker (Rubidium)
Sunday, 14 September 2014, 15:26 GMT
Reason for closing:  Fixed
Additional comments about closing:  In r26819
Comment by Remko Bijker (Rubidium) - Sunday, 14 September 2014, 08:33 GMT
  • Field changed: Due in Version (Undecided → 1.4.3)
STACK_TEXT:
00000000`0019e400 00000001`3fd10dd4 : 00000000`0217c280 00000000`00000000 00000001`4073d760 00000000`00000000 : openttd!OrderBackup::`scalar deleting destructor'+0x3e
00000000`0019e440 00000001`3fd131c8 : 00000000`00000001 00000000`424b4f52 00000001`4073ffc0 00000001`4073b9c8 : openttd!Load_BKOR+0x17c [c:\bamboo-agent-home\xml-data\build-dir\ottd-rls-w64bit\src\saveload\order_sl.cpp @ 302]
00000000`0019e470 00000001`3fd14adc : 00000001`4084b6f8 00000000`00000000 00000000`00000000 00000001`4084b720 : openttd!SlLoadChunks+0x190 [c:\bamboo-agent-home\xml-data\build-dir\ottd-rls-w64bit\src\saveload\saveload.cpp @ 1788]
00000000`0019e4b0 00000001`3fd14bfb : 0000bc00`5854544f 00000000`0edcda90 00000000`00000000 00000000`0019ee38 : openttd!DoLoad+0x200 [c:\bamboo-agent-home\xml-data\build-dir\ottd-rls-w64bit\src\saveload\saveload.cpp @ 2677]
00000000`0019e530 00000001`3fb84229 : 00000000`0edcda90 00000000`0ee34da8 00000000`0000003c 00000000`0019ee38 : openttd!LoadWithFilter+0x1b [c:\bamboo-agent-home\xml-data\build-dir\ottd-rls-w64bit\src\saveload\saveload.cpp @ 2712]
00000000`0019e570 00000001`3fddc03b : 00000000`0ee34da8 00000000`0ee34da8 00000000`0019f200 00000001`00000000 : openttd!ClientNetworkGameSocketHandler::Receive_SERVER_MAP_DONE+0x7d [c:\bamboo-agent-home\xml-data\build-dir\ottd-rls-w64bit\src\network\network_client.cpp @ 837]
00000000`0019efa0 00000001`3fddc322 : 00000000`00000000 00000000`0ee34da8 00000000`00000000 00000000`041024e3 : openttd!NetworkGameSocketHandler::HandlePacket+0x22f [c:\bamboo-agent-home\xml-data\build-dir\ottd-rls-w64bit\src\network\core\tcp_game.cpp @ 86]
00000000`0019efd0 00000001`3fb7ef5c : 00000000`00000000 00000000`041024e3 00000000`0e858c80 00000000`0e858c80 : openttd!NetworkGameSocketHandler::ReceivePackets+0x22 [c:\bamboo-agent-home\xml-data\build-dir\ottd-rls-w64bit\src\network\core\tcp_game.cpp @ 136]
00000000`0019f000 00000001`3fb929f9 : 00000000`04102400 00000000`041024e3 00000000`00000000 00000000`00000000 : openttd!NetworkGameLoop+0x50 [c:\bamboo-agent-home\xml-data\build-dir\ottd-rls-w64bit\src\network\network.cpp @ 860]
00000000`0019f040 00000001`3fe1e055 : 00000000`041024e3 00000000`0019f200 00000000`041024d3 00000000`041024d3 : openttd!GameLoop+0xe9 [c:\bamboo-agent-home\xml-data\build-dir\ottd-rls-w64bit\src\openttd.cpp @ 1462]
00000000`0019f150 00000001`3fb9070f : 00000000`00000000 00000000`0019f2e0 00000000`00000000 00000000`00000000 : openttd!VideoDriver_Win32::MainLoop+0x3c5 [c:\bamboo-agent-home\xml-data\build-dir\ottd-rls-w64bit\src\video\win32_v.cpp @ 1290]
00000000`0019f1e0 00000001`3fe206fb : 00000000`00000000 00000000`0019f510 00000000`00000001 00000000`00000000 : openttd!openttd_main+0xeaf [c:\bamboo-agent-home\xml-data\build-dir\ottd-rls-w64bit\src\openttd.cpp @ 856]
00000000`0019f4f0 00000001`3ff0ccd4 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : openttd!WinMain+0x13f [c:\bamboo-agent-home\xml-data\build-dir\ottd-rls-w64bit\src\os\windows\win32.cpp @ 452]
00000000`0019fbf0 00000000`777659ed : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : openttd!__tmainCRTStartup+0x154 [f:\dd\vctools\crt_bld\self_64_amd64\crt\src\crt0.c @ 275]
00000000`0019fca0 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : kernel32+0x159ed

By the looks of it, the clients will always crash when trying to load a savegame with stored order backups. Mostly because a pointer that has not been restored is referenced.
Comment by David Dallaston (Pikka) - Sunday, 14 September 2014, 14:59 GMT
Is this the same crash? It happened in the same circumstances, while trying to join this server.

Loading...