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

when I logged in to 1M city mania the error window pops up... #8310

Closed
JuanManzana opened this issue Sep 18, 2020 · 8 comments
Closed

when I logged in to 1M city mania the error window pops up... #8310

JuanManzana opened this issue Sep 18, 2020 · 8 comments

Comments

@JuanManzana
Copy link

@JuanManzana JuanManzana commented Sep 18, 2020

Version of OpenTTD

the latest

Expected result

Actual result

the message from crash

*** OpenTTD Crash Report ***

Crash at: Fri Sep 18 09:15:35 2020
In game date: 2083-03-19 (45)

Crash reason:
 Exception: E1212012
 Location:  000007FEFD67AC3D
 Message:   [net] Trying to execute a packet in the past!

OpenTTD version:
 Version:    1.10.3 (0)
 NewGRF ver: 1a086d64
 Bits:       64
 Endian:     little
 Dedicated:  no
 Build date: Aug  9 2020 18:10:57

Registers:
 RAX: 000000007206C0B8 RBX: 000000013FA13730 RCX: 000000000022E180 RDX: 0000000000000000
 RSI: 0000000000000001 RDI: 0000000000000016 RBP: 000000000022ED10 RSP: 000000000022E790
 R8:  0000000000000000 R9:  0000000000000000 R10: 0000000000000000 R11: 000000000022E8D8
 R12: 0000000000000910 R13: 0000000000000000 R14: 0000000004304510 R15: 000000013F817220
 RIP: 000007FEFD67AC3D EFLAGS: 00000206

 Bytes at instruction pointer:
 48 81 C4 C8 00 00 00 C3 90 90 90 90 90 90 90 90 90 90 90 48 83 EC 48 83

Stack trace:
 3FA13730 00000001 00000001 00000000 00000016 00000000 76ED2985 00000000
 E1212012 00000000 00000000 00000000 FD67AC3D 000007FE 00000000 00000000
 00000001 00000000 04304510 00000000 04DA5318 00000000 FFFFFFFF 00000000
 40C2EF30 00000001 7683133B 00000000 F9962E8F 000007FE 0026023A 00000000
 00002010 00000000 3F953EB0 00000001 00000050 00000000 0026023A 00000000
 00000000 00000000 40C2EF30 00000001 3F953EB0 00000001 00002010 00000000
 00000016 00000000 3F87F982 00000001 3FA13730 00000001 00000000 00000000
 0022E8E8 00000000 3F87F5DF 00000001 3F817220 00000001 0022E698 00000000
 00000001 00000000 00000001 FFFFFFFF 265D7740 00000000 00000001 00000000
 04DA5318 00000000 FFFFFFFF 00000000 265D7740 00000000 00000000 00000000
 265E0980 00000000 3F87F430 00000001 00000001 00000000 00000000 00000000
 00000000 00000000 00000000 00000000 265E0980 00000000 3F5F54A6 00000001
 265E0980 00000000 0022ED10 00000000 00000000 00000000 265D7740 00000000
 74656E5B 7254205D 676E6979 206F7420 63657865 20657475 61702061 74656B63
 206E6920 20656874 74736170 00000021 004137D0 00000000 00413620 00000000
 00000001 00000000 FCB79DDE 000007FE C00000A3 00000000 0040749C 00000000
 00409F30 00000000 00000000 00000000 00000000 00000000 FCB6A06C 000007FE
 00000000 00000000 00000020 00000000 76FB8288 00000000 00000000 00000000
 0022EA58 00000000 00012017 00000000 0022EA08 00000000 00000018 00000000
 00000000 00000000 00000000 00000000 00002733 00000000 0022EB08 00000000
 00000001 00000000 00000020 00000000 00000000 00000000 000000C0 00000000
 00000000 00000000 0022EA58 00000000 004EE7D0 00000000 00000000 00000000
 00000001 00000000 C00000A3 FFFFF880 00000000 00000000 00000028 00000000
 00000100 00000000 00000002 00000000 04DA5318 00000000 00000000 00000000

Operating system:
 Name:     Windows
 Release:  6.1.7600 ()
 Compiler: MSVC 1916

Configuration:
 Blitter:      32bpp-sse2-anim
 Graphics set: OpenGFX (7393)
 Language:     C:\Program Files\OpenTTD\lang\english.lng
 Music driver: dmusic
 Music set:    NoMusic (0)
 Network:      client
 Sound driver: win32
 Sound set:    OpenSFX (87)
 Video driver: win32

