ASSERT(valid_cursor_pos(pos.x, pos.y, region)) in 'libutil.cc' at line 403 failed. (invalid cursor position -33,8 in region 2, should be 4,8 in region 3) Version: Dungeon Crawl Stone Soup 0.35-a0-27-g71f451d4b8 Platform: unix Bits: 64 Game mode: normal Tiles: online Seed: 2003643033520919132, deterministic pregen: 1 Version history: Game started: 0.34-a0-1696-g39267fd9c0 0.34-a0-1737-gfb94811067 0.34-a0-2090-gf52bb6b557 0.35-a0-24-g264ef1ee83 Command line: /usr/games/crawl-git-71f451d4b8 -name Lunuwara -rc /dgldir/rcfiles/crawl-git/Lunuwara.rc -macro /dgldir/rcfiles/crawl-git/Lunuwara.macro -webtiles-socket /crawl-master/webserver/sockets/Lunuwara:dcss-git.sock -morgue /dgldir/morgue/Lunuwara/ RC options: restart_after_game = false Crash caused by signal #6: Aborted Obtained 19 stack frames. /usr/games/crawl-git-71f451d4b8(_Z17write_stack_traceP8_IO_FILE+0x3e) [0x5df246a8790e]: write_stack_trace(_IO_FILE*) /usr/games/crawl-git-71f451d4b8(_Z13do_crash_dumpv+0x43a) [0x5df246a95b4a]: do_crash_dump() /usr/games/crawl-git-71f451d4b8(_Z20crash_signal_handleri+0x1fa) [0x5df246a87dea]: crash_signal_handler(int) /lib/x86_64-linux-gnu/libc.so.6(+0x42910) [0x78c396242910]: /lib/x86_64-linux-gnu/libc.so.6(pthread_kill+0x11b) [0x78c39629999b]: /lib/x86_64-linux-gnu/libc.so.6(raise+0x16) [0x78c396242866]: /usr/games/crawl-git-71f451d4b8(+0x501f1d) [0x5df246a94f1d]: /usr/games/crawl-git-71f451d4b8(_Z12AssertFailedPKcS0_iS0_z+0x1a1) [0x5df246a95401]: AssertFailed(char const*, char const*, int, char const*, ...) /usr/games/crawl-git-71f451d4b8(_Z23assert_valid_cursor_posv+0xc5) [0x5df246d53525]: assert_valid_cursor_pos() /usr/games/crawl-git-71f451d4b8(+0x4ca86a) [0x5df246a5d86a]: /usr/games/crawl-git-71f451d4b8(_Z11wrapcprintfPKcz+0xce) [0x5df246a5e6ae]: wrapcprintf(char const*, ...) /usr/games/crawl-git-71f451d4b8(_Z17print_stats_levelv+0x70) [0x5df246f55650]: print_stats_level() /usr/games/crawl-git-71f451d4b8(_Z9new_levelb+0xc) [0x5df2470ca1dc]: new_level(bool) /usr/games/crawl-git-71f451d4b8(_Z12startup_stepv+0xbc1) [0x5df2470ce021]: startup_step() /usr/games/crawl-git-71f451d4b8(+0xcbf49d) [0x5df24725249d]: /usr/games/crawl-git-71f451d4b8(main+0x1f7) [0x5df2469b9357]: /lib/x86_64-linux-gnu/libc.so.6(+0x280d0) [0x78c3962280d0]: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x89) [0x78c396228189]: /usr/games/crawl-git-71f451d4b8(_start+0x25) [0x5df2469b9e45]: 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". 0x000078c39630fbf7 in __GI___wait4 (pid=553281, stat_loc=0x0, options=0, usage=0x0) at ../sysdeps/unix/sysv/linux/wait4.c:30 #0 0x000078c39630fbf7 in __GI___wait4 (pid=553281, stat_loc=0x0, options=0, usage=0x0) at ../sysdeps/unix/sysv/linux/wait4.c:30 sc_ret = -512 sc_ret = #1 0x00005df246a87fbc in call_gdb (file=0x78c3963ff6c0 <_IO_2_1_stderr_>) at crash.cc:438 gdb = attach_cmd = "attach 553254\000\000\000\000\000\000" #2 0x00005df246a95b68 in do_crash_dump () at dbg-asrt.cc:673 t = 1769731023 dir = "/dgldir/morgue/Lunuwara/" name = "/dgldir/morgue/Lunuwara/crash-Lunuwara-20260129-235703.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 -33,8 in region 2, should be 4,8 in region 3)" file = 0x78c3963ff6c0 <_IO_2_1_stderr_> #3 0x00005df246a87dea 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 = {140722827411152}} 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 0x000078c396242866 in __GI_raise (sig=6) at ../sysdeps/posix/raise.c:26 ret = #9 0x00005df246a94f1d in _BreakStrToDebugger (mesg=mesg@entry=0x7ffc9623c0d0 "ASSERT(valid_cursor_pos(pos.x, pos.y, region)) in 'libutil.cc' at line 403 failed. (invalid cursor position -33,8 in region 2, should be 4,8 in region 3)", assert=true) at dbg-asrt.cc:807 No locals. #10 0x00005df246a95401 in AssertFailed (expr=expr@entry=0x5df247325918 "valid_cursor_pos(pos.x, pos.y, region)", file=file@entry=0x5df2472a6e8c "libutil.cc", line=line@entry=403, text=text@entry=0x5df2473258c8 "invalid cursor position %d,%d in region %d, should be %d,%d in region %d") at dbg-asrt.cc:840 detail = "invalid cursor position -33,8 in region 2, should be 4,8 in region 3", '\000' , "\310\300#\226\374\177\000\000\000\000\000\000\374\177\000\000\000\300#\226\374\177\000\000\020\300#\226\001\000\000\000\250\021@I\362]\000\000@\300#\226\374\177\000\000\b\300#\226\374\177\000\000p\277#\226\374\177\000\000@\021@I\362]\000\000\000\000\000\000\374\177\000\000\000\000\000\000\000\000\000\000N\030\271F\362]\000\000\000\300#\226\374\177\000\000A\300#\226\374\177\000\000\240\277#\226\374\177\000\000"... final_mesg = "ASSERT(valid_cursor_pos(pos.x, pos.y, region)) in 'libutil.cc' at line 403 failed. (invalid cursor position -33,8 in region 2, should be 4,8 in region 3)\000*\302\203ƜR\001\000\000\000\001\000\000\000\001\000\000\000\000\000\000\000\266\001\000\000\000\000\000\000/\000\207I\362]\000\000t\301#\226\374\177\000\000\000\000"... mesg = "ASSERT(valid_cursor_pos(pos.x, pos.y, region)) in 'libutil.cc' at line 403 failed.\000\000:", '\000' , "\002\000\000\000\000\000\000\000\000\345*\302\203ƜR:\000\000\000\000\000\000\000\264\275#\226\374\177\000\000\000\000\000\000\000\000\000\000\005\000\000\000\000\000\000\000\002\000\000\000\000\000\000\000\220B$G\362]\000\000P\306#\226\000\000\000\000\020\000\000\000:\000\000\000:\000\000\000\000\000\000\000\000\345"... args = {{gp_offset = 48, fp_offset = 48, overflow_arg_area = 0x7ffc9623c5e0, reg_save_area = 0x7ffc9623c4e0}} fileName = #11 0x00005df246d53525 in assert_valid_cursor_pos () at libutil.cc:403 region = GOTO_STAT pos = {x = -33, y = 8} #12 0x00005df246a5d86a in wrapcprint_skipping (skiplines=skiplines@entry=0, wrapcol=42, buf="Place: ") at cio.cc:265 region = sz = linestart = len = linebreak = #13 0x00005df246a5e6ae in wrapcprintf (s=s@entry=0x5df2472b5347 "Place: ") at cio.cc:348 args = {{gp_offset = 8, fp_offset = 48, overflow_arg_area = 0x7ffc9623c7e0, reg_save_area = 0x7ffc9623c710}} buf = "Place: " #14 0x00005df246f55650 in print_stats_level () at output.cc:1637 ypos = #15 0x00005df2470ca1dc in new_level (restore=true) at stairs.cc:1410 No locals. #16 0x00005df2470ce021 in _post_init (newc=false) at startup.cc:372 old_level = {branch = NUM_BRANCHES, depth = -1} old_level = #17 startup_step () at startup.cc:1117 choice = {name = "Lunuwara", type = GAME_TYPE_NORMAL, filename = "Lunuwara.cs", seed = 0, pregenerate = false, map = "", arena_teams = "", allowed_combos = std::vector of length 0, capacity 0, allowed_species = std::vector of length 0, capacity 0, allowed_jobs = std::vector of length 0, capacity 0, allowed_weapons = std::vector of length 0, capacity 0, species = SP_UNKNOWN, job = JOB_UNKNOWN, weapon = WPN_UNKNOWN, fully_random = false} defaults = {name = "", type = GAME_TYPE_NORMAL, filename = "", seed = 0, pregenerate = false, map = "", arena_teams = "", allowed_combos = std::vector of length 0, capacity 0, allowed_species = std::vector of length 1, capacity 1 = {SP_POLTERGEIST}, allowed_jobs = std::vector of length 1, capacity 1 = {JOB_ENCHANTER}, allowed_weapons = std::vector of length 0, capacity 0, species = SP_POLTERGEIST, job = JOB_ENCHANTER, weapon = WPN_UNKNOWN, fully_random = false} newchar = false ng = {name = "", type = GAME_TYPE_NORMAL, filename = "", seed = 0, pregenerate = false, map = "", arena_teams = "", allowed_combos = std::vector of length 0, capacity 0, allowed_species = std::vector of length 0, capacity 0, allowed_jobs = std::vector of length 0, capacity 0, allowed_weapons = std::vector of length 0, capacity 0, species = SP_UNKNOWN, job = JOB_UNKNOWN, weapon = WPN_UNKNOWN, fully_random = false} #18 0x00005df24725249d in _launch_game () at main.cc:425 game_start = ccon = #19 0x00005df2469b9357 in _launch_game_loop () at main.cc:397 game_ended = false game_ended = ge = fe = #20 main (argc=11, argv=0x7ffc9623d2b8) 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 553254) 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-git-71f451d4b8/saves" -DSHARED_DIR_PATH="/crawl-master/crawl-git/saves" -DDATA_DIR_PATH="/crawl-master/crawl-git-71f451d4b8/data/" -DWEB_DIR_PATH="/crawl-master/crawl-git-71f451d4b8/data/web/" -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 LDFLAGS: -rdynamic -fuse-ld=gold -O2 >>>>>>>>>>> Place info: branch = 0, depth = 8 Level id: D:8 Level build method = , level layout type = narrow_caves, absdepth0 = 7 Level vaults: layout_layer_cave trog_antimagical uniq_jeremiah Markers: <<<<<<<<<<<<<<<<<<<<<< >>>>>>>>>>>>>>>>>>>>>> Messages: <<<<<<<<<<<<<<<<<<<<<< ASSERT(valid_cursor_pos(pos.x, pos.y, region)) in 'libutil.cc' at line 403 failed. (invalid cursor position 4,-9 in region 1, should be 4,8 in region 3) Recursive crash.