Master of Magic

Master of Magic

Προβολή στατιστικών:
Crashing Every Few Minutes
Any ideas on how to troubleshoot this game? MoM Classic was one of my all-time favorite games growing up, so I really want to be able to play the update without it crashing every few minutes. Are there any local files I can dig into to identify the cause of the crashes? The system is a new custom build so there are no old or outdated save files for this game.

System Info:
Processor AMD Ryzen 9 7950X3D 16-Core Processor 4.20 GHz
Installed RAM 32.0 GB (31.7 GB usable)
System type 64-bit operating system, x64-based processor
GPU: RTX 3080 Founder's Edition
Drive: Samsung SSD 990 PRO 4TB
Mainboard: ASUS ROG Strix x670e-a

Edition Windows 11 Pro
Version 23H2
Installed on ‎12/‎5/‎2023
OS build 22631.3155
Experience Windows Feature Experience Pack 1000.22684.1000.0
< >
Εμφάνιση 1-15 από 18 σχόλια
At the following location:
C:\Users\[YOUR USERNAME]\AppData\LocalLow\MuHa Games\MoM
You can find a GameLog.txt.

After the game crashes check the bottom of the Gamelog and you should find some warnings and such that should hopefully give you a clue, if not post what you can here and if we can we'll help.
Thank you for the detail on where to find the GameLog.txt.
Unfortunately, I don't see any obvious errors in that file.

In my latest game, I only made it to turn 7 before it crashed.

[Log]2/23/2024 11:30:54 AM
Staring Turn number 7

[Log]2/23/2024 11:30:54 AM
AI 3 resolving event [Keep(id 7) module: 3 Map locations]

[Log]2/23/2024 11:30:54 AM
AI 4 resolving event [Sorcery node(id 9) module: 3 Map locations]

[Log]2/23/2024 11:30:54 AM
! AI vs AI battle took 8

[Log]2/23/2024 11:30:58 AM
Hex pos Vector3i(-3, 15, -12)

[Log]2/23/2024 11:30:58 AM
Path ->Vector3i(-3, 14, -11)->Vector3i(-3, 15, -12)

[Log]2/23/2024 11:31:00 AM
Hex pos Vector3i(-2, 15, -13)

[Log]2/23/2024 11:31:00 AM
Path ->Vector3i(-3, 15, -12)->Vector3i(-2, 15, -13)
The log contains no warnings, and one line for "Failed" that appears much earlier, before turn 1.

[Log]2/23/2024 11:27:43 AM
FAILED SOFTLOCK :P
That is unfortunate.

When it crashes, was this a result of just ending the turn?

Anything else, any popups? Or does it just suddenly exit without explanation?

Have you checked the Windows Event Viewer to see if there was any info?

A "crash" is sometimes documented there too.

Faulting application name: Kingmaker.exe, version: 2018.4.10.18181, time stamp: 0x5d8deb26
Faulting module name: unknown, version: 0.0.0.0, time stamp: 0x00000000
Exception code: 0xc0000005
Fault offset: 0x000001db5ab7c221
Faulting process id: 0x0x3664
Faulting application start time: 0x0x1DA65DDF5B537EF
Faulting application path: C:\Program Files (x86)\Steam\steamapps\common\Pathfinder Kingmaker\Kingmaker.exe
Faulting module path: unknown
Report Id: 38acb503-68d6-407b-b9ba-828a54f222a8
Faulting package full name:
Faulting package-relative application ID:
It's fairly random, as in it crashes:
1. If I simply leave the game running, even on the main menu
2. If I win combat (latest crash was after winning my first combat of the game)
3. If I end my turn

So, there doesn't really seem to be any kind of consistency other than this -- taking actions do sometimes immediately trigger a crash but it seems to be essentially any action at all. It also just randomly crashes when idling.
I have had an issue like that and found it was related to the video driver.

There should be something in the Windows Event Log -> System about that time if it is video driver related.
Thank you for the idea on event viewer. I went ahead and caused another crash. This one happened when attempting to start combat and personally command it

I then checked event viewer and saw that in the last hour I had 4 errors all from something called