Fonts:
 Small:  sprite
 Medium: sprite
 Large:  sprite
 Mono:   sprite

AI Configuration (local: 255) (current: 255):
  0: Human
  1: Human
  2: Human

Libraries:
 LZMA:       5.2.5
 LZO:        2.10
 PNG:        1.6.37
 Zlib:       1.2.11

Module information:
 C:\Program Files\OpenTTD\openttd.exe handle: 000000013F510000 size: 5462528 crc: 87220AD8 date: 2020-08-09 18:16:18
 C:\Windows\SYSTEM32\ntdll.dll handle: 0000000076EA0000 size: 1739160 crc: CE0F1695 date: 2011-11-17 07:14:10
 C:\Program Files\Avast Software\Avast\aswhook.dll handle: 000007FEDCC50000 size: 57752 crc: C81760E6 date: 2020-08-16 21:58:45
 C:\Windows\system32\kernel32.dll handle: 0000000076D80000 size: 1161216 crc: 1D73718F date: 2013-01-04 05:30:34
 C:\Windows\system32\KERNELBASE.dll handle: 000007FEFD670000 size: 424960 crc: 5D8671C0 date: 2013-01-04 05:30:34
 C:\Windows\system32\WINMM.dll handle: 000007FEFAFD0000 size: 217600 crc: 7BC1529F date: 2009-07-14 01:41:56
 C:\Windows\system32\msvcrt.dll handle: 000007FEFE110000 size: 634368 crc: 20CD7C2F date: 2011-12-16 08:42:13
 C:\Windows\system32\USER32.dll handle: 00000000767C0000 size: 1008640 crc: 95FA0345 date: 2009-07-14 01:41:56
 C:\Windows\system32\GDI32.dll handle: 000007FEFD9D0000 size: 404480 crc: 0F1BAE69 date: 2009-07-14 01:40:56
 C:\Windows\system32\LPK.dll handle: 000007FEFD6E0000 size: 41984 crc: 350AF03B date: 2009-07-14 01:41:19
 C:\Windows\system32\USP10.dll handle: 000007FEFDA40000 size: 801280 crc: 1585445D date: 2012-11-22 10:32:45
 C:\Windows\system32\WS2_32.dll handle: 000007FEFE1B0000 size: 296448 crc: B9553AFD date: 2009-07-14 01:41:58
 C:\Windows\system32\RPCRT4.dll handle: 000007FEFE2A0000 size: 1221632 crc: D5B6358C date: 2009-07-14 01:41:53
 C:\Windows\system32\NSI.dll handle: 000007FEFDB10000 size: 13824 crc: 53B46F6C date: 2009-07-14 01:41:53
 C:\Windows\system32\IMM32.dll handle: 000007FEFDF30000 size: 167424 crc: 41B2805A date: 2009-07-14 01:41:09
 C:\Windows\system32\MSCTF.dll handle: 000007FEFDFE0000 size: 1067008 crc: 798DDDA0 date: 2009-07-14 01:41:28
 C:\Windows\system32\ADVAPI32.dll handle: 000007FEFDE50000 size: 877056 crc: FA615A20 date: 2009-07-14 01:40:01
 C:\Windows\SYSTEM32\sechost.dll handle: 000007FEFE0F0000 size: 113664 crc: 978CFAE5 date: 2009-07-14 01:41:53
 C:\Windows\system32\SHELL32.dll handle: 000007FEFE3D0000 size: 14165504 crc: 753CCABB date: 2012-06-09 05:30:56
 C:\Windows\system32\SHLWAPI.dll handle: 000007FEFDF60000 size: 449536 crc: 0BFDF102 date: 2009-07-14 01:41:54
 C:\Windows\system32\ole32.dll handle: 000007FEFDC40000 size: 2085376 crc: 4764DDC2 date: 2010-06-29 05:39:12
 C:\Windows\system32\uxtheme.dll handle: 000007FEFBBC0000 size: 332288 crc: B0A13DF9 date: 2009-07-14 01:41:56
 C:\Windows\system32\CRYPTBASE.dll handle: 000007FEFD240000 size: 44032 crc: F547C16E date: 2009-07-14 01:40:24
 C:\Windows\system32\mswsock.dll handle: 000007FEFCB60000 size: 320000 crc: EA387916 date: 2009-07-14 01:41:34
 C:\Windows\System32\wshtcpip.dll handle: 000007FEFC860000 size: 13312 crc: 5D1E2C55 date: 2009-07-14 01:41:58
 C:\Windows\system32\MMDevAPI.DLL handle: 000007FEFB6E0000 size: 284160 crc: CDF2EF81 date: 2009-07-14 01:41:26
 C:\Windows\system32\PROPSYS.dll handle: 000007FEFBC20000 size: 1212416 crc: 98D01BC9 date: 2009-07-14 01:41:53
 C:\Windows\system32\OLEAUT32.dll handle: 000007FEFD8F0000 size: 861184 crc: 2C569B03 date: 2011-08-27 05:40:28
 C:\Windows\system32\wdmaud.drv handle: 000007FEFAE70000 size: 217088 crc: AB6BC545 date: 2009-07-14 01:38:50
 C:\Windows\system32\ksuser.dll handle: 0000000074730000 size: 5120 crc: AA2071D9 date: 2009-07-14 01:41:13
 C:\Windows\system32\AVRT.dll handle: 000007FEFB500000 size: 18432 crc: 5CE53CB7 date: 2009-07-14 01:40:05
 C:\Windows\system32\SETUPAPI.dll handle: 000007FEFD710000 size: 1899520 crc: 91ED5D15 date: 2009-07-14 01:41:54
 C:\Windows\system32\CFGMGR32.dll handle: 000007FEFD630000 size: 207360 crc: 369326FC date: 2009-07-14 01:40:15
 C:\Windows\system32\DEVOBJ.dll handle: 000007FEFD5D0000 size: 93184 crc: A7541AE2 date: 2009-07-14 01:40:28
 C:\Windows\system32\AUDIOSES.DLL handle: 000007FEFAE20000 size: 296448 crc: 07CA71DE date: 2009-07-14 01:40:04
 C:\Windows\system32\msacm32.drv handle: 000007FEFAE10000 size: 25600 crc: 2B579A05 date: 2009-07-14 01:38:50
 C:\Windows\system32\MSACM32.dll handle: 000007FEFADF0000 size: 83456 crc: 3D67538B date: 2009-07-14 01:41:27
 C:\Windows\system32\midimap.dll handle: 000007FEFAC20000 size: 20480 crc: CB902A13 date: 2009-07-14 01:41:23
 C:\Windows\system32\CLBCatQ.DLL handle: 000007FEFDBA0000 size: 607744 crc: 939E35C9 date: 2009-07-14 01:40:15
 C:\Windows\system32\dwmapi.dll handle: 000007FEFB6C0000 size: 82432 crc: A459F360 date: 2009-07-14 01:40:34
 C:\Windows\System32\dmusic.dll handle: 000007FEF6A30000 size: 125952 crc: 11947851 date: 2009-07-14 01:40:31
 C:\Windows\System32\DSOUND.dll handle: 000007FEF1020000 size: 540672 crc: B6225596 date: 2009-07-14 01:40:33
 C:\Windows\System32\POWRPROF.dll handle: 000007FEFB650000 size: 167424 crc: F6D04424 date: 2009-07-14 01:41:53
 C:\Windows\system32\WINTRUST.dll handle: 000007FEFD5F0000 size: 220160 crc: 59C8C035 date: 2012-08-24 18:05:28
 C:\Windows\system32\CRYPT32.dll handle: 000007FEFD3C0000 size: 1460224 crc: F62BBFAA date: 2012-04-24 05:59:45
 C:\Windows\system32\MSASN1.dll handle: 000007FEFD3B0000 size: 46592 crc: 1B60D71E date: 2010-06-03 02:54:15
 C:\Windows\System32\dmsynth.dll handle: 000007FEF6590000 size: 119296 crc: 05A882A4 date: 2009-07-14 01:40:31
 C:\Windows\System32\wship6.dll handle: 000007FEFCBD0000 size: 13824 crc: E3FBF123 date: 2009-07-14 01:41:58
 C:\Windows\system32\DNSAPI.dll handle: 000007FEFC9F0000 size: 356352 crc: 5524476E date: 2011-03-03 06:17:09
 C:\Program Files\Common Files\Microsoft Shared\Windows Live\WLIDNSP.DLL handle: 000007FEF6FB0000 size: 170880 crc: 0457B743 date: 2010-09-21 13:49:00
 C:\Windows\system32\PSAPI.DLL handle: 0000000077070000 size: 9216 crc: 84B5E9BA date: 2009-07-14 01:41:53
 C:\Program Files\Bonjour\mdnsNSP.dll handle: 0000000073200000 size: 133392 crc: 142AB0F0 date: 2015-08-12 16:03:42
 C:\Windows\system32\Iphlpapi.DLL handle: 000007FEFB050000 size: 145920 crc: FFC0BAF8 date: 2009-07-14 01:41:10
 C:\Windows\system32\WINNSI.DLL handle: 000007FEFB030000 size: 26112 crc: 744B2434 date: 2009-07-14 01:41:56
 C:\Windows\System32\fwpuclnt.dll handle: 000007FEFAC60000 size: 324096 crc: 37B502C2 date: 2009-07-14 01:40:55
 C:\Windows\system32\rasadhlp.dll handle: 000007FEF6CA0000 size: 16384 crc: C5FD1616 date: 2009-07-14 01:41:53

