Sid Meier's Civilization V

Sid Meier's Civilization V

View Stats:
dominicawb Apr 8, 2018 @ 3:12am
How do I interpret the many, many logs of Civ 5 to figure out a crash?
Seriously, I dont even know where to start. I'm running 60+ mods and im on turn 367, all I want to do is figure out why my game is crashing once my turn is up.
< >
Showing 1-2 of 2 comments
Damsteri Apr 8, 2018 @ 3:29am 
Lua.log, XML.log and Database.log would be the point to start, in case you want to try debug those mods. Lua errors go to Lua.log, XML errors go to XML.log and SQL related errors go to Database.log. You need to have enabled logging first, so that game updates those files.

But note that those files contain lots of errors and notices that are there in normal circumstances too. So, in most cases you can ignore old rows and concentrate only the last rows. It might be helpful to have two copies of log files, one before the crash and second set after the crash, so you can compare them and see what happened after you clicked next turn, anything happening earlier is most likely irrelevant.

Finding the error there won't help much, unless you want report the error to mod author or try fix the mod by yourself.

Check this great thread about Civ V logs:
https://forums.civfanatics.com/threads/how-to-enable-logging.487482/
Last edited by Damsteri; Apr 8, 2018 @ 3:31am
dominicawb Apr 8, 2018 @ 1:28pm 
XML.log:

[16654.812] **** Validating Game Database *****
[16657.437] Performing Localization Checks
[16657.437] Checking Tag Format...
[16657.437] Note: Tags must only use [A-Z_] characters, start with 'TXT_KEY_', and be under 128 characters long.
[16657.453] Validating UnitGameplay2DScripts
[16657.453] Missing Entry for UNIT_BARBARIAN_HORSEMAN
[16657.453] **** VALIDATION FAILED *****
[16657.453] Validation Took 2.631745 seconds
[16657.890] **** Validating Prefetch Process *****
[16657.890] **** Validation Success *****
[16657.890] SetGlobalActionInfo
[16657.890]
-- SQLite Memory Statistics --
Memory Usage:
[Cur] [Max]
Malloc: 6227952 75815024
PageCache: 6 12
LookAside: 0 0
Scratch: 0 1

Static Buffer Overflows:
[TooLarge] [NoSpace]
PageCache: 5812968 62910120
Scratch: 0 0

Largest Allocations:
Malloc: 262144
PageCache: 1172
Scratch: 6640

Prepared Statements:
Current: 6
------------------------------

And Database.log:

[16654.828] Validating Foreign Key Constraints...
[16654.828] Invalid Reference on ArtDefine_Landmarks.LayoutHandler - "SPECIAL" does not exist in ArtDefine_LandmarkTypes
[16654.828] Invalid Reference on ArtDefine_Landmarks.LayoutHandler - "SPECIAL" does not exist in ArtDefine_LandmarkTypes
[16654.828] Invalid Reference on ArtDefine_Landmarks.LayoutHandler - "SPECIAL" does not exist in ArtDefine_LandmarkTypes
[16654.828] Invalid Reference on ArtDefine_Landmarks.LayoutHandler - "SPECIAL" does not exist in ArtDefine_LandmarkTypes
[16654.828] Invalid Reference on ArtDefine_Landmarks.LayoutHandler - "SPECIAL" does not exist in ArtDefine_LandmarkTypes
[16654.828] Invalid Reference on ArtDefine_Landmarks.LayoutHandler - "SPECIAL" does not exist in ArtDefine_LandmarkTypes
[16654.828] Invalid Reference on ArtDefine_Landmarks.LayoutHandler - "SPECIAL" does not exist in ArtDefine_LandmarkTypes
[16654.828] Invalid Reference on ArtDefine_Landmarks.LayoutHandler - "SPECIAL" does not exist in ArtDefine_LandmarkTypes
[16654.828] Invalid Reference on ArtDefine_Landmarks.LayoutHandler - "SPECIAL" does not exist in ArtDefine_LandmarkTypes
[16657.437] Failed Validation.
[16657.890]
-- SQLite Memory Statistics --
Memory Usage:
[Cur] [Max]
Malloc: 6227952 75815024
PageCache: 6 12
LookAside: 0 0
Scratch: 0 1

Static Buffer Overflows:
[TooLarge] [NoSpace]
PageCache: 5812968 62910120
Scratch: 0 0

Largest Allocations:
Malloc: 262144
PageCache: 1172
Scratch: 6640

Prepared Statements:
Current: 6
------------------------------

I couldn't see anything that looked like an error in lua.log. So, what does this stuff actually mean? How do I start narrowing down what the problem is?
< >
Showing 1-2 of 2 comments
Per page: 15 30 50

Date Posted: Apr 8, 2018 @ 3:12am
Posts: 2