ASSERT(col < NUM_TERM_COLOURS) in 'options.h' at line 1057 failed. (invalid color 71) Version: Dungeon Crawl Stone Soup 0.35-a0-1438-gb99354e34e Platform: unix Bits: 64 Game mode: normal Tiles: online Seed: 2498447907713371593, deterministic pregen: 1 Command line: /usr/games/crawl-git-b99354e34e -name notthatgreg -rc /dgldir/rcfiles/crawl-git/notthatgreg.rc -macro /dgldir/rcfiles/crawl-git/notthatgreg.macro -morgue /dgldir/morgue/notthatgreg/ -webtiles-socket /crawl-master/webserver/sockets/notthatgreg:2026-11-04.16:37:45.sock -await-connection RC options: restart_after_game = false Crash caused by signal #6: Aborted Obtained 25 stack frames. /usr/games/crawl-git-b99354e34e(_Z17write_stack_traceP8_IO_FILE+0x3f) [0x58911f10032f]: write_stack_trace(_IO_FILE*) /usr/games/crawl-git-b99354e34e(_Z13do_crash_dumpv+0x43a) [0x58911f10e5ba]: do_crash_dump() /usr/games/crawl-git-b99354e34e(_Z20crash_signal_handleri+0x1fa) [0x58911f10082a]: crash_signal_handler(int) /lib/x86_64-linux-gnu/libc.so.6(+0x42910) [0x7bc335642910]: /lib/x86_64-linux-gnu/libc.so.6(pthread_kill+0x11b) [0x7bc33569999b]: /lib/x86_64-linux-gnu/libc.so.6(raise+0x16) [0x7bc335642866]: /usr/games/crawl-git-b99354e34e(+0x56c98d) [0x58911f10d98d]: /usr/games/crawl-git-b99354e34e(_Z12AssertFailedPKcS0_iS0_z+0x1a1) [0x58911f10de71]: AssertFailed(char const*, char const*, int, char const*, ...) /usr/games/crawl-git-b99354e34e(+0xd5fb28) [0x58911f900b28]: /usr/games/crawl-git-b99354e34e(_Z10textcolouri+0xa0) [0x58911f901550]: textcolour(int) /usr/games/crawl-git-b99354e34e(_Z7puttextiiRK17crawl_view_buffer+0x94) [0x58911f901614]: puttext(int, int, crawl_view_buffer const&) /usr/games/crawl-git-b99354e34e(_Z10viewwindowbbP9animationP13view_renderer+0x564) [0x58911f852c14]: viewwindow(bool, bool, animation*, view_renderer*) /usr/games/crawl-git-b99354e34e(_Z10flash_tile9coord_defhit+0x117) [0x58911f853367]: flash_tile(coord_def, unsigned char, int, unsigned short) /usr/games/crawl-git-b99354e34e(+0xba925f) [0x58911f74a25f]: /usr/games/crawl-git-b99354e34e(_Z31trigger_chaos_battleshape_spelli+0x211) [0x58911f74a5e1]: trigger_chaos_battleshape_spell(int) /usr/games/crawl-git-b99354e34e(_Z25do_post_spellcast_effects10spell_type+0x39e) [0x58911f6f25ae]: do_post_spellcast_effects(spell_type) /usr/games/crawl-git-b99354e34e(_Z11your_spells10spell_typeibPK8item_defP4distb+0x10cc) [0x58911f6fb2ec]: your_spells(spell_type, int, bool, item_def const*, dist*, bool) /usr/games/crawl-git-b99354e34e(_Z12cast_a_spellb10spell_typeP4distb+0x2b3) [0x58911f6fd813]: cast_a_spell(bool, spell_type, dist*, bool) /usr/games/crawl-git-b99354e34e(_Z17do_cast_spell_cmdb+0x1a) [0x58911f6fe55a]: do_cast_spell_cmd(bool) /usr/games/crawl-git-b99354e34e(+0xd6db7a) [0x58911f90eb7a]: /usr/games/crawl-git-b99354e34e(+0xd6e805) [0x58911f90f805]: /usr/games/crawl-git-b99354e34e(main+0x1f7) [0x58911f02d877]: /lib/x86_64-linux-gnu/libc.so.6(+0x280d0) [0x7bc3356280d0]: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x89) [0x7bc335628189]: /usr/games/crawl-git-b99354e34e(_start+0x25) [0x58911f02e365]: 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". 0x00007bc33570fbf7 in __GI___wait4 (pid=423906, stat_loc=0x0, options=0, usage=0x0) at ../sysdeps/unix/sysv/linux/wait4.c:30 #0 0x00007bc33570fbf7 in __GI___wait4 (pid=423906, stat_loc=0x0, options=0, usage=0x0) at ../sysdeps/unix/sysv/linux/wait4.c:30 sc_ret = -512 sc_ret = #1 0x000058911f1009fc in call_gdb (file=0x7bc3357ff6c0 <_IO_2_1_stderr_>) at crash.cc:434 gdb = attach_cmd = "attach 421590\000\000\000\000\000\000" #2 0x000058911f10e5d8 in do_crash_dump () at dbg-asrt.cc:682 t = 1793812588 dir = "/dgldir/morgue/notthatgreg/" name = "/dgldir/morgue/notthatgreg/crash-notthatgreg-20261104-171628.txt", '\000' signal_info = "Crash caused by signal #6: Aborted" cause_msg = "ASSERT(col < NUM_TERM_COLOURS) in 'options.h' at line 1057 failed. (invalid color 71)" file = 0x7bc3357ff6c0 <_IO_2_1_stderr_> #3 0x000058911f10082a in crash_signal_handler (sig_num=6) at crash.cc:195 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 = {140728266351600}} 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 0x00007bc335642866 in __GI_raise (sig=6) at ../sysdeps/posix/raise.c:26 ret = #9 0x000058911f10d98d in _BreakStrToDebugger (mesg=mesg@entry=0x7ffdda5365f0 "ASSERT(col < NUM_TERM_COLOURS) in 'options.h' at line 1057 failed. (invalid color 71)", assert=true) at dbg-asrt.cc:820 No locals. #10 0x000058911f10de71 in AssertFailed (expr=expr@entry=0x58911f983919 "col < NUM_TERM_COLOURS", file=file@entry=0x58911f95bbc3 "options.h", line=line@entry=1057, text=text@entry=0x58911f983907 "invalid color %hd") at dbg-asrt.cc:856 detail = "invalid color 71\000\377\221\037\221X\000\000\200eS\332\375\177\000\000\000\000\000\000\000\000\000\000\020\000\000\000\000\000\000\000H1ZK\254Hy&\001\000\000\000\000\000\000\0008\001J!\221X\000\000\330\000J!\221X\000\000\020fS\332\375\177\000\000H1\272\214\n\374\202\331H1\f݈w[\227\000\000\000\000\000\000\000\000\340\370/\"\221X\000\000165\037\221X\000\000\340\370/\"\221X\000\000\367\360`\037\221X\000\000\001\000\000\000\000\000\000\000\000\312Z\037\221X\000\000\000\000\000\000\000\000\000\000\202Va\037\221X\000\000\000\000\000\000\000\000\000\000\250\372'\037\221X\000\000\000\000\000\000\000\000\000\000\033"... final_mesg = "ASSERT(col < NUM_TERM_COLOURS) in 'options.h' at line 1057 failed. (invalid color 71)\000\000\000\000hS\332\375\177\000\000\030\261\b#\221X\000\000\330\000J!\221X\000\000\000\000\000\000\000\000\000\000\254pj5\303{", '\000' , "\221X\000\000h\377\377\377\377\377\377\377\002\000\000\000\000\000\000\000PgS\332\375\177\000\000\363\207j5\303{\000\000@hS\332\375\177\000\000\000\020\271\264\025\305Mn0gS\332\375\177\000\000"... mesg = "ASSERT(col < NUM_TERM_COLOURS) in 'options.h' at line 1057 failed.\000\332\375\177\000\000pbS\332\375\177\000\000@\367c\"\221X\000\000\207\023\222\037\221X\000\000\330\000J!\221X\000\000\330\000J!\221X\000\000\243\002\225\037\221X\000\000T\006<\037\221X\000\000\200bS\332\375\177\000\000\006\000\000\000\000\000\000\0000\223&\"\221X\000\000\001\000\000\000\000\000\000\000\330\000J!\221X\000\000TR\222\037\221X\000\000\330\000J!\221X\000\000\340\365c\"\221X\000\000\001\000\000\000\000\000\000\000"... args = {{gp_offset = 40, fp_offset = 48, overflow_arg_area = 0x7ffdda536ae0, reg_save_area = 0x7ffdda536a00}} fileName = #11 0x000058911f900b28 in macro_colour (col=) at /home/crawl-dev/dgamelaunch-config/crawl-build/crawl-git-repository/crawl-ref/source/options.h:1057 No locals. #12 macro_colour (col=) at /home/crawl-dev/dgamelaunch-config/crawl-build/crawl-git-repository/crawl-ref/source/options.h:1055 No locals. #13 curs_attr_mapped (fg=, bg=, highlight=) at libunix.cc:1220 fg_mod = bg_mod = flags = ret = #14 0x000058911f901550 in curs_attr_fg (col=71) at libunix.cc:1198 No locals. #15 textcolour (col=71) at libunix.cc:1607 style = #16 0x000058911f901614 in put_colour_ch (ch=42 U'*', colour=) at /home/crawl-dev/dgamelaunch-config/crawl-build/crawl-git-repository/crawl-ref/source/libconsole.h:46 No locals. #17 puttext (x1=1, y1=, vbuf=...) at libunix.cc:989 x = y = cell = 0x5891229c5f10 size = #18 0x000058911f852c14 in viewwindow (show_updates=show_updates@entry=false, tiles_only=tiles_only@entry=false, a=a@entry=0x0, renderer=renderer@entry=0x0) at view.cc:700 vbuf = {m_size = {x = 33, y = 17}, m_buffer = 0x5891229b69f8} updating = {val = @0x58911fe9fc18, oldval = false} save = {region = GOTO_MSG, pos = {x = 64, y = 6}} anim_updates = false #19 0x000058911f853367 in animation_delay (do_refresh=true, ms=150) at view.cc:219 No locals. #20 flash_tile (p=..., colour=, delay=150, tile=) at view.cc:776 No locals. #21 0x000058911f74a25f in _chaos_battleshape_random_zaps (targs=std::vector of length 1, capacity 1 = {...}, max_targs=, is_aoe=) at /home/crawl-dev/dgamelaunch-config/crawl-build/crawl-git-repository/crawl-ref/source/actor.h:66 i = 0 beam = {origin_spell = SPELL_NO_SPELL, range = 8, glyph = 42 U'*', colour = 71 'G', flavour = BEAM_CHAOS, real_flavour = BEAM_CHAOS, drop_item = false, source = {x = 32, y = 55}, target = {x = 0, y = 0}, damage = {num = 3, size = 10}, ench_power = 25, hit = 1500, thrower = KILL_YOU_MISSILE, ex_size = 0, source_id = 4294967295, source_name = "", name = "blast of chaos", short_name = "", hit_verb = "", plural = false, 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 = true, aux_source = "", affects_nothing = false, no_anger_allies = false, no_saving_throw = false, draw_delay = 15, explode_delay = 50, redraw_per_cell = true, special_explosion = 0x0, animate = false, 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, enchant_chaining_done = false, attitude = ATT_FRIENDLY, 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, did_initialisation = false, message_cache = std::set with 0 elements} num_targs = draw_delay = 150 #22 0x000058911f74a5e1 in trigger_chaos_battleshape_spell (spell_level=4) at spl-summoning.cc:2212 battleshape = 0x58911ff7cdb8 targs = std::vector of length 1, capacity 1 = {0x58911ff82810 } is_aoe = num_targs = shooting_stars = 0 #23 0x000058911f6f25ae in do_post_spellcast_effects (spell=spell@entry=SPELL_OLGREBS_TOXIC_RADIANCE) at spl-cast.cc:1143 demonic_magic = ephemeral_shield = #24 0x000058911f6fb2ec in your_spells (spell=spell@entry=SPELL_OLGREBS_TOXIC_RADIANCE, powc=, powc@entry=0, actual_spell=, evoked_wand=evoked_wand@entry=0x0, target=, target@entry=0x0, force_failure=force_failure@entry=false) at spl-cast.cc:2452 wiz_cast = can_enkindle = enkindled = 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_OLGREBS_TOXIC_RADIANCE, range = 7, 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 = "", plural = false, 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, no_anger_allies = 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, enchant_chaining_done = 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, did_initialisation = false, message_cache = std::set with 0 elements} flags = range = hitfunc = std::unique_ptr = {get() = 0x58912261f720} is_targeted = god = use_targeter = fail = orig_target_pos = cast_result = #25 0x000058911f6fd813 in cast_a_spell (check_range=, spell=, spell@entry=SPELL_NO_SPELL, _target=_target@entry=0x0, force_failure=force_failure@entry=false) at spl-cast.cc:1074 god_forbids = false reason = "" needs_target = cost = 4 hp_cost = cast_result = #26 0x000058911f6fe55a in do_cast_spell_cmd (force=) at spl-cast.cc:798 No locals. #27 0x000058911f90eb7a in _input () at main.cc:1309 cmd = CMD_CAST_SPELL real_prev_cmd = CMD_CAST_SPELL player_disabled = {was_disabled = false} #28 0x000058911f90f805 in _launch_game () at main.cc:497 game_start = ccon = {cstate = false} #29 0x000058911f02d877 in _launch_game_loop () at main.cc:398 game_ended = false game_ended = ge = fe = #30 main (argc=12, argv=0x7ffdda538dd8) at main.cc:344 echo = {prev_state = {value = maybe_bool::mbool_t::maybe, static maybe =