ASSERT(!spells.empty()) in 'randbook.cc' at line 552 failed.

Version: Dungeon Crawl Stone Soup 0.27-a0-686-gaed091b46b
Platform: unix
Bits: 64
Game mode: normal
Tiles: online

Seed: 0, deterministic pregen: 1
Command line: /usr/games/crawl-git-aed091b46b -name nht -rc /dgldir/rcfiles/crawl-git/nht.rc -macro /dgldir/rcfiles/crawl-git/nht.macro -webtiles-socket /crawl-master/webserver/sockets/nht:dcss-git.sock -morgue /dgldir/morgue/nht/

RC options:
restart_after_game = false


Crash caused by signal #6: Aborted

Obtained 21 stack frames.
/usr/games/crawl-git-aed091b46b(_Z17write_stack_traceP8_IO_FILE+0x28) [0x55de4598f238]: write_stack_trace(_IO_FILE*)
/usr/games/crawl-git-aed091b46b(_Z13do_crash_dumpv+0x47c) [0x55de459974ac]: do_crash_dump()
/usr/games/crawl-git-aed091b46b(_Z20crash_signal_handleri+0x7e) [0x55de4598f53e]: crash_signal_handler(int)
/lib/x86_64-linux-gnu/libc.so.6(+0x33060) [0x7f4b8759e060]: 
/lib/x86_64-linux-gnu/libpthread.so.0(raise+0xcf) [0x7f4b8791af9f]: 
/usr/games/crawl-git-aed091b46b(+0x37bc66) [0x55de45996c66]: 
/usr/games/crawl-git-aed091b46b(+0x37bdd2) [0x55de45996dd2]: 
/usr/games/crawl-git-aed091b46b(_Z20_set_book_spell_listR8item_defSt6vectorI10spell_typeSaIS2_EE+0x324) [0x55de45d8f574]: _set_book_spell_list(item_def&, std::vector<spell_type, std::allocator<spell_type> >)
/usr/games/crawl-git-aed091b46b(_Z23init_book_theme_randartR8item_defSt6vectorI10spell_typeSaIS2_EE+0x50) [0x55de45d8f5f0]: init_book_theme_randart(item_def&, std::vector<spell_type, std::allocator<spell_type> >)
/usr/games/crawl-git-aed091b46b(_Z17build_themed_bookR8item_defSt8functionIFb8spschoolS2_iRKSt6vectorI10spell_typeSaIS4_EES4_EES1_IFS2_vEEiNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESI_+0x190) [0x55de45d8f7b0]: build_themed_book(item_def&, std::function<bool (spschool, spschool, int, std::vector<spell_type, std::allocator<spell_type> > const&, spell_type)>, std::function<spschool ()>, int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)
/usr/games/crawl-git-aed091b46b(+0x70afcf) [0x55de45d25fcf]: 
/usr/games/crawl-git-aed091b46b(_Z15create_wandererv+0x2a5) [0x55de45d26445]: create_wanderer()
/usr/games/crawl-git-aed091b46b(_Z17give_items_skillsRK11newgame_def+0xe) [0x55de45d2232e]: give_items_skills(newgame_def const&)
/usr/games/crawl-git-aed091b46b(_Z21fill_doll_for_newgameR10dolls_dataRK11newgame_def+0xf2) [0x55de45f3ce02]: fill_doll_for_newgame(dolls_data&, newgame_def const&)
/usr/games/crawl-git-aed091b46b(+0x6fa344) [0x55de45d15344]: 
/usr/games/crawl-git-aed091b46b(_Z11choose_gameR11newgame_defS0_RKS_+0xc1) [0x55de45d175f1]: choose_game(newgame_def&, newgame_def&, newgame_def const&)
/usr/games/crawl-git-aed091b46b(_Z12startup_stepv+0x16fd) [0x55de45e3c68d]: startup_step()
/usr/games/crawl-git-aed091b46b(+0x945077) [0x55de45f60077]: 
/usr/games/crawl-git-aed091b46b(main+0x345) [0x55de458f12b5]: 
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf1) [0x7f4b8758b2e1]: 
/usr/games/crawl-git-aed091b46b(_start+0x2a) [0x55de458f1c4a]: 

