Hegemony III: Clash of the Ancients

Hegemony III: Clash of the Ancients

CW9.8.1
GamerGuy27 Feb 8, 2023 @ 9:57pm
Got the "North African crash" again
Team, I just gotten another crash playing as the Romans. I consistently get this crash after I invade North Africa and start conquering Carthaginian cities. Not sure whether some event in Africa is causing the crash or I just happen to be focusing on North Africa when the crash occurs.

I don't even get the Hegemony III console — the game completely crashes and ejects me to Windows with the following Windows error:

struc Win32Exception
An error occurred while running Hegemony.
The instruction at 0x00007FFEEB5ACD29 referenced memory at 0x000000000000002E0. The memory could not be read.

If it helps you troubleshoot, I got a dump file by running the game in a window (normally I run full screen and have to reboot after the crash).

I suspect it might be some kind of overflow error. The latest crash occurred at week 1873 (or shortly thereafter) in my current game and is very similar to crashes I've had at about the same point in three or four previous games.

CW9 is the only mod I'm running.

Any ideas what the problem might be? In the meantime, I will start a new game...
< >
Showing 1-15 of 26 comments
Domination Station Sep 21, 2023 @ 10:41pm 
so I believe I've figured this one out, this happened in my game and I searched the map several times until I noticed that a few of the cities trigger this error when they upgrade past level 5.
In my game it's the cities of Copenhagen and Juteford. I simply stopped upgrading those two cities at level 5 and haven't had the error since. If these are enemy controlled cities you want to take you simply have to raze them until they're level 5, if they have walls you have to starve them out until they go down to 5 on their own. I know it's tedious but it's the only solution i've discovered. I'm unsure if any other cities cause this error but if anyone discovers that they do i'll start a list. I hope this helps.
Last edited by Domination Station; Sep 21, 2023 @ 10:42pm
Canute VII Nov 16, 2023 @ 9:00am 
Originally posted by Domination Station:
so I believe I've figured this one out, this happened in my game and I searched the map several times until I noticed that a few of the cities trigger this error when they upgrade past level 5.
In my game it's the cities of Copenhagen and Juteford.
So I started the mod to test this and chose Copenhagen as my starting city/faction. I upgraded the city to 5+ and no crash happened. Then I conquered Juteford and also upgraded, again no crash.

Did you research any economic skill that are related to city upgrades, such as the increased supply range ones? Or have there been some special city upgrades/buildings in the cities when the crash occured?
markdeakin14 Jan 22, 2024 @ 1:43pm 
Hi, this crash too. Have you got an email address I can send the crash dump to? I researched all of the economic upgrades. Please help. This mod is literally my favourite game and at the moment it is unplayable.
markdeakin14 Jan 23, 2024 @ 3:47pm 
Hi, if it will stay here. The link to my crash dump from the mod is https://mega.nz/file/gyNGWLYA#ZxsT6qlcgbkOwHyUE_MCE4ibc45HU31JuvUlcC_l7Tg
Domination Station Jan 23, 2024 @ 11:27pm 
Originally posted by Canute VII:
Originally posted by Domination Station:
so I believe I've figured this one out, this happened in my game and I searched the map several times until I noticed that a few of the cities trigger this error when they upgrade past level 5.
In my game it's the cities of Copenhagen and Juteford.
So I started the mod to test this and chose Copenhagen as my starting city/faction. I upgraded the city to 5+ and no crash happened. Then I conquered Juteford and also upgraded, again no crash.

Did you research any economic skill that are related to city upgrades, such as the increased supply range ones? Or have there been some special city upgrades/buildings in the cities when the crash occured?

I had the all tech supply range tech researched at this point, no buildings built in the cities at all just to test it. I'll see if i can get a crash log, is there any way for me to get you a copy of my save file for you to run it and see for yourself? I have also noticed on some runs its different cities that trigger the error as well
markdeakin14 Mar 19, 2024 @ 11:29am 
Is anyone looking into this still?
UrbanCohort Mar 20, 2024 @ 12:38pm 
2 times crash today...
Canute VII Mar 24, 2024 @ 8:08am 
Results of analysing the dump file with WinDbg, following this manual Link [www.dell.com]:

