Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash on random map generation in multiplayer #4208

Closed
DorpsGek opened this issue Nov 7, 2010 · 9 comments
Closed

Crash on random map generation in multiplayer #4208

DorpsGek opened this issue Nov 7, 2010 · 9 comments
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)

Comments

@DorpsGek
Copy link
Member

DorpsGek commented Nov 7, 2010

Alkel_U3 opened the ticket and wrote:

When I start a multiplayer server (LAN/Internet) and have a new map generated, the game crashes every time I click the Generate map button, right when the map generation progress bar should appear.

(using Windows XP SP2, the oldest version I had on my computer which behaved this way was 1.0.0)

Attachments

Reported version: 1.0.5-RC1
Operating system: Windows


This issue was imported from FlySpray: https://bugs.openttd.org/task/4208
@DorpsGek
Copy link
Member Author

DorpsGek commented Nov 7, 2010

glx wrote:

Attached crash.log is from 1.0.4, crash.dmp is from 1.0.5-RC1

Log from the dmp:

Crash at: Sun Nov 07 21:46:48 2010
In game date: 1874-01-01 (0)

Crash reason:
Exception: C0000005
Location: 0051DC41
Message:

OpenTTD version:
Version: 1.0.5-RC1 (0)
NewGRF ver: 10505248
Bits: 32
Endian: little
Dedicated: no
Build date: Oct 31 2010 15:08:08

Registers:
EAX: 00000000 EBX: 00000007 ECX: 01BCD504 EDX: 00000000
ESI: 00000000 EDI: 00000000 EBP: 0012FB00 ESP: 0012FACC
EIP: 0051DC41 EFLAGS: 00010246

Bytes at instruction pointer:
8B 86 40 02 00 00 85 C0 74 12 57 8B 78 0C 50 E8 5B 9F 0B 00 59 8B C7 85

Stack trace:
005250A8 02017062 005251FC 0012FB20 006D371C 00000007 0012FB4C 0012FB30
0000000A 00000088 02017062 FFFFFFFF 0A6D392C 0012FB4C 00527F30 00000009
0012FB6C 00000009 005E1B40 00C545F8 00C54608 00C545F8 00C54608 0200434A
00000011 01D35958 01D35959 006F4420 0012FB08 0012FB7C 005FB5B7 00000000
0012FB88 00528131 01D35950 00000009 00000003 01C757F0 00000002 00000003
01D35950 000000FC F01C34FF 00527FBD 0012FC3C 005FAFB0 00000000 0012FBC4
00528B91 01C757F0 00000003 00DF0DF0 01C8C890 01B9D540 0012FC3C 6F5FAFB0
0000000A 00000752 000A71B1 00000000 00000000 01B9D540 0012FBE8 0041B842
00000004 00000001 00000752 00000000 005D7C3D 01C8C890 00000004 0012FC08
0041B883 0069DC7D 004192C1 00000001 00000001 00000000 00000000 0012FC48
0042B6CF 00000200 00000001 00000001 0042BA4B 00000000 00000001 0290CBA9
0290CBB3 00000000 0012FC3C 0012FC3C 0012FFB0 005FBF84 FFFFFFFF 00000000
0042C56C 00000001 00000000 005512C9 0072428C 00000000 0012FD14 00000000
0012FC58 0290CBB3 0290CBD1 00000000 00000000 003F04A2 00000201 00000021
020B02F3 0290CB95 000002F3 00000223 0042B4D4 0012FD2C 0012FE30 00000001
01000032 00E5C598 00000000 00000000 00000000 00000000 FFFFFFFF 00000000
0000FDE9 00000000 00000000 00000000 00000000 FFFFFFFF 00000000 00000000
00000000 0012FF30 00000000 00000000 00000000 FFFFFFFF 0012FE34 006B2228
00000000 00000000 0012FF30 0055303C 00000001 0012FE30 FFFFFFFE 00000000
5C3A4922 5C797248 5C4E4957 6E65704F 5C445454 4454544F 302E315F 522D352E
6F5C3143 746E6570 652E6474 20006578 00000000 00C56E50 00C50178 00C573C8
00C50178 00000004 00C573B0 00000000 00C50178 00C50178 00C50178 00C50178
00C573C0 00C50168 00000000 00000000 00C573C0 00000020 00C573C8 00C56E48
00C50178 00000020 00000178 00C50000 0012FBB4 00C50178 0012FE7C 7C90EE18

Operating system:
Name: Windows
Release: 5.1.2600 (Service Pack 2)
Compiler: MSVC 1500

