ASSERT(mon) in 'fight.cc' at line 1336 failed. Version: Dungeon Crawl Stone Soup 0.33-a0-527-gae92cfba07 Platform: unix Bits: 64 Game mode: normal Tiles: online Seed: 18073949933407043024, deterministic pregen: 1 Command line: /usr/games/crawl-git-ae92cfba07 -name TwoGrow -rc /dgldir/rcfiles/crawl-git/TwoGrow.rc -macro /dgldir/rcfiles/crawl-git/TwoGrow.macro -morgue /dgldir/morgue/TwoGrow/ -webtiles-socket /crawl-master/webserver/sockets/TwoGrow:2024-12-04.22:35:23.sock -await-connection RC options: restart_after_game = false Crash caused by signal #6: Aborted Obtained 21 stack frames. /usr/games/crawl-git-ae92cfba07(_Z17write_stack_traceP8_IO_FILE+0x3e) [0x6542b8c47fee]: write_stack_trace(_IO_FILE*) /usr/games/crawl-git-ae92cfba07(_Z13do_crash_dumpv+0x43a) [0x6542b8c5614a]: do_crash_dump() /usr/games/crawl-git-ae92cfba07(_Z20crash_signal_handleri+0x1fa) [0x6542b8c484ca]: crash_signal_handler(int) /lib/x86_64-linux-gnu/libc.so.6(+0x42910) [0x73e5dfc42910]: /lib/x86_64-linux-gnu/libc.so.6(pthread_kill+0x11b) [0x73e5dfc9999b]: /lib/x86_64-linux-gnu/libc.so.6(raise+0x16) [0x73e5dfc42866]: /usr/games/crawl-git-ae92cfba07(+0x4ba46d) [0x6542b8c5546d]: /usr/games/crawl-git-ae92cfba07(_Z12AssertFailedPKcS0_iS0_z+0x1c7) [0x6542b8c55a27]: AssertFailed(char const*, char const*, int, char const*, ...) /usr/games/crawl-git-ae92cfba07(_Z18stop_attack_promptPK7monsterb9coord_defPbS2_b+0xb64) [0x6542b8d49634]: stop_attack_prompt(monster const*, bool, coord_def, bool*, coord_def, bool) /usr/games/crawl-git-ae92cfba07(_Z22cast_poisonous_vapoursRK5actori9coord_defb+0xda) [0x6542b9205a1a]: cast_poisonous_vapours(actor const&, int, coord_def, bool) /usr/games/crawl-git-ae92cfba07(_Z11your_spells10spell_typeibPK8item_defP4distb+0x17e1) [0x6542b91e4d71]: your_spells(spell_type, int, bool, item_def const*, dist*, bool) /usr/games/crawl-git-ae92cfba07(_Z12cast_a_spellb10spell_typeP4distb+0x3c9) [0x6542b91e69e9]: cast_a_spell(bool, spell_type, dist*, bool) /usr/games/crawl-git-ae92cfba07(_ZN6quiver12spell_action7triggerER4dist+0x126) [0x6542b915ff46]: quiver::spell_action::trigger(dist&) /usr/games/crawl-git-ae92cfba07(_ZN6quiver13action_cycler9do_targetEv+0xf4) [0x6542b9152ea4]: quiver::action_cycler::do_target() /usr/games/crawl-git-ae92cfba07(_ZN6quiver13action_cycler6targetEv+0x9c) [0x6542b9157f3c]: quiver::action_cycler::target() /usr/games/crawl-git-ae92cfba07(+0xc31dea) [0x6542b93ccdea]: /usr/games/crawl-git-ae92cfba07(+0xc328f5) [0x6542b93cd8f5]: /usr/games/crawl-git-ae92cfba07(main+0x1f7) [0x6542b8b80717]: /lib/x86_64-linux-gnu/libc.so.6(+0x280d0) [0x73e5dfc280d0]: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x89) [0x73e5dfc28189]: /usr/games/crawl-git-ae92cfba07(_start+0x25) [0x6542b8b81135]: 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". 0x000073e5dfd0fbf7 in __GI___wait4 (pid=3657031, stat_loc=0x0, options=0, usage=0x0) at ../sysdeps/unix/sysv/linux/wait4.c:30 #0 0x000073e5dfd0fbf7 in __GI___wait4 (pid=3657031, stat_loc=0x0, options=0, usage=0x0) at ../sysdeps/unix/sysv/linux/wait4.c:30 sc_ret = -512 sc_ret = #1 0x00006542b8c4869c in call_gdb (file=0x73e5dfdff6c0 <_IO_2_1_stderr_>) at crash.cc:438 gdb = attach_cmd = "attach 3655975\000\000\000\000\000" #2 0x00006542b8c56168 in do_crash_dump () at dbg-asrt.cc:692 t = 1733352269 dir = "/dgldir/morgue/TwoGrow/" name = "/dgldir/morgue/TwoGrow/crash-TwoGrow-20241204-224429.txt", '\000' signal_info = "Crash caused by signal #6: Aborted" cause_msg = "ASSERT(mon) in 'fight.cc' at line 1336 failed." file = 0x73e5dfdff6c0 <_IO_2_1_stderr_> #3 0x00006542b8c484ca 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 = {1336}} 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 0x000073e5dfc42866 in __GI_raise (sig=6) at ../sysdeps/posix/raise.c:26 ret = #9 0x00006542b8c5546d in _BreakStrToDebugger (mesg=mesg@entry=0x7ffce6311600 "ASSERT(mon) in 'fight.cc' at line 1336 failed.", assert=true) at dbg-asrt.cc:818 No locals. #10 0x00006542b8c55a27 in AssertFailed (expr=expr@entry=0x6542b93e355d "mon", file=file@entry=0x6542b93ec2dc "fight.cc", line=line@entry=1336, text=text@entry=0x0) at dbg-asrt.cc:856 mesg = "ASSERT(mon) in 'fight.cc' at line 1336 failed.\000\000\377\377", '\000' , "\377\377", '\000' , "\377\377", '\000' , "\377\377", '\000' , "\377\377", '\000' , "\377\377", '\000' , "\377\377", '\000' , "\377\377", '\000' ... args = {{gp_offset = 0, fp_offset = 0, overflow_arg_area = 0xffff00000000, reg_save_area = 0x0}} fileName = #11 0x00006542b8d49634 in stop_attack_prompt (mon=0x0, beam_attack=beam_attack@entry=false, beam_target=..., prompted=prompted@entry=0x0, attack_pos=..., attack_pos@entry=..., check_only=check_only@entry=false) at fight.cc:1336 penance = false adj = "" suffix = "" mon_name = "" verb = prompt = "" #12 0x00006542b9205a1a in cast_poisonous_vapours (agent=..., pow=pow@entry=11, target=..., fail=fail@entry=false) at spl-damage.cc:3714 act = 0x6542b99266c0 dmg = #13 0x00006542b91e4d71 in _do_cast (actual_spell=, fail=, god=, beam=..., spd=..., powc=, spell=SPELL_POISONOUS_VAPOURS) at spl-cast.cc:2393 target = {x = 9, y = 34} zap = target = zap = breath_message = std::map with 0 elements #14 your_spells (spell=spell@entry=SPELL_POISONOUS_VAPOURS, powc=, powc@entry=0, actual_spell=, evoked_wand=evoked_wand@entry=0x0, target=target@entry=0x6542b9fa5a28, force_failure=force_failure@entry=false) at spl-cast.cc:2231 wiz_cast = target_local = {isValid = false, isTarget = false, isEndpoint = false, isCancel = false, choseRay = false, interactive = false, target = {x = 0, y = 0}, delta = {x = 0, y = 0}, ray = {r = {start = {x = 0, y = 0}, dir = {x = 0, y = 0}}, on_corner = false, cycle_idx = -1}, find_target = false, fire_context = 0x0, cmd_result = 2000} beam = {origin_spell = SPELL_POISONOUS_VAPOURS, range = 3, glyph = 42 U'*', colour = 0 '\000', flavour = BEAM_MAGIC, real_flavour = BEAM_MAGIC, drop_item = false, item_mulches = false, item = 0x0, launcher = 0x0, source = {x = 9, y = 34}, target = {x = 9, y = 34}, damage = {num = 0, size = 0}, ench_power = 0, hit = 0, thrower = KILL_NON_ACTOR, ex_size = 0, source_id = 0, source_name = "", name = "", short_name = "", hit_verb = "", loudness = 0, hit_noise_msg = "", explode_noise_msg = "", pierce = false, is_explosion = false, is_death_effect = false, aimed_at_spot = false, aux_source = "", affects_nothing = false, effect_known = true, effect_wanton = false, no_saving_throw = false, draw_delay = 15, explode_delay = 50, redraw_per_cell = true, special_explosion = 0x0, was_missile = false, animate = true, ac_rule = ac_type::normal, obvious_effect = false, seen = false, heard = false, path_taken = std::vector of length 0, capacity 0, extra_range_used = 0, is_tracer = false, is_targeting = false, aimed_at_feet = false, msg_generated = false, noise_generated = false, passed_target = false, in_explosion_phase = false, attitude = ATT_HOSTILE, foe_ratio = 0, hit_count = std::map with 0 elements, foe_info = {count = 0, power = 0, hurt = 0, helped = 0, dont_stop = false}, friend_info = {count = 0, power = 0, hurt = 0, helped = 0, dont_stop = false}, chose_ray = false, beam_cancelled = false, dont_stop_player = false, overshoot_prompt = true, friendly_past_target = false, bounces = 0, bounce_pos = {x = 0, y = 0}, reflections = 0, reflector = 0, use_target_as_pos = false, ray = {r = {start = {x = 0, y = 0}, dir = {x = 0, y = 0}}, on_corner = false, cycle_idx = -1}, tile_beam = 0, tile_explode = 0, can_see_invis = false, nightvision = false, can_trigger_bullseye = false, message_cache = std::set with 0 elements} flags = range = hitfunc = std::unique_ptr = {get() = 0x6542bab452a0} is_targeted = god = use_targeter = fail = orig_target_pos = cast_result = #15 0x00006542b91e69e9 in cast_a_spell (check_range=check_range@entry=false, spell=, _target=_target@entry=0x6542b9fa5a28, force_failure=force_failure@entry=false) at spl-cast.cc:943 reason = "" cost = 1 hp_cost = cast_result = #16 0x00006542b915ff46 in quiver::spell_action::trigger (this=0x6542b9fa5a10, t=...) at quiver.cc:1186 do_range_check = #17 0x00006542b9152ea4 in quiver::action_cycler::do_target (this=this@entry=0x6542b992db18 ) at quiver.cc:233 a = std::shared_ptr (use count 3, weak count 1) = {get() = 0x6542b9fa5a10} #18 0x00006542b9157f3c in quiver::action_cycler::target (this=0x6542b992db18 ) at quiver.cc:2927 a = std::shared_ptr (use count 608471880, weak count 726164519) = {get() = 0x7ffce63136d0} initial = std::shared_ptr (use count 3, weak count 1) = {get() = 0x6542b9fa5a10} tmp = {previous = false} force_restore_initial = false what_happened = #19 0x00006542b93ccdea in _input () at main.cc:1264 cmd = CMD_FIRE real_prev_cmd = CMD_FIRE player_disabled = {was_disabled = false} #20 0x00006542b93cd8f5 in _launch_game () at main.cc:492 game_start = ccon = {cstate = false} #21 0x00006542b8b80717 in _launch_game_loop () at main.cc:391 game_ended = false game_ended = ge = fe = E = #22 main (argc=12, argv=0x7ffce6313c78) at main.cc:341 echo = {prev_state = {value = maybe_bool::mbool_t::maybe, static maybe = /build/gdb-ueFroZ/gdb-14.0.50.20230907/gdb/utils.c:681: internal-error: virtual memory exhausted: can't allocate 131072 bytes. A problem internal to GDB has been detected, further debugging may prove unreliable. Quit this debugging session? (y or n) [answered Y; input not from terminal]