ERROR in 'item-prop.cc' at line 2231: ASSERT failed: static_cast(gem) of 14 out of range 0 (0) .. NUM_GEM_TYPES (14) Version: Dungeon Crawl Stone Soup 0.33-a0-726-g203f4b1603 Platform: unix Bits: 64 Game mode: normal Tiles: online Seed: 6605360620050632359, deterministic pregen: 1 Command line: /usr/games/crawl-git-203f4b1603 -name planckenstein -rc /dgldir/rcfiles/crawl-git/planckenstein.rc -macro /dgldir/rcfiles/crawl-git/planckenstein.macro -morgue /dgldir/morgue/planckenstein/ -webtiles-socket /crawl-master/webserver/sockets/planckenstein:2025-01-14.02:44:26.sock -await-connection RC options: restart_after_game = false Crash caused by signal #6: Aborted Obtained 36 stack frames. /usr/games/crawl-git-203f4b1603(_Z17write_stack_traceP8_IO_FILE+0x3e) [0x58ce433c0dee]: write_stack_trace(_IO_FILE*) /usr/games/crawl-git-203f4b1603(_Z13do_crash_dumpv+0x43a) [0x58ce433ced5a]: do_crash_dump() /usr/games/crawl-git-203f4b1603(_Z20crash_signal_handleri+0x1fa) [0x58ce433c12ca]: crash_signal_handler(int) /lib/x86_64-linux-gnu/libc.so.6(+0x42910) [0x76c093842910]: /lib/x86_64-linux-gnu/libc.so.6(pthread_kill+0x11b) [0x76c09389999b]: /lib/x86_64-linux-gnu/libc.so.6(raise+0x16) [0x76c093842866]: /usr/games/crawl-git-203f4b1603(+0x4bd12d) [0x58ce433ce12d]: /usr/games/crawl-git-203f4b1603(_Z3diePKciS0_z+0x166) [0x58ce433ce7a6]: die(char const*, int, char const*, ...) /usr/games/crawl-git-203f4b1603(+0x6e491f) [0x58ce435f591f]: /usr/games/crawl-git-203f4b1603(+0x6d1589) [0x58ce435e2589]: /usr/games/crawl-git-203f4b1603(_Z15sub_type_stringB5cxx11RK8item_defb+0x1cb) [0x58ce435e3e3b]: sub_type_string[abi:cxx11](item_def const&, bool) /usr/games/crawl-git-203f4b1603(+0x74e2e4) [0x58ce4365f2e4]: /lib/x86_64-linux-gnu/liblua5.1.so.0(+0xfcfd) [0x76c094141cfd]: /lib/x86_64-linux-gnu/liblua5.1.so.0(+0x1a2ba) [0x76c09414c2ba]: /lib/x86_64-linux-gnu/liblua5.1.so.0(+0xe71d) [0x76c09414071d]: /lib/x86_64-linux-gnu/liblua5.1.so.0(+0xae23) [0x76c09413ce23]: /lib/x86_64-linux-gnu/liblua5.1.so.0(+0xd7b0) [0x76c09413f7b0]: /lib/x86_64-linux-gnu/liblua5.1.so.0(lua_pcall+0x5c) [0x76c09413f8dc]: /usr/games/crawl-git-203f4b1603(_ZN4CLua9calltopfnEP9lua_StatePKcP13__va_list_tagiPA1_S4_+0x5b) [0x58ce433a783b]: CLua::calltopfn(lua_State*, char const*, __va_list_tag*, int, __va_list_tag (*) [1]) /usr/games/crawl-git-203f4b1603(_ZN4CLua11callmaybefnEPKcS1_P13__va_list_tag+0x1ac) [0x58ce433a810c]: CLua::callmaybefn(char const*, char const*, __va_list_tag*) /usr/games/crawl-git-203f4b1603(_ZN4CLua11callmaybefnEPKcS1_z+0x93) [0x58ce433a8223]: CLua::callmaybefn(char const*, char const*, ...) /usr/games/crawl-git-203f4b1603(_Z21item_needs_autopickupRK8item_defb+0x14e) [0x58ce43600e7e]: item_needs_autopickup(item_def const&, bool) /usr/games/crawl-git-203f4b1603(_ZNK10KnownEntry8get_textB5cxx11Ev+0xce) [0x58ce4362743e]: KnownEntry::get_text[abi:cxx11]() const /usr/games/crawl-git-203f4b1603(_ZN6UIMenu11update_itemEi+0x8b) [0x58ce4370b2fb]: UIMenu::update_item(int) /usr/games/crawl-git-203f4b1603(_ZN6UIMenu12update_itemsEv+0xaa) [0x58ce4370b75a]: UIMenu::update_items() /usr/games/crawl-git-203f4b1603(_ZN4Menu11update_menuEb+0x31) [0x58ce4370b851]: Menu::update_menu(bool) /usr/games/crawl-git-203f4b1603(_ZN4Menu7do_menuEv+0x286) [0x58ce43708856]: Menu::do_menu() /usr/games/crawl-git-203f4b1603(_ZN4Menu4showEb+0xa8) [0x58ce4370fe88]: Menu::show(bool) /usr/games/crawl-git-203f4b1603(_Z20check_item_knowledgeb+0x132b) [0x58ce4362425b]: check_item_knowledge(bool) /usr/games/crawl-git-203f4b1603(_Z15process_command12command_typeS_+0x1f5e) [0x58ce43b4684e]: process_command(command_type, command_type) /usr/games/crawl-git-203f4b1603(+0xc31dba) [0x58ce43b42dba]: /usr/games/crawl-git-203f4b1603(+0xc328a5) [0x58ce43b438a5]: /usr/games/crawl-git-203f4b1603(main+0x1f7) [0x58ce432f8557]: /lib/x86_64-linux-gnu/libc.so.6(+0x280d0) [0x76c0938280d0]: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x89) [0x76c093828189]: /usr/games/crawl-git-203f4b1603(_start+0x25) [0x58ce432f8f55]: Trying to run gdb. GNU gdb (Ubuntu 14.0.50.20230907-0ubuntu1) 14.0.50.20230907-git Copyright (C) 2023 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word". [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". 0x000076c09390fbf7 in __GI___wait4 (pid=2111191, stat_loc=0x0, options=0, usage=0x0) at ../sysdeps/unix/sysv/linux/wait4.c:30 #0 0x000076c09390fbf7 in __GI___wait4 (pid=2111191, stat_loc=0x0, options=0, usage=0x0) at ../sysdeps/unix/sysv/linux/wait4.c:30 sc_ret = -512 sc_ret = #1 0x000058ce433c149c in call_gdb (file=0x76c0939ff6c0 <_IO_2_1_stderr_>) at crash.cc:438 gdb = attach_cmd = "attach 2111155\000\000\000\000\000" #2 0x000058ce433ced78 in do_crash_dump () at dbg-asrt.cc:673 t = 1736822681 dir = "/dgldir/morgue/planckenstein/" name = "/dgldir/morgue/planckenstein/crash-planckenstein-20250114-024441.txt", '\000' signal_info = "Crash caused by signal #6: Aborted" cause_msg = "ERROR in 'item-prop.cc' at line 2231: ASSERT failed: static_cast(gem) of 14 out of range 0 (0) .. NUM_GEM_TYPES (14)" file = 0x76c0939ff6c0 <_IO_2_1_stderr_> #3 0x000058ce433c12ca in crash_signal_handler (sig_num=6) at crash.cc:198 No locals. #4 No locals. #5 __pthread_kill_implementation (no_tid=0, signo=6, threadid=) at ./nptl/pthread_kill.c:44 tid = ret = 0 pd = old_mask = {__val = {140736434646128}} ret = pd = old_mask = ret = tid = ret = resultvar = resultvar = __arg3 = __arg2 = __arg1 = _a3 = _a2 = _a1 = __futex = resultvar = __arg3 = __arg2 = __arg1 = _a3 = _a2 = _a1 = __futex = __private = __oldval = #6 __pthread_kill_internal (signo=6, threadid=) at ./nptl/pthread_kill.c:78 No locals. #7 __GI___pthread_kill (threadid=, signo=signo@entry=6) at ./nptl/pthread_kill.c:89 No locals. #8 0x000076c093842866 in __GI_raise (sig=6) at ../sysdeps/posix/raise.c:26 ret = #9 0x000058ce433ce12d in _BreakStrToDebugger (mesg=mesg@entry=0x7fffc131b470 "ERROR in 'item-prop.cc' at line 2231: ASSERT failed: static_cast(gem) of 14 out of range 0 (0) .. NUM_GEM_TYPES (14)", assert=false) at dbg-asrt.cc:799 No locals. #10 0x000058ce433ce7a6 in die (file=file@entry=0x58ce43b6abc2 "item-prop.cc", line=line@entry=2231, format=format@entry=0x58ce43be52f8 "ASSERT failed: static_cast(gem) of %ld out of range 0 (%ld) .. NUM_GEM_TYPES (%ld)") at dbg-asrt.cc:859 tmp = "ASSERT failed: static_cast(gem) of 14 out of range 0 (0) .. NUM_GEM_TYPES (14)", '\000' mesg = "ERROR in 'item-prop.cc' at line 2231: ASSERT failed: static_cast(gem) of 14 out of range 0 (0) .. NUM_GEM_TYPES (14)", '\000' args = {{gp_offset = 48, fp_offset = 48, overflow_arg_area = 0x7fffc131bd70, reg_save_area = 0x7fffc131bc90}} #11 0x000058ce435f591f in gem_adj (gem=) at item-prop.cc:2231 No locals. #12 0x000058ce435e2589 in gem_type_name (g=) at item-name.cc:952 No locals. #13 0x000058ce435e3e3b in sub_type_string[abi:cxx11](item_def const&, bool) (item=..., known=known@entry=true) at item-name.cc:1251 type = sub_type = #14 0x000058ce4365f2e4 in l_item_do_subtype (ls= Compilation info: <<<<<<<<<<< Compiled with GCC 13.2.0 Build platform: x86_64-linux-gnu Platform: x86_64-linux-gnu CFLAGS: -O2 -pipe -DUSE_TILE -DUSE_TILE_WEB -Wall -Wformat-security -Wundef -Wextra -Wno-missing-field-initializers -Wno-implicit-fallthrough -Wno-type-limits -Wno-uninitialized -Wno-array-bounds -Wno-format-zero-length -Wmissing-declarations -Wredundant-decls -Wno-parentheses -Wwrite-strings -Wshadow -pedantic -Wuninitialized -Iutil -I. -isystem /usr/include/lua5.1 -g -DWIZARD -DASSERTS -DREGEX_PCRE -DCLUA_BINDINGS -DDGAMELAUNCH -DSAVE_DIR_PATH="/crawl-master/crawl-git-203f4b1603/saves" -DSHARED_DIR_PATH="/crawl-master/crawl-git/saves" -DDATA_DIR_PATH="/crawl-master/crawl-git-203f4b1603/data/" -DWEB_DIR_PATH="/crawl-master/crawl-git-203f4b1603/data/web/" -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 LDFLAGS: -rdynamic -fuse-ld=gold -O2 >>>>>>>>>>> Place info: branch = 0, depth = 5 Level id: D:5 Level build method = , level layout type = corridors, absdepth0 = 4 Level vaults: layout_loops_ring nicolae_overflow_crystal_walls serial_co_window_serial co_window_corner_a co_window_paths_b co_window_corner_a co_window_of_opportunity_a co_window_corner_a co_window_broadway_a co_window_cross_3 co_window_2corner co_window_broadway_a co_window_4corner_b co_window_paths_e glass_columns_c glass_columns_a glass_columns_c glass_columns_a Markers: <<<<<<<<<<<<<<<<<<<<<< >>>>>>>>>>>>>>>>>>>>>> Messages: <<<<<<<<<<<<<<<<<<<<<< Welcome, planckenstein the Gargoyle Delver. A smirking vizier told you that the Orb of Zot is just within this dungeon. Press ? for a list of commands and other information. Welcome back, planckenstein the Gargoyle Delver. Press ? for a list of commands and other information. Found a stone staircase leading down. Found 5 boomerangs. You see here 5 boomerangs. h - 5 boomerangs >>>>>>>>>>>>>>>>>>>>>> Version history: Game started: 0.33-a0-726-g203f4b1603 Game state: mouse_enabled: 0, waiting_for_command: 0, terminal_resized: 0 io_inited: 1, need_save: 1, saving_game: 0, updating_scores: 0: seen_hups: 1, map_stat_gen: 0, type: 1, arena_suspended: 0 prev_cmd = CMD_DISPLAY_KNOWN_OBJECTS repeat_cmd = CMD_NO_CMD Player: {{{{{{{{{{{ Name: [planckenstein] Species: Gargoyle Job: Delver HP: 14/14; mods: 0/0 MP: 1/1; mod: 0 Stats: 15 10 11 Position: (30, 49), god: No God (0), turn_is_over: 0, banished: 0 Standing on/in/over feature: floor Skills (mode: manual) Name | can_currently_train | train | training | level | points | progress Fighting | X | 0 | 0 | 3 | 301 | 49/168 Short Blades | X | 0 | 0 | 0 | 0 | 0/59 Long Blades | X | 0 | 0 | 0 | 0 | 0/59 Axes | X | 0 | 0 | 1 | 151 | 92/119 Maces & Flails | X | 0 | 0 | 0 | 0 | 0/50 Polearms | X | 0 | 0 | 0 | 0 | 0/59 Staves | X | 0 | 0 | 0 | 0 | 0/50 Ranged Weapons | X | 0 | 0 | 0 | 0 | 0/50 Throwing | X | 0 | 0 | 0 | 0 | 0/59 Armour | X | 0 | 0 | 0 | 0 | 0/42 Dodging | X | 0 | 0 | 1 | 151 | 81/142 Stealth | X | 1 | 100 | 5 | 631 | 101/212 Shields | X | 0 | 0 | 0 | 0 | 0/42 Unarmed Combat | X | 0 | 0 | 0 | 0 | 0/50 Spellcasting | X | 0 | 0 | 0 | 0 | 0/59 Conjurations | X | 0 | 0 | 0 | 0 | 0/42 Hexes | X | 0 | 0 | 0 | 0 | 0/59 Summonings | X | 0 | 0 | 0 | 0 | 0/59 Necromancy | X | 0 | 0 | 0 | 0 | 0/70 Translocations | X | 0 | 0 | 0 | 0 | 0/59 Forgecraft | X | 0 | 0 | 0 | 0 | 0/59 Fire Magic | X | 0 | 0 | 0 | 0 | 0/50 Ice Magic | X | 0 | 0 | 0 | 0 | 0/50 Air Magic | X | 0 | 0 | 0 | 0 | 0/70 Earth Magic | X | 0 | 0 | 0 | 0 | 0/35 Alchemy | X | 0 | 0 | 0 | 0 | 0/70 Invocations | X | 0 | 0 | 0 | 0 | 0/42 Evocations | X | 0 | 0 | 0 | 0 | 0/59 Shapeshifting | X | 0 | 0 | 0 | 0 | 0/84 Spell bugs: Durations: Attributes: #49: 71 Mutations: negative energy resistance: 1 (innate) electricity resistance: 1 (innate) torment resistance: 1 (innate) petrification resistance: 1 (innate) Inventory bugs: Equipment: eq slot #1, inv slot #0: +0 hand axe eq slot #3, inv slot #1: +0 leather armour }}}}}}}}}}} Webtiles message buffer: Webtiles JSON stack: Screenshot: #. . ##.. ######## #...####....... #.#......### ##.###..#...# ##...##..##.## #.....#..##># .........##.# .......@.##.. ...........#.# .........###.# .........# .# .######### .# .# clua stack: [C], function subtype, line -1 dat..."], function ?, line 2 userbase.lua, function (null), line 174 dlua stack: Lua persistent data: <<<<<<<<<<<<<<<<<<<<<< >>>>>>>>>>>>>>>>>>>>>> Lua marker contents: <<<<<<<<<<<<<<<<<<<<<< >>>>>>>>>>>>>>>>>>>>>>