ASSERT(range <= LOS_MAX_RANGE) in 'player.cc' at line 9999 failed. Version: Dungeon Crawl Stone Soup: Circus Animals 1.7-37-g2c94cca Platform: unix Bits: 64 Game mode: normal Tiles: online Command line: /opt/dgl-chroot/usr/lib/dcss-dcssa/bin/dcss -name AlphaGone -rc /opt/dgl-chroot/var/gamedata/dcss-trunk/rc-files/AlphaGone.rc -macro /opt/dgl-chroot/var/gamedata/dcss-trunk/rc-files/AlphaGone.macro -morgue /opt/dgl-chroot/var/gamedata/dcss/morgue/AlphaGone/ -dir /opt/dgl-chroot/var/gamedata/dcss-dcssa/save/ -webtiles-socket /opt/dgl-chroot/tmp/dcss-sockets/AlphaGone:2016-08-29.00:59:03.sock -await-connection RC options: restart_after_game = false Crash caused by signal #6: Aborted Obtained 19 stack frames. /opt/dgl-chroot/usr/lib/dcss-dcssa/bin/dcss(_Z17write_stack_traceP8_IO_FILEi+0x38) [0x6674c8]: write_stack_trace(_IO_FILE*, int) /opt/dgl-chroot/usr/lib/dcss-dcssa/bin/dcss(_Z13do_crash_dumpv+0x357) [0x66f807]: do_crash_dump() /opt/dgl-chroot/usr/lib/dcss-dcssa/bin/dcss(_Z20crash_signal_handleri+0x9c) [0x6677ec]: crash_signal_handler(int) /lib/x86_64-linux-gnu/libc.so.6(+0x354a0) [0x7f472ad174a0]: /lib/x86_64-linux-gnu/libpthread.so.0(raise+0x29) [0x7f472b0bc2a9]: /opt/dgl-chroot/usr/lib/dcss-dcssa/bin/dcss() [0x66efa9] /opt/dgl-chroot/usr/lib/dcss-dcssa/bin/dcss() [0x66f22b] /opt/dgl-chroot/usr/lib/dcss-dcssa/bin/dcss() [0x9f7bd5] /opt/dgl-chroot/usr/lib/dcss-dcssa/bin/dcss(_Z5zappy8zap_typeibR4bolt+0x185) [0x61e145]: zappy(zap_type, int, bool, bolt&) /opt/dgl-chroot/usr/lib/dcss-dcssa/bin/dcss(_Z16cast_scattershotPK5actoriRK9coord_defb+0x1f6) [0xa7ce36]: cast_scattershot(actor const*, int, coord_def const&, bool) /opt/dgl-chroot/usr/lib/dcss-dcssa/bin/dcss() [0x51ac10] /opt/dgl-chroot/usr/lib/dcss-dcssa/bin/dcss(_Z19handle_monster_moveP7monster+0xe20) [0x8f1700]: handle_monster_move(monster*) /opt/dgl-chroot/usr/lib/dcss-dcssa/bin/dcss(_Z15handle_monstersb+0x94d) [0x8f332d]: handle_monsters(bool) /opt/dgl-chroot/usr/lib/dcss-dcssa/bin/dcss(_Z12world_reactsv+0xbf) [0xbb7c9f]: world_reacts() /opt/dgl-chroot/usr/lib/dcss-dcssa/bin/dcss() [0xbbf168] /opt/dgl-chroot/usr/lib/dcss-dcssa/bin/dcss() [0xbbfc35] /opt/dgl-chroot/usr/lib/dcss-dcssa/bin/dcss(main+0x304) [0x5d5744]: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0) [0x7f472ad02830]: /opt/dgl-chroot/usr/lib/dcss-dcssa/bin/dcss(_start+0x29) [0x5d5be9]: Trying to run gdb. GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.04) 7.11.1 Copyright (C) 2016 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". 0x00007f472b0bbf6a in __waitpid (pid=32132, stat_loc=stat_loc@entry=0x0, options=options@entry=0) at ../sysdeps/unix/sysv/linux/waitpid.c:29 #0 0x00007f472b0bbf6a in __waitpid (pid=32132, stat_loc=stat_loc@entry=0x0, options=options@entry=0) at ../sysdeps/unix/sysv/linux/waitpid.c:29 resultvar = 18446744073709551104 #1 0x0000000000667beb in call_gdb (file=0x7f472b0a6540 <_IO_2_1_stderr_>, file@entry=0x7f472bd911c0 <_nc_prescreen>) at crash.cc:420 gdb = attach_cmd = "attach 31813\000\000\000\000\000\000\000" #2 0x000000000066f823 in do_crash_dump () at dbg-asrt.cc:714 t = 140721579761344 dir = "/opt/dgl-chroot/var/gamedata/dcss/morgue/AlphaGone/" name = "/opt/dgl-chroot/var/gamedata/dcss/morgue/AlphaGone/crash-AlphaGone-20160829-010658.txt", '\000' file = 0x7f472bd911c0 <_nc_prescreen> #3 0x00000000006677ec in crash_signal_handler (sig_num=6) at crash.cc:193 No locals. #4 No locals. #5 0x00007f472b0bc2a9 in raise (sig=6) at ../sysdeps/unix/sysv/linux/pt-raise.c:35 resultvar = 0 pid = #6 0x000000000066efa9 in _BreakStrToDebugger (mesg=mesg@entry=0x7ffc4bc629c0 "ASSERT(range <= LOS_MAX_RANGE) in 'player.cc' at line 9999 failed.", assert=assert@entry=true) at dbg-asrt.cc:838 No locals. #7 0x000000000066f22b in AssertFailed (expr=expr@entry=0xbef43e "range <= LOS_MAX_RANGE", file=file@entry=0xbeef2a "player.cc", line=line@entry=9999, text=text@entry=0x0) at dbg-asrt.cc:876 mesg = "ASSERT(range <= LOS_MAX_RANGE) in 'player.cc' at line 9999 failed.\000\000\000\000\000\000\355\370\322*G\177", '\000' , "d\344\225\002\000\000\000\000\370*\306K\374\177\000\000\350*\306K\374\177", '\000' , "+\306K\374\177\000\000!\000\000\000\000\000\000\000\001\002\000\000\000\000\000\000\320*\306K\374\177\000\000 \272\036\002\000\000\000\000\000\061\306K\374\177\000\000\240,\306K\374\177\000\000\061\325\071\264\003\200\377\377"... args = fileName = #8 0x00000000009f7bd5 in player_tohit_modifier (tohit=tohit@entry=8, range=) at player.cc:9999 No locals. #9 0x000000000061e145 in zappy (z_type=z_type@entry=ZAP_SCATTERSHOT, power=power@entry=25, is_monster=is_monster@entry=false, pbolt=...) at beam.cc:446 range = hit_calc = zinfo = 0xe383d0 dam_calc = #10 0x0000000000a7ce36 in cast_scattershot (caster=caster@entry=0x14c79c8 , pow=pow@entry=25, pos=..., fail=fail@entry=false) at spl-damage.cc:3112 range = 5 beam_count = 7 hitfunc = { = {_vptr.targetter = 0xcd0fd8 , origin = {x = 97, y = 33}, aim = {x = 97, y = 34}, agent = 0x14c79c8 , why_not = ""}, rays = std::vector of length 7, capacity 8 = {{r = {start = {x = 97.5, y = 33.5}, dir = {x = -0.23344537023145154, y = 0.97236991886704338}}, on_corner = false, cycle_idx = -1}, {r = {start = {x = 97.5, y = 33.5}, dir = {x = -0.1564344693575539, y = 0.98768833991134097}}, on_corner = false, cycle_idx = -1}, {r = {start = {x = 97.5, y = 33.5}, dir = {x = -0.078459097906677058, y = 0.99691733356165013}}, on_corner = false, cycle_idx = -1}, {r = {start = {x = 97.5, y = 33.5}, dir = {x = 0, y = 1}}, on_corner = false, cycle_idx = -1}, {r = {start = {x = 97.5, y = 33.5}, dir = {x = 0.078459097906677058, y = 0.99691733356165013}}, on_corner = false, cycle_idx = -1}, {r = {start = {x = 97.5, y = 33.5}, dir = {x = 0.1564344693575539, y = 0.98768833991134097}}, on_corner = false, cycle_idx = -1}, {r = {start = {x = 97.5, y = 33.5}, dir = {x = 0.23344537023145154, y = 0.97236991886704338}}, on_corner = false, cycle_idx = -1}}, zapped = std::map with 3 elements = {[{x = 97, y = 33}] = 0, [{x = 97, y = 34}] = 7, [{x = 97, y = 35}] = 7}, num_beams = 7, range = 5} beam = {origin_spell = SPELL_NO_SPELL, range = 5, glyph = 35, colour = 3 '\003', flavour = BEAM_FRAG, real_flavour = BEAM_FRAG, drop_item = false, item = 0x0, source = {x = 97, y = 33}, target = {x = 0, y = 0}, damage = {num = 0, size = 0}, ench_power = 25, hit = 8, thrower = KILL_MON, ex_size = 0, source_id = 2939, source_name = "minotaur", name = "burst of metal fragments", short_name = "", hit_verb = "", loudness = 0, hit_noise_msg = "", explode_noise_msg = "", pierce = false, is_explosion = false, aimed_at_spot = false, aux_source = "", affects_nothing = false, effect_known = true, effect_wanton = false, draw_delay = 15, explode_delay = 50, special_explosion = 0x0, was_missile = false, evoked = false, animate = true, ac_rule = AC_NORMAL, obvious_effect = true, 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, dont_stop_trees = false, bounces = 0, bounce_pos = {x = 0, y = 0}, reflections = 0, reflector = 0, use_target_as_pos = false, auto_hit = false, ray = {r = {start = {x = 0, y = 0}, dir = {x = 0, y = 0}}, on_corner = false, cycle_idx = -1}, tile_beam = 24, can_see_invis = false, nightvision = false, message_cache = std::set with 0 elements} pellets = std::vector of length 17492956211660, capacity 17590197470869 = { hit_count = std::map with 140721579766847 elements = {[0] = 0Detaching from program: /opt/dgl-chroot/usr/lib/dcss-dcssa/bin/dcss, process 31813