cataclysmbnteam / Cataclysm-BN

Cataclysm: Bright Nights, A fork/variant of Cataclysm:DDA by CleverRaven.
https://docs.cataclysmbn.org
Other
674 stars 265 forks source link

Error occurs sometimes when pressing shift Q #4897

Open Relgar opened 3 months ago

Relgar commented 3 months ago

Describe the bug

When I want to kill the character I'm playing I spam Shift-Q. Sometimes I get the error below after confirming, but I'm not sure what causes it. This is usually fatal for the process and crashes to desktop:

DEBUG : Found a safe_reference entry with a mem_count. It's advised to fully restart the game now in case of crashes.

FUNCTION : cleanup FILE : D:\a\Cataclysm-BN\Cataclysm-BN\src\safe_reference.cpp LINE : 169 VERSION : BN 69ceb70

Steps To Reproduce

Happens occassionally when quitting a character. Unknown how to replicate.

Screenshots

No response

Versions and configuration

Additional context

No response

Relgar commented 3 months ago

On further review this also occurs when pressing Shift S to save and quit so it is likely part of the process of leaving the main interface.