Configuration:
Blitter: 8bpp-optimized
Graphics set: original_windows (0)
Language: czech.lng
Music driver: dmusic
Music set: original_windows (1)
Network: server
Sound driver: win32
Sound set: OpenSFX (87)
Video driver: win32

AI Configuration (local: 255):

Libraries:
FreeType: 2.4.3
ICU: 4.4.2
LZO: 2.03
PNG: 1.4.4
Zlib: 1.2.5

Module information:
I:\Hry\WIN\OpenTTD\OTTD_1.0.5-RC1\openttd.exe handle: 00400000 size: 3217408 crc: 3AD7A864 date: 2010-10-31 14:13:08
C:\WINDOWS\system32\ntdll.dll handle: 7C900000 size: 702976 crc: 8AD07FC0 date: 2004-08-17 13:48:58
C:\WINDOWS\system32\kernel32.dll handle: 7C800000 size: 982016 crc: 265C4B20 date: 2004-08-17 13:49:10
C:\WINDOWS\system32\WINMM.dll handle: 76B30000 size: 174592 crc: C1DD6CED date: 2004-08-17 13:49:22
C:\WINDOWS\system32\USER32.dll handle: 77D30000 size: 577024 crc: 3A6EA962 date: 2004-08-17 13:49:20
C:\WINDOWS\system32\GDI32.dll handle: 77F10000 size: 278016 crc: 1E8FEFC2 date: 2004-08-17 13:49:08
C:\WINDOWS\system32\ADVAPI32.dll handle: 77DC0000 size: 683520 crc: 6B3A0E70 date: 2004-08-17 13:49:02
C:\WINDOWS\system32\RPCRT4.dll handle: 77E70000 size: 581120 crc: 125D007F date: 2004-08-17 13:49:18
C:\WINDOWS\system32\WS2_32.dll handle: 71A90000 size: 82944 crc: FFA4CF1E date: 2004-08-17 13:49:22
C:\WINDOWS\system32\msvcrt.dll handle: 77C00000 size: 343040 crc: 6A2686C9 date: 2004-08-17 13:49:14
C:\WINDOWS\system32\WS2HELP.dll handle: 71A80000 size: 19968 crc: 4AC7C8FE date: 2004-08-17 13:49:22
C:\WINDOWS\system32\SHELL32.dll handle: 7C9C0000 size: 8388096 crc: BABCA423 date: 2004-08-17 13:49:18
C:\WINDOWS\system32\SHLWAPI.dll handle: 77F60000 size: 473600 crc: D62FF57E date: 2004-08-17 13:49:18
C:\WINDOWS\system32\IMM32.DLL handle: 76370000 size: 110080 crc: A4C51EE2 date: 2004-08-17 13:49:10
C:\WINDOWS\system32\myokent.dll handle: 003A0000 size: 39936 crc: 287A118E date: 2007-09-23 16:18:50
C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2180_x-ww_a84f1ff9\comctl32.dll handle: 773C0000 size: 1050624 crc: 834CC0E3 date: 2004-08-17 13:48:02
C:\WINDOWS\system32\comctl32.dll handle: 5D5A0000 size: 611328 crc: D38922FD date: 2004-08-17 13:49:04
C:\WINDOWS\system32\SHFolder.dll handle: 76770000 size: 25088 crc: F211D8FF date: 2004-08-17 13:49:18
C:\WINDOWS\system32\wdmaud.drv handle: 72CE0000 size: 23552 crc: EBECCDA4 date: 2004-08-17 13:57:28
C:\WINDOWS\system32\WINTRUST.dll handle: 76C20000 size: 176640 crc: 40693C80 date: 2004-08-17 13:49:22
C:\WINDOWS\system32\CRYPT32.dll handle: 77A70000 size: 600576 crc: E19980D6 date: 2004-08-17 13:49:04
C:\WINDOWS\system32\MSASN1.dll handle: 77B10000 size: 57344 crc: F07BCC59 date: 2004-08-17 13:49:12
C:\WINDOWS\system32\IMAGEHLP.dll handle: 76C80000 size: 144384 crc: 20A7ACDC date: 2004-08-17 13:49:10
C:\WINDOWS\system32\msacm32.drv handle: 72CD0000 size: 20480 crc: D2823952 date: 2001-10-25 14:00:00
C:\WINDOWS\system32\MSACM32.dll handle: 77BD0000 size: 71680 crc: D3683295 date: 2004-08-17 13:49:12
C:\WINDOWS\system32\midimap.dll handle: 77BC0000 size: 18944 crc: D659D067 date: 2004-08-17 13:49:12
C:\WINDOWS\system32\uxtheme.dll handle: 5B250000 size: 219648 crc: D22F3AE6 date: 2004-08-17 13:49:20
C:\Program Files\Common Files\Motive\McciContextHook_6-1-0_DSR.dll handle: 63000000 size: 198144 crc: 37124058 date: 2008-04-10 18:11:48
C:\WINDOWS\system32\ole32.dll handle: 774D0000 size: 1281024 crc: 613064BA date: 2004-08-17 13:49:16
C:\WINDOWS\system32\MSCTF.dll handle: 746F0000 size: 294400 crc: E1B54328 date: 2004-08-17 13:49:12
C:\WINDOWS\system32\msctfime.ime handle: 751A0000 size: 177152 crc: E8CFA9FB date: 2004-08-17 13:48:22
C:\WINDOWS\system32\CLBCATQ.DLL handle: 76FC0000 size: 501248 crc: 68F3F308 date: 2004-08-17 13:49:04
C:\WINDOWS\system32\OLEAUT32.dll handle: 77110000 size: 553472 crc: 06FB770B date: 2004-08-17 13:49:16
C:\WINDOWS\system32\COMRes.dll handle: 77040000 size: 806912 crc: ECC3A078 date: 2004-08-17 13:49:04
C:\WINDOWS\system32\VERSION.dll handle: 77BF0000 size: 18944 crc: 07A7952F date: 2004-08-17 13:49:20
C:\WINDOWS\system32\dmime.dll handle: 60D60000 size: 181248 crc: F1F24A6B date: 2004-08-17 13:49:06
C:\WINDOWS\system32\DSOUND.dll handle: 73ED0000 size: 367616 crc: AA126B1F date: 2004-08-17 13:49:06
C:\WINDOWS\system32\dmusic.dll handle: 6CF00000 size: 104448 crc: A279DE73 date: 2004-08-17 13:49:06
C:\WINDOWS\system32\KsUser.dll handle: 73EA0000 size: 4096 crc: A00D5272 date: 2004-08-17 14:49:10
C:\WINDOWS\system32\dmsynth.dll handle: 6CF20000 size: 103424 crc: 0C61433F date: 2004-08-17 13:49:06
C:\WINDOWS\system32\dmloader.dll handle: 6CF90000 size: 35840 crc: C427F6C0 date: 2004-08-17 13:49:06
C:\WINDOWS\system32\mswsock.dll handle: 71A30000 size: 247296 crc: B38CA7EE date: 2004-08-17 13:49:14
C:\WINDOWS\system32\hnetcfg.dll handle: 698B0000 size: 345088 crc: 31FEBF7B date: 2004-08-17 13:49:08
C:\WINDOWS\System32\wshtcpip.dll handle: 71A70000 size: 19968 crc: 1F23F4FE date: 2004-08-17 13:49:22
C:\WINDOWS\System32\wship6.dll handle: 58EF0000 size: 14336 crc: D1D8731E date: 2004-08-17 13:49:22
C:\WINDOWS\system32\psapi.dll handle: 76BE0000 size: 23040 crc: 1FA9C6D7 date: 2004-08-17 13:49:16

