ASSERT(valid_cursor_pos(pos.x, pos.y, region)) in 'libutil.cc' at line 404 failed. (invalid cursor position -36,9 in region 2, should be 1,9 in region 3) Version: Dungeon Crawl Stone Soup 0.33.1-1-gc282f97621 Platform: unix Bits: 64 Game mode: normal Tiles: online Seed: 10502980546834444462, deterministic pregen: 1 Command line: /usr/games/crawl-0.33 -name Sabaki -rc /dgldir/rcfiles/crawl-0.33/Sabaki.rc -macro /dgldir/rcfiles/crawl-0.33/Sabaki.macro -webtiles-socket /crawl-master/webserver/sockets/Sabaki:dcss-0.33.sock -morgue /dgldir/morgue/Sabaki/ RC options: restart_after_game = false Crash caused by signal #6: Aborted Obtained 19 stack frames. /usr/games/crawl-0.33(_Z17write_stack_traceP8_IO_FILE+0x3e) [0x60cf0ccd500e]: write_stack_trace(_IO_FILE*) /usr/games/crawl-0.33(_Z13do_crash_dumpv+0x43a) [0x60cf0cce309a]: do_crash_dump() /usr/games/crawl-0.33(_Z20crash_signal_handleri+0x1fa) [0x60cf0ccd54ea]: crash_signal_handler(int) /lib/x86_64-linux-gnu/libc.so.6(+0x42910) [0x749bd2a42910]: /lib/x86_64-linux-gnu/libc.so.6(pthread_kill+0x11b) [0x749bd2a9999b]: /lib/x86_64-linux-gnu/libc.so.6(raise+0x16) [0x749bd2a42866]: /usr/games/crawl-0.33(+0x4d846d) [0x60cf0cce246d]: /usr/games/crawl-0.33(_Z12AssertFailedPKcS0_iS0_z+0x1a1) [0x60cf0cce2951]: AssertFailed(char const*, char const*, int, char const*, ...) /usr/games/crawl-0.33(_Z23assert_valid_cursor_posv+0xc5) [0x60cf0cf99275]: assert_valid_cursor_pos() /usr/games/crawl-0.33(+0x4a1eca) [0x60cf0ccabeca]: /usr/games/crawl-0.33(_Z11wrapcprintfPKcz+0xce) [0x60cf0ccacd0e]: wrapcprintf(char const*, ...) /usr/games/crawl-0.33(_Z17print_stats_levelv+0x10e) [0x60cf0d18c1ae]: print_stats_level() /usr/games/crawl-0.33(_Z9new_levelb+0xc) [0x60cf0d2f228c]: new_level(bool) /usr/games/crawl-0.33(_Z12startup_stepv+0xbb8) [0x60cf0d2f6078]: startup_step() /usr/games/crawl-0.33(+0xc6961d) [0x60cf0d47361d]: /usr/games/crawl-0.33(main+0x1f7) [0x60cf0cc0ac07]: /lib/x86_64-linux-gnu/libc.so.6(+0x280d0) [0x749bd2a280d0]: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x89) [0x749bd2a28189]: /usr/games/crawl-0.33(_start+0x25) [0x60cf0cc0b635]: 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". 0x0000749bd2b0fbf7 in __GI___wait4 (pid=1503359, stat_loc=0x0, options=0, usage=0x0) at ../sysdeps/unix/sysv/linux/wait4.c:30 #0 0x0000749bd2b0fbf7 in __GI___wait4 (pid=1503359, stat_loc=0x0, options=0, usage=0x0) at ../sysdeps/unix/sysv/linux/wait4.c:30 sc_ret = -512 sc_ret = #1 0x000060cf0ccd56bc in call_gdb (file=0x749bd2bff6c0 <_IO_2_1_stderr_>) at crash.cc:438 gdb = attach_cmd = "attach 1503348\000\000\000\000\000" #2 0x000060cf0cce30b8 in do_crash_dump () at dbg-asrt.cc:673 t = 1751171964 dir = "/dgldir/morgue/Sabaki/" name = "/dgldir/morgue/Sabaki/crash-Sabaki-20250629-043924.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 404 failed. (invalid cursor position -36,9 in region 2, should be 1,9 in region 3)" file = 0x749bd2bff6c0 <_IO_2_1_stderr_> #3 0x000060cf0ccd54ea 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 = {140736358754576}} 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 0x0000749bd2a42866 in __GI_raise (sig=6) at ../sysdeps/posix/raise.c:26 ret = #9 0x000060cf0cce246d in _BreakStrToDebugger (mesg=mesg@entry=0x7fffbcabab10 "ASSERT(valid_cursor_pos(pos.x, pos.y, region)) in 'libutil.cc' at line 404 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 0x000060cf0cce2951 in AssertFailed (expr=expr@entry=0x60cf0d51a620 "valid_cursor_pos(pos.x, pos.y, region)", file=file@entry=0x60cf0d4a0018 "libutil.cc", line=line@entry=404, text=text@entry=0x60cf0d51a5d0 "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\000\000\000\000\000\377\177\000\0000\252\253\274\377\177\000\000@\252\253\274\001\000\000\000Hy\031\017\317`\000\000p\252\253\274\377\177\000\0008\252\253\274\377\177\000\000\240\251\253\274\377\177\000\000\340x\031\017\317`\000\000\000\000\000\000\377\177\000\000\000\000\000\000\000\000\000\000^\f\336\f\317`\000\0000\252\253\274\377\177\000\000q\252\253\274\377\177\000\000Щ\253\274\377\177\000\000\000玛!\217+\254/\000\000\000\000\000\000\000\340\351\242"... final_mesg = "ASSERT(valid_cursor_pos(pos.x, pos.y, region)) in 'libutil.cc' at line 404 failed. (invalid cursor position -36,9 in region 2, should be 1,9 in region 3)\000\000\000\000\000\000\000\266\001\000\000\000\000\000\000/\000\253\017\317`\000\000t\253\253\274\377\177\000\000\000\000\000\000\000\000\000\000(\000\000\000\000\000\000\000"... mesg = "ASSERT(valid_cursor_pos(pos.x, pos.y, region)) in 'libutil.cc' at line 404 failed.\000\274\377\177\000\000\200\257\253\274\377\177\000\000Place: \000\000玛!\217+\254:\000\000\000\000\000\000\000䧫\274\377\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\0000jF\r\317`\000\000\200\260\253\274\000\000\000\000\020\000\000\000:\000\000\000:\000\000\000\000\000\000\000\000玛!\217+\254\005\250\253\274\377\177\000\000\321kF\r\317`"... args = {{gp_offset = 48, fp_offset = 48, overflow_arg_area = 0x7fffbcabb020, reg_save_area = 0x7fffbcabaf20}} fileName = #11 0x000060cf0cf99275 in assert_valid_cursor_pos () at libutil.cc:404 region = GOTO_STAT pos = {x = -36, y = 9} #12 0x000060cf0ccabeca in wrapcprint_skipping (skiplines=skiplines@entry=0, wrapcol=42, buf="Dungeon:1") at cio.cc:265 region = sz = linestart = len = linebreak = #13 0x000060cf0ccacd0e in wrapcprintf (s=s@entry=0x60cf0d4851c4 "%s") at cio.cc:348 args = {{gp_offset = 8, fp_offset = 48, overflow_arg_area = 0x7fffbcabb220, reg_save_area = 0x7fffbcabb150}} buf = "Dungeon:1" #14 0x000060cf0d18c1ae in print_stats_level () at /usr/include/c++/13/bits/basic_string.h:222 ypos = #15 0x000060cf0d2f228c in new_level (restore=false) at stairs.cc:1407 No locals. #16 0x000060cf0d2f6078 in _post_init (newc=true) at startup.cc:369 old_level = {branch = NUM_BRANCHES, depth = -1} old_level = #17 startup_step () at startup.cc:1114 choice = {name = "Sabaki", type = GAME_TYPE_NORMAL, filename = "Sabaki.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_KOBOLD, job = JOB_BRIGAND, 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_KOBOLD}, allowed_jobs = std::vector of length 1, capacity 1 = {JOB_BRIGAND}, allowed_weapons = std::vector of length 0, capacity 0, species = SP_KOBOLD, job = JOB_BRIGAND, weapon = WPN_UNKNOWN, fully_random = false} newchar = true ng = {name = "Sabaki", 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_KOBOLD, job = JOB_BRIGAND, weapon = WPN_UNKNOWN, fully_random = false} #18 0x000060cf0d47361d in _launch_game () at main.cc:420 game_start = ccon = #19 0x000060cf0cc0ac07 in _launch_game_loop () at main.cc:392 game_ended = false game_ended = ge = fe = #20 main (argc=11, argv=0x7fffbcabbcc8) at main.cc:342 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 1503348) 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 /usr/include/lua5.1 -g -DWIZARD -DASSERTS -DREGEX_PCRE -DCLUA_BINDINGS -DDGAMELAUNCH -DSAVE_DIR_PATH="/crawl-master/crawl-0.33/saves" -DDATA_DIR_PATH="/crawl-master/crawl-0.33/data/" -DWEB_DIR_PATH="/crawl-master/crawl-0.33/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: tarquinn_simple_flora_water_e layout_basic Markers: <<<<<<<<<<<<<<<<<<<<<< Marker #0, type 0 at (15, 16): feature (stone_stairs_up_i) >>>>>>>>>>>>>>>>>>>>>> Messages: <<<<<<<<<<<<<<<<<<<<<< >>>>>>>>>>>>>>>>>>>>>> Version history: No version history (current version is 0.33.1-1-gc282f97621) 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: [Sabaki] Species: Kobold Job: Brigand HP: 12/12; mods: 0/0 MP: 1/1; mod: 0 Stats: 8 12 16 Position: (15, 16), 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 | 20 | 2 | 151 | 25/126 Short Blades | X | 1 | 20 | 2 | 151 | 62/89 Long Blades | X | 0 | 0 | 0 | 0 | 0/70 Axes | X | 0 | 0 | 0 | 0 | 0/70 Maces & Flails | X | 0 | 0 | 0 | 0 | 0/59 Polearms | X | 0 | 0 | 0 | 0 | 0/70 Staves | X | 0 | 0 | 0 | 0 | 0/59 Ranged Weapons | X | 0 | 0 | 0 | 0 | 0/29 Throwing | X | 1 | 20 | 2 | 151 | 25/126 Armour | X | 0 | 0 | 0 | 0 | 0/70 Dodging | X | 1 | 20 | 1 | 51 | 16/71 Stealth | X | 1 | 20 | 5 | 421 | 46/150 Shields | X | 0 | 0 | 0 | 0 | 0/70 Unarmed Combat | X | 0 | 0 | 0 | 0 | 0/50 Spellcasting | X | 0 | 0 | 0 | 0 | 0/50 Conjurations | X | 0 | 0 | 0 | 0 | 0/50 Hexes | X | 0 | 0 | 0 | 0 | 0/50 Summonings | X | 0 | 0 | 0 | 0 | 0/50 Necromancy | X | 0 | 0 | 0 | 0 | 0/50 Translocations | X | 0 | 0 | 0 | 0 | 0/50 Forgecraft | X | 0 | 0 | 0 | 0 | 0/50 Fire Magic | X | 0 | 0 | 0 | 0 | 0/50 Ice Magic | X | 0 | 0 | 0 | 0 | 0/50 Air Magic | X | 0 | 0 | 0 | 0 | 0/50 Earth Magic | X | 0 | 0 | 0 | 0 | 0/50 Alchemy | X | 0 | 0 | 0 | 0 | 0/50 Invocations | X | 0 | 0 | 0 | 0 | 0/42 Evocations | X | 0 | 0 | 0 | 0 | 0/35 Shapeshifting | X | 0 | 0 | 0 | 0 | 0/59 Spell bugs: Durations: Attributes: #49: 46 Mutations: nightstalker: 3 (innate) Inventory bugs: Equipment: eq slot #1, inv slot #0: +2 dagger eq slot #3, inv slot #1: +0 robe eq slot #8, inv slot #2: +0 cloak }}}}}}}}}}} Webtiles message buffer: Webtiles JSON stack: Screenshot: @ clua stack: dlua stack: Lua persistent data: <<<<<<<<<<<<<<<<<<<<<< >>>>>>>>>>>>>>>>>>>>>> Lua marker contents: <<<<<<<<<<<<<<<<<<<<<< >>>>>>>>>>>>>>>>>>>>>>