Driver (Logi-LampArray-Driver)

The associated log simply states the following:
Process 5116 has attempted an operation while not having exclusive control over device G502 X PLUS. Process name:

Of all things this appears to be my mouse - a Logitech G502X. I'm wondering if this is something silly like the Logitech G suite and another RGB control system are fighting over the mouse. I'm not sure since I haven't had anything else with RGB in the past and honestly don't really care about it. This system does have Logitech G suite due to the mouse and keyboard being Logitech, Corsaire iCure due to a headset being from them, and finally Asus Armoury Crate since the mainboard is from them.
So maybe the RGB errors were a coincidence or there's more than one problem afoot. This latest crash caused a hard reboot (not even blue screen just straight up restarted the system on its own).

Bad news - this prevented the creation of the dump file.
Good news (?) - there's a windows event for an application error for MoM.

Faulting application name: MoM.exe, version: 2022.1.0.20877, time stamp: 0x615bc916
Faulting module name: UnityPlayer.dll, version: 2021.2.12.45482, time stamp: 0x6202a087
Exception code: 0xc0000005
Fault offset: 0x00000000005701ee
Faulting process id: 0x0x8C44
Faulting application start time: 0x0x1DA66C405C9E910
Faulting application path: C:\Program Files (x86)\Steam\steamapps\common\Master-Of-Magic\MoM.exe
Faulting module path: C:\Program Files (x86)\Steam\steamapps\common\Master-Of-Magic\UnityPlayer.dll
Report Id: 41f4e143-732f-495c-bb89-4c46dd981f00
Faulting package full name:
Faulting package-relative application ID:
Hey Tora, I know this pain. I have an AMD CPU too, slightly older than the Ryzen series and have noticed Unity games from '23 on have been experiencing regular crashes. It shows a problem in UnityPlayer for me to. I have reported it to the various publishers whose games it affects. None have a fix for me. So far, after switching to Linux OS's and even graphics cards (which were on the burner to do anyway) the issue persists on two of those. The other one experienced only one crash under Wubuntu (Linux,) which I find acceptable to play so far. Switching to Intel, mysteriously, resolves the issues on all of them.
Τελευταία επεξεργασία από Heckin' computer; 23 Φεβ 2024, 22:51
Unity having problems with AMD CPUs would be a huge problem hopefully you can solve your problems
@Tora this definitely appears system related and maybe not the fault of MOM, although some better logging on their part would have been helpful.
I believe (or hope) the windows errors weren't related. Other games do not crash like MoM does, meaning something is at least interacting with the system in a novel way when compared to other games and applications.

I did some more digging and finally found the crash reports generated. I'm not familiar with the tooling, but when letting the Windbg dmp debugger analyze the error, it looks like invalid pointer references from inside the game. Specifically, it indicates 2 parameters one of min value and the other of max value, which I am assuming are both supposed to be memory addresses.

CONTEXT: (.ecxr)
rax=000000c7192eec30 rbx=000000c7192eeab0 rcx=e45857bd1f05f80f
rdx=000000c7192eeab0 rsi=e45857bd1f05f80f rdi=0000022ab743e020
rip=00007ffe7c4a6188 rsp=000000c7192eea50 rbp=000000c7192eec80
r8=00007ffe1ceb6910 r9=00007ffe1ceb6910 r10=0000000000000000
r11=00007ffe7c4a64e0 r12=0000022fe24b5b40 r13=0000022fcac37540
r14=0000022fe24b5b70 r15=0000022fcac37540
iopl=0 nv up ei pl nz na po nc
cs=0033 ss=002b ds=002b es=002b fs=0053 gs=002b efl=00010206
mono_2_0_bdwgc!mono_object_new_specific+0x58:
00007ffe`7c4a6188 f6413001 test byte ptr [rcx+30h],1 ds:e45857bd`1f05f83f=??
Resetting default scope

EXCEPTION_RECORD: (.exr -1)
ExceptionAddress: 00007ffe7c4a6188 (mono_2_0_bdwgc!mono_object_new_specific+0x0000000000000058)
ExceptionCode: c0000005 (Access violation)
ExceptionFlags: 00000000
NumberParameters: 2
Parameter[0]: 0000000000000000
Parameter[1]: ffffffffffffffff
Attempt to read from address ffffffffffffffff