---- gamelog start ----
Tick 0: new game started
Revision text changed to 1.0.5-RC1, savegame version 138, not modified, _openttd_newgrf_version = 0x10505248
New game mode: 1 landscape: 0
Added NewGRF: GRF ID 45520003, checksum 0E5A15E514FDDC1C20721912BE8F6CF1, filename: pgs-silvw.grf
Added NewGRF: GRF ID 45520001, checksum 4F6DAB25CE0EA99584803A4C3AE77143, filename: pgs-subuw.grf
Added NewGRF: GRF ID 504E0002, checksum 6E6944E09CE6C3AC130DF72C542EE4B1, filename: buffers.grf
Added NewGRF: GRF ID 45520101, checksum 37E00D26B29004DCCFE545F5EFE7C211, filename: baretilesw.grf
Added NewGRF: GRF ID 54570200, checksum ABF92A68DC086E5918C94C37C5B251FA, filename: usstatsw.grf
Added NewGRF: GRF ID 4A430002, checksum 0728ADCB4DF2F1EB9247ABD449296F4E, filename: indstatr_v0.8_w.grf
Added NewGRF: GRF ID 6D620601, checksum 44EB2F155862E4D4F0AB671D7021AF54, filename: newstatsw.grf
Added NewGRF: GRF ID 504E0001, checksum E7781323D2B0086E2E76342DAA036054, filename: ukwaypointsw.grf
Added NewGRF: GRF ID 44440302, checksum 439275017478C2E5E7AA25F5E191903D, filename: nars2w.grf
Added NewGRF: GRF ID 52571201, checksum C1C7D8C53EB7E74EEE2F0EF29638B466, filename: egrvts.grf
Added NewGRF: GRF ID 6D620004, checksum 70649F1AFC954942173B0AA89C1E8B14, filename: newshipsw.grf
Added NewGRF: GRF ID 44440A01, checksum EFEE1435093730D3DA55BDF69653CADC, filename: pb_av8w.grf
Added NewGRF: GRF ID 74677462, checksum A2396FFDCC0F1BA37A2A89EF525CDF21, filename: total_bridges.grf
Added NewGRF: GRF ID 44442411, checksum BE9A79F60827058108F4FD1700833886, filename: tai_uk_houses.0.2\tai_uk.grf
---- gamelog end ----

