ERROR in 'prompt.cc' at line 387: slot not a letter: null (0) Version: Dungeon Crawl Stone Soup 0.34-a0-377-g2aa8828f32 Platform: unix Bits: 64 Game mode: normal Tiles: online Seed: 7297704716943983673, deterministic pregen: 1 Command line: /usr/games/crawl-git-2aa8828f32 -name psychicmeow -rc /dgldir/rcfiles/crawl-git/psychicmeow.rc -macro /dgldir/rcfiles/crawl-git/psychicmeow.macro -morgue /dgldir/morgue/psychicmeow/ -webtiles-socket /crawl-master/webserver/sockets/psychicmeow:2025-07-17.18:49:21.sock -await-connection RC options: restart_after_game = false Crash caused by signal #6: Aborted Obtained 23 stack frames. /usr/games/crawl-git-2aa8828f32(_Z17write_stack_traceP8_IO_FILE+0x3e) [0x615a534974fe]: write_stack_trace(_IO_FILE*) /usr/games/crawl-git-2aa8828f32(_Z13do_crash_dumpv+0x43a) [0x615a534a55ca]: do_crash_dump() /usr/games/crawl-git-2aa8828f32(_Z20crash_signal_handleri+0x1fa) [0x615a534979da]: crash_signal_handler(int) /lib/x86_64-linux-gnu/libc.so.6(+0x42910) [0x7cb0e1a42910]: /lib/x86_64-linux-gnu/libc.so.6(pthread_kill+0x11b) [0x7cb0e1a9999b]: /lib/x86_64-linux-gnu/libc.so.6(raise+0x16) [0x7cb0e1a42866]: /usr/games/crawl-git-2aa8828f32(+0x4e499d) [0x615a534a499d]: /usr/games/crawl-git-2aa8828f32(_Z3diePKciS0_z+0x166) [0x615a534a5016]: die(char const*, int, char const*, ...) /usr/games/crawl-git-2aa8828f32(_Z15letter_to_indexi+0x85) [0x615a539b2ea5]: letter_to_index(int) /usr/games/crawl-git-2aa8828f32(+0x6e386d) [0x615a536a386d]: /usr/games/crawl-git-2aa8828f32(_ZSt16__insertion_sortIN9__gnu_cxx17__normal_iteratorIPP8InvEntrySt6vectorIS3_SaIS3_EEEENS0_5__ops15_Iter_comp_iterI21menu_entry_comparatorEEEvT_SD_T0_+0xd8) [0x615a536af098]: void std::__insertion_sort<__gnu_cxx::__normal_iterator > >, __gnu_cxx::__ops::_Iter_comp_iter >(__gnu_cxx::__normal_iterator > >, __gnu_cxx::__normal_iterator > >, __gnu_cxx::__ops::_Iter_comp_iter) /usr/games/crawl-git-2aa8828f32(_ZN7InvMenu10load_itemsERKSt6vectorIPK8item_defSaIS3_EESt8functionIFP9MenuEntrySA_EE11menu_letterbb+0x82d) [0x615a536ab1dd]: InvMenu::load_items(std::vector > const&, std::function, menu_letter, bool, bool) /usr/games/crawl-git-2aa8828f32(_ZN11UseItemMenu13populate_menuEv+0x411) [0x615a536b7591]: UseItemMenu::populate_menu() /usr/games/crawl-git-2aa8828f32(_ZN11UseItemMenu5resetE15operation_typesPKc+0x128) [0x615a536b7ed8]: UseItemMenu::reset(operation_types, char const*) /usr/games/crawl-git-2aa8828f32(_ZN11UseItemMenuC1E15operation_typesiPKc+0x133) [0x615a536b8183]: UseItemMenu::UseItemMenu(operation_types, int, char const*) /usr/games/crawl-git-2aa8828f32(_Z16use_an_item_menuRP8item_def15operation_typesiPKcSt8functionIFbvEE+0x40) [0x615a536b8200]: use_an_item_menu(item_def*&, operation_types, int, char const*, std::function) /usr/games/crawl-git-2aa8828f32(_Z11use_an_item15operation_typesP8item_def+0x2ca) [0x615a536bda3a]: use_an_item(operation_types, item_def*) /usr/games/crawl-git-2aa8828f32(+0xc80c1a) [0x615a53c40c1a]: /usr/games/crawl-git-2aa8828f32(+0xc817a5) [0x615a53c417a5]: /usr/games/crawl-git-2aa8828f32(main+0x1f7) [0x615a533cc627]: /lib/x86_64-linux-gnu/libc.so.6(+0x280d0) [0x7cb0e1a280d0]: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x89) [0x7cb0e1a28189]: /usr/games/crawl-git-2aa8828f32(_start+0x25) [0x615a533cd115]: 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". 0x00007cb0e1b0fbf7 in __GI___wait4 (pid=1041273, stat_loc=0x0, options=0, usage=0x0) at ../sysdeps/unix/sysv/linux/wait4.c:30 #0 0x00007cb0e1b0fbf7 in __GI___wait4 (pid=1041273, stat_loc=0x0, options=0, usage=0x0) at ../sysdeps/unix/sysv/linux/wait4.c:30 sc_ret = -512 sc_ret = #1 0x0000615a53497bac in call_gdb (file=0x7cb0e1bff6c0 <_IO_2_1_stderr_>) at crash.cc:438 gdb = attach_cmd = "attach 1041117\000\000\000\000\000" #2 0x0000615a534a55e8 in do_crash_dump () at dbg-asrt.cc:673 t = 1752778484 dir = "/dgldir/morgue/psychicmeow/" name = "/dgldir/morgue/psychicmeow/crash-psychicmeow-20250717-185444.txt", '\000' signal_info = "Crash caused by signal #6: Aborted" cause_msg = "ERROR in 'prompt.cc' at line 387: slot not a letter: null (0)" file = 0x7cb0e1bff6c0 <_IO_2_1_stderr_> #3 0x0000615a534979da 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 = {140735134253328}} 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 0x00007cb0e1a42866 in __GI_raise (sig=6) at ../sysdeps/posix/raise.c:26 ret = #9 0x0000615a534a499d in _BreakStrToDebugger (mesg=mesg@entry=0x7fff73af4910 "ERROR in 'prompt.cc' at line 387: slot not a letter: null (0)", assert=false) at dbg-asrt.cc:799 No locals. #10 0x0000615a534a5016 in die (file=file@entry=0x615a53c7dcef "prompt.cc", line=line@entry=387, format=format@entry=0x615a53c7dd1a "slot not a letter: %s (%d)") at dbg-asrt.cc:859 tmp = "slot not a letter: null (0)", '\000' mesg = "ERROR in 'prompt.cc' at line 387: slot not a letter: null (0)", '\000' args = {{gp_offset = 40, fp_offset = 48, overflow_arg_area = 0x7fff73af5210, reg_save_area = 0x7fff73af5130}} #11 0x0000615a539b2ea5 in letter_to_index (the_letter=0) at prompt.cc:387 No locals. #12 0x0000615a536a386d in sort_item_slot (a=) at invent.cc:786 No locals. #13 compare_item_fn (a=, b=0x615a56bfafb0) at invent.cc:750 No locals. #14 0x0000615a536af098 in item_comparator::compare (this=0x615a56005d70, b=, a=) at /home/crawl-dev/dgamelaunch-config/crawl-build/crawl-git-repository/crawl-ref/source/externs.h:297 No locals. #15 _compare_invmenu_items (cmps=, b=0x615a56bfafb0, a=0x615a56bc24f0) at invent.cc:822 cmp = comparator = @0x615a56005d70: {cmpfn = 0x615a536a3850 (InvEntry const*, InvEntry const*)>, negated = false} __for_range = __for_begin = __for_end = #16 menu_entry_comparator::operator() (this=, b=, a=0x615a56bc24f0) at invent.cc:842 ia = 0x615a56bc24f0 ib = 0x615a56bfafb0 ia = ib = #17 __gnu_cxx::__ops::_Iter_comp_iter::operator()<__gnu_cxx::__normal_iterator > >, __gnu_cxx::__normal_iterator > > > (__it2=0x615a56bfafb0, __it1=0x615a56bc24f0, this=) at /usr/include/c++/13/bits/predefined_ops.h:158 No locals. #18 std::__insertion_sort<__gnu_cxx::__normal_iterator > >, __gnu_cxx::__ops::_Iter_comp_iter > (__first=..., __last=..., __last@entry=0x30, __comp=__comp@entry=...) at /usr/include/c++/13/bits/stl_algo.h:1819 __i = 0x615a56bc24f0 #19 0x0000615a536aa9a8 in std::__final_insertion_sort<__gnu_cxx::__normal_iterator > >, __gnu_cxx::__ops::_Iter_comp_iter > (__comp=..., __last=..., __first=...) at /usr/include/c++/13/bits/stl_algo.h:1864 No locals. #20 0x0000615a536ab1dd in InvMenu::load_items(std::vector > const&, std::function, menu_letter, bool, bool) (this=this@entry=0x7fff73af56a0, mitems=std::vector of length 4, capacity 4 = {...}, procfn=..., ckey=..., ckey@entry=..., sort=sort@entry=true, subkeys=, subkeys@entry=false) at invent.cc:1018 i = subtitle = "Hand Weapons" forced_first = 0x0 obj = inv_class = {mData = {4, 0 }} items_in_class = std::vector of length 4, capacity 4 = {0x615a56bfafb0, 0x615a56bc24f0, 0x615a56f0ca70, 0x615a56b30f40} cond = select_all = "" #21 0x0000615a536b7591 in UseItemMenu::populate_menu (this=0x7fff73af56a0) at item-use.cc:508 use_category_selection = true #22 0x0000615a536b7ed8 in UseItemMenu::reset (this=this@entry=0x7fff73af56a0, _oper=, prompt_override=prompt_override@entry=0x0) at item-use.cc:349 No locals. #23 0x0000615a536b8183 in UseItemMenu::UseItemMenu (this=0x7fff73af56a0, _oper=, item_type=, prompt=0x0) at item-use.cc:371 No locals. #24 0x0000615a536b8200 in use_an_item_menu(item_def*&, operation_types, int, char const*, std::function) (target=@0x7fff73af59c8: 0x0, oper=oper@entry=OPER_WIELD, item_type=item_type@entry=-1, prompt=prompt@entry=0x0, allowcancel=...) at item-use.cc:1728 menu = { = { = {_vptr.Menu = 0x615a53fc0c00 , f_selitem = 0x0, f_keyfilter = {> = {> = {}, }, = {static _M_max_size = 16, static _M_max_align = 8, _M_functor = {_M_unused = {_M_object = 0x0, _M_const_object = 0x0, _M_function_pointer = 0x0, _M_member_pointer = NULL}, _M_pod_data = '\000' }, _M_manager = 0x0}, _M_invoker = 0x0}, on_single_selection = {> = {> = {}, }, = {static _M_max_size = 16, static _M_max_align = 8, _M_functor = {_M_unused = {_M_object = 0x0, _M_const_object = 0x0, _M_function_pointer = 0x0, _M_member_pointer = NULL}, _M_pod_data = '\000' }, _M_manager = 0x0}, _M_invoker = 0x0}, on_examine = {> = {> = {}, }, = {static _M_max_size = 16, static _M_max_align = 8, _M_functor = {_M_unused = {_M_object = 0x0, _M_const_object = 0x0, _M_function_pointer = 0x0, _M_member_pointer = NULL}, _M_pod_data = '\000' }, _M_manager = 0x0}, _M_invoker = 0x0}, on_show = {> = {}, = {static _M_max_size = 16, static _M_max_align = 8, _M_functor = {_M_unused = {_M_object = 0x0, _M_const_object = 0x0, _M_function_pointer = 0x0, _M_member_pointer = NULL}, _M_pod_data = '\000' }, _M_manager = 0x0}, _M_invoker = 0x0}, action_cycle = Menu::CYCLE_NONE, menu_action = Menu::ACT_EXECUTE, _title_prompt_help_tag = "", title = 0x615a564a0410, title2 = 0x0, m_indent_title = false, flags = 270914, tag = "use_item", cur_page = 1, num_pages = 24922, more = {ops = std::vector of length 0, capacity 0}, m_keyhelp_more = false, items = std::vector of length 6, capacity 8 = {0x615a56f4b8c0, 0x615a56f4b350, 0x615a56f4aa70, 0x615a56b5c370, 0x615a56c82090, 0x615a56c449e0}, sel = std::vector of length 0, capacity 0, select_filter = std::vector of length 0, capacity 0, highlighter = 0x615a563cddd0, num = -1, lastch = 0, alive = false, more_needs_init = true, remap_numpad = true, last_hovered = -1, m_kmc = KMC_MENU, m_filter = 0x0, m_ui = {popup = std::shared_ptr (empty) = {get() = 0x0}, menu = std::shared_ptr (use count 2, weak count 1) = {get() = 0x615a56b01000}, scroller = std::shared_ptr (use count 2, weak count 1) = {get() = 0x615a56c297a0}, title = std::shared_ptr (use count 2, weak count 1) = {get() = 0x615a56f2b740}, more = std::shared_ptr (use count 2, weak count 1) = {get() = 0x615a56ca1af0}, more_bin = std::shared_ptr (empty) = {get() = 0x0}, vbox = std::shared_ptr (use count 1, weak count 1) = {get() = 0x615a56c4b4e0}}, _webtiles_title_changed = true, _webtiles_title = {ops = std::vector of length 2, capacity 2 = {{type = FSOP_COLOUR, colour = 15, text = ""}, {type = FSOP_TEXT, colour = -1, text = "Wield which item (- for none)?"}}}}, type = menu_type::invlist, pre_select = 0x0, title_annotate = 0x0, temp_title = "", _mode_special_drop = false}, display_all = false, is_inventory = true, item_type_filter = -2, oper = OPER_WIELD, saved_inv_item = 27000, saved_hover = -1, last_inv_pos = 3, item_inv = std::vector of length 1, capacity 1 = {0x615a541c92e0 }, item_floor = std::vector of length 4, capacity 4 = {0x615a54208928 , 0x615a54208c28 , 0x615a54208ca8 , 0x615a54208ea8 }, do_easy_floor = false, inv_header = 0x615a56f4b350, floor_header = 0x615a56c82090, available_modes = std::vector of length 4, capacity 4 = {OPER_EQUIP, OPER_WIELD, OPER_WEAR, OPER_PUTON}} choice_made = tmp_tgt = #25 0x0000615a536bda3a in use_an_item (oper=OPER_WIELD, target=) at item-use.cc:1011 No locals. #26 0x0000615a53c40c1a in _input () at main.cc:1268 cmd = CMD_WIELD_WEAPON real_prev_cmd = CMD_MOVE_DOWN_LEFT player_disabled = {was_disabled = false} #27 0x0000615a53c417a5 in _launch_game () at main.cc:493 game_start = ccon = {cstate = false} #28 0x0000615a533cc627 in _launch_game_loop () at main.cc:392 game_ended = false game_ended = ge = fe = #29 main (argc=12, argv=0x7fff73af6058) at main.cc:342 echo = {prev_state = {value = maybe_bool::mbool_t::maybe, static maybe =