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: 14973865813626902441, deterministic pregen: 1 Command line: /usr/games/crawl-git-203f4b1603 -name PixelatedCat -rc /dgldir/rcfiles/crawl-git/PixelatedCat.rc -macro /dgldir/rcfiles/crawl-git/PixelatedCat.macro -morgue /dgldir/morgue/PixelatedCat/ -webtiles-socket /crawl-master/webserver/sockets/PixelatedCat:2025-01-14.02:37:45.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) [0x605e4c4d6dee]: write_stack_trace(_IO_FILE*) /usr/games/crawl-git-203f4b1603(_Z13do_crash_dumpv+0x43a) [0x605e4c4e4d5a]: do_crash_dump() /usr/games/crawl-git-203f4b1603(_Z20crash_signal_handleri+0x1fa) [0x605e4c4d72ca]: crash_signal_handler(int) /lib/x86_64-linux-gnu/libc.so.6(+0x42910) [0x7250e6e42910]: /lib/x86_64-linux-gnu/libc.so.6(pthread_kill+0x11b) [0x7250e6e9999b]: /lib/x86_64-linux-gnu/libc.so.6(raise+0x16) [0x7250e6e42866]: /usr/games/crawl-git-203f4b1603(+0x4bd12d) [0x605e4c4e412d]: /usr/games/crawl-git-203f4b1603(_Z3diePKciS0_z+0x166) [0x605e4c4e47a6]: die(char const*, int, char const*, ...) /usr/games/crawl-git-203f4b1603(+0x6e491f) [0x605e4c70b91f]: /usr/games/crawl-git-203f4b1603(+0x6d1589) [0x605e4c6f8589]: /usr/games/crawl-git-203f4b1603(_Z15sub_type_stringB5cxx11RK8item_defb+0x1cb) [0x605e4c6f9e3b]: sub_type_string[abi:cxx11](item_def const&, bool) /usr/games/crawl-git-203f4b1603(+0x74e2e4) [0x605e4c7752e4]: /lib/x86_64-linux-gnu/liblua5.1.so.0(+0xfcfd) [0x7250e78c0cfd]: /lib/x86_64-linux-gnu/liblua5.1.so.0(+0x1a2ba) [0x7250e78cb2ba]: /lib/x86_64-linux-gnu/liblua5.1.so.0(+0xe71d) [0x7250e78bf71d]: /lib/x86_64-linux-gnu/liblua5.1.so.0(+0xae23) [0x7250e78bbe23]: /lib/x86_64-linux-gnu/liblua5.1.so.0(+0xd7b0) [0x7250e78be7b0]: /lib/x86_64-linux-gnu/liblua5.1.so.0(lua_pcall+0x5c) [0x7250e78be8dc]: /usr/games/crawl-git-203f4b1603(_ZN4CLua9calltopfnEP9lua_StatePKcP13__va_list_tagiPA1_S4_+0x5b) [0x605e4c4bd83b]: 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) [0x605e4c4be10c]: CLua::callmaybefn(char const*, char const*, __va_list_tag*) /usr/games/crawl-git-203f4b1603(_ZN4CLua11callmaybefnEPKcS1_z+0x93) [0x605e4c4be223]: CLua::callmaybefn(char const*, char const*, ...) /usr/games/crawl-git-203f4b1603(_Z21item_needs_autopickupRK8item_defb+0x14e) [0x605e4c716e7e]: item_needs_autopickup(item_def const&, bool) /usr/games/crawl-git-203f4b1603(_ZNK10KnownEntry8get_textB5cxx11Ev+0xce) [0x605e4c73d43e]: KnownEntry::get_text[abi:cxx11]() const /usr/games/crawl-git-203f4b1603(_ZN6UIMenu11update_itemEi+0x8b) [0x605e4c8212fb]: UIMenu::update_item(int) /usr/games/crawl-git-203f4b1603(_ZN6UIMenu12update_itemsEv+0xaa) [0x605e4c82175a]: UIMenu::update_items() /usr/games/crawl-git-203f4b1603(_ZN4Menu11update_menuEb+0x31) [0x605e4c821851]: Menu::update_menu(bool) /usr/games/crawl-git-203f4b1603(_ZN4Menu7do_menuEv+0x286) [0x605e4c81e856]: Menu::do_menu() /usr/games/crawl-git-203f4b1603(_ZN4Menu4showEb+0xa8) [0x605e4c825e88]: Menu::show(bool) /usr/games/crawl-git-203f4b1603(_Z20check_item_knowledgeb+0x132b) [0x605e4c73a25b]: check_item_knowledge(bool) /usr/games/crawl-git-203f4b1603(_Z15process_command12command_typeS_+0x1f5e) [0x605e4cc5c84e]: process_command(command_type, command_type) /usr/games/crawl-git-203f4b1603(+0xc31dba) [0x605e4cc58dba]: /usr/games/crawl-git-203f4b1603(+0xc328a5) [0x605e4cc598a5]: /usr/games/crawl-git-203f4b1603(main+0x1f7) [0x605e4c40e557]: /lib/x86_64-linux-gnu/libc.so.6(+0x280d0) [0x7250e6e280d0]: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x89) [0x7250e6e28189]: /usr/games/crawl-git-203f4b1603(_start+0x25) [0x605e4c40ef55]: 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". 0x00007250e6f0fbf7 in __GI___wait4 (pid=2110802, stat_loc=0x0, options=0, usage=0x0) at ../sysdeps/unix/sysv/linux/wait4.c:30 #0 0x00007250e6f0fbf7 in __GI___wait4 (pid=2110802, stat_loc=0x0, options=0, usage=0x0) at ../sysdeps/unix/sysv/linux/wait4.c:30 sc_ret = -512 sc_ret = #1 0x0000605e4c4d749c in call_gdb (file=0x7250e6fff6c0 <_IO_2_1_stderr_>) at crash.cc:438 gdb = attach_cmd = "attach 2110774\000\000\000\000\000" #2 0x0000605e4c4e4d78 in do_crash_dump () at dbg-asrt.cc:673 t = 1736822294 dir = "/dgldir/morgue/PixelatedCat/" name = "/dgldir/morgue/PixelatedCat/crash-PixelatedCat-20250114-023814.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 = 0x7250e6fff6c0 <_IO_2_1_stderr_> #3 0x0000605e4c4d72ca 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 = {140736560334688}} 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 0x00007250e6e42866 in __GI_raise (sig=6) at ../sysdeps/posix/raise.c:26 ret = #9 0x0000605e4c4e412d in _BreakStrToDebugger (mesg=mesg@entry=0x7fffc8af8f60 "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 0x0000605e4c4e47a6 in die (file=file@entry=0x605e4cc80bc2 "item-prop.cc", line=line@entry=2231, format=format@entry=0x605e4ccfb2f8 "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 = 0x7fffc8af9860, reg_save_area = 0x7fffc8af9780}} #11 0x0000605e4c70b91f in gem_adj (gem=) at item-prop.cc:2231 No locals. #12 0x0000605e4c6f8589 in gem_type_name (g=) at item-name.cc:952 No locals. #13 0x0000605e4c6f9e3b in sub_type_string[abi:cxx11](item_def const&, bool) (item=..., known=known@entry=true) at item-name.cc:1251 type = sub_type = #14 0x0000605e4c7752e4 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 = 1 Level id: D:1 Level build method = random_map_for_place, level layout type = corridors, absdepth0 = 0 Level vaults: dpeg_arrival_morbid_curiosity layout_loops_corners shapermc_ecumenical_altar_mp_ritualfount Markers: <<<<<<<<<<<<<<<<<<<<<< Marker #0, type 0 at (39, 30): feature (stone_stairs_up_i) >>>>>>>>>>>>>>>>>>>>>> Messages: <<<<<<<<<<<<<<<<<<<<<< Welcome, PixelatedCat the Deep Elf Hunter. The Orb of Zot is coveted for many reasons. Will you seize it for your own? Press ? for a list of commands and other information. Found a manual of Shapeshifting and a robe. Found a staircase leading out of the dungeon. You pick up a manual of Shapeshifting and begin studying. You open the door. There is an open door here. You open the door. A goblin comes into view. A goblin is nearby! A goblin is nearby! You shoot an arrow. The arrow hits the goblin. The goblin is heavily wounded. No target in view! No target in view! A goblin comes into view. There is an open door here. You shoot an arrow. The goblin shouts! The arrow hits the goblin. You kill the goblin! The goblin hits you but does no damage. A goblin is nearby! You shoot an arrow. The arrow closely misses the goblin. The goblin barely misses you. A goblin is nearby! You shoot an arrow. The arrow hits the goblin. You kill the goblin! Things that are here: 6 stones; a goblin corpse There is an open door here. There is an open door here. You open the door. There is an open door here. You open the door. Found a robe. No target in view! A kobold comes into view. It is wielding a +0 mace. There is an open door here. You shoot an arrow. The arrow hits the kobold. You kill the kobold! Your Shapeshifting skill increases to level 1! There is an open door here. There is an open door here. Found a dagger. No target in view! No target in view! You open the door. There is an open door here. A giant cockroach comes into view. You shoot an arrow. The arrow hits the giant cockroach! You kill the giant cockroach! No target in view! No target in view! >>>>>>>>>>>>>>>>>>>>>> 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: [PixelatedCat] Species: Deep Elf Job: Hunter HP: 12/12; mods: 0/0 MP: 3/3; mod: 0 Stats: 8 13 18 Position: (12, 27), 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 | 1 | 151 | 81/142 Short Blades | X | 0 | 0 | 0 | 0 | 0/50 Long Blades | X | 0 | 0 | 0 | 0 | 0/59 Axes | X | 0 | 0 | 0 | 0 | 0/70 Maces & Flails | X | 0 | 0 | 0 | 0 | 0/84 Polearms | X | 0 | 0 | 0 | 0 | 0/84 Staves | X | 0 | 0 | 0 | 0 | 0/50 Ranged Weapons | X | 1 | 50 | 5 | 536 | 91/179 Throwing | X | 0 | 0 | 0 | 0 | 0/50 Armour | X | 0 | 0 | 0 | 0 | 0/70 Dodging | X | 0 | 0 | 2 | 151 | 45/106 Stealth | X | 0 | 0 | 1 | 43 | 14/60 Shields | X | 0 | 0 | 0 | 0 | 0/70 Unarmed Combat | X | 0 | 0 | 0 | 0 | 0/70 Spellcasting | X | 0 | 0 | 0 | 0 | 0/29 Conjurations | X | 0 | 0 | 0 | 0 | 0/42 Hexes | X | 0 | 0 | 0 | 0 | 0/29 Summonings | X | 0 | 0 | 0 | 0 | 0/42 Necromancy | X | 0 | 0 | 0 | 0 | 0/35 Translocations | X | 0 | 0 | 0 | 0 | 0/42 Forgecraft | X | 0 | 0 | 0 | 0 | 0/42 Fire Magic | X | 0 | 0 | 0 | 0 | 0/42 Ice Magic | X | 0 | 0 | 0 | 0 | 0/42 Air Magic | X | 0 | 0 | 0 | 0 | 0/42 Earth Magic | X | 0 | 0 | 0 | 0 | 0/42 Alchemy | X | 0 | 0 | 0 | 0 | 0/42 Invocations | X | 0 | 0 | 0 | 0 | 0/42 Evocations | X | 0 | 0 | 0 | 0 | 0/42 Shapeshifting | X | 1 | 50 | 1 | 70 | 20/100 Spell bugs: Durations: Attributes: #49: 15 Mutations: magic regeneration: 1 (innate) Inventory bugs: Equipment: eq slot #1, inv slot #0: +0 shortbow eq slot #2, inv slot #0: +0 shortbow(overflow) 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: <<<<<<<<<<<<<<<<<<<<<< >>>>>>>>>>>>>>>>>>>>>>