*** End of OpenTTD Crash Report ***


This comment was imported from FlySpray: https://bugs.openttd.org/task/4208#comment9035

@DorpsGek
Copy link
Member Author

DorpsGek commented Nov 7, 2010

Alkel_U3 wrote:

Sorry about that, I messed something up. I crashed it again and here are 1.0.5 RC1-produced files only

Attachments


This comment was imported from FlySpray: https://bugs.openttd.org/task/4208#comment9036

@DorpsGek
Copy link
Member Author

DorpsGek commented Nov 7, 2010

glx wrote:

openttd.exe!ClearTemporaryNewGRFData(GRFFile * gf) Ligne 268 C++
openttd.exe!DisableStaticNewGRFInfluencingNonStaticNewGRFs(GRFConfig * c) Ligne 4408 C++
openttd.exe!SkipIf(ByteReader * buf) Ligne 4467 C++
openttd.exe!DecodeSpecialSprite(unsigned char * buf, unsigned int num, GrfLoadingStage stage) Ligne 65535 C++
openttd.exe!LoadNewGRFFile(GRFConfig * config, unsigned int file_index, GrfLoadingStage stage) Ligne 6527 C++
openttd.exe!LoadNewGRF(unsigned int load_index, unsigned int file_index) Ligne 6845 + 0xb octets C++
openttd.exe!LoadSpriteTables() Ligne 192 C++
openttd.exe!GfxLoadSprites() Ligne 203 C++
openttd.exe!GenerateWorld(GenWorldMode mode, unsigned int size_x, unsigned int size_y, bool reset_settings) Ligne 300 C++
openttd.exe!MakeNewGame(bool from_heightmap, bool reset_settings) Ligne 842 C++
openttd.exe!SwitchToMode(SwitchMode new_mode) Ligne 1009 C++
openttd.exe!GameLoop() Ligne 1318 C++
openttd.exe!VideoDriver_Win32::MainLoop() Ligne 889 C++
openttd.exe!ttd_main(int argc, char * * argv) Ligne 762 C++
openttd.exe!WinMain(HINSTANCE__ * hInstance, HINSTANCE__ * hPrevInstance, char * lpCmdLine, int nCmdShow) Ligne 429 + 0x9 octets C++
openttd.exe!__tmainCRTStartup() Ligne 263 + 0x1b octets C
kernel32.dll!_BaseProcessStart@4() + 0x23 octets


This comment was imported from FlySpray: https://bugs.openttd.org/task/4208#comment9037

@DorpsGek
Copy link
Member Author

DorpsGek commented Nov 7, 2010

Rubidium wrote:

Could you attach your openttd.cfg?


This comment was imported from FlySpray: https://bugs.openttd.org/task/4208#comment9038

@DorpsGek
Copy link
Member Author

DorpsGek commented Nov 7, 2010

SmatZ wrote:

Can you upload your openttd.cfg please?


This comment was imported from FlySpray: https://bugs.openttd.org/task/4208#comment9039

@DorpsGek
Copy link
Member Author

DorpsGek commented Nov 7, 2010

Alkel_U3 wrote:

Sure.

Attachments


This comment was imported from FlySpray: https://bugs.openttd.org/task/4208#comment9040

@DorpsGek
Copy link
Member Author

DorpsGek commented Nov 7, 2010

glx wrote:

Both dmp produce the same trace.


This comment was imported from FlySpray: https://bugs.openttd.org/task/4208#comment9041

@DorpsGek
Copy link
Member Author

DorpsGek commented Nov 9, 2010

Rubidium wrote:

indstatr_v0.8_w.grf with newwaterw.grf as static NewGRF reproduces this issue


This comment was imported from FlySpray: https://bugs.openttd.org/task/4208#comment9053

@DorpsGek
Copy link
Member Author

Rubidium closed the ticket.

Reason for closing: Fixed

In r2112[89]


This comment was imported from FlySpray: https://bugs.openttd.org/task/4208

@DorpsGek DorpsGek added Core flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) labels Apr 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)
Projects
None yet
Development

No branches or pull requests

1 participant