---- gamelog start ----
Tick 0: new game started
Revision text changed to 1.10.3, savegame version 218, not modified, _openttd_newgrf_version = 0x1a086d64
New game mode: 1 landscape: 0
---- gamelog end ----

Recent news messages:

*** End of OpenTTD Crash Report ***

Decoded stack trace:
[00] KERNELBASE           0x000007FEFD67AC3D RaiseException + 61
[01] openttd              0x000000013F87F982
[02] openttd              0x000000013F87F430
[03] openttd              0x000000013F5F54A6
[04] openttd              0x000000013F5EADE2
[05] openttd              0x000000013F5E9287
[06] openttd              0x000000013F5E4789
[07] openttd              0x000000013F5F9B82
[08] openttd              0x000000013F80CCEE
[09] openttd              0x000000013F5F7286
[10] openttd              0x000000013F81B13A
[11] openttd              0x000000013F851D9A
[12] kernel32             0x0000000076D9F34D BaseThreadInitThunk + 13
[13] ntdll                0x0000000076ED2CA1 RtlUserThreadStart + 33

*** End of additional info ***

Steps to reproduce

@abmyii
Copy link
Contributor

@abmyii abmyii commented Sep 21, 2020

I'm sure there is a very important reason for raising an error, but just by commenting line 206 out I can join the game without error.

