ASSERT(sub_type < (int) misc_types.size()) in 'dbg-objstat.cc' at line 428 failed. Version: Dungeon Crawl Stone Soup 0.18-a0-659-gb9673d2 Platform: unix Bits: 64 Game mode: normal Tiles: online Command line: ./crawl-latest -objstat Zig:27 -iters 1 RC options: restart_after_game = false Crash caused by signal #6: Aborted Obtained 16 stack frames. ./crawl-latest(_Z17write_stack_traceP8_IO_FILEi+0x23) [0x5bb833]: write_stack_trace(_IO_FILE*, int) ./crawl-latest(_Z13do_crash_dumpv+0x2f2) [0x5c2b12]: do_crash_dump() ./crawl-latest(_Z20crash_signal_handleri+0x9c) [0x5bbacc]: crash_signal_handler(int) /lib/x86_64-linux-gnu/libc.so.6(+0x364c0) [0x7f92c0a664c0]: /lib/x86_64-linux-gnu/libpthread.so.0(raise+0x2b) [0x7f92c0dfcb7b]: ./crawl-latest() [0x5c22e9] ./crawl-latest() [0x5c2591] ./crawl-latest(_ZN9item_typeC2ERK8item_def+0x17a) [0x5caf0a]: item_type::item_type(item_def const&) ./crawl-latest(_Z19objstat_record_itemRK8item_def+0x2b) [0x5cd49b]: objstat_record_item(item_def const&) ./crawl-latest(_Z20mapstat_build_levelsv+0x5e1) [0x5c5821]: mapstat_build_levels() ./crawl-latest(_Z22objstat_generate_statsv+0x2cf) [0x5d2d9f]: objstat_generate_stats() ./crawl-latest(_Z12startup_stepv+0x15c5) [0xa1b465]: startup_step() ./crawl-latest() [0xb73db6] ./crawl-latest(main+0x33b) [0xb7762b]: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed) [0x7f92c0a5176d]: ./crawl-latest() [0x51a269] Trying to run gdb. GNU gdb (Ubuntu/Linaro 7.4-2012.02-0ubuntu2) 7.4-2012.02 Copyright (C) 2012 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". For bug reporting instructions, please see: . [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". 0x00007f92c0dfc84e in waitpid () from /lib/x86_64-linux-gnu/libpthread.so.0 #0 0x00007f92c0dfc84e in waitpid () from /lib/x86_64-linux-gnu/libpthread.so.0 No symbol table info available. #1 0x00000000005bbf3b in call_gdb (file=0x7f92c0de7180) at crash.cc:420 gdb = attach_cmd = "attach 1840\000\000\000\000\000\000\000\000" #2 0x00000000005c2b32 in do_crash_dump () at dbg-asrt.cc:671 t = 1449976051 dir = {static npos = , _M_dataplus = {> = {<__gnu_cxx::new_allocator> = {}, }, _M_p = 0x23e6a08 "/crawl-master/crawl-git-b9673d25cf/saves/"}} name = "/crawl-master/crawl-git-b9673d25cf/saves/crash--20151213-030731.txt", '\000' file = 0x7f92c0de7180 #3 0x00000000005bbacc in crash_signal_handler (sig_num=6) at crash.cc:193 No locals. #4 No symbol table info available. #5 0x00007f92c0dfcb7b in raise () from /lib/x86_64-linux-gnu/libpthread.so.0 No symbol table info available. #6 0x00000000005c22e9 in _BreakStrToDebugger (mesg=mesg@entry=0x7ffcfbf8e3e0 "ASSERT(sub_type < (int) misc_types.size()) in 'dbg-objstat.cc' at line 428 failed.", assert=) at dbg-asrt.cc:795 No locals. #7 0x00000000005c2591 in AssertFailed (expr=0xbf62e8 "sub_type < (int) misc_types.size()", file=0xb7e8e0 "dbg-objstat.cc", line=428, text=0x0) at dbg-asrt.cc:833 mesg = "ASSERT(sub_type < (int) misc_types.size()) in 'dbg-objstat.cc' at line 428 failed.", '\000' "\222, \177\000\000\320ȁ\301\222\177\000\000\364\353\267", '\000' args = {{gp_offset = 0, fp_offset = 0, overflow_arg_area = 0x0, reg_save_area = 0x0}} fileName = #8 0x00000000005caf0a in item_type::item_type (this=0x7ffcfbf8ed30, item=...) at dbg-objstat.cc:428 No locals. #9 0x00000000005cd49b in objstat_record_item (item=...) at dbg-objstat.cc:662 cur_lev = {branch = BRANCH_ZIGGURAT, depth = 27} itype = {base_type = ITEM_MISCELLANY, sub_type = 15} is_arte = antiq_num_f = {static npos = , _M_dataplus = {> = {<__gnu_cxx::new_allocator> = {}, }, _M_p = 0x1e
}} has_antiq = 80 all_cursed_f = {static npos = , _M_dataplus = {> = {<__gnu_cxx::new_allocator> = {}, }, _M_p = 0x111ea08 ""}} antiq_cursed_f = {static npos = , _M_dataplus = {> = {<__gnu_cxx::new_allocator> = {}, }, _M_p = 0x111e9f0 "\320", }} all_num_hm_f = {static npos = , _M_dataplus = {> = {<__gnu_cxx::new_allocator> = {}, }, _M_p = 0x16c0000016c
}} antiq_num_hm_f = {static npos = , _M_dataplus = {> = {<__gnu_cxx::new_allocator> = {}, }, _M_p = 0x7ffcfbf8ee40 "\b\323\037\002"}} antiq_plus_f = {static npos = , _M_dataplus = {> = {<__gnu_cxx::new_allocator> = {}, }, _M_p = 0x11d6a58 ""}} all_num_f = {static npos = , _M_dataplus = {> = {<__gnu_cxx::new_allocator> = {}, }, _M_p = 0x5f7
}} all_plus_f = {static npos = , _M_dataplus = {> = {<__gnu_cxx::new_allocator> = {}, }, _M_p = 0x111ea08 ""}} num_brand_f = {static npos = , _M_dataplus = {> = {<__gnu_cxx::new_allocator> = {}, }, _M_p = 0x7ffcfbf8ee40 "\b\323\037\002"}} #10 0x00000000005c5821 in _do_build_level () at dbg-maps.cc:139 item = @0x10fa148: {base_type = OBJ_MISCELLANY, sub_type = 23 '\027', {plus = 0, mon_type = MONS_PROGRAM_BUG, skill = SK_FIGHTING, charges = 0, initial_cards = 0, net_durability = 0}, {plus2 = 0, used_count = 0, net_placed = 0, skill_points = 0, charge_cap = 0, stash_freshness = 0}, {special = 0, deck_rarity = DECK_RARITY_RANDOM, rod_plus = 0, subtype_rnd = 0, brand = 0, freshness = 0}, rnd = 96 '`', quantity = 1, flags = 0, pos = {x = 54, y = 35}, link = 27000, slot = 0, orig_place = {branch = BRANCH_DUNGEON, depth = -1}, orig_monnum = 0, inscription = {static npos = , _M_dataplus = {> = {<__gnu_cxx::new_allocator> = {}, }, _M_p = 0x11d6a58 ""}}, props = {hash_map = 0x0}} mx = {msuppressed = false} #11 _build_dungeon () at dbg-maps.cc:220 lid = __for_range = @0xe00bd0: { >> = {_M_impl = {> = {<__gnu_cxx::new_allocator> = {}, }, _M_start = 0x1ec0fa0, _M_finish = 0x1ec0fa8, _M_end_of_storage = 0x1ec0fa8}}, } #12 mapstat_build_levels () at dbg-maps.cc:263 i = 1 #13 0x00000000005d2d9f in objstat_generate_stats () at dbg-objstat.cc:1259 No locals. #14 0x0000000000a1b465 in _initialize () at startup.cc:170 No locals. #15 startup_step () at startup.cc:968 choice = {name = {static npos = , _M_dataplus = {> = {<__gnu_cxx::new_allocator> = {}, }, _M_p = 0x11d6a58 ""}}, type = 18705000, filename = {static npos = , _M_dataplus = {> = {<__gnu_cxx::new_allocator> = {}, }, _M_p = 0x11d6a58 ""}}, map = {static npos = , _M_dataplus = {> = {<__gnu_cxx::new_allocator> = {}, }, _M_p = 0x7f92c0ad30fb "\203\370\004\211\302t\004\205\300uZ\203\372\004\017\205\221"}}, arena_teams = {static npos = , _M_dataplus = {> = {<__gnu_cxx::new_allocator> = {}, }, _M_p = 0x7ffc00000000
}}, allowed_combos = {, std::allocator >, std::allocator, std::allocator > > >> = {_M_impl = {, std::allocator > >> = {<__gnu_cxx::new_allocator, std::allocator > >> = {}, }, _M_start = 0x1, _M_finish = 0x5f, _M_end_of_storage = 0x7f9200000000}}, }, allowed_species = { >> = {_M_impl = {> = {<__gnu_cxx::new_allocator> = {}, }, _M_start = 0x7ffcfbf8fc70, _M_finish = 0x7ffcfbf8fc70, _M_end_of_storage = 0x100000001}}, }, allowed_jobs = { >> = {_M_impl = {> = {<__gnu_cxx::new_allocator> = {}, }, _M_start = 0x7ffc00000001, _M_finish = 0x7ffcfbf8fc80, _M_end_of_storage = 0x21}}, }, allowed_weapons = { >> = {_M_impl = {> = {<__gnu_cxx::new_allocator> = {}, }, _M_start = 0x0, _M_finish = 0x1, _M_end_of_storage = 0x11d6a59}}, }, species = 3232410248, job = 32658, weapon = 4227398783, fully_random = 252} defaults = {name = {static npos = , _M_dataplus = {> = {<__gnu_cxx::new_allocator> = {}, }, _M_p = 0x7ffcfbf901c0 "\200\236\252\001"}}, type = 4227399888, filename = {static npos = , _M_dataplus = {> = {<__gnu_cxx::new_allocator> = {}, }, _M_p = 0x7ffcfbf8fd00 "\220\375\370\373\374\177"}}, map = {static npos = , _M_dataplus = {> = {<__gnu_cxx::new_allocator> = {}, }, _M_p = 0x7f92c0de6720 ""}}, arena_teams = {static npos = , _M_dataplus = {> = {<__gnu_cxx::new_allocator> = {}, }, _M_p = 0x1b
}}, allowed_combos = {, std::allocator >, std::allocator, std::allocator > > >> = {_M_impl = {, std::allocator > >> = {<__gnu_cxx::new_allocator, std::allocator > >> = {}, }, _M_start = 0x2, _M_finish = 0x5, _M_end_of_storage = 0xffffffffffffffff}}, }, allowed_species = { >> = {_M_impl = {> = {<__gnu_cxx::new_allocator> = {}, }, _M_start = 0x1, _M_finish = 0x0, _M_end_of_storage = 0x1aacda8}}, }, allowed_jobs = { >> = {_M_impl = {> = {<__gnu_cxx::new_allocator> = {}, }, _M_start = 0x7ffcfbf8fdc8, _M_finish = 0xffffffffffffffff, _M_end_of_storage = 0xd}}, }, allowed_weapons = { >> = {_M_impl = {> = {<__gnu_cxx::new_allocator> = {}, }, _M_start = 0x1, _M_finish = 0x7d8392, _M_end_of_storage = 0x1}}, }, species = 3244114341, job = 32658, weapon = 4227399108, fully_random = 252} newchar = ng = {name = {static npos = , _M_dataplus = {> = {<__gnu_cxx::new_allocator> = {}, }, _M_p = 0xbefde4 "\030"}}, type = GAME_TYPE_UNSPECIFIED, filename = {static npos = , _M_dataplus = {> = {<__gnu_cxx::new_allocator> = {}, }, _M_p = 0x23
}}, map = {static npos = , _M_dataplus = {> = {<__gnu_cxx::new_allocator> = {}, }, _M_p = 0x585a2b "\205\300u\031D\213\253`\357", }}, arena_teams = {static npos = , _M_dataplus = {> = {<__gnu_cxx::new_allocator> = {}, }, _M_p = 0x7ffcfbf8fda0 "и\252\001"}}, allowed_combos = {, std::allocator >, std::allocator, std::allocator > > >> = {_M_impl = {, std::allocator > >> = {<__gnu_cxx::new_allocator, std::allocator > >> = {}, }, _M_start = 0x7ffcfbf8fe40, _M_finish = 0x7ffcfbf8fd90, _M_end_of_storage = 0x3}}, }, allowed_species = { >> = {_M_impl = {> = {<__gnu_cxx::new_allocator> = {}, }, _M_start = 0x2, _M_finish = 0xd, _M_end_of_storage = 0x1}}, }, allowed_jobs = { >> = {_M_impl = {> = {<__gnu_cxx::new_allocator> = {}, }, _M_start = 0x7f92c15d451f, _M_finish = 0x7ffcfbf8fd90, _M_end_of_storage = 0x3}}, }, allowed_weapons = { >> = {_M_impl = {> = {<__gnu_cxx::new_allocator> = {}, }, _M_start = 0x2, _M_finish = 0x7f92c0de6720, _M_end_of_storage = 0x10}}, }, species = 27895992, job = JOB_FIGHTER, weapon = 4227399248, fully_random = 252} #16 0x0000000000b73db6 in _launch_game () at main.cc:407 game_start = ccon = {cstate = false, smartcstate = false} #17 0x0000000000b7762b in _launch_game_loop () at main.cc:380 game_ended = false #18 main (argc=, argv=0x7ffcfbf902f8) at main.cc:336 No locals. Compilation info: <<<<<<<<<<< Compiled with GCC 4.7.3 on Dec 5 2015 at 01:20:44 Build platform: x86_64-linux-gnu Platform: x86_64-linux-gnu CFLAGS: -O2 -ggdb -pipe -DUSE_TILE -DUSE_TILE_WEB -Wall -Wformat-security -Wundef -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 -Irltiles -isystem /usr/include/ncursesw -g -DDEBUG_STATISTICS -DDEBUG -DWIZARD -DASSERTS -DCLUA_BINDINGS -DDGAMELAUNCH -DSAVE_DIR_PATH="/crawl-master/crawl-git-b9673d25cf/saves" -DSHARED_DIR_PATH="/crawl-master/crawl-git/saves" -DDATA_DIR_PATH="/crawl-master/crawl-git-b9673d25cf/data/" -DWEB_DIR_PATH="/crawl-master/crawl-git-b9673d25cf/data/web/" LDFLAGS: -rdynamic -fuse-ld=gold -O2 >>>>>>>>>>> Place info: branch = 24, depth = 27 Level id: Zig:27 Level build method = random_map_for_place, level layout type = encompass, absdepth0 = 53 Level vaults: ziggurat_pillar_centre_dead_trees ziggurat1 Markers: <<<<<<<<<<<<<<<<<<<<<< Marker 0 at (26, 35): feature (stone_stairs_up_i) >>>>>>>>>>>>>>>>>>>>>> Messages: <<<<<<<<<<<<<<<<<<<<<< >>>>>>>>>>>>>>>>>>>>>> Game state: mouse_enabled: 0, waiting_for_command: 0, terminal_resized: 0 io_inited: 0, need_save: 0, 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: [] Species: Human Job: Unemployed HP: 0/0; mods: 0/0 MP: 0/0; mod: 0 Stats: 0 (0) 0 (0) 0 (0) Position: (0, 0) , god: No God (0), turn_is_over: 0, banished: 0 Skills (mode: auto) Name | can_train | train | training | level | points | progress Fighting | | 0 | 0 | 0 | 0 | 0/50 Short Blades | | 0 | 0 | 0 | 0 | 0/50 Long Blades | | 0 | 0 | 0 | 0 | 0/50 Axes | | 0 | 0 | 0 | 0 | 0/50 Maces & Flails | | 0 | 0 | 0 | 0 | 0/50 Polearms | | 0 | 0 | 0 | 0 | 0/50 Staves | | 0 | 0 | 0 | 0 | 0/50 Slings | | 0 | 0 | 0 | 0 | 0/50 Bows | | 0 | 0 | 0 | 0 | 0/50 Crossbows | | 0 | 0 | 0 | 0 | 0/50 Throwing | | 0 | 0 | 0 | 0 | 0/50 Armour | | 0 | 0 | 0 | 0 | 0/50 Dodging | | 0 | 0 | 0 | 0 | 0/50 Stealth | | 0 | 0 | 0 | 0 | 0/42 Shields | | 0 | 0 | 0 | 0 | 0/50 Unarmed Combat | | 0 | 0 | 0 | 0 | 0/50 Spellcasting | | 0 | 0 | 0 | 0 | 0/59 Conjurations | | 0 | 0 | 0 | 0 | 0/50 Hexes | | 0 | 0 | 0 | 0 | 0/50 Charms | | 0 | 0 | 0 | 0 | 0/50 Summonings | | 0 | 0 | 0 | 0 | 0/50 Necromancy | | 0 | 0 | 0 | 0 | 0/50 Translocations | | 0 | 0 | 0 | 0 | 0/50 Transmutations | | 0 | 0 | 0 | 0 | 0/50 Fire Magic | | 0 | 0 | 0 | 0 | 0/50 Ice Magic | | 0 | 0 | 0 | 0 | 0/50 Air Magic | | 0 | 0 | 0 | 0 | 0/50 Earth Magic | | 0 | 0 | 0 | 0 | 0/50 Poison Magic | | 0 | 0 | 0 | 0 | 0/50 Invocations | | 0 | 0 | 0 | 0 | 0/42 Evocations | | 0 | 0 | 0 | 0 | 0/50 Spell bugs: Durations: Attributes: #49: 59 #59: 1 Mutations: Inventory bugs: Equipment: }}}}}}}}}}} Webtiles message buffer: Webtiles JSON stack: Screenshot: @ clua stack: dlua stack: Lua persistent data: <<<<<<<<<<<<<<<<<<<<<< ziggurat: builder: hex monster_hook: CLASS: FunctionWrapper name: ziggurat_awaken_all fn: [type function] zig_exc: 12 colour: red >>>>>>>>>>>>>>>>>>>>>> Lua marker contents: <<<<<<<<<<<<<<<<<<<<<< >>>>>>>>>>>>>>>>>>>>>>