Closed carlarctg closed 3 months ago
Unable to reproduce on 9c3b7d1bf9389395cf010e432f315ea6233cab4c (MSVC compiled locally)
{
"type": "mutation",
"id": "CANT_WAIT_FOR_FIX",
"name": { "str": "Impatient" },
"points": 1,
"description": "You want to experience all the game, the most recent version, but can't tolerate the bugs it may bring with.",
"enchantments": [ { "values": [ { "value": "FATIGUE_REGEN", "multiply": 1 } ] } ]
},
I have this big funny. That this causes a crash somehow is baffling.
Update, I've updated to master, without the above funny, and the bug is still happening. Worse, it seems to be occurring randomly on some 'slow' actions such as crafting, waiting, deconstructing, and such.
I have a similar issue related to CBMs that started happening around the time the fatigue regen issue arised. The difference is, in my case, it CTDs on most CBMs activation/deactivation (turning on/off cable charger, oil/ethanol generators, hydraulic muscles, blood filter, etc.). Doesn't seem to crash on blood filter, finger lighter, electromagnetic unit CBMs activation from the limited poking around I did. I don't know if it's worth mentioning, but when it just started happening, it used to crash once in a while on certain CBMs, but after updating a few builds, including the latest one, it crashes all the time. For instance, a few days ago, I played around with subaquatic navigation system CBM and it worked fine, no crashes on activation/deactivation. Playing 2024-03-18-0013, however, using this CBM crashes the game as well. Oh, and I have butchered my modlist to include MoM and SpeedyDex mid-playthrough, so... yeah. If anyone can point poor silly me to where I need to attach any files, if needed, I'd appreciate it greatly.
That would that the issue is somewhere in CBM power gain/loss specifically. Perhaps the random crashes are from my Aero Evaporator which is long lasting and turns itself off.
It just crashed from me trying to turn my optical dampers on. And a bit later seemingly from nothing at all when everything was off. Augh.
@carlarctg You've got compiling set up, right? Get a stack trace for this. Load your save in the compiled build, wait until it crashes. While it hangs in VS, open the call stack, copy-paste here.
Aha, should have tried your config. Silly me. (Note that it crashes with a crash log on non-msvc versions. But to verify, I got it to crash on both.)
Reported error: Unhandled exception at 0x00007FF671DFC1F1 in cataclysm-tiles.exe: 0xC0000094: Integer division by zero.
Stack trace:
cataclysm-tiles.exe!widget::value_color(int value) Line 1310 C++
cataclysm-tiles.exe!widget::layout(const avatar & ava, unsigned int max_width, int label_width, bool skip_pad) Line 1834 C++
cataclysm-tiles.exe!widget::layout(const avatar & ava, unsigned int max_width, int label_width, bool skip_pad) Line 1794 C++
cataclysm-tiles.exe!widget::layout(const avatar & ava, unsigned int max_width, int label_width, bool skip_pad) Line 1724 C++
cataclysm-tiles.exe!widget::layout(const avatar & ava, unsigned int max_width, int label_width, bool skip_pad) Line 1794 C++
cataclysm-tiles.exe!widget::layout(const avatar & ava, unsigned int max_width, int label_width, bool skip_pad) Line 1794 C++
cataclysm-tiles.exe!custom_draw_func(const draw_args & args) Line 970 C++
cataclysm-tiles.exe!game::draw_panels(bool force_draw) Line 4010 C++
cataclysm-tiles.exe!game::draw(ui_adaptor & ui) Line 3969 C++
cataclysm-tiles.exe!ui_adaptor::redraw_invalidated() Line 432 C++
cataclysm-tiles.exe!do_turn() Line 678 C++
cataclysm-tiles.exe!WinMain(HINSTANCE__ * __formal, HINSTANCE__ * __formal, char * __formal, int __formal) Line 868 C++
Narrowing it down:
It's something within the "Graphs & Meters" part of your sidebar.
Can confirm, switching from 'ZenFS thick' sidebar to even 'ZenFS numbar', enables me to toggle bionics reliably with no crashes. Switching back to thick version with bionics enabled, however, crashes the game instantly. This is odd, however, because creating a new character and using this exact sidebar doesn't crash the game, although copying the character from template on a new world still crashes it.
Describe the bug
When my power goes too high via jumper cable or gasoline fuel cell or anything, it just instantly crashes the game. It's weird as heck
Attach save file
Southwood Acres-trimmed.tar.gz
Steps to reproduce
Expected behavior
It no crash
Screenshots
No response
Versions and configuration
Additional context
No response