For some further details, the game itself was Borderlands 3 (via Epic Games Store), being run via a Protonified Wine install provided by Lutris. I'd been launching CE with the same environment vars that the game was using, including WINEPREFIX, which presumably works fine because it sees the proper processes and even worked perfectly for awhile yesterday. Rather than continuing to try launching the game constantly, I've taken to trying to attach CE to the EGS process itself, which is crashing CE in the same way, so at the moment I'm not even trying to attach to the game itself. I did try attaching it to some other processes running inside the same WINEPREFIX (such as a running "winecfg" process) and that did work fine - CE attached properly and I was able to browse memory and the like. So clearly it's at least partially working, maybe related somehow to executable size or something? Though I'm still mystified as to why it started working for awhile without warning yesterday.
When CE crashes, the terminal where I've launched it gets a bunch of these:
Code: Select all
011c:err:dbghelp_msc:pe_load_debug_directory Got a page fault while loading symbols
Code: Select all
wine: Unhandled page fault on read access to 0x7fbe9c920008 at address 0x7bc80dab (thread 0168)
One potential culprit which was brought up in IRC when I asked there was that I could potentially be running into weirdness related to address randomization, which might certainly go a long way to explaining the oddity of having it work totally fine for awhile yesterday -- I'd be especially loath to turn that off, though.
I've also noted that CE's behavior otherwise isn't always 100% predictable - occasionally while testing this I'll start up CE but it'll not actually start properly, and sometimes rather than an outright crash it might freeze for a bit, leaving a non-updating window in its wake that I have to kill from the command line. So it's seemingly not entirely predictable overall. Anyway, if anyone else does have more experience running CE in Wine, I'm all ears. Thanks!