ASSERT(spells[0] != SPELL_NO_SPELL) in 'randbook.cc' at line 707 failed. Version: Dungeon Crawl Stone Soup 0.19-a0-2013-g488b080 Platform: unix Bits: 64 Game mode: normal Tiles: online Command line: /usr/games/crawl-hellcrawl-cbro -name KingFriday -rc /dgldir/rcfiles/crawl-git/KingFriday.rc -macro /dgldir/rcfiles/crawl-git/KingFriday.macro -morgue /dgldir/morgue/KingFriday/ -webtiles-socket /crawl-master/webserver/sockets/KingFriday:2017-01-18.09:37:48.sock -await-connection RC options: restart_after_game = false Crash caused by signal #6: Aborted Obtained 17 stack frames. /usr/games/crawl-hellcrawl-cbro(_Z17write_stack_traceP8_IO_FILEi+0x23) [0x5ca183]: write_stack_trace(_IO_FILE*, int) /usr/games/crawl-hellcrawl-cbro(_Z13do_crash_dumpv+0x2f2) [0x5d14f2]: do_crash_dump() /usr/games/crawl-hellcrawl-cbro(_Z20crash_signal_handleri+0x9c) [0x5ca41c]: crash_signal_handler(int) /lib/x86_64-linux-gnu/libc.so.6(+0x364c0) [0x7fd17a3c84c0]: /lib/x86_64-linux-gnu/libpthread.so.0(raise+0x2b) [0x7fd17a75eb7b]: /usr/games/crawl-hellcrawl-cbro() [0x5d0ca9] /usr/games/crawl-hellcrawl-cbro() [0x5d0f71] /usr/games/crawl-hellcrawl-cbro(_Z23init_book_theme_randartR8item_defSt6vectorI10spell_typeSaIS2_EE+0x295) [0x995925]: init_book_theme_randart(item_def&, std::vector >) /usr/games/crawl-hellcrawl-cbro(_Z17build_themed_bookR8item_defSt8functionIFb18spschool_flag_typeS2_iRKSt6vectorI10spell_typeSaIS4_EES4_EES1_IFS2_vEEiSsSs+0x1ac) [0x995b2c]: build_themed_book(item_def&, std::function > const&, spell_type)>, std::function, int, std::string, std::string) /usr/games/crawl-hellcrawl-cbro() [0x947d41] /usr/games/crawl-hellcrawl-cbro(_Z15create_wandererv+0x230) [0x948190]: create_wanderer() /usr/games/crawl-hellcrawl-cbro(_Z10setup_gameRK11newgame_def+0x961) [0x946f01]: setup_game(newgame_def const&) /usr/games/crawl-hellcrawl-cbro(_Z12startup_stepv+0x7dd) [0xa44bad]: startup_step() /usr/games/crawl-hellcrawl-cbro() [0xba0626] /usr/games/crawl-hellcrawl-cbro(main+0x2eb) [0xba453b]: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed) [0x7fd17a3b376d]: /usr/games/crawl-hellcrawl-cbro() [0x5320a9] 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". 0x00007fd17a75e84e in waitpid () from /lib/x86_64-linux-gnu/libpthread.so.0 #0 0x00007fd17a75e84e in waitpid () from /lib/x86_64-linux-gnu/libpthread.so.0 No symbol table info available. #1 0x00000000005ca88b in call_gdb (file=0x7fd17a749180) at crash.cc:420 gdb = attach_cmd = "attach 20431\000\000\000\000\000\000\000" #2 0x00000000005d1512 in do_crash_dump () at dbg-asrt.cc:670 t = 1484732271 dir = {static npos = , _M_dataplus = {> = {<__gnu_cxx::new_allocator> = {}, }, _M_p = 0x1cf51a8 "/dgldir/morgue/KingFriday/"}} name = "/dgldir/morgue/KingFriday/crash-KingFriday-20170118-093751.txt", '\000' file = 0x7fd17a749180 #3 0x00000000005ca41c in crash_signal_handler (sig_num=6) at crash.cc:193 No locals. #4 No symbol table info available. #5 0x00007fd17a75eb7b in raise () from /lib/x86_64-linux-gnu/libpthread.so.0 No symbol table info available. #6 0x00000000005d0ca9 in _BreakStrToDebugger (mesg=mesg@entry=0x7fff8784df50 "ASSERT(spells[0] != SPELL_NO_SPELL) in 'randbook.cc' at line 707 failed.", assert=) at dbg-asrt.cc:794 No locals. #7 0x00000000005d0f71 in AssertFailed (expr=0xbd2013 "spells[0] != SPELL_NO_SPELL", file=0xbd1f43 "randbook.cc", line=707, text=0x0) at dbg-asrt.cc:832 mesg = "ASSERT(spells[0] != SPELL_NO_SPELL) in 'randbook.cc' at line 707 failed.\000\000\000\000\000\000\000\000\024\000\000\000\020\020", '\000' , "hㄇ\377\177\000\000\001\000\000\000\000\000\000\000\023\000\000\000\020\020\000\000 \220tz\321\177", '\000' , "\001\000\000\000\000\000\000\000\024", '\000' , "\003\000\000\000\370E\300\001\000\000\000\000\001", '\000' , "\001\000\000\000x`\006\002\000\000\000\000\r\204\006\002\000\000\000\000\020a\006\002\000\000\000\000\000a"... args = {{gp_offset = 0, fp_offset = 0, overflow_arg_area = 0x7fff8784e0db, reg_save_area = 0xbb1cd0}} fileName = #8 0x0000000000995925 in init_book_theme_randart (book=..., spells=...) at randbook.cc:707 props = spell_vec = #9 0x0000000000995b2c 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 = SPTYP_NONE discipline_2 = SPTYP_NONE agent = IT_SRC_NONE spells = { >> = {_M_impl = {> = {<__gnu_cxx::new_allocator> = {}, }, _M_start = 0x0, _M_finish = 0x0, _M_end_of_storage = 0x0}}, } #10 0x0000000000947d41 in _give_wanderer_minor_book (skill=) at ng-wanderer.cc:380 school = SPTYP_NONE item = 0x1140600 #11 _wanderer_decent_equipment (skill=@0x7fff8784eabc: SK_SPELLCASTING, gift_skills=...) at ng-wanderer.cc:624 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} #12 0x0000000000948190 in create_wanderer () at ng-wanderer.cc:735 util_skill1 = SK_SHIELDS gift_skills = {_M_t = {_M_impl = { >> = {<__gnu_cxx::new_allocator >> = {}, }, _M_key_compare = {> = {}, }, _M_header = {_M_color = std::_S_red, _M_parent = 0x1ae5d20, _M_left = 0x1ae5d20, _M_right = 0x1aca4f0}, _M_node_count = 2}}} good_equipment = SK_BOWS decent_2 = SK_SPELLCASTING secondary_role = util_skill2 = selected_role = util_skills = {SK_THROWING, SK_STEALTH, SK_SHIELDS, SK_EVOCATIONS} sk_1 = SK_CROSSBOWS primary_role = sk_2 = decent_1 = SK_CROSSBOWS #13 0x0000000000946f01 in _give_items_skills (ng=...) at ng-setup.cc:281 No locals. #14 _setup_generic (ng=...) at ng-setup.cc:466 No locals. #15 setup_game (ng=...) at ng-setup.cc:388 No locals. #16 0x0000000000a44bad in startup_step () at startup.cc:1038 choice = {name = {static npos = , _M_dataplus = {> = {<__gnu_cxx::new_allocator> = {}, }, _M_p = 0x1a96c28 "KingFriday"}}, type = GAME_TYPE_NORMAL, filename = {static npos = , _M_dataplus = {> = {<__gnu_cxx::new_allocator> = {}, }, _M_p = 0x123d398 ""}}, map = {static npos = , _M_dataplus = {> = {<__gnu_cxx::new_allocator> = {}, }, _M_p = 0x123d398 ""}}, arena_teams = {static npos = , _M_dataplus = {> = {<__gnu_cxx::new_allocator> = {}, }, _M_p = 0x123d398 ""}}, allowed_combos = {, std::allocator >, std::allocator, std::allocator > > >> = {_M_impl = {, std::allocator > >> = {<__gnu_cxx::new_allocator, std::allocator > >> = {}, }, _M_start = 0x0, _M_finish = 0x0, _M_end_of_storage = 0x0}}, }, allowed_species = { >> = {_M_impl = {> = {<__gnu_cxx::new_allocator> = {}, }, _M_start = 0x1d18110, _M_finish = 0x1d18114, _M_end_of_storage = 0x1d18114}}, }, allowed_jobs = { >> = {_M_impl = {> = {<__gnu_cxx::new_allocator> = {}, }, _M_start = 0x1b6cf90, _M_finish = 0x1b6cf94, _M_end_of_storage = 0x1b6cf94}}, }, allowed_weapons = { >> = {_M_impl = {> = {<__gnu_cxx::new_allocator> = {}, }, _M_start = 0x0, _M_finish = 0x0, _M_end_of_storage = 0x0}}, }, species = SP_DEMIGOD, job = JOB_WANDERER, weapon = WPN_UNKNOWN, fully_random = false} defaults = {name = {static npos = , _M_dataplus = {> = {<__gnu_cxx::new_allocator> = {}, }, _M_p = 0x123d398 ""}}, type = GAME_TYPE_NORMAL, filename = {static npos = , _M_dataplus = {> = {<__gnu_cxx::new_allocator> = {}, }, _M_p = 0x123d398 ""}}, map = {static npos = , _M_dataplus = {> = {<__gnu_cxx::new_allocator> = {}, }, _M_p = 0x123d398 ""}}, arena_teams = {static npos = , _M_dataplus = {> = {<__gnu_cxx::new_allocator> = {}, }, _M_p = 0x123d398 ""}}, allowed_combos = {, std::allocator >, std::allocator, std::allocator > > >> = {_M_impl = {, std::allocator > >> = {<__gnu_cxx::new_allocator, std::allocator > >> = {}, }, _M_start = 0x0, _M_finish = 0x0, _M_end_of_storage = 0x0}}, }, allowed_species = { >> = {_M_impl = {> = {<__gnu_cxx::new_allocator> = {}, }, _M_start = 0x1ec71b0, _M_finish = 0x1ec71b4, _M_end_of_storage = 0x1ec71b4}}, }, allowed_jobs = { >> = {_M_impl = {> = {<__gnu_cxx::new_allocator> = {}, }, _M_start = 0x1cb7d80, _M_finish = 0x1cb7d84, _M_end_of_storage = 0x1cb7d84}}, }, allowed_weapons = { >> = {_M_impl = {> = {<__gnu_cxx::new_allocator> = {}, }, _M_start = 0x0, _M_finish = 0x0, _M_end_of_storage = 0x0}}, }, species = SP_DEMIGOD, job = JOB_WANDERER, weapon = WPN_UNKNOWN, fully_random = false} newchar = false ng = {name = {static npos = , _M_dataplus = {> = {<__gnu_cxx::new_allocator> = {}, }, _M_p = 0x1a96c28 "KingFriday"}}, type = GAME_TYPE_NORMAL, filename = {static npos = , _M_dataplus = {> = {<__gnu_cxx::new_allocator> = {}, }, _M_p = 0x123d398 ""}}, map = {static npos = , _M_dataplus = {> = {<__gnu_cxx::new_allocator> = {}, }, _M_p = 0x123d398 ""}}, arena_teams = {static npos = , _M_dataplus = {> = {<__gnu_cxx::new_allocator> = {}, }, _M_p = 0x123d398 ""}}, allowed_combos = {, std::allocator >, std::allocator, std::allocator > > >> = {_M_impl = {, std::allocator > >> = {<__gnu_cxx::new_allocator, std::allocator > >> = {}, }, _M_start = 0x0, _M_finish = 0x0, _M_end_of_storage = 0x0}}, }, allowed_species = { >> = {_M_impl = {> = {<__gnu_cxx::new_allocator> = {}, }, _M_start = 0x0, _M_finish = 0x0, _M_end_of_storage = 0x0}}, }, allowed_jobs = { >> = {_M_impl = {> = {<__gnu_cxx::new_allocator> = {}, }, _M_start = 0x0, _M_finish = 0x0, _M_end_of_storage = 0x0}}, }, allowed_weapons = { >> = {_M_impl = {> = {<__gnu_cxx::new_allocator> = {}, }, _M_start = 0x0, _M_finish = 0x0, _M_end_of_storage = 0x0}}, }, species = SP_DEMIGOD, job = JOB_WANDERER, weapon = WPN_UNKNOWN, fully_random = false} #17 0x0000000000ba0626 in _launch_game () at main.cc:408 game_start = ccon = {cstate = 230, smartcstate = 6} #18 0x0000000000ba453b in _launch_game_loop () at main.cc:381 game_ended = false #19 main (argc=, argv=0x7fff8784f438) at main.cc:337 No locals. Compilation info: <<<<<<<<<<< Compiled with GCC 4.7.3 on Jan 9 2017 at 02:02:29 Build platform: x86_64-linux-gnu Platform: x86_64-linux-gnu CFLAGS: -O2 -pipe -DUSE_TILE -DUSE_TILE_WEB -DEXPERIMENTAL_BRANCH="hellcrawl-cbro" -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 -g -DWIZARD -DASSERTS -DREGEX_PCRE -DCLUA_BINDINGS -DDGAMELAUNCH -DSAVE_DIR_PATH="/crawl-master/crawl-hellcrawl-cbro/saves" -DDATA_DIR_PATH="/crawl-master/crawl-hellcrawl-cbro/data/" -DWEB_DIR_PATH="/crawl-master/crawl-hellcrawl-cbro/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: <<<<<<<<<<<<<<<<<<<<<< >>>>>>>>>>>>>>>>>>>>>> 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: [KingFriday] Species: Demigod Job: Wanderer HP: 0/0; mods: 0/0 MP: 0/0; mod: 0 Stats: 15 (15) 17 (17) 14 (14) 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 | 2 | 0 | -178/178 Short Blades | | 0 | 0 | 0 | 0 | 0/59 Long Blades | | 0 | 0 | 0 | 0 | 0/59 Axes | | 0 | 0 | 0 | 0 | 0/59 Maces & Flails | | 0 | 0 | 0 | 0 | 0/59 Polearms | | 0 | 0 | 0 | 0 | 0/59 Staves | | 0 | 0 | 0 | 0 | 0/59 Slings | | 0 | 0 | 0 | 0 | 0/59 Bows | | 0 | 0 | 1 | 0 | -59/119 Crossbows | | 0 | 0 | 0 | 0 | 0/59 Throwing | | 0 | 0 | 1 | 0 | -59/119 Armour | | 0 | 0 | 0 | 0 | 0/59 Dodging | | 0 | 0 | 0 | 0 | 0/59 Stealth | | 0 | 0 | 0 | 0 | 0/50 Shields | | 0 | 0 | 1 | 0 | -59/119 Unarmed Combat | | 0 | 0 | 0 | 0 | 0/59 Spellcasting | | 0 | 0 | 1 | 0 | -70/142 Conjurations | | 0 | 0 | 0 | 0 | 0/59 Hexes | | 0 | 0 | 0 | 0 | 0/59 Charms | | 0 | 0 | 0 | 0 | 0/59 Summonings | | 0 | 0 | 0 | 0 | 0/59 Necromancy | | 0 | 0 | 1 | 0 | -59/119 Translocations | | 0 | 0 | 0 | 0 | 0/59 Transmutations | | 0 | 0 | 0 | 0 | 0/59 Fire Magic | | 0 | 0 | 3 | 0 | -356/238 Ice Magic | | 0 | 0 | 0 | 0 | 0/59 Air Magic | | 0 | 0 | 0 | 0 | 0/59 Earth Magic | | 0 | 0 | 0 | 0 | 0/59 Evocations | | 0 | 0 | 0 | 0 | 0/59 Spell bugs: Durations: Attributes: #59: 1 Mutations: high mp: 1 (innate) Inventory bugs: slot #0: item '+2 shortbow' has invalid link 27000 slot #0: item '+2 shortbow' has invalid pos (0, 0) slot #1: item '166 arrows' has invalid link 27000 slot #1: item '166 arrows' has invalid pos (0, 0) slot #2: item '+0 hand crossbow' has invalid link 27000 slot #2: item '+0 hand crossbow' has invalid pos (0, 0) slot #3: item '176 bolts' has invalid link 27000 slot #3: item '176 bolts' has invalid pos (0, 0) slot #4: item ' of Viucwyem' has invalid link 27000 slot #4: item ' of Viucwyem' has invalid pos (0, 0) Equipment: eq slot #0, inv slot #0: +2 shortbow }}}}}}}}}}} Webtiles message buffer: Webtiles JSON stack: Screenshot: @ clua stack: dlua stack: Lua persistent data: <<<<<<<<<<<<<<<<<<<<<< >>>>>>>>>>>>>>>>>>>>>> Lua marker contents: <<<<<<<<<<<<<<<<<<<<<< >>>>>>>>>>>>>>>>>>>>>>