gdb not executable.

Compilation info:
<<<<<<<<<<<
Compiled with GCC 6.3.0 20170516
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 -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-aed091b46b/saves" -DSHARED_DIR_PATH="/crawl-master/crawl-git/saves" -DDATA_DIR_PATH="/crawl-master/crawl-git-aed091b46b/data/" -DWEB_DIR_PATH="/crawl-master/crawl-git-aed091b46b/data/web/" -D_GNU_SOURCE -D_DEFAULT_SOURCE -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:
<<<<<<<<<<<<<<<<<<<<<<
Data directory '/crawl-master/crawl-git-aed091b46b/data/dat/' found.
Loading databases... Loading spells and features... Loading maps...
Hello, welcome to Dungeon Crawl Stone Soup 0.27-a0-686-gaed091b46b!
(c) Copyright 1997-2002 Linley Henzell, 2002-2021 Crawl DevTeam
Options read from "nht.rc".

>>>>>>>>>>>>>>>>>>>>>>

Version history:
No version history (current version is 0.27-a0-686-gaed091b46b)

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:    [nht]
Species: Palentonga
Job:     Wanderer

HP: 0/0; mods: 0/0
MP: 0/0; mod: 0
Stats: 16 (16) 13 (13) 7 (7)
Position: (0, 0) <OoB>, god: No God (0), turn_is_over: 0, banished: 0

Skills (mode: manual)
Name            | can_currently_train | train | training | level | points | progress
Fighting        |                     |   0   |     0    |    1  |      0 | -50/100
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/59
Staves          |                     |   0   |     0    |    0  |      0 | 0/50
Slings          |                     |   0   |     0    |    0  |      0 | 0/84
Bows            |                     |   0   |     0    |    0  |      0 | 0/70
Crossbows       |                     |   0   |     0    |    1  |      0 | -70/142
Throwing        |                     |   0   |     0    |    0  |      0 | 0/84
Armour          |                     |   0   |     0    |    1  |      0 | -70/142
Dodging         |                     |   0   |     0    |    0  |      0 | 0/70
Stealth         |                     |   0   |     0    |    1  |      0 | -84/168
Shields         |                     |   0   |     0    |    1  |      0 | -70/142
Unarmed Combat  |                     |   0   |     0    |    0  |      0 | 0/50
Spellcasting    |                     |   0   |     0    |    4  |      0 | -594/297
Conjurations    |                     |   0   |     0    |    1  |      0 | -59/119
Hexes           |                     |   0   |     0    |    0  |      0 | 0/50
Summonings      |                     |   0   |     0    |    0  |      0 | 0/70
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/70
Ice Magic       |                     |   0   |     0    |    0  |      0 | 0/70
Air Magic       |                     |   0   |     0    |    0  |      0 | 0/70
Earth Magic     |                     |   0   |     0    |    0  |      0 | 0/59
Poison Magic    |                     |   0   |     0    |    0  |      0 | 0/70
Invocations     |                     |   0   |     0    |    0  |      0 | 0/42
Evocations      |                     |   0   |     0    |    0  |      0 | 0/59

Spell bugs:

Durations:

Attributes:
    #59: 1

Mutations:
    rugged brown scales: 3 (innate)
    see invisible: 1 (innate)
    deformed body: 1 (innate)
    roll: 1 (innate)
    armoured tail: 1 (innate)

Inventory bugs:
    slot #0: item '+0 kite shield' has invalid link 27000
    slot #0: item '+0 kite shield' has invalid pos (0, 0) <OoB>
    slot #1: item ' "Iluocvuo"' has invalid link 27000
    slot #1: item ' "Iluocvuo"' has invalid pos (0, 0) <OoB>

Equipment:
    eq slot #5, inv slot #0: +0 kite shield (unknown)

}}}}}}}}}}}

Webtiles message buffer: 
Webtiles JSON stack:

Screenshot:
@

clua stack:


dlua stack:


Lua persistent data:
<<<<<<<<<<<<<<<<<<<<<<
>>>>>>>>>>>>>>>>>>>>>>

Lua marker contents:
<<<<<<<<<<<<<<<<<<<<<<
>>>>>>>>>>>>>>>>>>>>>>