Description
Stellaris save always crashes on 2275.01.01
Game Version
3.1
What version do you use?
Steam
What expansions do you have installed?
Synthetic Dawn, Utopia, Leviathans Story Pack, Apocalypse, Megacorp, Distant Stars, Ancient Relics, Lithoids, Federations, Nemesis
Do you have mods enabled?
Yes
Please explain your issue is in as much detail as possible.
Stellaris will crash on my save. I am running macOS Big Sur 11.15.1, Steam and hence Rosetta. I have attached an lldb debugger to the running process and it seems there is a problem with accessing invalid memory during portrait updates as you can see from this lldb output when the process reaches the crash date:
```
(lldb) continue
Process 1232 resuming
Process 1232 stopped
* thread #1, name = 'MainThrd', queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x1a0)
frame #0: 0x0000000100bd16eb stellaris`CDiplomaticEventWindow::UpdatePortrait() + 171
stellaris`CDiplomaticEventWindow::UpdatePortrait:
-> 0x100bd16eb <+171>: movb $0x1, 0x1a0(%r14)
0x100bd16f3 <+179>: cmpb $0x0, -0xc8(%rbp)
0x100bd16fa <+186>: je 0x100bd17e7 ; <+423>
0x100bd1700 <+192>: movq 0x1297b01(%rip), %rbx ; (void *)0x000000010201fb10: TPdxRef<CCountry>::_pDatabase
Target 0: (stellaris) stopped.
```
I am running some mods, however the issue occurred previously in the same version completely unmodded, and I have no mods that affect diplomacy, which is the component that crashes. I attach a compressed lldb dump of the full process memory, which should expand to about 10 gb.
Steps to reproduce the issue.
Upload Attachment
File(s) attached
Stellaris save always crashes on 2275.01.01
Game Version
3.1
What version do you use?
Steam
What expansions do you have installed?
Synthetic Dawn, Utopia, Leviathans Story Pack, Apocalypse, Megacorp, Distant Stars, Ancient Relics, Lithoids, Federations, Nemesis
Do you have mods enabled?
Yes
Please explain your issue is in as much detail as possible.
Stellaris will crash on my save. I am running macOS Big Sur 11.15.1, Steam and hence Rosetta. I have attached an lldb debugger to the running process and it seems there is a problem with accessing invalid memory during portrait updates as you can see from this lldb output when the process reaches the crash date:
```
(lldb) continue
Process 1232 resuming
Process 1232 stopped
* thread #1, name = 'MainThrd', queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x1a0)
frame #0: 0x0000000100bd16eb stellaris`CDiplomaticEventWindow::UpdatePortrait() + 171
stellaris`CDiplomaticEventWindow::UpdatePortrait:
-> 0x100bd16eb <+171>: movb $0x1, 0x1a0(%r14)
0x100bd16f3 <+179>: cmpb $0x0, -0xc8(%rbp)
0x100bd16fa <+186>: je 0x100bd17e7 ; <+423>
0x100bd1700 <+192>: movq 0x1297b01(%rip), %rbx ; (void *)0x000000010201fb10: TPdxRef<CCountry>::_pDatabase
Target 0: (stellaris) stopped.
```
I am running some mods, however the issue occurred previously in the same version completely unmodded, and I have no mods that affect diplomacy, which is the component that crashes. I attach a compressed lldb dump of the full process memory, which should expand to about 10 gb.
Steps to reproduce the issue.
Upload Attachment
File(s) attached