Open CatoBarane opened 7 months ago
I was unable to reproduce this issue on Windows 10 / f255964f9c1f223489d9c4b680ee57dacb88631a (the 0.H release candidate)
Note that the debug.log has a real stack trace, but it makes no sense to me.
11:12:06.700 ERROR : (error message will follow backtrace)
0 cataclysm-tiles 0x00000001007274b0 debug_write_backtrace(std::__1::basic_ostream<char, std::__1::char_traits<char>>&) + 72
1 cataclysm-tiles 0x0000000100726530 DebugLog(DebugLevel, DebugClass) + 416
2 cataclysm-tiles 0x0000000100725d9c realDebugmsg(char const*, char const*, char const*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&) + 196
3 cataclysm-tiles 0x000000010042f0a8 generic_factory<body_part_type>::convert(string_id<body_part_type> const&, int_id<body_part_type> const&, bool) const + 164
4 cataclysm-tiles 0x000000010042eff8 string_id<body_part_type>::id() const + 40
5 cataclysm-tiles 0x0000000100f3cfd4 Character::perform_technique(ma_technique const&, Creature&, damage_instance&, int&, item_location&) + 3028
6 cataclysm-tiles 0x0000000100f39788 Character::melee_attack_abstract(Creature&, bool, string_id<ma_technique> const&, bool, int) + 3976
7 cataclysm-tiles 0x00000001003a3004 avatar_action::move(avatar&, map&, tripoint const&) + 4276
8 cataclysm-tiles 0x00000001003a63a0 avatar_action::autoattack(avatar&, map&) + 808
9 cataclysm-tiles 0x00000001009ad7e4 game::do_regular_action(action_id&, avatar&, std::__1::optional<tripoint> const&) + 7008
10 cataclysm-tiles 0x00000001009bc4dc game::handle_action() + 716
11 cataclysm-tiles 0x00000001007cc770 do_turn() + 2248
12 cataclysm-tiles 0x0000000100d37110 main + 4216
13 dyld 0x000000018cd4d0e0 start + 2360
I was now able to reproduce with version be7a566, previously i had compiled it myself.
Describe the bug
Randomly when attacked there is an error which crashes the game. Invalid body part id: "achievement_arcade_mode"
I am pretty sure i have turned on meta progression, as this seems to be related to that.
Attach save file
I was able to generate a save file where the the error occurred quickly after generating. Tualatin-trimmed.tar.gz
Steps to reproduce
Load attached save and attack group of surrounding zombies at random, there is a chance for it to crash.
Expected behavior
No crash.
Screenshots
No response
Versions and configuration
Additional context
The program has crashed. See the log file for a stack trace. CRASH LOG FILE: /Users/catobarane/Library/Application Support/Cataclysm/config/crash.log VERSION: 0.G-6202-g5d069f2eac TYPE: Signal MESSAGE: SIGSEGV: Segmentation fault STACK TRACE:
zsh: abort ./cataclysm-launcher