ASSERT(!spells.empty()) in 'randbook.cc' at line 551 failed. Version: Dungeon Crawl Stone Soup 0.26-a0-524-g073066f Platform: unix Bits: 64 Game mode: normal Tiles: online Seed: 3242987162968442891, deterministic pregen: 1 Command line: /usr/games/crawl-git-073066f631 -name Apothem -rc /dgldir/rcfiles/crawl-git/Apothem.rc -macro /dgldir/rcfiles/crawl-git/Apothem.macro -morgue /dgldir/morgue/Apothem/ -webtiles-socket /crawl-master/webserver/sockets/Apothem:2020-08-14.02:19:55.sock -await-connection RC options: restart_after_game = false Crash caused by signal #6: Aborted Obtained 18 stack frames. /usr/games/crawl-git-073066f631(_Z17write_stack_traceP8_IO_FILE+0x23) [0x613ae3]: write_stack_trace(_IO_FILE*) /usr/games/crawl-git-073066f631(_Z13do_crash_dumpv+0x40c) [0x61b80c]: do_crash_dump() /usr/games/crawl-git-073066f631(_Z20crash_signal_handleri+0x9c) [0x613d6c]: crash_signal_handler(int) /lib/x86_64-linux-gnu/libc.so.6(+0x360b0) [0x7f8d5f2b70b0]: /lib/x86_64-linux-gnu/libpthread.so.0(raise+0x2b) [0x7f8d5f651b7b]: /usr/games/crawl-git-073066f631() [0x61adfe] /usr/games/crawl-git-073066f631() [0x61b156] /usr/games/crawl-git-073066f631(_Z20_set_book_spell_listR8item_defSt6vectorI10spell_typeSaIS2_EE+0x25a) [0xa1d4ca]: _set_book_spell_list(item_def&, std::vector >) /usr/games/crawl-git-073066f631(_Z23init_book_theme_randartR8item_defSt6vectorI10spell_typeSaIS2_EE+0x50) [0xa1dca0]: init_book_theme_randart(item_def&, std::vector >) /usr/games/crawl-git-073066f631(_Z17build_themed_bookR8item_defSt8functionIFb8spschoolS2_iRKSt6vectorI10spell_typeSaIS4_EES4_EES1_IFS2_vEEiSsSs+0x1ac) [0xa1de7c]: build_themed_book(item_def&, std::function > const&, spell_type)>, std::function, int, std::string, std::string) /usr/games/crawl-git-073066f631() [0x9c0751] /usr/games/crawl-git-073066f631(_Z15create_wandererv+0x23c) [0x9c0bac]: create_wanderer() /usr/games/crawl-git-073066f631(_Z17give_items_skillsRK11newgame_def+0xe) [0x9bec9e]: give_items_skills(newgame_def const&) /usr/games/crawl-git-073066f631(_Z10setup_gameRK11newgame_defb+0x242) [0x9bf3e2]: setup_game(newgame_def const&, bool) /usr/games/crawl-git-073066f631(_Z12startup_stepv+0xa92) [0xada0c2]: startup_step() /usr/games/crawl-git-073066f631(main+0x2f4) [0xc60c74]: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed) [0x7f8d5f2a27ed]: /usr/games/crawl-git-073066f631() [0x56cb49] Trying to run gdb. GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2.1) 7.4-2012.04 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". 0x00007f8d5f65184e in waitpid () from /lib/x86_64-linux-gnu/libpthread.so.0 #0 0x00007f8d5f65184e in waitpid () from /lib/x86_64-linux-gnu/libpthread.so.0 No symbol table info available. #1 0x00000000006141ab in call_gdb (file=0x7f8d5f63c180) at crash.cc:436 gdb = attach_cmd = "attach 16331\000\000\000\000\000\000\000" #2 0x000000000061b82c in do_crash_dump () at dbg-asrt.cc:685 dir = "/dgldir/morgue/Apothem/" signal_info = "Crash caused by signal #6: Aborted" cause_msg = "ASSERT(!spells.empty()) in 'randbook.cc' at line 551 failed." file = 0x7f8d5f63c180 t = 1597371600 name = "/dgldir/morgue/Apothem/crash-Apothem-20200814-022000.txt", '\000' #3 0x0000000000613d6c in crash_signal_handler (sig_num=6) at crash.cc:196 No locals. #4 No symbol table info available. #5 0x00007f8d5f651b7b in raise () from /lib/x86_64-linux-gnu/libpthread.so.0 No symbol table info available. #6 0x000000000061adfe in _BreakStrToDebugger (mesg=mesg@entry=0x7ffdfb710240 "ASSERT(!spells.empty()) in 'randbook.cc' at line 551 failed.", assert=assert@entry=true) at dbg-asrt.cc:817 No locals. #7 0x000000000061b156 in AssertFailed (expr=0xc91208 "!spells.empty()", file=0xc91149 "randbook.cc", line=551, text=0x0) at dbg-asrt.cc:855 mesg = "ASSERT(!spells.empty()) in 'randbook.cc' at line 551 failed.\000\177\000\000\024\000\000\000\020\020\000\000 \300c_\215\177", '\000' , ";\004q\373\375\177\000\000\177\375\306", '\000' , "\001\001xi", '\000' , "\024\000\000\000\020\020", '\000' , "\001", '\000' "\310, \006q\373\375\177\000\000\023\000\000\000\020\020\000\000 \300c_\215\177", '\000' "\236, \306\324\016ͬ\005\000\001\000\000\000\000\000\000\000\024", '\000' , "\003\000\000\000ȿ3"... args = {{gp_offset = 0, fp_offset = 0, overflow_arg_area = 0x7ffdfb7105b0, reg_save_area = 0x7f8d5f2d4bc9}} fileName = #8 0x0000000000a1d4ca in _set_book_spell_list (book=..., spells=std::vector of length 0, capacity 0) at randbook.cc:551 props = spell_vec = #9 0x0000000000a1dca0 in init_book_theme_randart (book=..., spells=std::vector of length 0, capacity 0) at randbook.cc:710 No locals. #10 0x0000000000a1de7c in build_themed_book(item_def&, std::function > const&, spell_type)>, std::function, int, std::string, std::string) (book=..., filter=..., get_discipline=..., num_spells=, owner="", subject="") at randbook.cc:328 discipline_1 = none discipline_2 = none agent = IT_SRC_NONE spells = std::vector of length 0, capacity 0 #11 0x00000000009c0751 in _give_wanderer_minor_book (skill=) at ng-wanderer.cc:383 school = none item = 0x10ba3f0 #12 _wanderer_decent_equipment (skill=@0x7ffdfb710e08: SK_SPELLCASTING, gift_skills=std::set with 1 elements) at ng-wanderer.cc:627 combined_weapon_skills = {SK_AXES, SK_MACES_FLAILS, SK_BOWS, SK_CROSSBOWS, SK_SHORT_BLADES, SK_LONG_BLADES, SK_STAVES, SK_UNARMED_COMBAT, SK_POLEARMS} #13 0x00000000009c0bac in create_wanderer () at ng-wanderer.cc:742 secondary_skill_levels = 3 util_skill1 = SK_SHIELDS gift_skills = std::set with 1 elements good_equipment = SK_STEALTH decent_2 = SK_FIGHTING secondary_role = util_size = 4 util_skill2 = selected_role = STAT_INT util_skills = {SK_THROWING, SK_STEALTH, SK_SHIELDS, SK_EVOCATIONS} primary_skill_levels = 5 sk_1 = SK_EARTH_MAGIC wn_rng = {current = {state_ = 9450620472544606265, inc_ = 3613930905356309957, count_ = 25}, previous = 0x0, previous_main = rng::GAMEPLAY} primary_role = sk_2 = decent_1 = SK_SPELLCASTING #14 0x00000000009bec9e in give_items_skills (ng=...) at ng-setup.cc:233 No locals. #15 0x00000000009bf3e2 in _setup_generic (normal_dungeon_setup=true, ng=...) at ng-setup.cc:462 No locals. #16 setup_game (ng=..., normal_dungeon_setup=) at ng-setup.cc:393 No locals. #17 0x0000000000ada0c2 in startup_step () at startup.cc:1059 choice = {name = "Apothem", type = GAME_TYPE_NORMAL, filename = "Apothem.cs", seed = 0, pregenerate = false, map = "", arena_teams = "", allowed_combos = std::vector of length 0, capacity 0, allowed_species = std::vector of length 0, capacity 0, allowed_jobs = std::vector of length 0, capacity 0, allowed_weapons = std::vector of length 0, capacity 0, species = SP_GNOLL, job = JOB_WANDERER, weapon = WPN_UNKNOWN, fully_random = false} defaults = {name = "", type = GAME_TYPE_NORMAL, filename = "", seed = 0, pregenerate = false, map = "", arena_teams = "", allowed_combos = std::vector of length 0, capacity 0, allowed_species = std::vector of length 1, capacity 1 = {SP_GNOLL}, allowed_jobs = std::vector of length 1, capacity 1 = {JOB_WANDERER}, allowed_weapons = std::vector of length 0, capacity 0, species = SP_GNOLL, job = JOB_WANDERER, weapon = WPN_UNKNOWN, fully_random = false} newchar = false ng = {name = "Apothem", type = GAME_TYPE_NORMAL, filename = "", seed = 0, pregenerate = false, map = "", arena_teams = "", allowed_combos = std::vector of length 0, capacity 0, allowed_species = std::vector of length 0, capacity 0, allowed_jobs = std::vector of length 0, capacity 0, allowed_weapons = std::vector of length 0, capacity 0, species = SP_GNOLL, job = JOB_WANDERER, weapon = WPN_UNKNOWN, fully_random = false} #18 0x0000000000c60c74 in _launch_game () at main.cc:410 game_start = #19 _launch_game_loop () at main.cc:382 game_ended = false #20 main (argc=, argv=) at main.cc:334 echo = {prev_state = MB_MAYBE} Compilation info: <<<<<<<<<<< Compiled with GCC 4.7.3 Build platform: x86_64-linux-gnu Platform: x86_64-linux-gnu CFLAGS: -O2 -pipe -DUSE_TILE -DUSE_TILE_WEB -Wall -Wformat-security -Wundef -Wextra -Wno-missing-field-initializers -Wno-implicit-fallthrough -Wno-type-limits -Wno-uninitialized -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 -g -DWIZARD -DASSERTS -DREGEX_PCRE -DCLUA_BINDINGS -DDGAMELAUNCH -DSAVE_DIR_PATH="/crawl-master/crawl-git-073066f631/saves" -DSHARED_DIR_PATH="/crawl-master/crawl-git/saves" -DDATA_DIR_PATH="/crawl-master/crawl-git-073066f631/data/" -DWEB_DIR_PATH="/crawl-master/crawl-git-073066f631/data/web/" -isystem /usr/include/ncursesw LDFLAGS: -rdynamic -fuse-ld=gold -O2 >>>>>>>>>>> Place info: branch = 0, depth = 1 Level id: D:1 Level build method = ABSENT, level layout type = ABSENT, absdepth0 = 0 Markers: <<<<<<<<<<<<<<<<<<<<<< >>>>>>>>>>>>>>>>>>>>>> Messages: <<<<<<<<<<<<<<<<<<<<<< >>>>>>>>>>>>>>>>>>>>>> Version history: No version history (current version is 0.26-a0-524-g073066f) Game state: mouse_enabled: 0, waiting_for_command: 0, terminal_resized: 0 io_inited: 1, 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: [Apothem] Species: Gnoll Job: Wanderer HP: 0/0; mods: 0/0 MP: 0/0; mod: 0 Stats: 13 (13) 16 (16) 13 (13) Position: (0, 0) , god: No God (0), turn_is_over: 0, banished: 0 Skills (mode: auto) Name | can_currently_train | train | training | level | points | progress Fighting | | 0 | 0 | 4 | 0 | -125/62 Short Blades | | 0 | 0 | 0 | 0 | 0/12 Long Blades | | 0 | 0 | 1 | 0 | -12/25 Axes | | 0 | 0 | 0 | 0 | 0/12 Maces & Flails | | 0 | 0 | 0 | 0 | 0/12 Polearms | | 0 | 0 | 0 | 0 | 0/12 Staves | | 0 | 0 | 0 | 0 | 0/12 Slings | | 0 | 0 | 0 | 0 | 0/12 Bows | | 0 | 0 | 0 | 0 | 0/12 Crossbows | | 0 | 0 | 0 | 0 | 0/12 Throwing | | 0 | 0 | 0 | 0 | 0/12 Armour | | 0 | 0 | 0 | 0 | 0/12 Dodging | | 0 | 0 | 0 | 0 | 0/12 Stealth | | 0 | 0 | 1 | 0 | -12/25 Shields | | 0 | 0 | 1 | 0 | -12/25 Unarmed Combat | | 0 | 0 | 0 | 0 | 0/12 Spellcasting | | 0 | 0 | 2 | 0 | -37/38 Conjurations | | 0 | 0 | 0 | 0 | 0/17 Hexes | | 0 | 0 | 0 | 0 | 0/17 Summonings | | 0 | 0 | 0 | 0 | 0/17 Necromancy | | 0 | 0 | 0 | 0 | 0/17 Translocations | | 0 | 0 | 0 | 0 | 0/17 Transmutations | | 0 | 0 | 0 | 0 | 0/17 Fire Magic | | 0 | 0 | 1 | 0 | -17/36 Ice Magic | | 0 | 0 | 0 | 0 | 0/17 Air Magic | | 0 | 0 | 0 | 0 | 0/17 Earth Magic | | 0 | 0 | 0 | 0 | 0/17 Poison Magic | | 0 | 0 | 0 | 0 | 0/17 Invocations | | 0 | 0 | 0 | 0 | 0/10 Evocations | | 0 | 0 | 0 | 0 | 0/12 Spell bugs: Durations: Attributes: #59: 1 Mutations: fangs: 1 (innate) strong nose: 1 (innate) Inventory bugs: slot #0: item '+2 dagger' has invalid link 27000 slot #0: item '+2 dagger' has invalid pos (0, 0) slot #1: item 'potion of berserk rage' has invalid link 27000 slot #1: item 'potion of berserk rage' has invalid pos (0, 0) slot #2: item ' "Hahom Ili"' has invalid link 27000 slot #2: item ' "Hahom Ili"' has invalid pos (0, 0) Equipment: eq slot #0, inv slot #0: +2 dagger (unknown) }}}}}}}}}}} Webtiles message buffer: Webtiles JSON stack: Screenshot: @ clua stack: dlua stack: Lua persistent data: <<<<<<<<<<<<<<<<<<<<<< >>>>>>>>>>>>>>>>>>>>>> Lua marker contents: <<<<<<<<<<<<<<<<<<<<<< >>>>>>>>>>>>>>>>>>>>>>