PROCESS_NAME: MoM.exe

READ_ADDRESS: ffffffffffffffff

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: ffffffffffffffff

STACK_TEXT:
000000c7`192eea50 00007ffe`7c4a650f : 000000c7`192eead0 0000022f`e24bee80 e45857bd`1f05f80f 0000022f`e24b59f0 : mono_2_0_bdwgc!mono_object_new_specific+0x58
000000c7`192eea90 0000022a`b95d10eb : 0000022f`e24bee80 000000c7`192eec80 e45857bd`1f05f80f 0000022a`b743e020 : mono_2_0_bdwgc!mono_object_new_specific+0x3df
000000c7`192eec10 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : 0x0000022a`b95d10eb
and the content from player.txt just before and after the most recent crash.... All the ERROR lines are for attempting to access invalid addresses. (I have to truncate the stack traces because they are too long for a steam comment, but the errors follow.)

ERROR: SymGetSymFromAddr64, GetLastError: 'Attempt to access invalid address.' (Address: 00007FFE1CE675BD)
0x00007FFE1CE675BD (UnityPlayer) (function-name not available)
ERROR: SymGetSymFromAddr64, GetLastError: 'Attempt to access invalid address.' (Address: 00007FFE1CE64422)
0x00007FFE1CE64422 (UnityPlayer) (function-name not available)
ERROR: SymGetSymFromAddr64, GetLastError: 'Attempt to access invalid address.' (Address: 00007FFE1CE46A75)
0x00007FFE1CE46A75 (UnityPlayer) (function-name not available)
ERROR: SymGetSymFromAddr64, GetLastError: 'Attempt to access invalid address.' (Address: 00007FFE1CB7D524)
0x00007FFE1CB7D524 (UnityPlayer) (function-name not available)
ERROR: SymGetSymFromAddr64, GetLastError: 'Attempt to access invalid address.' (Address: 00007FFE1CCCA7CA)
0x00007FFE1CCCA7CA (UnityPlayer) (function-name not available)
ERROR: SymGetSymFromAddr64, GetLastError: 'Attempt to access invalid address.' (Address: 00007FFE1CCCA870)
0x00007FFE1CCCA870 (UnityPlayer) (function-name not available)
ERROR: SymGetSymFromAddr64, GetLastError: 'Attempt to access invalid address.' (Address: 00007FFE1CCCD178)
0x00007FFE1CCCD178 (UnityPlayer) (function-name not available)
ERROR: SymGetSymFromAddr64, GetLastError: 'Attempt to access invalid address.' (Address: 00007FFE1CEC1385)
0x00007FFE1CEC1385 (UnityPlayer) (function-name not available)
ERROR: SymGetSymFromAddr64, GetLastError: 'Attempt to access invalid address.' (Address: 00007FFE1CEC009B)
0x00007FFE1CEC009B (UnityPlayer) (function-name not available)
ERROR: SymGetSymFromAddr64, GetLastError: 'Attempt to access invalid address.' (Address: 00007FFE1CEC4897)
0x00007FFE1CEC4897 (UnityPlayer) (function-name not available)
0x00007FFE1CEC63FB (UnityPlayer) UnityMain
ERROR: SymGetSymFromAddr64, GetLastError: 'Attempt to access invalid address.' (Address: 00007FF734DA11F2)
0x00007FF734DA11F2 (MoM) (function-name not available)
0x00007FFECF7C257D (KERNEL32) BaseThreadInitThunk
0x00007FFED10EAA58 (ntdll) RtlUserThreadStart
Just a side note that as of the latest patches I played a whole game, new DLC, that didn't crash or get a save error for the first time since October running in WinAMD. Hope they get this nailed down for you Tora
Thanks! I've reached out to support to see what they can recommend.
< >
Εμφάνιση 1-15 από 18 σχόλια
Ανά σελίδα: 1530 50

Ημ/νία ανάρτησης: 23 Φεβ 2024, 9:55
Αναρτήσεις: 18