(Some the text output is in German)
(Mgmt summary:there seems to be some issue with the RAM, but I can't figure out what the exct issue is or how it could be resolved)

************* Preparing the environment for Debugger Extensions Gallery repositories **************
ExtensionRepository : Implicit
UseExperimentalFeatureForNugetShare : true
AllowNugetExeUpdate : true
NonInteractiveNuget : true
AllowNugetMSCredentialProviderInstall : true
AllowParallelInitializationOfLocalRepositories : true

EnableRedirectToV8JsProvider : false

-- Configuring repositories
----> Repository : LocalInstalled, Enabled: true
----> Repository : UserExtensions, Enabled: true

>>>>>>>>>>>>> Preparing the environment for Debugger Extensions Gallery repositories completed, duration 0.000 seconds

************* Waiting for Debugger Extensions Gallery to Initialize **************

>>>>>>>>>>>>> Waiting for Debugger Extensions Gallery to Initialize completed, duration 0.187 seconds
----> Repository : UserExtensions, Enabled: true, Packages count: 0
----> Repository : LocalInstalled, Enabled: true, Packages count: 41

Microsoft (R) Windows Debugger Version 10.0.27553.1004 AMD64
Copyright (c) Microsoft Corporation. All rights reserved.


Loading Dump File [C:\Users\knutr\Downloads\Hegemony_III_3_3_5 rev_43872 Feb05 Unknown File 0.dmp]
User Mini Dump File: Only registers, stack and portions of memory are available


************* Path validation summary **************
Response Time (ms) Location
Deferred srv*https://msdl.microsoft.com/download/symbols
Symbol search path is: srv*https://msdl.microsoft.com/download/symbols
Executable search path is:
Windows 10 Version 22621 MP (16 procs) Free x64
Product: WinNt, suite: SingleUserTS Personal
Edition build lab: 22621.1.amd64fre.ni_release.220506-1250
Debug session time: Tue Feb 6 02:50:32.000 2024 (UTC + 1:00)
System Uptime: not available
Process Uptime: 0 days 0:49:04.000
................................................................
................................................................
.......................
This dump file has an exception of interest stored in it.
The stored exception information can be accessed via .ecxr.
(b018.24ec): Access violation - code c0000005 (first/second chance not available)
For analysis of this file, run !analyze -v
ntdll!NtGetContextThread+0x14:
00007fff`1a511284 c3 ret
0:000> !analyze -v
*******************************************************************************
* *
* Exception Analysis *
* *
*******************************************************************************


KEY_VALUES_STRING: 1

Key : AV.Dereference
Value: NullClassPtr

Key : AV.Fault
Value: Read

Key : Analysis.CPU.mSec
Value: 578

Key : Analysis.Elapsed.mSec
Value: 24810

Key : Analysis.IO.Other.Mb
Value: 46

Key : Analysis.IO.Read.Mb
Value: 0

Key : Analysis.IO.Write.Mb
Value: 59

Key : Analysis.Init.CPU.mSec
Value: 46

Key : Analysis.Init.Elapsed.mSec
Value: 96721

Key : Analysis.Memory.CommitPeak.Mb
Value: 105

Key : Failure.Bucket
Value: NULL_CLASS_PTR_READ_c0000005_Hegemony_III.exe!Unknown

Key : Failure.Hash
Value: {8247b011-2f4e-a6bb-3c22-1dd411658f83}

Key : Timeline.Process.Start.DeltaSec
Value: 2944

Key : WER.OS.Branch
Value: ni_release

Key : WER.OS.Version
Value: 10.0.22621.1

Key : WER.Process.Version
Value: 3.3.5.0


FILE_IN_CAB: Hegemony_III_3_3_5 rev_43872 Feb05 Unknown File 0.dmp

APPLICATION_VERIFIER_FLAGS: 0

CONTEXT: (.ecxr)
rax=0000000000000004 rbx=000000015dbae7c0 rcx=0000000000000000
rdx=000000000014f5f8 rsi=0000000000000060 rdi=0000000000000000
rip=000000014068a867 rsp=000000000014f5c8 rbp=000000000014f6d0
r8=0000000000000001 r9=0000000000000014 r10=0000000000000003
r11=000000000014f530 r12=00000000000f004a r13=000000000000009d
r14=00000000d46fcf80 r15=00000001c00775d0
iopl=0 nv up ei pl zr na po nc
cs=0033 ss=002b ds=002b es=002b fs=0053 gs=002b efl=00010246
Hegemony_III+0x68a867:
00000001`4068a867 488b81e0020000 mov rax,qword ptr [rcx+2E0h] ds:00000000`000002e0=????????????????
Resetting default scope

EXCEPTION_RECORD: (.exr -1)
ExceptionAddress: 000000014068a867 (Hegemony_III+0x000000000068a867)
ExceptionCode: c0000005 (Access violation)
ExceptionFlags: 00000000
NumberParameters: 2
Parameter[0]: 0000000000000000
Parameter[1]: 00000000000002e0
Attempt to read from address 00000000000002e0

PROCESS_NAME: Hegemony III.exe

READ_ADDRESS: 00000000000002e0

ERROR_CODE: (NTSTATUS) 0xc0000005 - Die Anweisung in 0x%p verwies auf Arbeitsspeicher bei 0x%p. Der Vorgang %s konnte im Arbeitsspeicher nicht durchgef hrt werden.

EXCEPTION_CODE_STR: c0000005

EXCEPTION_PARAMETER1: 0000000000000000

EXCEPTION_PARAMETER2: 00000000000002e0

STACK_TEXT:
00000000`0014f5c8 00000001`40632e2e : 00000000`08cecbc0 00000000`00000091 00000000`0014f601 00000000`d46fcf80 : Hegemony_III+0x68a867
00000000`0014f5d0 00000001`40632250 : 00000000`024f7120 00000001`c00775d0 00000000`024f7120 00007fff`05bbe1d0 : Hegemony_III+0x632e2e
00000000`0014f7e0 00000001`40c36880 : 00000001`0cf975a0 00000000`024f7120 00000000`00000000 00000001`401bf948 : Hegemony_III+0x632250
00000000`0014f8a0 00000001`4054523d : 00000000`0014f9b9 00000000`024f7120 00000000`0014f9b9 00000000`08d2a750 : Hegemony_III+0xc36880
00000000`0014f940 00000001`40a61808 : 00001220`21877c76 00000000`00000000 00000000`024f7120 00007fff`18ce80df : Hegemony_III+0x54523d
00000000`0014fa20 00000001`40813036 : 00001220`21877c70 00000000`00000001 00000000`00000001 00000001`40000000 : Hegemony_III+0xa61808
00000000`0014faa0 00000001`40817f91 : 00000000`024e82d0 00000000`024e82d0 00000001`40000000 00000000`024e82d0 : Hegemony_III+0x813036
00000000`0014fc00 00000001`40dd03b4 : 00000000`00000000 00000000`00000000 00000000`0000000a 00000001`40000000 : Hegemony_III+0x817f91
00000000`0014fef0 00007fff`18ce257d : 00000000`00000000 00000000`00000000 00000000`00000000 00007ffe`f0170000 : Hegemony_III+0xdd03b4
00000000`0014ff30 00007fff`1a4caa58 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : kernel32!BaseThreadInitThunk+0x1d
00000000`0014ff60 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : ntdll!RtlUserThreadStart+0x28


STACK_COMMAND: ~0s; .ecxr ; kb

SYMBOL_NAME: Hegemony_III+68a867

MODULE_NAME: Hegemony_III

IMAGE_NAME: Hegemony III.exe

FAILURE_BUCKET_ID: NULL_CLASS_PTR_READ_c0000005_Hegemony_III.exe!Unknown

OS_VERSION: 10.0.22621.1

BUILDLAB_STR: ni_release

OSPLATFORM_TYPE: x64

OSNAME: Windows 10

IMAGE_VERSION: 3.3.5.0

FAILURE_ID_HASH: {8247b011-2f4e-a6bb-3c22-1dd411658f83}

Followup: MachineOwner
---------

0:000> !analyze -show <0xc0000005>
Error code: 0x0 - Der Vorgang wurde erfolgreich beendet.
*******************************************************************************
* *
* Exception Analysis *
* *
*******************************************************************************

Use !analyze -v to get detailed debugging information.

Probably caused by : Hegemony III.exe ( Hegemony_III+68a867 )
0:000> !analyze -show <c0000005>
Error code: 0x0 - Der Vorgang wurde erfolgreich beendet.
*******************************************************************************
* *
* Exception Analysis *
* *
*******************************************************************************

Use !analyze -v to get detailed debugging information.

Probably caused by : Hegemony III.exe ( Hegemony_III+68a867 )
Last edited by Canute VII; Mar 24, 2024 @ 8:09am
SnowBubble Mar 24, 2024 @ 6:45pm 
@markdeakin14

This can have a couple causes but my understanding is that usually it is due to a corrupted game or bad driver that needs to be updated. I would assume a chipset driver if that is the case but it could be a number of things. You can learn more about this error here.
https://learn.microsoft.com/en-us/shows/inside/c0000005

"An Access Violation is a type of Exception caused when an application Reads, Writes or Executes an invalid Memory Address."

If I read the output right it is a read violation which could also point to bad RAM. You can use this link to see how to check if you have any issues with your RAM (You should not buy their product only use the tutorial).
https://www.easeus.com/computer-instruction/windows-memory-diagnostic.html

Also, do not use any software that says they will update all your drivers for you. They all try to get your money even if they say it's free. Only software from the manufacturer should be used for drivers.
markdeakin14 Mar 28, 2024 @ 11:32am 
Hi, ok so I think it is sorted (Touch wood!) I reinstalled everything and so far, so good. I'll keep you posted. Checked drivers plus RAM and all ok.
markdeakin14 Apr 8, 2024 @ 1:32pm 
************* Preparing the environment for Debugger Extensions Gallery repositories **************
ExtensionRepository : Implicit
UseExperimentalFeatureForNugetShare : true
AllowNugetExeUpdate : true
NonInteractiveNuget : true
AllowNugetMSCredentialProviderInstall : true
AllowParallelInitializationOfLocalRepositories : true

EnableRedirectToV8JsProvider : false

-- Configuring repositories
----> Repository : LocalInstalled, Enabled: true
----> Repository : UserExtensions, Enabled: true

>>>>>>>>>>>>> Preparing the environment for Debugger Extensions Gallery repositories completed, duration 0.000 seconds

************* Waiting for Debugger Extensions Gallery to Initialize **************

>>>>>>>>>>>>> Waiting for Debugger Extensions Gallery to Initialize completed, duration 0.047 seconds
----> Repository : UserExtensions, Enabled: true, Packages count: 0
----> Repository : LocalInstalled, Enabled: true, Packages count: 41

Microsoft (R) Windows Debugger Version 10.0.27553.1004 AMD64
Copyright (c) Microsoft Corporation. All rights reserved.


Loading Dump File [C:\Users\User\Documents\Hegemony_III_3_3_5 rev_43872 Apr07 Unknown File 0.dmp]
User Mini Dump File: Only registers, stack and portions of memory are available


************* Path validation summary **************
Response Time (ms) Location
Deferred srv*
Symbol search path is: srv*
Executable search path is:
Windows 10 Version 19045 MP (6 procs) Free x64
Product: WinNt, suite: SingleUserTS
Edition build lab: 19041.1.amd64fre.vb_release.191206-1406
Debug session time: Sun Apr 7 22:31:22.000 2024 (UTC + 1:00)
System Uptime: not available
Process Uptime: 0 days 0:19:12.000
................................................................
................................................................
..............
This dump file has an exception of interest stored in it.
The stored exception information can be accessed via .ecxr.
(2508.15fc): Access violation - code c0000005 (first/second chance not available)
For analysis of this file, run !analyze -v
ntdll!NtGetContextThread+0x14:
00007ff8`0636ee34 c3 ret
0:000> !analyze -v
*******************************************************************************
* *
* Exception Analysis *
* *
*******************************************************************************


KEY_VALUES_STRING: 1

Key : AV.Dereference
Value: NullClassPtr

Key : AV.Fault
Value: Read

Key : Analysis.CPU.mSec
Value: 764

Key : Analysis.Elapsed.mSec
Value: 1385

Key : Analysis.IO.Other.Mb
Value: 0

Key : Analysis.IO.Read.Mb
Value: 0

Key : Analysis.IO.Write.Mb
Value: 0

Key : Analysis.Init.CPU.mSec
Value: 187

Key : Analysis.Init.Elapsed.mSec
Value: 3029

Key : Analysis.Memory.CommitPeak.Mb
Value: 94

Key : Failure.Bucket
Value: NULL_CLASS_PTR_READ_c0000005_Hegemony_III.exe!Unknown

Key : Failure.Hash
Value: {8247b011-2f4e-a6bb-3c22-1dd411658f83}

Key : Timeline.Process.Start.DeltaSec
Value: 1152

Key : WER.OS.Branch
Value: vb_release

Key : WER.OS.Version
Value: 10.0.19041.1

Key : WER.Process.Version
Value: 3.3.5.0


FILE_IN_CAB: Hegemony_III_3_3_5 rev_43872 Apr07 Unknown File 0.dmp

NTGLOBALFLAG: 0

APPLICATION_VERIFIER_FLAGS: 0

CONTEXT: (.ecxr)
rax=0000000000000004 rbx=00000000defb4590 rcx=0000000000000000
rdx=000000000014f5f8 rsi=0000000000000060 rdi=0000000000000000
rip=000000014068a867 rsp=000000000014f5c8 rbp=000000000014f6d0
r8=0000000000000001 r9=0000000000000014 r10=0000000000008000
r11=000000000014f530 r12=00000000000f004a r13=000000000000009d
r14=000000009b18f900 r15=0000000061dc5180
iopl=0 nv up ei pl zr na po nc
cs=0033 ss=002b ds=002b es=002b fs=0053 gs=002b efl=00010246
Hegemony_III+0x68a867:
00000001`4068a867 488b81e0020000 mov rax,qword ptr [rcx+2E0h] ds:00000000`000002e0=????????????????
Resetting default scope

EXCEPTION_RECORD: (.exr -1)
ExceptionAddress: 000000014068a867 (Hegemony_III+0x000000000068a867)
ExceptionCode: c0000005 (Access violation)
ExceptionFlags: 00000000
NumberParameters: 2
Parameter[0]: 0000000000000000
Parameter[1]: 00000000000002e0
Attempt to read from address 00000000000002e0

PROCESS_NAME: Hegemony III.exe

READ_ADDRESS: 00000000000002e0

ERROR_CODE: (NTSTATUS) 0xc0000005 - The instruction at 0x%p referenced memory at 0x%p. The memory could not be %s.

EXCEPTION_CODE_STR: c0000005

EXCEPTION_PARAMETER1: 0000000000000000

EXCEPTION_PARAMETER2: 00000000000002e0

STACK_TEXT:
00000000`0014f5c8 00000001`40632e2e : 00000000`0cfbe320 00000000`00000072 00000000`0014f601 00000000`9b18f900 : Hegemony_III+0x68a867
00000000`0014f5d0 00000001`40632250 : 00000000`0233b8e0 00000000`61dc5180 00000000`0233b8e0 00007ff8`05d29d35 : Hegemony_III+0x632e2e
00000000`0014f7e0 00000001`40c36880 : 00000000`5f122cd0 00000000`0233b8e0 00000000`00000000 00000001`401bf948 : Hegemony_III+0x632250
00000000`0014f8a0 00000001`4054523d : 00000000`0014f9b9 00000000`0233b8e0 00000000`0014f9b9 00000000`0d4e1c70 : Hegemony_III+0xc36880
00000000`0014f940 00000001`40a61808 : 00000065`3f364c9e 00000000`00000000 00000000`0233b8e0 00007ff8`05b3bd61 : Hegemony_III+0x54523d
00000000`0014fa20 00000001`40813036 : 00000065`3f364c98 00000000`00000001 00000000`00000001 00000001`40000000 : Hegemony_III+0xa61808
00000000`0014faa0 00000001`40817f91 : 00000000`0232d560 00000000`0232d560 00000001`40000000 00000000`0232d560 : Hegemony_III+0x813036
00000000`0014fc00 00000001`40dd03b4 : 00000000`00000000 00000000`00000000 00000000`0000000a 00000001`40000000 : Hegemony_III+0x817f91
00000000`0014fef0 00007ff8`05b37344 : 00000000`00000000 00000000`00000000 00000000`00000000 00007fff`a29c0000 : Hegemony_III+0xdd03b4
00000000`0014ff30 00007ff8`063226b1 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : kernel32!BaseThreadInitThunk+0x14
00000000`0014ff60 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : ntdll!RtlUserThreadStart+0x21


STACK_COMMAND: ~0s; .ecxr ; kb

SYMBOL_NAME: Hegemony_III+68a867

MODULE_NAME: Hegemony_III

IMAGE_NAME: Hegemony III.exe

FAILURE_BUCKET_ID: NULL_CLASS_PTR_READ_c0000005_Hegemony_III.exe!Unknown

OS_VERSION: 10.0.19041.1

BUILDLAB_STR: vb_release

OSPLATFORM_TYPE: x64

OSNAME: Windows 10

IMAGE_VERSION: 3.3.5.0

FAILURE_ID_HASH: {8247b011-2f4e-a6bb-3c22-1dd411658f83}

Followup: MachineOwner
---------
markdeakin14 Apr 8, 2024 @ 1:33pm 
Sods law... Now I'm getting this crash. Yes, definitely something to do with the memory however not faulty memory. There are some suggestions it is to do with RAM overclocking. I wonder if I need to stop using Game Booster whilst I play this but I don't know.
GamerGuy27 Apr 17, 2024 @ 9:11pm 
Thanks to all for troubleshooting this issue.

At the risk of stating the obvious, the dumps that Canute VII and markdeakin14 posted each point to the same unreadable memory address (0x000000000000002E0) that I originally encountered. I suspect that would not be the case if each of us was having some kind of RAM problem or had corrupted game files. There is something deterministic happening.

One other observation that may help with the troubleshooting: not too long before I got the crash that I reported in my original post, I got _another_ crash when I expended a skill point to extend my supply range. This was the first skill point option to extend supply range. At the time, the game was humming right along until I expended that skill point, then it instantly crashed the moment I clicked to extend supply range. Makes me wonder if Domination Station and Canute VII are on to something in suspecting some disconnect in the map file.

Now I am even more curious to learn what is causing the problem.

Thanks again, everyone!
Iakovosian Nov 24, 2024 @ 5:38pm 
Sounds like for some cities, when their supply range extends far enough to encompass certain point(s) on the map (either by city level or skill research), there is a crash. Perhaps someone can try narrowing down where in the map is causing the issue based on the clues from earlier posts/reports?
Last edited by Iakovosian; Nov 25, 2024 @ 8:03am
< >
Showing 1-15 of 26 comments
Per page: 1530 50