ASSERT(valid_cursor_pos(pos.x, pos.y, region)) in 'libutil.cc' at line 403 failed. (invalid cursor position 38,-7 in region 1, should be 1,10 in region 2) Version: Dungeon Crawl Stone Soup 0.34.1-4-g0e95e087e2 Platform: unix Bits: 64 Game mode: normal Tiles: online Seed: 10676277698394690966, deterministic pregen: 1 Command line: /usr/games/crawl-0.34 -name gelgoog -rc /dgldir/rcfiles/crawl-0.34/gelgoog.rc -macro /dgldir/rcfiles/crawl-0.34/gelgoog.macro -webtiles-socket /crawl-master/webserver/sockets/gelgoog:dcss-0.34.sock -morgue /dgldir/morgue/gelgoog/ RC options: restart_after_game = false Crash caused by signal #6: Aborted Obtained 22 stack frames. /usr/games/crawl-0.34(_Z17write_stack_traceP8_IO_FILE+0x3e) [0x5d8856b8991e]: write_stack_trace(_IO_FILE*) /usr/games/crawl-0.34(_Z13do_crash_dumpv+0x43a) [0x5d8856b97b7a]: do_crash_dump() /usr/games/crawl-0.34(_Z20crash_signal_handleri+0x1fa) [0x5d8856b89dfa]: crash_signal_handler(int) /lib/x86_64-linux-gnu/libc.so.6(+0x42910) [0x7768f2242910]: /lib/x86_64-linux-gnu/libc.so.6(pthread_kill+0x11b) [0x7768f229999b]: /lib/x86_64-linux-gnu/libc.so.6(raise+0x16) [0x7768f2242866]: /usr/games/crawl-0.34(+0x502f4d) [0x5d8856b96f4d]: /usr/games/crawl-0.34(_Z12AssertFailedPKcS0_iS0_z+0x1a1) [0x5d8856b97431]: AssertFailed(char const*, char const*, int, char const*, ...) /usr/games/crawl-0.34(_Z23assert_valid_cursor_posv+0xc5) [0x5d8856e57495]: assert_valid_cursor_pos() /usr/games/crawl-0.34(+0x4cb8aa) [0x5d8856b5f8aa]: /usr/games/crawl-0.34(_Z11wrapcprintfPKcz+0xce) [0x5d8856b606ee]: wrapcprintf(char const*, ...) /usr/games/crawl-0.34(_ZNK16formatted_string7displayEii+0xee) [0x5d8856cb4b1e]: formatted_string::display(int, int) const /usr/games/crawl-0.34(_ZN14message_window4showEv+0x9f) [0x5d8856eff19f]: message_window::show() /usr/games/crawl-0.34(_ZN14message_window8add_itemENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE11prefix_typeb+0x310) [0x5d8856eff960]: message_window::add_item(std::__cxx11::basic_string, std::allocator >, prefix_type, bool) /usr/games/crawl-0.34(_ZN13message_store10flush_prevEv+0x3fd) [0x5d8856f0086d]: message_store::flush_prev() /usr/games/crawl-0.34(+0x8663f6) [0x5d8856efa3f6]: /usr/games/crawl-0.34(_Z3mprRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x4c) [0x5d8856efab1c]: mpr(std::__cxx11::basic_string, std::allocator > const&) /usr/games/crawl-0.34(+0xcc3a64) [0x5d8857357a64]: /usr/games/crawl-0.34(main+0x1f7) [0x5d8856abb317]: /lib/x86_64-linux-gnu/libc.so.6(+0x280d0) [0x7768f22280d0]: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x89) [0x7768f2228189]: /usr/games/crawl-0.34(_start+0x25) [0x5d8856abbe05]: 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". 0x00007768f230fbf7 in __GI___wait4 (pid=1518816, stat_loc=0x0, options=0, usage=0x0) at ../sysdeps/unix/sysv/linux/wait4.c:30 #0 0x00007768f230fbf7 in __GI___wait4 (pid=1518816, stat_loc=0x0, options=0, usage=0x0) at ../sysdeps/unix/sysv/linux/wait4.c:30 sc_ret = -512 sc_ret = #1 0x00005d8856b89fcc in call_gdb (file=0x7768f23ff6c0 <_IO_2_1_stderr_>) at crash.cc:438 gdb = attach_cmd = "attach 1518805\000\000\000\000\000" #2 0x00005d8856b97b98 in do_crash_dump () at dbg-asrt.cc:673 t = 1782686236 dir = "/dgldir/morgue/gelgoog/" name = "/dgldir/morgue/gelgoog/crash-gelgoog-20260628-223716.txt", '\000' signal_info = "Crash caused by signal #6: Aborted" cause_msg = "ASSERT(valid_cursor_pos(pos.x, pos.y, region)) in 'libutil.cc' at line 403 failed. (invalid cursor position 38,-7 in region 1, should be 1,10 in region 2)" file = 0x7768f23ff6c0 <_IO_2_1_stderr_> #3 0x00005d8856b89dfa 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 = {140729530968816}} 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 0x00007768f2242866 in __GI_raise (sig=6) at ../sysdeps/posix/raise.c:26 ret = #9 0x00005d8856b96f4d in _BreakStrToDebugger (mesg=mesg@entry=0x7ffe25b3ecf0 "ASSERT(valid_cursor_pos(pos.x, pos.y, region)) in 'libutil.cc' at line 403 failed. (invalid cursor position 38,-7 in region 1, should be 1,10 in region 2)", assert=true) at dbg-asrt.cc:807 No locals. #10 0x00005d8856b97431 in AssertFailed (expr=expr@entry=0x5d885742ac60 "valid_cursor_pos(pos.x, pos.y, region)", file=file@entry=0x5d88573ac203 "libutil.cc", line=line@entry=403, text=text@entry=0x5d885742ac10 "invalid cursor position %d,%d in region %d, should be %d,%d in region %d") at dbg-asrt.cc:840 detail = "invalid cursor position 38,-7 in region 1, should be 1,10 in region 2", '\000' , "\002\000\000\000\000\000\000\000\001\000\000\000\000\177\000\000\366\357\263%\376\177\000\000\370\357\263%\376\177", '\000' , "\006\000\000\000\260\353\213Y\210]\000\000\260\353\213Y\210]\000\000\002\000\000\000\000\000\000\000\377\377\377\377\377\377\377\377\000\353\000\000\257\206O\3664\000\000\000\000\000\000\000\004\354\263%\376\177\000\000\000\000\000\000\000\000\000\000"... final_mesg = "ASSERT(valid_cursor_pos(pos.x, pos.y, region)) in 'libutil.cc' at line 403 failed. (invalid cursor position 38,-7 in region 1, should be 1,10 in region 2)\000\362hw\000\0007\362\263%\376\177\000\000\340\362\263%\376\177\000\000\000\000\000\000\000\000\000\000\262\353\213Y\210]\000\000 \363\263%\376\177\000\000"... mesg = "ASSERT(valid_cursor_pos(pos.x, pos.y, region)) in 'libutil.cc' at line 403 failed.\000\377\377\377\377\377\360\355\000\000\376\177\000\000\000\000\000\000\001\000\000\0008\000\000\000\000\000\000\000\001", '\000' , " \000\000\0000\000\000\000\020\357\263%\376\177\000\000P\356\263%\376\177", '\000' ... args = {{gp_offset = 48, fp_offset = 48, overflow_arg_area = 0x7ffe25b3f200, reg_save_area = 0x7ffe25b3f100}} fileName = #11 0x00005d8856e57495 in assert_valid_cursor_pos () at libutil.cc:403 region = GOTO_MSG pos = {x = 38, y = -7} #12 0x00005d8856b5f8aa in wrapcprint_skipping (skiplines=skiplines@entry=0, wrapcol=79, buf=" ") at cio.cc:265 region = sz = linestart = len = linebreak = #13 0x00005d8856b606ee in wrapcprintf (s=s@entry=0x5d8857390a7e "%s") at cio.cc:348 args = {{gp_offset = 8, fp_offset = 48, overflow_arg_area = 0x7ffe25b3f400, reg_save_area = 0x7ffe25b3f330}} buf = " " #14 0x00005d8856cb4b1e in formatted_string::fs_op::display (this=) at /usr/include/c++/13/bits/basic_string.h:222 No locals. #15 formatted_string::display (this=this@entry=0x5d88595d9270, s=, s@entry=0, e=5, e@entry=-1) at format.cc:418 i = 1 size = 6 #16 0x00005d8856eff19f in message_window::out_line (this=0x5d8857876e40 , n=, line=...) at message.cc:412 No locals. #17 message_window::show (this=0x5d8857876e40 ) at message.cc:612 i = 0 diff = #18 0x00005d8856eff960 in message_window::add_item (this=this@entry=0x5d8857876e40 , text="Welcome back, gelgoog the Mountain Dwarf Fighter.", first_col=first_col@entry=prefix_type::none, temporary=temporary@entry=false) at message.cc:643 newlines = std::vector of length 1, capacity 1 = {{ops = std::vector of length 3, capacity 4 = {{type = FSOP_COLOUR, colour = 14, text = ""}, {type = FSOP_TEXT, colour = -1, text = "Welcome back, gelgoog the Mountain Dwarf Fighter."}, {type = FSOP_COLOUR, colour = 7, text = ""}}}} #19 0x00005d8856f0086d in message_store::store_msg (msg=..., this=0x5d885786d1a0 ) at message.cc:825 p = prefix_type::none dontsend = p = dontsend = #20 message_store::flush_prev (this=0x5d885786d1a0 ) at message.cc:855 msg = {channel = MSGCH_PLAIN, param = 0, messages = std::vector of length 1, capacity 1 = {{text = "Welcome back, gelgoog the Mountain Dwarf Fighter.", repeats = 1}}, turn = 2, join = false} #21 0x00005d8856efa3f6 in message_store::add (msg=..., this=0x5d885786d1a0 ) at message.cc:789 orig_full_text = "Press ? for a list of commands and other information." orig_full_text = #22 _mpr (text="Press ? for a list of commands and other information.", channel=channel@entry=MSGCH_PLAIN, param=, param@entry=0, nojoin=nojoin@entry=false, cap=, cap@entry=true) at message.cc:1589 _doing_c_message_hook = false rng = {previous = rng::GAMEPLAY} colour = col = "lightgrey" domore = do_flash_screen = false join = fs = {ops = std::vector of length 6, capacity 8 = {{type = FSOP_COLOUR, colour = 7, text = ""}, {type = FSOP_TEXT, colour = -1, text = "Press "}, {type = FSOP_COLOUR, colour = 15, text = ""}, {type = FSOP_TEXT, colour = -1, text = "?"}, {type = FSOP_COLOUR, colour = 7, text = ""}, {type = FSOP_TEXT, colour = -1, text = " for a list of commands and other information."}}} msg = {channel = MSGCH_PLAIN, param = 0, messages = std::vector of length 1, capacity 1 = {{text = "Press ? for a list of commands and other information.", repeats = 1}}, turn = 2, join = false} #23 0x00005d8856efab1c in mpr (text="Press ? for a list of commands and other information.") at message.cc:41 No locals. #24 0x00005d8857357a64 in _launch_game () at main.cc:467 game_start = false ccon = #25 0x00005d8856abb317 in _launch_game_loop () at main.cc:397 game_ended = false game_ended = ge = fe = #26 main (argc=11, argv=0x7ffe25b3fd28) at main.cc:343 echo = {prev_state = {value = maybe_bool::mbool_t::maybe, static maybe = {value = maybe_bool::mbool_t::maybe, static maybe = , static t = {value = maybe_bool::mbool_t::t, static maybe = , static t = , static f = {value = maybe_bool::mbool_t::f, static maybe = , static t = , static f = }}, static f = }}} [Inferior 1 (process 1518805) detached] 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 contrib/install/x86_64-linux-gnu/include -g -DWIZARD -DASSERTS -DREGEX_PCRE -DCLUA_BINDINGS -DDGAMELAUNCH -DSAVE_DIR_PATH="/crawl-master/crawl-0.34/saves" -DDATA_DIR_PATH="/crawl-master/crawl-0.34/data/" -DWEB_DIR_PATH="/crawl-master/crawl-0.34/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 = rooms, absdepth0 = 0 Level vaults: eino_arrival_water_star layout_rooms Markers: <<<<<<<<<<<<<<<<<<<<<< Marker #0, type 0 at (41, 43): feature (stone_stairs_up_i) >>>>>>>>>>>>>>>>>>>>>> Messages: <<<<<<<<<<<<<<<<<<<<<< Welcome, gelgoog the Mountain Dwarf Fighter. If you return without finding the Orb of Zot, so far below, it's all over! Press ? for a list of commands and other information. Found a scarab talisman. Found a staircase leading out of the dungeon. Press: ? - help, v - describe, . - travel A staircase leading out of the dungeon. Unknown command. Unknown command. There is a staircase leading out of the dungeon here. Saving game... please wait. Welcome back, gelgoog the Mountain Dwarf Fighter. >>>>>>>>>>>>>>>>>>>>>> Version history: Game started: 0.34.1-4-g0e95e087e2 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_NO_CMD repeat_cmd = CMD_NO_CMD Player: {{{{{{{{{{{ Name: [gelgoog] Species: Mountain Dwarf Job: Fighter HP: 19/19; mods: 0/0 MP: 1/1; mod: 0 Stats: 18 8 9 Position: (41, 43), god: No God (0), turn_is_over: 0, banished: 0 Standing on/in/over feature: staircase leading out of the dungeon Skills (mode: auto) Name | can_currently_train | train | training | level | points | progress Fighting | X | 1 | 31 | 3 | 301 | 49/168 Short Blades | X | 1 | 0 | 0 | 0 | 0/70 Long Blades | X | 1 | 0 | 0 | 0 | 0/59 Axes | X | 1 | 0 | 0 | 0 | 0/35 Maces & Flails | X | 1 | 8 | 2 | 151 | 45/106 Polearms | X | 1 | 0 | 0 | 0 | 0/50 Staves | X | 1 | 0 | 0 | 0 | 0/42 Ranged Weapons | X | 1 | 0 | 0 | 0 | 0/70 Throwing | X | 1 | 0 | 0 | 0 | 0/70 Armour | X | 1 | 31 | 3 | 301 | 49/168 Dodging | X | 1 | 0 | 0 | 0 | 0/84 Stealth | X | 1 | 0 | 0 | 0 | 0/70 Shields | X | 1 | 30 | 3 | 301 | 49/168 Unarmed Combat | X | 1 | 0 | 0 | 0 | 0/50 Spellcasting | X | 1 | 0 | 0 | 0 | 0/70 Conjurations | X | 1 | 0 | 0 | 0 | 0/59 Hexes | X | 1 | 0 | 0 | 0 | 0/50 Summonings | X | 1 | 0 | 0 | 0 | 0/70 Necromancy | X | 1 | 0 | 0 | 0 | 0/42 Translocations | X | 1 | 0 | 0 | 0 | 0/70 Forgecraft | X | 1 | 0 | 0 | 0 | 0/35 Fire Magic | X | 1 | 0 | 0 | 0 | 0/35 Ice Magic | X | 1 | 0 | 0 | 0 | 0/59 Air Magic | X | 1 | 0 | 0 | 0 | 0/84 Earth Magic | X | 1 | 0 | 0 | 0 | 0/42 Alchemy | X | 1 | 0 | 0 | 0 | 0/70 Invocations | X | 1 | 0 | 0 | 0 | 0/29 Evocations | X | 1 | 0 | 0 | 0 | 0/42 Shapeshifting | X | 1 | 0 | 0 | 0 | 0/70 Spell bugs: Durations: Attributes: #49: 52 Mutations: runic magic: 1 (innate) artefact enchanting: 1 (innate) Inventory bugs: Equipment: eq slot #1, inv slot #0: +0 flail eq slot #3, inv slot #1: +0 scale mail eq slot #2, inv slot #2: +0 buckler }}}}}}}}}}} Webtiles message buffer: Webtiles JSON stack: Screenshot: ## ##.## ## ..####...####.. ....#..~..#.... ..~....~....~.. ...~..~~~..~... ....~~~~~~~.... ..~~~~...~~~~.. ~~~~~..@..~~~~~ ..~~~~...~~~~.. ..%.~~~~~~~.... ...~..~~~..~... ..~....~....~.. ....#..~..#.... ..####...####.. ## ##.## ## ... dlua errors: clua stack: dlua stack: Lua persistent data: <<<<<<<<<<<<<<<<<<<<<< >>>>>>>>>>>>>>>>>>>>>> Lua marker contents: <<<<<<<<<<<<<<<<<<<<<< >>>>>>>>>>>>>>>>>>>>>>