ASSERT(wpn && (wpn->base_type == OBJ_MISSILES || is_range_weapon(*wpn))) in 'ranged-attack.cc' at line 37 failed. Version: Dungeon Crawl Stone Soup 0.34-a0-2024-gd4ab456d0b Platform: unix Bits: 64 Game mode: normal Tiles: online Seed: 383389103878537837, deterministic pregen: 1 Command line: /usr/games/crawl-git-d4ab456d0b -name bark -rc /dgldir/rcfiles/crawl-git/bark.rc -macro /dgldir/rcfiles/crawl-git/bark.macro -morgue /dgldir/morgue/bark/ -webtiles-socket /crawl-master/webserver/sockets/bark:2026-01-16.17:37:04.sock -await-connection RC options: restart_after_game = false Crash caused by signal #6: Aborted Obtained 29 stack frames. /usr/games/crawl-git-d4ab456d0b(_Z17write_stack_traceP8_IO_FILE+0x3e) [0x6358c7529e4e]: write_stack_trace(_IO_FILE*) /usr/games/crawl-git-d4ab456d0b(_Z13do_crash_dumpv+0x43a) [0x6358c753808a]: do_crash_dump() /usr/games/crawl-git-d4ab456d0b(_Z20crash_signal_handleri+0x1fa) [0x6358c752a32a]: crash_signal_handler(int) /lib/x86_64-linux-gnu/libc.so.6(+0x42910) [0x76f11cc42910]: /lib/x86_64-linux-gnu/libc.so.6(pthread_kill+0x11b) [0x76f11cc9999b]: /lib/x86_64-linux-gnu/libc.so.6(raise+0x16) [0x76f11cc42866]: /usr/games/crawl-git-d4ab456d0b(+0x50145d) [0x6358c753745d]: /usr/games/crawl-git-d4ab456d0b(_Z12AssertFailedPKcS0_iS0_z+0x1c7) [0x6358c7537967]: AssertFailed(char const*, char const*, int, char const*, ...) /usr/games/crawl-git-d4ab456d0b(_ZN13ranged_attackC1EP5actorS1_PK8item_defbS1_+0x4a2) [0x6358c7a87622]: ranged_attack::ranged_attack(actor*, actor*, item_def const*, bool, actor*) /usr/games/crawl-git-d4ab456d0b(_ZN18ranged_attack_beamC1ER5actorR8item_def+0x39) [0x6358c7becc29]: ranged_attack_beam::ranged_attack_beam(actor&, item_def&) /usr/games/crawl-git-d4ab456d0b(_Z22dithmenos_shadow_shootRK9coord_def12missile_type+0x406) [0x6358c76a28e6]: dithmenos_shadow_shoot(coord_def const&, missile_type) /usr/games/crawl-git-d4ab456d0b(+0xbb99b4) [0x6358c7bef9b4]: /usr/games/crawl-git-d4ab456d0b(_Z24aim_player_ranged_attackRN6quiver6actionE+0x1ef) [0x6358c7befc4f]: aim_player_ranged_attack(quiver::action&) /usr/games/crawl-git-d4ab456d0b(+0x76f21d) [0x6358c77a521d]: /usr/games/crawl-git-d4ab456d0b(+0xcd4453) [0x6358c7d0a453]: /usr/games/crawl-git-d4ab456d0b(+0xce36c5) [0x6358c7d196c5]: /usr/games/crawl-git-d4ab456d0b(+0xcd476d) [0x6358c7d0a76d]: /usr/games/crawl-git-d4ab456d0b(+0xcd35b3) [0x6358c7d095b3]: /usr/games/crawl-git-d4ab456d0b(+0xcd4b94) [0x6358c7d0ab94]: /usr/games/crawl-git-d4ab456d0b(lua_pcallk+0x95) [0x6358c7d06e45]: /usr/games/crawl-git-d4ab456d0b(_ZN4CLua5pcallEii+0x60) [0x6358c750ed70]: CLua::pcall(int, int) /usr/games/crawl-git-d4ab456d0b(_ZN4CLua6callfnEPKcii+0xb4) [0x6358c7510694]: CLua::callfn(char const*, int, int) /usr/games/crawl-git-d4ab456d0b(_Z15process_command12command_typeS_+0x208) [0x6358c7cf5bb8]: process_command(command_type, command_type) /usr/games/crawl-git-d4ab456d0b(+0xcbdeb2) [0x6358c7cf3eb2]: /usr/games/crawl-git-d4ab456d0b(+0xcbe8f5) [0x6358c7cf48f5]: /usr/games/crawl-git-d4ab456d0b(main+0x1f7) [0x6358c745b917]: /lib/x86_64-linux-gnu/libc.so.6(+0x280d0) [0x76f11cc280d0]: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x89) [0x76f11cc28189]: /usr/games/crawl-git-d4ab456d0b(_start+0x25) [0x6358c745c405]: 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". 0x000076f11cd0fbf7 in __GI___wait4 (pid=2267042, stat_loc=0x0, options=0, usage=0x0) at ../sysdeps/unix/sysv/linux/wait4.c:30 #0 0x000076f11cd0fbf7 in __GI___wait4 (pid=2267042, stat_loc=0x0, options=0, usage=0x0) at ../sysdeps/unix/sysv/linux/wait4.c:30 sc_ret = -512 sc_ret = #1 0x00006358c752a4fc in call_gdb (file=0x76f11cdff6c0 <_IO_2_1_stderr_>) at crash.cc:438 gdb = attach_cmd = "attach 2266596\000\000\000\000\000" #2 0x00006358c75380a8 in do_crash_dump () at dbg-asrt.cc:673 t = 1768585725 dir = "/dgldir/morgue/bark/" name = "/dgldir/morgue/bark/crash-bark-20260116-174845.txt", '\000' signal_info = "Crash caused by signal #6: Aborted" cause_msg = "ASSERT(wpn && (wpn->base_type == OBJ_MISSILES || is_range_weapon(*wpn))) in 'ranged-attack.cc' at line 37 failed." file = 0x76f11cdff6c0 <_IO_2_1_stderr_> #3 0x00006358c752a32a 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 = {37}} 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 0x000076f11cc42866 in __GI_raise (sig=6) at ../sysdeps/posix/raise.c:26 ret = #9 0x00006358c753745d in _BreakStrToDebugger (mesg=mesg@entry=0x7ffc74b83030 "ASSERT(wpn && (wpn->base_type == OBJ_MISSILES || is_range_weapon(*wpn))) in 'ranged-attack.cc' at line 37 failed.", assert=true) at dbg-asrt.cc:807 No locals. #10 0x00006358c7537967 in AssertFailed (expr=expr@entry=0x6358c7ddc0f8 "wpn && (wpn->base_type == OBJ_MISSILES || is_range_weapon(*wpn))", file=file@entry=0x6358c7d59357 "ranged-attack.cc", line=line@entry=37, text=text@entry=0x0) at dbg-asrt.cc:845 mesg = "ASSERT(wpn && (wpn->base_type == OBJ_MISSILES || is_range_weapon(*wpn))) in 'ranged-attack.cc' at line 37 failed.\000\270t\374\177\000\000\3001\270t\374\177\000\000\0205\270t\374\177\000\000\255\302\224\307Xc\000\000@1\270t\374\177\000\000\2705\270t\374\177\000\000\002\000\000\000\000\000\000\000`1\270t\374\177\000\000p1\270t\374\177\000\000\\5\270t\374\177\000\000\2004\270t\374\177\000\000\030"... args = {{gp_offset = 3370920352, fp_offset = 25432, overflow_arg_area = 0x6358c8ec29e0, reg_save_area = 0x6358c8ec29e0}} fileName = #11 0x00006358c7a87622 in ranged_attack::ranged_attack (this=this@entry=0x7ffc74b83d68, attk=attk@entry=0x6358c8342928 , defn=defn@entry=0x0, wpn=wpn@entry=0x7ffc74b83a70, tele=tele@entry=false, blame=blame@entry=0x0) at ranged-attack.cc:37 No locals. #12 0x00006358c7becc29 in ranged_attack_beam::ranged_attack_beam (this=this@entry=0x7ffc74b83af0, agent=..., item=...) at throw.cc:438 No locals. #13 0x00006358c76a28e6 in dithmenos_shadow_shoot (targ=..., thrown_projectile=thrown_projectile@entry=NUM_MISSILES) at god-passive.cc:1492 aim = {x = 52, y = 14} target = pos = existing_target = mon = 0x6358c8342928 launcher = 0x6358c8304a28 throwable = fake_proj = {base_type = OBJ_UNASSIGNED, sub_type = 0 '\000', {plus = 0, mon_type = MONS_PROGRAM_BUG, skill = SK_FIGHTING, charges = 0, tithe_state = 0}, {plus2 = 0, skill_points = 0, stash_freshness = 0}, {special = 0, unrand_idx = 0, subtype_rnd = 0, brand = 0, freshness = 0}, rnd = 0 '\000', quantity = 0, flags = 0, pos = {x = 0, y = 0}, link = 27000, slot = 0, orig_place = {branch = BRANCH_DUNGEON, depth = -1}, orig_monnum = 0, inscription = "", props = {, std::allocator >, CrawlStoreValue, std::less, std::allocator > >, std::allocator, std::allocator > const, CrawlStoreValue> > >> = std::map with 0 elements, }} missile = atk = {beam = {origin_spell = SPELL_NO_SPELL, range = -2, glyph = 42 U'*', colour = 0 '\000', flavour = BEAM_MAGIC, real_flavour = BEAM_MAGIC, drop_item = false, source = {x = 0, y = 0}, target = {x = 0, y = 0}, 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, stop_at_allies = false, safe_to_user = 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, 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, 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, foes_hurt = 0, foes_helped = 0, friends_hurt = 0, friends_helped = 0, ranged_atk = 0x0, tracer = 0x0, chose_ray = false, overshoot_prompt = true, friendly_past_target = false, bounces = 0, bounce_pos = {x = 0, y = 0}, last_affected_actor_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}, atk = { = {_vptr.attack = 0x6358c80bb1a8 , attacker = 0x6358c8342928 , defender = 0x0, responsible = 0x6358c8342928 , cancel_attack = false, did_hit = false, needs_message = false, attacker_visible = false, defender_visible = false, perceived_attack = false, obvious_effect = false, to_hit = 0, damage_done = 0, special_damage = 0, aux_damage = 0, special_damage_flavour = BEAM_NONE, stab_attempt = false, stab_bonus = 0, ev_margin = 0, attk_type = 3374534928, attk_flavour = 25432, attk_damage = 41, weapon = 0x0, damage_brand = SPWPN_NORMAL, wpn_skill = SK_UNARMED_COMBAT, unrand_entry = 0x0, attacker_to_hit_penalty = 0, attack_verb = "bug", verb_degree = "", no_damage_message = "", special_damage_message = "", aux_attack = "", aux_verb = "", defender_shield = 0x0, simu = false, aux_source = "", kill_type = KILLED_BY_MONSTER}, range_used = 0, reflected = false, will_mulch = false, proj_name = "", teleport = false, _did_net = false}} #14 0x00006358c7bef9b4 in _fire_player_ranged_attacks (atks=std::vector of length 1, capacity 1 = {...}) at throw.cc:646 missile = NUM_MISSILES shot_at_enemy = true #15 0x00006358c7befc4f in aim_player_ranged_attack (a=...) at throw.cc:700 item = throwing = atks = std::vector of length 1, capacity 1 = {{beam = {origin_spell = SPELL_NO_SPELL, range = 4, glyph = 41 U')', colour = 1 '\001', flavour = BEAM_MISSILE, real_flavour = BEAM_MISSILE, drop_item = false, source = {x = 54, y = 11}, target = {x = 52, y = 14}, damage = {num = 10, size = 10}, ench_power = 0, hit = 0, thrower = KILL_YOU_MISSILE, ex_size = 0, source_id = 4294967295, source_name = "", name = "arrow", short_name = "", hit_verb = "hits", loudness = 0, hit_noise_msg = "", explode_noise_msg = "", pierce = false, is_explosion = false, is_death_effect = false, aimed_at_spot = false, stop_at_allies = false, safe_to_user = 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, animate = true, ac_rule = ac_type::normal, obvious_effect = false, seen = true, heard = false, path_taken = std::vector of length 3, capacity 4 = {{x = 53, y = 12}, {x = 53, y = 13}, {x = 52, y = 14}}, extra_range_used = 1000, aimed_at_feet = false, msg_generated = false, noise_generated = false, passed_target = true, in_explosion_phase = false, attitude = ATT_FRIENDLY, foe_ratio = 0, hit_count = std::map with 1 element = {[233] = 1}, foes_hurt = 1, foes_helped = 0, friends_hurt = 0, friends_helped = 0, ranged_atk = 0x0, tracer = 0x0, chose_ray = false, overshoot_prompt = false, friendly_past_target = false, bounces = 0, bounce_pos = {x = 0, y = 0}, last_affected_actor_pos = {x = 52, y = 14}, reflections = 0, reflector = 0, use_target_as_pos = false, ray = {r = {start = {x = 52.666666666666671, y = 14.666666666666668}, dir = {x = -0.44721359549995793, y = 0.89442719099991586}}, on_corner = false, cycle_idx = 0}, tile_beam = 3806, tile_explode = 0, can_see_invis = false, nightvision = false, can_trigger_bullseye = false, message_cache = std::set with 0 elements}, atk = { = {_vptr.attack = 0x6358c80bb1a8 , attacker = 0x6358c82c5080 , defender = 0x0, responsible = 0x6358c82c5080 , cancel_attack = false, did_hit = false, needs_message = false, attacker_visible = true, defender_visible = false, perceived_attack = false, obvious_effect = false, to_hit = 12, damage_done = 0, special_damage = 0, aux_damage = 0, special_damage_flavour = BEAM_NONE, stab_attempt = false, stab_bonus = 0, ev_margin = 0, attk_type = AT_HIT, attk_flavour = AF_PLAIN, attk_damage = 1958231648, weapon = 0x6358c82c6690 , damage_brand = SPWPN_NORMAL, wpn_skill = SK_RANGED_WEAPONS, unrand_entry = 0x0, attacker_to_hit_penalty = 0, attack_verb = "bug", verb_degree = "", no_damage_message = "", special_damage_message = "", aux_attack = "", aux_verb = "", defender_shield = 0x0, simu = false, aux_source = "arrow", kill_type = KILLED_BY_SELF_AIMED}, range_used = 0, reflected = false, will_mulch = false, proj_name = "arrow", teleport = false, _did_net = false}}} #16 0x00006358c77a521d in crawl_do_targeted_command (ls=