ASSERT(valid_cursor_pos(pos.x, pos.y, region)) in 'libutil.cc' at line 401 failed. (invalid cursor position -36,9 in region 2, should be 1,9 in region 3) Version: Dungeon Crawl Stone Soup 0.34-a0-524-g117922889b Platform: unix Bits: 64 Game mode: descent Tiles: online Seed: 10479743696008764086, deterministic pregen: 1 Command line: /usr/games/crawl-git-117922889b -name Hesper -rc /dgldir/rcfiles/crawl-git/Hesper.rc -macro /dgldir/rcfiles/crawl-git/Hesper.macro -webtiles-socket /crawl-master/webserver/sockets/Hesper:dcss-git-descent.sock -morgue /dgldir/morgue/Hesper/ -descent RC options: restart_after_game = false Crash caused by signal #6: Aborted Obtained 19 stack frames. /usr/games/crawl-git-117922889b(_Z17write_stack_traceP8_IO_FILE+0x3e) [0x5bf089dbfc1e]: write_stack_trace(_IO_FILE*) /usr/games/crawl-git-117922889b(_Z13do_crash_dumpv+0x43a) [0x5bf089dcdcda]: do_crash_dump() /usr/games/crawl-git-117922889b(_Z20crash_signal_handleri+0x1fa) [0x5bf089dc00fa]: crash_signal_handler(int) /lib/x86_64-linux-gnu/libc.so.6(+0x45330) [0x797ef029c330]: /lib/x86_64-linux-gnu/libc.so.6(pthread_kill+0x11c) [0x797ef02f5b2c]: /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x1e) [0x797ef029c27e]: /usr/games/crawl-git-117922889b(+0x4e70ad) [0x5bf089dcd0ad]: /usr/games/crawl-git-117922889b(_Z12AssertFailedPKcS0_iS0_z+0x1a1) [0x5bf089dcd591]: AssertFailed(char const*, char const*, int, char const*, ...) /usr/games/crawl-git-117922889b(_Z23assert_valid_cursor_posv+0xc5) [0x5bf08a089af5]: assert_valid_cursor_pos() /usr/games/crawl-git-117922889b(+0x4b08fa) [0x5bf089d968fa]: /usr/games/crawl-git-117922889b(_Z11wrapcprintfPKcz+0xce) [0x5bf089d9773e]: wrapcprintf(char const*, ...) /usr/games/crawl-git-117922889b(_Z17print_stats_levelv+0x139) [0x5bf08a282569]: print_stats_level() /usr/games/crawl-git-117922889b(_Z9new_levelb+0xc) [0x5bf08a3ebb9c]: new_level(bool) /usr/games/crawl-git-117922889b(_Z12startup_stepv+0xbf1) [0x5bf08a3ef9f1]: startup_step() /usr/games/crawl-git-117922889b(+0xc8963d) [0x5bf08a56f63d]: /usr/games/crawl-git-117922889b(main+0x1f7) [0x5bf089cf48d7]: /lib/x86_64-linux-gnu/libc.so.6(+0x2a1ca) [0x797ef02811ca]: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x8b) [0x797ef028128b]: /usr/games/crawl-git-117922889b(_start+0x25) [0x5bf089cf53c5]: Trying to run gdb. GNU gdb (Ubuntu 15.0.50.20240403-0ubuntu1) 15.0.50.20240403-git Copyright (C) 2024 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". 0x0000797ef03677a7 in __GI___wait4 (pid=254691, stat_loc=0x0, options=0, usage=0x0) at ../sysdeps/unix/sysv/linux/wait4.c:30 #0 0x0000797ef03677a7 in __GI___wait4 (pid=254691, stat_loc=0x0, options=0, usage=0x0) at ../sysdeps/unix/sysv/linux/wait4.c:30 sc_ret = -512 sc_ret = #1 0x00005bf089dc02cc in call_gdb (file=0x797ef045b4e0 <_IO_2_1_stderr_>) at crash.cc:438 gdb = attach_cmd = "attach 254666\000\000\000\000\000\000" #2 0x00005bf089dcdcf8 in do_crash_dump () at dbg-asrt.cc:673 t = 1754303453 dir = "/dgldir/morgue/Hesper/" name = "/dgldir/morgue/Hesper/crash-Hesper-20250804-103053.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 401 failed. (invalid cursor position -36,9 in region 2, should be 1,9 in region 3)" file = 0x797ef045b4e0 <_IO_2_1_stderr_> #3 0x00005bf089dc00fa 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 = {140720636859824}} 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 0x0000797ef029c27e in __GI_raise (sig=6) at ../sysdeps/posix/raise.c:26 ret = #9 0x00005bf089dcd0ad in _BreakStrToDebugger (mesg=mesg@entry=0x7ffc13929980 "ASSERT(valid_cursor_pos(pos.x, pos.y, region)) in 'libutil.cc' at line 401 failed. (invalid cursor position -36,9 in region 2, should be 1,9 in region 3)", assert=true) at dbg-asrt.cc:799 No locals. #10 0x00005bf089dcd591 in AssertFailed (expr=expr@entry=0x5bf08a6194c0 "valid_cursor_pos(pos.x, pos.y, region)", file=file@entry=0x5bf08a59c45f "libutil.cc", line=line@entry=401, text=text@entry=0x5bf08a619470 "invalid cursor position %d,%d in region %d, should be %d,%d in region %d") at dbg-asrt.cc:832 detail = "invalid cursor position -36,9 in region 2, should be 1,9 in region 3\000\177", '\000' , "\220\257\212\360[\000\000\000\000\000\000\000\000\000\000\347\377,\212\360[\000\000\000\000\000\000\000\000\000\000\347\377,\212\360[\000\000`+\363\211\360[\000\000\000\206\035N\000\000\000\000p\230\222\023\374\177\000\000\000\206\035N\226)\371\026\017\000\000\000\000\000\000\000\000\220\257\212\360[\000\000\000\000\000\000\000\000\000\000k\001", '\000' ... final_mesg = "ASSERT(valid_cursor_pos(pos.x, pos.y, region)) in 'libutil.cc' at line 401 failed. (invalid cursor position -36,9 in region 2, should be 1,9 in region 3)\000\222\023\374\177\000\000\001\000\000\000\001\000\000\000\001\000\000\000\000\000\000\000\020\030\256\310\360[\000\000\b\000\000\000\000\000\000\000p\232\222\023\374\177\000\000"... mesg = "ASSERT(valid_cursor_pos(pos.x, pos.y, region)) in 'libutil.cc' at line 401 failed.\000\023\374\177\000\000\360\235\222\023\374\177\000\000Place: \000\000\206\035N\226)\371\0264\226\222\023\374\177\000\000:", '\000' , "\005\000\000\000\000\000\000\000\002\000\000\000\000\000\000\000\005\000\000\000\000\000\000\000d\226\222\023\374\177\000\000\340(V\212\360[\000\000d\000\000\000\000\000\000\000\000\206\035N:\000\000\000:\000\000\000\000\000\000\000"... args = {{gp_offset = 48, fp_offset = 48, overflow_arg_area = 0x7ffc13929e90, reg_save_area = 0x7ffc13929d90}} fileName = #11 0x00005bf08a089af5 in assert_valid_cursor_pos () at libutil.cc:401 region = GOTO_STAT pos = {x = -36, y = 9} #12 0x00005bf089d968fa in wrapcprint_skipping (skiplines=skiplines@entry=0, wrapcol=42, buf="Dungeon:1") at cio.cc:265 region = sz = linestart = len = linebreak = #13 0x00005bf089d9773e in wrapcprintf (s=s@entry=0x5bf08a58119f "%s") at cio.cc:348 args = {{gp_offset = 8, fp_offset = 48, overflow_arg_area = 0x7ffc1392a090, reg_save_area = 0x7ffc13929fc0}} buf = "Dungeon:1" #14 0x00005bf08a282569 in print_stats_level () at /usr/include/c++/13/bits/basic_string.h:222 Compilation info: <<<<<<<<<<< Compiled with GCC 13.3.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-117922889b/saves" -DSHARED_DIR_PATH="/crawl-master/crawl-git/saves" -DDATA_DIR_PATH="/crawl-master/crawl-git-117922889b/data/" -DWEB_DIR_PATH="/crawl-master/crawl-git-117922889b/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: grunt_arrival_lava_bath layout_loops_cross Markers: <<<<<<<<<<<<<<<<<<<<<< Marker #0, type 0 at (53, 19): feature (stone_stairs_up_i) >>>>>>>>>>>>>>>>>>>>>> Messages: <<<<<<<<<<<<<<<<<<<<<< >>>>>>>>>>>>>>>>>>>>>> Version history: No version history (current version is 0.34-a0-524-g117922889b) 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: 10, arena_suspended: 0 prev_cmd = CMD_NO_CMD repeat_cmd = CMD_NO_CMD Player: {{{{{{{{{{{ Name: [Hesper] Species: Demonspawn Job: Fire Elementalist HP: 13/13; mods: 0/0 MP: 3/3; mod: 0 Stats: 8 15 13 Position: (53, 19), 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 | 0 | 0 | 0 | 0/50 Short Blades | X | 1 | 0 | 0 | 0 | 0/59 Long Blades | X | 1 | 0 | 0 | 0 | 0/59 Axes | X | 1 | 0 | 0 | 0 | 0/59 Maces & Flails | X | 1 | 0 | 0 | 0 | 0/59 Polearms | X | 1 | 0 | 0 | 0 | 0/59 Staves | X | 1 | 0 | 0 | 0 | 0/59 Ranged Weapons | X | 1 | 0 | 0 | 0 | 0/59 Throwing | X | 1 | 0 | 0 | 0 | 0/59 Armour | X | 1 | 0 | 0 | 0 | 0/59 Dodging | X | 1 | 13 | 1 | 151 | 92/119 Stealth | X | 1 | 9 | 1 | 127 | 77/100 Shields | X | 1 | 0 | 0 | 0 | 0/59 Unarmed Combat | X | 1 | 0 | 0 | 0 | 0/59 Spellcasting | X | 1 | 20 | 2 | 179 | 1/178 Conjurations | X | 1 | 2 | 1 | 51 | 1/100 Hexes | X | 1 | 0 | 0 | 0 | 0/50 Summonings | X | 1 | 0 | 0 | 0 | 0/50 Necromancy | X | 1 | 0 | 0 | 0 | 0/42 Translocations | X | 1 | 0 | 0 | 0 | 0/59 Forgecraft | X | 1 | 0 | 0 | 0 | 0/59 Fire Magic | X | 1 | 56 | 2 | 301 | 123/178 Ice Magic | X | 1 | 0 | 0 | 0 | 0/59 Air Magic | X | 1 | 0 | 0 | 0 | 0/59 Earth Magic | X | 1 | 0 | 0 | 0 | 0/59 Alchemy | X | 1 | 0 | 0 | 0 | 0/50 Invocations | X | 1 | 0 | 0 | 0 | 0/29 Evocations | X | 1 | 0 | 0 | 0 | 0/50 Shapeshifting | X | 1 | 0 | 0 | 0 | 0/70 Spell bugs: Durations: Attributes: #49: 30 #69: 1 Mutations: Inventory bugs: Equipment: eq slot #3, inv slot #0: +0 robe }}}}}}}}}}} Webtiles message buffer: Webtiles JSON stack: Screenshot: @ clua stack: dlua stack: Lua persistent data: <<<<<<<<<<<<<<<<<<<<<< >>>>>>>>>>>>>>>>>>>>>> Lua marker contents: <<<<<<<<<<<<<<<<<<<<<< >>>>>>>>>>>>>>>>>>>>>>