Open kkard2 opened 1 year ago
From the looks of the crash report, you don't have the sar.pdb
crash report expander installed (must be in uppercase Portal 2
). You can find it on the 1.12.8-pre6 release page.
Crashing by tabbing out is a common issue with source games in general, so it's entirely possible that SAR is doing nothing to contribute to this.
Nah, they do have the PDB, that's why you see the Engine::Frame_Hook
call.
As AMJ says, Source games are somewhat prone to crashing when tabbing out in general, so this might not be related to SAR, but I won't rule it out. Unfortunately, the crash report is pretty unhelpful here, since it looks like the game's caught the crash and tried to gracefully unload or something and that's then crashing (this happens a lot, SAR's crash report system unfortunately often isn't all that useful).
How often does this happen? If it's a 1 in 100 kinda thing, I'm inclined to say it's just Source being bad. However, if it's particularly frequent, and verifiably less frequent without SAR, something's definitely amiss. Issues like this are pretty hard to track down - if you have the knowhow to build SAR yourself, it'd be neat if you could try and trigger the crash with a debugger attached and see if that gives any more useful info.
Unfortunately there's not much else I can do with this information atm - I run on Linux and don't have the time atm for in-depth debugging, and if this is SAR's fault it's probably something really stupid like a null ptr deref in some random feature. But do let me know if you manage to get any more information or nail down the trigger any more precisely!
It's 1 in 100 kinda thing, I alt+tab pretty often so source being funny may be the case. Altho I don't remember it being an issue before installing SAR...
About crashing with debugger:
I will think about it; also playing without SAR a bit after I figure out how often it crashes may be a good idea to exclude source being source.
okay, i managed to get a crash with attached debugger and this is what i've got:
altho i would assume this does not help much; do you want me to go somewhere specific when i get an exception? not really familiar with debugging native apps
hm yeah that's not overly helpful lmao
The crash is happening in fame code, and at first glance doesn't seem like it really could be SAR's fault, but I can't rule it out (SAR can cause weird crashes sometimes, no idea why). That said, there's unfortunately not much I can do for this atm, at least without a consistent repro.
I used to have the same problem, verifying game files and switching to windowed borderless fixed it for me
Portal 2 sometimes crashes when I have SAR loaded and try to alt-tab (I play in fullscreen mode). Cannot reliably reproduce, but already happened a few times; issue seems related to thread pool cleanup (edit: i'm dumb, this is portal's function,
Engine::Frame_Hook
is sar):(this is the only log I've got, will update the issue if I confirm it always looks like this) edit: got a log that is almost exactly the same, only difference is addresses