ASSERT(valid_cursor_pos(pos.x, pos.y, region)) in 'libutil.cc' at line 404 failed. (invalid cursor position -32,9 in region 2, should be 5,9 in region 3) Version: Dungeon Crawl Stone Soup 0.31.0-35-g6cd5f5668d Platform: unix Bits: 64 Game mode: normal Tiles: online Seed: 5178616469108359255, deterministic pregen: 1 Command line: /usr/games/crawl-0.31 -name Lettuce2 -rc /dgldir/rcfiles/crawl-0.31/Lettuce2.rc -macro /dgldir/rcfiles/crawl-0.31/Lettuce2.macro -webtiles-socket /crawl-master/webserver/sockets/Lettuce2:dcss-0.31.sock -morgue /dgldir/morgue/Lettuce2/ RC options: restart_after_game = false Crash caused by signal #6: Aborted Obtained 17 stack frames. /usr/games/crawl-0.31(_Z17write_stack_traceP8_IO_FILE+0x3f) [0x558dd47072ff]: write_stack_trace(_IO_FILE*) /usr/games/crawl-0.31(_Z13do_crash_dumpv+0x418) [0x558dd4711578]: do_crash_dump() /usr/games/crawl-0.31(_Z20crash_signal_handleri+0x1fa) [0x558dd470778a]: crash_signal_handler(int) /lib/x86_64-linux-gnu/libc.so.6(+0x46210) [0x7f7a45c99210]: /lib/x86_64-linux-gnu/libpthread.so.0(raise+0xcb) [0x7f7a45e5a24b]: /usr/games/crawl-0.31(+0x46bcbd) [0x558dd4710cbd]: /usr/games/crawl-0.31(_Z12AssertFailedPKcS0_iS0_z+0x18e) [0x558dd4710e5e]: AssertFailed(char const*, char const*, int, char const*, ...) /usr/games/crawl-0.31(_Z7cgotoxyii10GotoRegion+0) [0x558dd498d6e0]: cgotoxy(int, int, GotoRegion) /usr/games/crawl-0.31(+0x43c2da) [0x558dd46e12da]: /usr/games/crawl-0.31(_Z11wrapcprintfPKcz+0xd2) [0x558dd46e2072]: wrapcprintf(char const*, ...) /usr/games/crawl-0.31(_Z17print_stats_levelv+0x12a) [0x558dd4b4740a]: print_stats_level() /usr/games/crawl-0.31(_Z9new_levelb+0x2d) [0x558dd4c6ec0d]: new_level(bool) /usr/games/crawl-0.31(_Z12startup_stepv+0x1889) [0x558dd4c73929]: startup_step() /usr/games/crawl-0.31(+0xb099ff) [0x558dd4dae9ff]: /usr/games/crawl-0.31(main+0x1ab) [0x558dd465702b]: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3) [0x7f7a45c7a0b3]: /usr/games/crawl-0.31(_start+0x2e) [0x558dd4657bbe]: 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". 0x00007f7a45d38c2a in __GI___wait4 (pid=3177749, stat_loc=stat_loc@entry=0x0, options=options@entry=0, usage=usage@entry=0x0) at ../sysdeps/unix/sysv/linux/wait4.c:27 #0 0x00007f7a45d38c2a in __GI___wait4 (pid=3177749, 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 0x00007f7a45d38beb in __GI___waitpid (pid=, stat_loc=stat_loc@entry=0x0, options=options@entry=0) at waitpid.c:38 No locals. #2 0x0000558dd4707165 in call_gdb (file=file@entry=0x7f7a45e3f5c0 <_IO_2_1_stderr_>) at crash.cc:438 gdb = attach_cmd = "attach 3177741\000\000\000\000\000" #3 0x0000558dd4711596 in do_crash_dump () at dbg-asrt.cc:692 t = 1723795951 dir = "/dgldir/morgue/Lettuce2/" name = "/dgldir/morgue/Lettuce2/crash-Lettuce2-20240816-081231.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 -32,9 in region 2, should be 5,9 in region 3)" file = 0x7f7a45e3f5c0 <_IO_2_1_stderr_> #4 0x0000558dd470778a 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, 140728933300928, 140728933300416, 94067650491544, 404, 140728933303664, 140728933301440, 140163134537763, 206158430240, 140728933300368, 140728933300176, 16563848668200004608, 0, 153, 94067660296144, 140728933301440}} pid = tid = ret = #7 0x0000558dd4710cbd in _BreakStrToDebugger (mesg=mesg@entry=0x7ffe02143cc0 "ASSERT(valid_cursor_pos(pos.x, pos.y, region)) in 'libutil.cc' at line 404 failed. (invalid cursor position -32,9 in region 2, should be 5,9 in region 3)", assert=true) at dbg-asrt.cc:818 No locals. #8 0x0000558dd4710e5e in AssertFailed (expr=expr@entry=0x558dd4e47498 "valid_cursor_pos(pos.x, pos.y, region)", file=file@entry=0x558dd4dd7fd0 "libutil.cc", line=line@entry=404, text=text@entry=0x558dd4e47448 "invalid cursor position %d,%d in region %d, should be %d,%d in region %d") at dbg-asrt.cc:851 detail = "invalid cursor position -32,9 in region 2, should be 5,9 in region 3\000U\000\000\247C\331ԍU\000\000\":\000ՍU\000\000\020\000\000\000\060\000\000\000\020D\024\002\376\177\000\000@C\024\002\376\177\000\000false\000\000\000@\021$ՍU\000\000\220;\024\002\376\177\000\000\000lc͚\234\336\345\240D\024\002\376\177\000\000@\021$ՍU\000\000\260;\024\002\376\177\000\000\026\370\333ԍU\000\000\240D\024\002\376\177\000\000@\021$ՍU\000\000\026\370\333ԍU\000\000\247C\331ԍU\000\000\""... final_mesg = "ASSERT(valid_cursor_pos(pos.x, pos.y, region)) in 'libutil.cc' at line 404 failed. (invalid cursor position -32,9 in region 2, should be 5,9 in region 3)\000\202ՍU\000\000wl\224ՍU\000\000\204=\024\002\376\177\000\000\000\000\000\000\000\000\000\000\220=\024\002\376\177\000\000\000>\024\002\376\177\000\000\301>"... mesg = "ASSERT(valid_cursor_pos(pos.x, pos.y, region)) in 'libutil.cc' at line 404 failed.\000\002\376\177\000\000\060A\024\002\376\177\000\000Place: \000D\033(Fz\177\000\000\000\000\000\000:", '\000' , "\232\234\336\345\000\000\024\002\376\177", '\000' , ":\024\002\376\177\000\000\377\377\377\377\377\377\377\377\000lc͚\234\336\345\060:\024\002\376\177\000\000\300"... args = {{gp_offset = 48, fp_offset = 48, overflow_arg_area = 0x7ffe021441d0, reg_save_area = 0x7ffe021440d0}} fileName = #9 0x0000558dd498d6e0 in assert_valid_cursor_pos () at libutil.cc:407 region = GOTO_STAT pos = #10 0x0000558dd46e12da in wrapcprint_skipping (skiplines=0, wrapcol=42, buf="Dungeon:1") at cio.cc:270 region = sz = linestart = len = linebreak = #11 0x0000558dd46e2072 in wrapcprintf (s=s@entry=0x558dd4dbe5f3 "%s") at cio.cc:353 args = {{gp_offset = 8, fp_offset = 48, overflow_arg_area = 0x7ffe021443c0, reg_save_area = 0x7ffe02144300}} buf = "Dungeon:1" #12 0x0000558dd4b4740a in print_stats_level () at /usr/include/c++/9/bits/basic_string.h:2304 ypos = #13 0x0000558dd4c6ec0d in new_level (restore=restore@entry=true) at stairs.cc:1341 No locals. #14 0x0000558dd4c73929 in _post_init (newc=false) at startup.cc:374 old_level = {branch = NUM_BRANCHES, depth = -1} old_level = #15 startup_step () at startup.cc:1119 choice = {name = "Lettuce2", type = GAME_TYPE_NORMAL, filename = "Lettuce2.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_HUMAN}, allowed_jobs = std::vector of length 1, capacity 1 = {JOB_ICE_ELEMENTALIST}, allowed_weapons = std::vector of length 0, capacity 0, species = SP_HUMAN, job = JOB_ICE_ELEMENTALIST, 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} #16 0x0000558dd4dae9ff in _launch_game () at main.cc:413 game_start = ccon = #17 0x0000558dd465702b in _launch_game_loop () at main.cc:385 game_ended = false game_ended = ge = fe = E = #18 main (argc=, argv=0x7ffe02144f58) at main.cc:335 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 3177741) 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.31/saves" -DDATA_DIR_PATH="/crawl-master/crawl-0.31/data/" -DWEB_DIR_PATH="/crawl-master/crawl-0.31/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: psy_arrival_fountain layout_loops_ring Markers: <<<<<<<<<<<<<<<<<<<<<< Marker #0, type 0 at (48, 34): feature (stone_stairs_up_i) >>>>>>>>>>>>>>>>>>>>>> Messages: <<<<<<<<<<<<<<<<<<<<<< Welcome, Lettuce2 the Human Ice Elementalist. Below lies the Orb of Zot, rumoured to be powerful enough to resurrect a god... Press ? for a list of commands and other information. Found a staircase leading out of the dungeon. >>>>>>>>>>>>>>>>>>>>>> Version history: Game started: 0.31.0-35-g6cd5f5668d 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: [Lettuce2] Species: Human Job: Ice Elementalist HP: 13/13; mods: 0/0 MP: 3/3; mod: 0 Stats: 8 (8) 15 (15) 13 (13) Position: (48, 34), 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/50 Long Blades | X | 1 | 0 | 0 | 0 | 0/50 Axes | X | 1 | 0 | 0 | 0 | 0/50 Maces & Flails | X | 1 | 0 | 0 | 0 | 0/50 Polearms | X | 1 | 0 | 0 | 0 | 0/50 Staves | X | 1 | 0 | 0 | 0 | 0/50 Ranged Weapons | X | 1 | 0 | 0 | 0 | 0/50 Throwing | X | 1 | 0 | 0 | 0 | 0/50 Armour | X | 1 | 0 | 0 | 0 | 0/50 Dodging | X | 1 | 8 | 2 | 151 | 1/150 Stealth | X | 1 | 6 | 2 | 127 | 1/126 Shields | X | 1 | 0 | 0 | 0 | 0/50 Unarmed Combat | X | 1 | 0 | 0 | 0 | 0/50 Spellcasting | X | 1 | 9 | 2 | 179 | 1/178 Conjurations | X | 1 | 0 | 0 | 0 | 0/50 Hexes | X | 1 | 0 | 0 | 0 | 0/50 Summonings | X | 1 | 0 | 0 | 0 | 0/50 Necromancy | X | 1 | 0 | 0 | 0 | 0/50 Translocations | X | 1 | 0 | 0 | 0 | 0/50 Fire Magic | X | 1 | 0 | 0 | 0 | 0/50 Ice Magic | X | 1 | 77 | 4 | 501 | 1/250 Air Magic | X | 1 | 0 | 0 | 0 | 0/50 Earth Magic | X | 1 | 0 | 0 | 0 | 0/50 Alchemy | X | 1 | 0 | 0 | 0 | 0/50 Invocations | X | 1 | 0 | 0 | 0 | 0/42 Evocations | X | 1 | 0 | 0 | 0 | 0/50 Shapeshifting | X | 1 | 0 | 0 | 0 | 0/59 Spell bugs: Durations: Attributes: #49: 61 Mutations: explore regen: 1 (innate) Inventory bugs: Equipment: eq slot #6, inv slot #0: +0 robe }}}}}}}}}}} Webtiles message buffer: Webtiles JSON stack: Screenshot: ♣.♣ ♣.♣♣ ♣.♣ P..♣♣ ♣.♣♣....♣ ♣.♣P.⌠... ♣.♣.... ♣....♣ ♣...♣♣♣♣♣ ♣@....... ♣♣♣♣♣♣♣♣♣ clua stack: dlua stack: Lua persistent data: <<<<<<<<<<<<<<<<<<<<<< >>>>>>>>>>>>>>>>>>>>>> Lua marker contents: <<<<<<<<<<<<<<<<<<<<<< >>>>>>>>>>>>>>>>>>>>>>