CleverRaven / Cataclysm-DDA

Cataclysm - Dark Days Ahead. A turn-based survival game set in a post-apocalyptic world.
http://cataclysmdda.org
Other
10.31k stars 4.14k forks source link

Game tends to crash when speaking to NPC's #74773

Open Satellite-SLickers opened 3 months ago

Satellite-SLickers commented 3 months ago

Describe the bug

sometimes games become pseduo-softlocked due to the fact that talking with NPC's will cause the game to crash, I have not discovered what causes it to happen but is not random

Attach save file

Emigrant Gap-trimmed.tar.gz

Steps to reproduce

-Load save -Interact with npc in the room -game should crash at this point

Expected behavior

I expect the game to not crash and to instead open the usual npc dialogue

Screenshots

No response

Versions and configuration

Additional context

crash.log debug.log Emigrant Gap.tar.gz

PatrikLundell commented 3 months ago

Failed to repeat it in 4 attempts using freshly downloaded and compiled master code.

deltanedas commented 3 months ago

ive solved this personally using c++'s deprecated (and in c++21, removed) std::codecvt_utf8<wchar_t>, nothing crashes compared to the c version it uses right now

it happens for computers too which makes to easy reproduce just start default scenario and use the computer

Satellite-SLickers commented 3 months ago

ive solved this personally using c++'s deprecated (and in c++21, removed) std::codecvt_utf8<wchar_t>, nothing crashes compared to the c version it uses right now

it happens for computers too which makes to easy reproduce just start default scenario and use the computer

ive managed to replicate the computer thing a few times, although it seems rather inconsistent as to whether or not the computer will work or cause a crash

github-actions[bot] commented 2 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. Please do not bump or comment on this issue unless you are actively working on it. Stale issues, and stale issues that are closed are still considered.