azraerl / serenity

Skyrim -> Requiem -> Serenity :)
MIT License
6 stars 7 forks source link

Double Adoption cause Game Save corruption over time #23

Open azraerl opened 2 years ago

azraerl commented 2 years ago

Describe the bug Number of report occurrences shows that 2+ children adoption leads to CTD on loading of game save (thus issue can go unnoticed for some time and all saves will not be useable)

To Reproduce Adopt 2+ children. Save game, try to load game (might require more than one save for issue to manifest)

Modlist version 1.6.x

**Crash log extracts** ``` Unhandled native exception occurred at 0x7FF81F9012DB (VCRUNTIME140.dll+12DB) on thread 16832! FrameworkName: NetScriptFramework FrameworkVersion: 12 FrameworkArchitecture: x64 GameLibrary: SkyrimSE GameLibraryVersion: 17 ApplicationName: SkyrimSE.exe ApplicationVersion: 1.5.97.0 VersionInfo: Successfully loaded Time: 07 Jan 2022 18:43:49.792 Possible relevant objects (0) { } Probable callstack { [0] 0x7FF81F9012DB (VCRUNTIME140.dll+12DB) [1] 0x7FF6250D7BE9 (SkyrimSE.exe+597BE9) BGSLoadGameBuffer::unk_597B20+C9 [2] 0x7FF6250C484C (SkyrimSE.exe+58484C) unk_584780+CC [3] 0x7FF6250BD3BF (SkyrimSE.exe+57D3BF) unk_57D1A0+21F [4] 0x7FFFA90315F9 (skse64_1_5_97.dll+115F9) [5] 0x1 [6] 0x9203B9F880 [7] 0x1BB9E75FAF0 [8] 0x1BB75B5D1D9 [9] 0x9203B9F880 [10] 0x1BB82B1A558 [11] 0x50002 [12] 0x7FF6260611A8 (SkyrimSE.exe+15211A8) [13] 0x9203B9F7C8 } ... Stack { [SP+0] 0x1BB47334900 (void*) [SP+8] 0xF400 (u16):[62464] [SP+10] 0x7FF6250D7BE9 (SkyrimSE.exe+597BE9) (void*) [SP+18] 0x8 (u8):[8] [SP+20] 0x9203B9F2F8 (BGSLoadGameBuffer*) [SP+28] 0x13F43 (u32):[81731] [SP+30] 0x7FF625744D12 (SkyrimSE.exe+C04D12) (void*) [SP+38] 0xFFFFFFFFFFFFFFFE (i64):[-2] [SP+40] 0x9203B9F2D0 (void*) [SP+48] 0x7FF626061488 (SkyrimSE.exe+1521488) (void*) [SP+50] 0x1BB17D00100 (void*) [SP+58] 0x1BB17D00400 (void*) [SP+60] 0x7FF6250C484C (SkyrimSE.exe+58484C) (void*) [SP+68] 0x5B (u8):[91] [SP+70] 0x6320 (u16):[25376] [SP+78] 0x7FF6260611A8 (SkyrimSE.exe+15211A8) (void*) [SP+80] 0x0 (NULL) [SP+88] 0x8 (u8):[8] [SP+90] 0x7FF6250C44CF (SkyrimSE.exe+5844CF) (void*) [SP+98] 0xFFFFFFFFFFFFFFFE (i64):[-2] [SP+A0] 0x7FF6260611A8 (SkyrimSE.exe+15211A8) (void*) [SP+A8] 0x1BB17D00400 (void*) [SP+B0] 0x7FF626185500 (SkyrimSE.exe+1645500) (void*) [SP+B8] 0x1BA73A6D8F0 (void*) [SP+C0] 0x1BA635DA6B0 (ScrapHeap*) [SP+C8] 0xFFFFFFFF00000000 (i64):[-4294967296] [SP+D0] 0x18B53100000000 (u64):[6954621499080704] [SP+D8] 0x1BB9E75F040 (anonymous_namespace::Win32FileType*) [SP+E0] 0x1BB17D00100 (void*) [SP+E8] 0x5B (u8):[91] [SP+F0] 0x7FF6250BD3BF (SkyrimSE.exe+57D3BF) (void*) [SP+F8] 0x9200013F43 (u64):[627065306947] [SP+100] 0x1BB17D00444 (char*) "N\r" [SP+108] 0x9203B9F440 (void*) [SP+110] 0x4012C (u32):[262444] [SP+118] 0xFFFFFFFF00000001 (i64):[-4294967295] [SP+120] 0x0 (NULL) [SP+128] 0x5B637B0C88 (u64):[392511032456] [SP+130] 0x7FF832495BA1 (ntdll.dll+25BA1) (void*) [SP+138] 0x0 (NULL) [SP+140] 0x9203B9F4F0 (void*) [SP+148] 0xD2E6000 (u32):[221143040] [SP+150] 0xFFFFFFFFFFFFFFFE (i64):[-2] [SP+158] 0x0 (NULL) [SP+160] 0x0 (NULL) [SP+168] 0x1BA32F7B910 (void*) [SP+170] 0x45 (u8):[69] [SP+178] 0x1 (u8):[1] [SP+180] 0x1BB3C5EE030 (void*) [SP+188] 0x9300B4 (u32):[9633972] [SP+190] 0x7FF832495BA1 (ntdll.dll+25BA1) (void*) [SP+198] 0x1BA63720000 (void*) [SP+1A0] 0x1BA715D3877 (AHZmoreHUDPlugin.dll+33877) (void*) [SP+1A8] 0x1BA0000005B (void*) [SP+1B0] 0x1BA635DA748 (char*) "[" [SP+1B8] 0x0 (NULL) [SP+1C0] 0x7FF800000000 (void*) [SP+1C8] 0x373401BB00000000 (u64):[3977806273545502720] [SP+1D0] 0x0 (NULL) [SP+1D8] 0x0 (NULL) [SP+1E0] 0x1BA00000000 (void*) [SP+1E8] 0xFFFFFFFFFFFFFFFE (i64):[-2] [SP+1F0] 0x7FF83249B86B (ntdll.dll+2B86B) (void*) [SP+1F8] 0x400000004000000 (u64):[288230376218820608] [SP+200] 0x46F640004012C (u64):[1248375194517804] [SP+208] 0x751F2E000592B6 (u64):[32966854704468662] [SP+210] 0xE00000009 (u64):[60129542153] [SP+218] 0xF73F00000005 (u64):[271849955000325] [SP+220] 0x0 (NULL) [SP+228] 0x0 (NULL) [SP+230] 0x0 (NULL) [SP+238] 0x0 (NULL) [SP+240] 0x0 (NULL) [SP+248] 0x0 (NULL) [SP+250] 0x0 (NULL) [SP+258] 0x0 (NULL) [SP+260] 0x1BA63720E10 (char*) "\t" [SP+268] 0xC0 (u8):[192] [SP+270] 0x800000000 (u64):[34359738368] [SP+278] 0x800000007 (u64):[34359738375] [SP+280] 0x7FF6268F55CC (SkyrimSE.exe+1DB55CC) (void*) [SP+288] 0x80 (u8):[128] [SP+290] 0x1BB1783C280 (void*) [SP+298] 0xB33F72FA44E (u64):[12317818332238] [SP+2A0] 0x8A90E8000 (u64):[37196038144] [SP+2A8] 0x800000007 (u64):[34359738375] [SP+2B0] 0x7FF6268F55CC (SkyrimSE.exe+1DB55CC) (void*) ```