ASSERT(valid_cursor_pos(pos.x, pos.y, region)) in 'libutil.cc' at line 404 failed. (invalid cursor position -36,8 in region 2, should be 1,8 in region 3) Version: Dungeon Crawl Stone Soup 0.32.1-6-ge8736a44df Platform: unix Bits: 64 Game mode: normal Tiles: online Seed: 11685969641865055162, deterministic pregen: 1 Command line: /usr/games/crawl-0.32 -name grug -rc /dgldir/rcfiles/crawl-0.32/grug.rc -macro /dgldir/rcfiles/crawl-0.32/grug.macro -webtiles-socket /crawl-master/webserver/sockets/grug:dcss-0.32.sock -morgue /dgldir/morgue/grug/ RC options: restart_after_game = false Crash caused by signal #6: Aborted Obtained 16 stack frames. /usr/games/crawl-0.32(_Z17write_stack_traceP8_IO_FILE+0x3f) [0x56433733b00f]: write_stack_trace(_IO_FILE*) /usr/games/crawl-0.32(_Z13do_crash_dumpv+0x418) [0x564337345498]: do_crash_dump() /usr/games/crawl-0.32(_Z20crash_signal_handleri+0x1fa) [0x56433733b49a]: crash_signal_handler(int) /lib/x86_64-linux-gnu/libc.so.6(+0x46210) [0x7f56900c9210]: /lib/x86_64-linux-gnu/libpthread.so.0(raise+0xcb) [0x7f569028a24b]: /usr/games/crawl-0.32(+0x4b1bdd) [0x564337344bdd]: /usr/games/crawl-0.32(_Z12AssertFailedPKcS0_iS0_z+0x18e) [0x564337344d7e]: AssertFailed(char const*, char const*, int, char const*, ...) /usr/games/crawl-0.32(_Z7cgotoxyii10GotoRegion+0) [0x5643375df7d0]: cgotoxy(int, int, GotoRegion) /usr/games/crawl-0.32(+0x4809ea) [0x5643373139ea]: /usr/games/crawl-0.32(_Z11wrapcprintfPKcz+0xd2) [0x564337314782]: wrapcprintf(char const*, ...) /usr/games/crawl-0.32(_Z11draw_borderv+0x13c) [0x5643377af49c]: draw_border() /usr/games/crawl-0.32(_Z12startup_stepv+0x1880) [0x5643378eb510]: startup_step() /usr/games/crawl-0.32(+0xbb103f) [0x564337a4403f]: /usr/games/crawl-0.32(main+0x1ab) [0x56433728295b]: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3) [0x7f56900aa0b3]: /usr/games/crawl-0.32(_start+0x2e) [0x56433728352e]: Trying to run gdb. GNU gdb (Ubuntu 9.1-0ubuntu1) 9.1 Copyright (C) 2020 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". 0x00007f5690168c2a in __GI___wait4 (pid=3110241, stat_loc=stat_loc@entry=0x0, options=options@entry=0, usage=usage@entry=0x0) at ../sysdeps/unix/sysv/linux/wait4.c:27 #0 0x00007f5690168c2a in __GI___wait4 (pid=3110241, stat_loc=stat_loc@entry=0x0, options=options@entry=0, usage=usage@entry=0x0) at ../sysdeps/unix/sysv/linux/wait4.c:27 resultvar = 18446744073709551104 sc_ret = #1 0x00007f5690168beb in __GI___waitpid (pid=, stat_loc=stat_loc@entry=0x0, options=options@entry=0) at waitpid.c:38 No locals. #2 0x000056433733ae75 in call_gdb (file=file@entry=0x7f569026f5c0 <_IO_2_1_stderr_>) at crash.cc:438 gdb = attach_cmd = "attach 3110234\000\000\000\000\000" #3 0x00005643373454b6 in do_crash_dump () at dbg-asrt.cc:692 t = 1741160962 dir = "/dgldir/morgue/grug/" name = "/dgldir/morgue/grug/crash-grug-20250305-074922.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,8 in region 2, should be 1,8 in region 3)" file = 0x7f569026f5c0 <_IO_2_1_stderr_> #4 0x000056433733b49a in crash_signal_handler (sig_num=6) at crash.cc:198 No locals. #5 No locals. #6 raise (sig=) at ../sysdeps/unix/sysv/linux/raise.c:50 set = {__val = {0, 140736057609408, 140736057608896, 94846696957160, 404, 140736057611856, 140736057609920, 140009761620003, 206158430240, 140736057608848, 140736057608656, 1421358353012756992, 0, 153, 94847169158640, 140736057609920}} pid = tid = ret = #7 0x0000564337344bdd in _BreakStrToDebugger (mesg=mesg@entry=0x7fffaab88ec0 "ASSERT(valid_cursor_pos(pos.x, pos.y, region)) in 'libutil.cc' at line 404 failed. (invalid cursor position -36,8 in region 2, should be 1,8 in region 3)", assert=true) at dbg-asrt.cc:818 No locals. #8 0x0000564337344d7e in AssertFailed (expr=expr@entry=0x564337ae24e8 "valid_cursor_pos(pos.x, pos.y, region)", file=file@entry=0x564337a6e354 "libutil.cc", line=line@entry=404, text=text@entry=0x564337ae2498 "invalid cursor position %d,%d in region %d, should be %d,%d in region %d") at dbg-asrt.cc:851 detail = "invalid cursor position -36,8 in region 2, should be 1,8 in region 3", '\000' , "\377\377\377\377\000\000\000\000\233C\210\067CV\000\000#\000\000\000\002\000\000\000#\000\000\000\034", '\000' , "\022\334\061䭹\023\000\000\000\000\000\000\000\000\000\022\334\061䭹\023\001\000\000\000\000\000\000\000\t\000\000\000\000\000\000\000\001", '\000' , "\377\377\377\377\000\000\000\000\200ȍ7C"... final_mesg = "ASSERT(valid_cursor_pos(pos.x, pos.y, region)) in 'libutil.cc' at line 404 failed. (invalid cursor position -36,8 in region 2, should be 1,8 in region 3)\000\000\000\000\000\000\000\001\000\000\000\000\000\000\000\tw\021\220V\177\000\000\000\000\000\000V\177\000\000\222D\245\067CV\000\000\000\000\000\000\377\177\000\000\000\000\000\000"... mesg = "ASSERT(valid_cursor_pos(pos.x, pos.y, region)) in 'libutil.cc' at line 404 failed.\000\252\377\177\000\000\060\223\270\252\377\177\000\000Int:\000\000\000\000\001\000\000\000\000\000\000\000\270\334\323\067CV\000\000\372\211~7CV", '\000' , "\004\000\000\000\340\306H7CV\000\000\372\211~7CV\000\000\062", '\000' , "\061\000\000\000\a\000\000\000\000\000\000\000\000\022\334\061䭹\023\240\026\365\067CV\000\000\000\000\000\000\000\000\000\000"... args = {{gp_offset = 48, fp_offset = 48, overflow_arg_area = 0x7fffaab893d0, reg_save_area = 0x7fffaab892d0}} fileName = #9 0x00005643375df7d0 in assert_valid_cursor_pos () at libutil.cc:407 region = GOTO_STAT pos = #10 0x00005643373139ea in wrapcprint_skipping (skiplines=0, wrapcol=42, buf="Dex:") at cio.cc:265 region = sz = linestart = len = linebreak = #11 0x0000564337314782 in wrapcprintf (s=s@entry=0x564337a7bcd4 "Dex:") at cio.cc:348 args = {{gp_offset = 8, fp_offset = 48, overflow_arg_area = 0x7fffaab895c0, reg_save_area = 0x7fffaab89500}} buf = "Dex:" #12 0x00005643377af49c in draw_border () at output.cc:1623 ac_pos = 5 ev_pos = 6 sh_pos = 7 str_pos = 5 int_pos = 6 dex_pos = 7 #13 0x00005643378eb510 in _post_init (newc=true) at startup.cc:373 old_level = {branch = NUM_BRANCHES, depth = -1} old_level = #14 startup_step () at startup.cc:1119 choice = {name = "grug", type = GAME_TYPE_NORMAL, filename = "grug.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_MERFOLK, job = JOB_FIGHTER, weapon = WPN_RAPIER, 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 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} newchar = true ng = {name = "grug", 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_MERFOLK, job = JOB_FIGHTER, weapon = WPN_RAPIER, fully_random = false} #15 0x0000564337a4403f in _launch_game () at main.cc:420 game_start = ccon = #16 0x000056433728295b in _launch_game_loop () at main.cc:392 game_ended = false game_ended = ge = fe = E = #17 main (argc=, argv=0x7fffaab8a038) 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 = }, static t = , static f = }} [Inferior 1 (process 3110234) detached] Compilation info: <<<<<<<<<<< Compiled with GCC 9.4.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.32/saves" -DDATA_DIR_PATH="/crawl-master/crawl-0.32/data/" -DWEB_DIR_PATH="/crawl-master/crawl-0.32/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: psy_arrival_radial02 layout_rooms shapermc_ecumenical_altar_mp_ritualfount item_on_display_a Markers: <<<<<<<<<<<<<<<<<<<<<< Marker #0, type 0 at (42, 35): feature (stone_stairs_up_i) >>>>>>>>>>>>>>>>>>>>>> Messages: <<<<<<<<<<<<<<<<<<<<<< >>>>>>>>>>>>>>>>>>>>>> Version history: No version history (current version is 0.32.1-6-ge8736a44df) 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: [grug] Species: Merfolk Job: Fighter HP: 18/18; mods: 0/0 MP: 1/1; mod: 0 Stats: 16 (16) 7 (7) 13 (13) Position: (42, 35), 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 | 8 | 2 | 151 | 45/106 Long Blades | X | 1 | 0 | 0 | 0 | 0/35 Axes | X | 1 | 0 | 0 | 0 | 0/70 Maces & Flails | X | 1 | 0 | 0 | 0 | 0/70 Polearms | X | 1 | 0 | 0 | 0 | 0/29 Staves | X | 1 | 0 | 0 | 0 | 0/70 Ranged Weapons | X | 1 | 0 | 0 | 0 | 0/70 Throwing | X | 1 | 0 | 0 | 0 | 0/50 Armour | X | 1 | 31 | 2 | 301 | 49/252 Dodging | X | 1 | 0 | 0 | 0 | 0/29 Stealth | X | 1 | 0 | 0 | 0 | 0/35 Shields | X | 1 | 30 | 3 | 301 | 1/200 Unarmed Combat | X | 1 | 0 | 0 | 0 | 0/42 Spellcasting | X | 1 | 0 | 0 | 0 | 0/59 Conjurations | X | 1 | 0 | 0 | 0 | 0/70 Hexes | X | 1 | 0 | 0 | 0 | 0/50 Summonings | X | 1 | 0 | 0 | 0 | 0/50 Necromancy | X | 1 | 0 | 0 | 0 | 0/70 Translocations | X | 1 | 0 | 0 | 0 | 0/70 Fire Magic | X | 1 | 0 | 0 | 0 | 0/84 Ice Magic | X | 1 | 0 | 0 | 0 | 0/42 Air Magic | X | 1 | 0 | 0 | 0 | 0/70 Earth Magic | X | 1 | 0 | 0 | 0 | 0/70 Alchemy | X | 1 | 0 | 0 | 0 | 0/29 Invocations | X | 1 | 0 | 0 | 0 | 0/42 Evocations | X | 1 | 0 | 0 | 0 | 0/50 Shapeshifting | X | 1 | 0 | 0 | 0 | 0/35 Spell bugs: Durations: Attributes: #49: 15 Mutations: nimble swimmer: 2 (innate) mertail: 1 (innate) Inventory bugs: Equipment: eq slot #0, inv slot #0: +0 rapier eq slot #5, inv slot #2: +0 buckler eq slot #6, inv slot #1: +0 scale mail }}}}}}}}}}} Webtiles message buffer: Webtiles JSON stack: Screenshot: @ clua stack: dlua stack: Lua persistent data: <<<<<<<<<<<<<<<<<<<<<< >>>>>>>>>>>>>>>>>>>>>> Lua marker contents: <<<<<<<<<<<<<<<<<<<<<< >>>>>>>>>>>>>>>>>>>>>>