if (_frame_counter > cp->frame) {
/* If we reach here, it means for whatever reason, we've already executed
* past the command we need to execute. */
error("[net] Trying to execute a packet in the past!");
}

@stormcone
Copy link
Contributor

@stormcone stormcone commented Sep 21, 2020

the latest## Version of OpenTTD

Let me first quote the OpenTTD IRC channel's topic: "'Latest' is not a valid version, 'Most recent' neither" :)
But I assume you meant the official client, version 1.10.3 as can be seen in the crash log.
However if I am not mistaken, "1M city mania" server is one of the citymania.org's servers, and they using their own patched OpenTTD client: https://citymania.org/downloads.
So if you would like to join to that server, you should use their client.

@abmyii
Copy link
Contributor

@abmyii abmyii commented Sep 21, 2020

Ah right, I wasn't aware that they had their own builds.

@FLHerne
Copy link

@FLHerne FLHerne commented Sep 25, 2020

The CityMania client is supposed to be network-compatible, with only UI changes. Possibly it isn't.

In any case, OpenTTD should ideally not crash in this case, a warning would be nicer...

I can reproduce this.

@LordAro
Copy link
Member

@LordAro LordAro commented Sep 25, 2020

Ideally, yeah... unfortunately, that error is so deep in the network stack I can't see a way of actually returning an error and then bailing out cleanly...

@JuanManzana
Copy link
Author

@JuanManzana JuanManzana commented Oct 1, 2020

@ldpl
Copy link
Contributor

@ldpl ldpl commented Oct 7, 2020

It was an error in citymania server that ultimately caused it, don't think this can be happening with a vanilla server. Though imo there is no need to abort client in such case, just printing error in console is enough. If it desyncs later so be it.

@TrueBrain
Copy link
Member

@TrueBrain TrueBrain commented Jan 1, 2021

As mentioned in the last reply, this issue has been resolved!

Let us know if it re-appears :) Tnx!

@TrueBrain TrueBrain closed this Jan 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
7 participants