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:43:27.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) [0x609091d10dee]: write_stack_trace(_IO_FILE*) /usr/games/crawl-git-203f4b1603(_Z13do_crash_dumpv+0x43a) [0x609091d1ed5a]: do_crash_dump() /usr/games/crawl-git-203f4b1603(_Z20crash_signal_handleri+0x1fa) [0x609091d112ca]: crash_signal_handler(int) /lib/x86_64-linux-gnu/libc.so.6(+0x42910) [0x7c3a2ae42910]: /lib/x86_64-linux-gnu/libc.so.6(pthread_kill+0x11b) [0x7c3a2ae9999b]: /lib/x86_64-linux-gnu/libc.so.6(raise+0x16) [0x7c3a2ae42866]: /usr/games/crawl-git-203f4b1603(+0x4bd12d) [0x609091d1e12d]: /usr/games/crawl-git-203f4b1603(_Z3diePKciS0_z+0x166) [0x609091d1e7a6]: die(char const*, int, char const*, ...) /usr/games/crawl-git-203f4b1603(+0x6e491f) [0x609091f4591f]: /usr/games/crawl-git-203f4b1603(+0x6d1589) [0x609091f32589]: /usr/games/crawl-git-203f4b1603(_Z15sub_type_stringB5cxx11RK8item_defb+0x1cb) [0x609091f33e3b]: sub_type_string[abi:cxx11](item_def const&, bool) /usr/games/crawl-git-203f4b1603(+0x74e2e4) [0x609091faf2e4]: /lib/x86_64-linux-gnu/liblua5.1.so.0(+0xfcfd) [0x7c3a2b70acfd]: /lib/x86_64-linux-gnu/liblua5.1.so.0(+0x1a2ba) [0x7c3a2b7152ba]: /lib/x86_64-linux-gnu/liblua5.1.so.0(+0xe71d) [0x7c3a2b70971d]: /lib/x86_64-linux-gnu/liblua5.1.so.0(+0xae23) [0x7c3a2b705e23]: /lib/x86_64-linux-gnu/liblua5.1.so.0(+0xd7b0) [0x7c3a2b7087b0]: /lib/x86_64-linux-gnu/liblua5.1.so.0(lua_pcall+0x5c) [0x7c3a2b7088dc]: /usr/games/crawl-git-203f4b1603(_ZN4CLua9calltopfnEP9lua_StatePKcP13__va_list_tagiPA1_S4_+0x5b) [0x609091cf783b]: 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) [0x609091cf810c]: CLua::callmaybefn(char const*, char const*, __va_list_tag*) /usr/games/crawl-git-203f4b1603(_ZN4CLua11callmaybefnEPKcS1_z+0x93) [0x609091cf8223]: CLua::callmaybefn(char const*, char const*, ...) /usr/games/crawl-git-203f4b1603(_Z21item_needs_autopickupRK8item_defb+0x14e) [0x609091f50e7e]: item_needs_autopickup(item_def const&, bool) /usr/games/crawl-git-203f4b1603(_ZNK10KnownEntry8get_textB5cxx11Ev+0xce) [0x609091f7743e]: KnownEntry::get_text[abi:cxx11]() const /usr/games/crawl-git-203f4b1603(_ZN6UIMenu11update_itemEi+0x8b) [0x60909205b2fb]: UIMenu::update_item(int) /usr/games/crawl-git-203f4b1603(_ZN6UIMenu12update_itemsEv+0xaa) [0x60909205b75a]: UIMenu::update_items() /usr/games/crawl-git-203f4b1603(_ZN4Menu11update_menuEb+0x31) [0x60909205b851]: Menu::update_menu(bool) /usr/games/crawl-git-203f4b1603(_ZN4Menu7do_menuEv+0x286) [0x609092058856]: Menu::do_menu() /usr/games/crawl-git-203f4b1603(_ZN4Menu4showEb+0xa8) [0x60909205fe88]: Menu::show(bool) /usr/games/crawl-git-203f4b1603(_Z20check_item_knowledgeb+0x132b) [0x609091f7425b]: check_item_knowledge(bool) /usr/games/crawl-git-203f4b1603(_Z15process_command12command_typeS_+0x1f5e) [0x60909249684e]: process_command(command_type, command_type) /usr/games/crawl-git-203f4b1603(+0xc31dba) [0x609092492dba]: /usr/games/crawl-git-203f4b1603(+0xc328a5) [0x6090924938a5]: /usr/games/crawl-git-203f4b1603(main+0x1f7) [0x609091c48557]: /lib/x86_64-linux-gnu/libc.so.6(+0x280d0) [0x7c3a2ae280d0]: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x89) [0x7c3a2ae28189]: /usr/games/crawl-git-203f4b1603(_start+0x25) [0x609091c48f55]: 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". 0x00007c3a2af0fbf7 in __GI___wait4 (pid=2111099, stat_loc=0x0, options=0, usage=0x0) at ../sysdeps/unix/sysv/linux/wait4.c:30 #0 0x00007c3a2af0fbf7 in __GI___wait4 (pid=2111099, stat_loc=0x0, options=0, usage=0x0) at ../sysdeps/unix/sysv/linux/wait4.c:30 sc_ret = -512 sc_ret = #1 0x0000609091d1149c in call_gdb (file=0x7c3a2afff6c0 <_IO_2_1_stderr_>) at crash.cc:438 gdb = attach_cmd = "attach 2111085\000\000\000\000\000" #2 0x0000609091d1ed78 in do_crash_dump () at dbg-asrt.cc:673 t = 1736822615 dir = "/dgldir/morgue/PixelatedCat/" name = "/dgldir/morgue/PixelatedCat/crash-PixelatedCat-20250114-024335.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 = 0x7c3a2afff6c0 <_IO_2_1_stderr_> #3 0x0000609091d112ca 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 = {140734966286272}} 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 0x00007c3a2ae42866 in __GI_raise (sig=6) at ../sysdeps/posix/raise.c:26 ret = #9 0x0000609091d1e12d in _BreakStrToDebugger (mesg=mesg@entry=0x7fff69ac4fc0 "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 0x0000609091d1e7a6 in die (file=file@entry=0x6090924babc2 "item-prop.cc", line=line@entry=2231, format=format@entry=0x6090925352f8 "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 = 0x7fff69ac58c0, reg_save_area = 0x7fff69ac57e0}} #11 0x0000609091f4591f in gem_adj (gem=) at item-prop.cc:2231 No locals. #12 0x0000609091f32589 in gem_type_name (g=) at item-name.cc:952 No locals. #13 0x0000609091f33e3b in sub_type_string[abi:cxx11](item_def const&, bool) (item=..., known=known@entry=true) at item-name.cc:1251 type = sub_type = #14 0x0000609091faf2e4 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. Welcome back, PixelatedCat the Deep Elf Hunter. 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. Welcome back, PixelatedCat the Deep Elf Hunter. Press ? for a list of commands and other information. Welcome back, PixelatedCat the Deep Elf Hunter. Welcome back, PixelatedCat the Deep Elf Hunter. Welcome back, PixelatedCat the Deep Elf Hunter. Press ? for a list of commands and other information. You pick up a manual of Shapeshifting and begin studying. Saving game... please wait. Welcome back, PixelatedCat the Deep Elf Hunter. Welcome back, PixelatedCat the Deep Elf Hunter. Press ? for a list of commands and other information. Okay, then. Unknown command. >>>>>>>>>>>>>>>>>>>>>> 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: 0, 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: (42, 32), 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 | 1 | 25 | 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 | 25 | 5 | 501 | 56/179 Throwing | X | 0 | 0 | 0 | 0 | 0/50 Armour | X | 0 | 0 | 0 | 0 | 0/70 Dodging | X | 1 | 25 | 2 | 151 | 45/106 Stealth | X | 1 | 25 | 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 | 0 | 0 | 0 | 0 | 0/50 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: <<<<<<<<<<<<<<<<<<<<<< >>>>>>>>>>>>>>>>>>>>>>