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: 17785227397414954488, deterministic pregen: 1 Command line: /usr/games/crawl-git-203f4b1603 -name discos -rc /dgldir/rcfiles/crawl-git/discos.rc -macro /dgldir/rcfiles/crawl-git/discos.macro -morgue /dgldir/morgue/discos/ -webtiles-socket /crawl-master/webserver/sockets/discos:2025-01-14.03:36:13.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) [0x597d71e1fdee]: write_stack_trace(_IO_FILE*) /usr/games/crawl-git-203f4b1603(_Z13do_crash_dumpv+0x43a) [0x597d71e2dd5a]: do_crash_dump() /usr/games/crawl-git-203f4b1603(_Z20crash_signal_handleri+0x1fa) [0x597d71e202ca]: crash_signal_handler(int) /lib/x86_64-linux-gnu/libc.so.6(+0x42910) [0x79a452242910]: /lib/x86_64-linux-gnu/libc.so.6(pthread_kill+0x11b) [0x79a45229999b]: /lib/x86_64-linux-gnu/libc.so.6(raise+0x16) [0x79a452242866]: /usr/games/crawl-git-203f4b1603(+0x4bd12d) [0x597d71e2d12d]: /usr/games/crawl-git-203f4b1603(_Z3diePKciS0_z+0x166) [0x597d71e2d7a6]: die(char const*, int, char const*, ...) /usr/games/crawl-git-203f4b1603(+0x6e491f) [0x597d7205491f]: /usr/games/crawl-git-203f4b1603(+0x6d1589) [0x597d72041589]: /usr/games/crawl-git-203f4b1603(_Z15sub_type_stringB5cxx11RK8item_defb+0x1cb) [0x597d72042e3b]: sub_type_string[abi:cxx11](item_def const&, bool) /usr/games/crawl-git-203f4b1603(+0x74e2e4) [0x597d720be2e4]: /lib/x86_64-linux-gnu/liblua5.1.so.0(+0xfcfd) [0x79a452cdbcfd]: /lib/x86_64-linux-gnu/liblua5.1.so.0(+0x1a2ba) [0x79a452ce62ba]: /lib/x86_64-linux-gnu/liblua5.1.so.0(+0xe71d) [0x79a452cda71d]: /lib/x86_64-linux-gnu/liblua5.1.so.0(+0xae23) [0x79a452cd6e23]: /lib/x86_64-linux-gnu/liblua5.1.so.0(+0xd7b0) [0x79a452cd97b0]: /lib/x86_64-linux-gnu/liblua5.1.so.0(lua_pcall+0x5c) [0x79a452cd98dc]: /usr/games/crawl-git-203f4b1603(_ZN4CLua9calltopfnEP9lua_StatePKcP13__va_list_tagiPA1_S4_+0x5b) [0x597d71e0683b]: 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) [0x597d71e0710c]: CLua::callmaybefn(char const*, char const*, __va_list_tag*) /usr/games/crawl-git-203f4b1603(_ZN4CLua11callmaybefnEPKcS1_z+0x93) [0x597d71e07223]: CLua::callmaybefn(char const*, char const*, ...) /usr/games/crawl-git-203f4b1603(_Z21item_needs_autopickupRK8item_defb+0x14e) [0x597d7205fe7e]: item_needs_autopickup(item_def const&, bool) /usr/games/crawl-git-203f4b1603(_ZNK10KnownEntry8get_textB5cxx11Ev+0xce) [0x597d7208643e]: KnownEntry::get_text[abi:cxx11]() const /usr/games/crawl-git-203f4b1603(_ZN6UIMenu11update_itemEi+0x8b) [0x597d7216a2fb]: UIMenu::update_item(int) /usr/games/crawl-git-203f4b1603(_ZN6UIMenu12update_itemsEv+0xaa) [0x597d7216a75a]: UIMenu::update_items() /usr/games/crawl-git-203f4b1603(_ZN4Menu11update_menuEb+0x31) [0x597d7216a851]: Menu::update_menu(bool) /usr/games/crawl-git-203f4b1603(_ZN4Menu7do_menuEv+0x286) [0x597d72167856]: Menu::do_menu() /usr/games/crawl-git-203f4b1603(_ZN4Menu4showEb+0xa8) [0x597d7216ee88]: Menu::show(bool) /usr/games/crawl-git-203f4b1603(_Z20check_item_knowledgeb+0x132b) [0x597d7208325b]: check_item_knowledge(bool) /usr/games/crawl-git-203f4b1603(_Z15process_command12command_typeS_+0x1f5e) [0x597d725a584e]: process_command(command_type, command_type) /usr/games/crawl-git-203f4b1603(+0xc31dba) [0x597d725a1dba]: /usr/games/crawl-git-203f4b1603(+0xc328a5) [0x597d725a28a5]: /usr/games/crawl-git-203f4b1603(main+0x1f7) [0x597d71d57557]: /lib/x86_64-linux-gnu/libc.so.6(+0x280d0) [0x79a4522280d0]: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x89) [0x79a452228189]: /usr/games/crawl-git-203f4b1603(_start+0x25) [0x597d71d57f55]: 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". 0x000079a45230fbf7 in __GI___wait4 (pid=2113691, stat_loc=0x0, options=0, usage=0x0) at ../sysdeps/unix/sysv/linux/wait4.c:30 #0 0x000079a45230fbf7 in __GI___wait4 (pid=2113691, stat_loc=0x0, options=0, usage=0x0) at ../sysdeps/unix/sysv/linux/wait4.c:30 sc_ret = -512 sc_ret = #1 0x0000597d71e2049c in call_gdb (file=0x79a4523ff6c0 <_IO_2_1_stderr_>) at crash.cc:438 gdb = attach_cmd = "attach 2113626\000\000\000\000\000" #2 0x0000597d71e2dd78 in do_crash_dump () at dbg-asrt.cc:673 t = 1736825791 dir = "/dgldir/morgue/discos/" name = "/dgldir/morgue/discos/crash-discos-20250114-033631.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 = 0x79a4523ff6c0 <_IO_2_1_stderr_> #3 0x0000597d71e202ca 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 = {140733770592976}} 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 0x000079a452242866 in __GI_raise (sig=6) at ../sysdeps/posix/raise.c:26 ret = #9 0x0000597d71e2d12d in _BreakStrToDebugger (mesg=mesg@entry=0x7fff22677ad0 "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 0x0000597d71e2d7a6 in die (file=file@entry=0x597d725c9bc2 "item-prop.cc", line=line@entry=2231, format=format@entry=0x597d726442f8 "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 = 0x7fff226783d0, reg_save_area = 0x7fff226782f0}} #11 0x0000597d7205491f in gem_adj (gem=) at item-prop.cc:2231 No locals. #12 0x0000597d72041589 in gem_type_name (g=) at item-name.cc:952 No locals. #13 0x0000597d72042e3b in sub_type_string[abi:cxx11](item_def const&, bool) (item=..., known=known@entry=true) at item-name.cc:1251 type = sub_type = #14 0x0000597d720be2e4 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: amcnicky_arrival_wind_blow layout_loops_ring serial_forest infiniplex_forest_clump_small infiniplex_forest_clump_curved infiniplex_forest_clump_diagonal infiniplex_forest_clump_diagonal infiniplex_forest_straight_4 infiniplex_forest_corner_1 minmay_misc_feat_secret_circle Markers: <<<<<<<<<<<<<<<<<<<<<< Marker #0, type 0 at (54, 44): feature (stone_stairs_up_i) >>>>>>>>>>>>>>>>>>>>>> Messages: <<<<<<<<<<<<<<<<<<<<<< Welcome, discos the Gnoll Wanderer. A smirking vizier told you that the Orb of Zot is just within this dungeon. Press ? for a list of commands and other information. Found four deep dwarf skeletons. Found a staircase leading out of the dungeon. You begin with the following items: a +0 club, 6 javelins, a potion of curing, a +0 ring mail, a potion of might, a curare-tipped dart. >>>>>>>>>>>>>>>>>>>>>> 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: [discos] Species: Gnoll Job: Wanderer HP: 20/20; mods: 0/0 MP: 1/1; mod: 0 Stats: 15 8 10 Position: (54, 44), god: No God (0), turn_is_over: 0, banished: 0 Standing on/in/over feature: staircase leading out of the dungeon Skills (mode: manual) Name | can_currently_train | train | training | level | points | progress Fighting | X | 1 | 3 | 4 | 151 | 26/62 Short Blades | X | 1 | 3 | 0 | 0 | 0/12 Long Blades | X | 1 | 3 | 0 | 0 | 0/12 Axes | X | 1 | 3 | 0 | 0 | 0/12 Maces & Flails | X | 1 | 3 | 0 | 0 | 0/12 Polearms | X | 1 | 3 | 0 | 0 | 0/12 Staves | X | 1 | 3 | 0 | 0 | 0/12 Ranged Weapons | X | 1 | 3 | 0 | 0 | 0/12 Throwing | X | 1 | 3 | 4 | 151 | 26/62 Armour | X | 1 | 3 | 10 | 751 | 58/150 Dodging | X | 1 | 3 | 0 | 0 | 0/12 Stealth | X | 1 | 3 | 0 | 0 | 0/12 Shields | X | 1 | 3 | 0 | 0 | 0/12 Unarmed Combat | X | 1 | 3 | 0 | 0 | 0/12 Spellcasting | X | 1 | 4 | 0 | 0 | 0/12 Conjurations | X | 1 | 3 | 0 | 0 | 0/17 Hexes | X | 1 | 3 | 0 | 0 | 0/17 Summonings | X | 1 | 4 | 0 | 0 | 0/17 Necromancy | X | 1 | 4 | 0 | 0 | 0/17 Translocations | X | 1 | 4 | 0 | 0 | 0/17 Forgecraft | X | 1 | 4 | 0 | 0 | 0/17 Fire Magic | X | 1 | 4 | 0 | 0 | 0/17 Ice Magic | X | 1 | 4 | 0 | 0 | 0/17 Air Magic | X | 1 | 4 | 0 | 0 | 0/17 Earth Magic | X | 1 | 4 | 0 | 0 | 0/17 Alchemy | X | 1 | 4 | 0 | 0 | 0/17 Invocations | X | 1 | 4 | 0 | 0 | 0/10 Evocations | X | 1 | 4 | 2 | 51 | 14/38 Shapeshifting | X | 1 | 4 | 0 | 0 | 0/14 Spell bugs: Durations: Attributes: #49: 34 Mutations: fangs: 1 (innate) strong nose: 1 (innate) distributed training: 1 (innate) Inventory bugs: Equipment: eq slot #3, inv slot #3: +0 ring mail eq slot #1, inv slot #0: +0 club }}}}}}}}}}} 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: <<<<<<<<<<<<<<<<<<<<<< >>>>>>>>>>>>>>>>>>>>>>