ERROR in 'spl-book.cc' at line 145: ASSERT failed: book of 46 out of range 0 (0) .. (int)ARRAYSZ(spellbook_templates) (43)

Version: Dungeon Crawl Stone Soup 0.24-a0-228-g05560da471
Platform: unix
Bits: 64
Game mode: sprint
Tiles: online

Command line: /usr/games/crawl-git-05560da471 -name Zero -rc /dgldir/rcfiles/crawl-git/Zero.rc -macro /dgldir/rcfiles/crawl-git/Zero.macro -morgue /dgldir/morgue/Zero/ -sprint -webtiles-socket /crawl-master/webserver/sockets/Zero:2019-04-01.20:50:38.sock -await-connection

RC options:
restart_after_game = false


Crash caused by signal #6: Aborted

Obtained 22 stack frames.
/usr/games/crawl-git-05560da471(_Z17write_stack_traceP8_IO_FILEi+0x28) [0x559593e84c88]: write_stack_trace(_IO_FILE*, int)
/usr/games/crawl-git-05560da471(_Z13do_crash_dumpv+0x480) [0x559593e8cf40]: do_crash_dump()
/usr/games/crawl-git-05560da471(_Z20crash_signal_handleri+0x7e) [0x559593e84f8e]: crash_signal_handler(int)
/lib/x86_64-linux-gnu/libc.so.6(+0x33060) [0x7ff2b4934060]: 
/lib/x86_64-linux-gnu/libpthread.so.0(raise+0xcf) [0x7ff2b4cb0f9f]: 
/usr/games/crawl-git-05560da471(+0x33e6f6) [0x559593e8c6f6]: 
/usr/games/crawl-git-05560da471(+0x33e98d) [0x559593e8c98d]: 
/usr/games/crawl-git-05560da471(+0x75ed99) [0x5595942acd99]: 
/usr/games/crawl-git-05560da471(_Z14spells_in_bookRK8item_def+0x2ca) [0x5595942add9a]: spells_in_book(item_def const&)
/usr/games/crawl-git-05560da471(_Z15is_useless_itemRK8item_defb+0x4c6) [0x5595940317a6]: is_useless_item(item_def const&, bool)
/usr/games/crawl-git-05560da471(_Z17is_dangerous_itemRK8item_defb+0x2e) [0x559594031f4e]: is_dangerous_item(item_def const&, bool)
/usr/games/crawl-git-05560da471(_Z11item_prefixB5cxx11RK8item_defb+0x163) [0x559594032163]: item_prefix[abi:cxx11](item_def const&, bool)
/usr/games/crawl-git-05560da471(_Z21item_needs_autopickupRK8item_defb+0x124) [0x55959403ee84]: item_needs_autopickup(item_def const&, bool)
/usr/games/crawl-git-05560da471(_Z18tile_draw_map_cellRK9coord_defb+0x777) [0x5595943f9057]: tile_draw_map_cell(coord_def const&, bool)
/usr/games/crawl-git-05560da471(_Z8tag_readR6reader8tag_type+0x3211) [0x559594347d91]: tag_read(reader&, tag_type)
/usr/games/crawl-git-05560da471(+0x3fc443) [0x559593f4a443]: 
/usr/games/crawl-git-05560da471(_Z10load_level20dungeon_feature_type14load_mode_typeRK8level_id+0x228e) [0x559593f56a4e]: load_level(dungeon_feature_type, load_mode_type, level_id const&)
/usr/games/crawl-git-05560da471(_Z12startup_stepv+0x15ab) [0x55959430ba9b]: startup_step()
/usr/games/crawl-git-05560da471(+0x8c9724) [0x559594417724]: 
/usr/games/crawl-git-05560da471(main+0x13b) [0x559593de91ab]: 
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf1) [0x7ff2b49212e1]: 
/usr/games/crawl-git-05560da471(_start+0x2a) [0x559593de9cea]: 

/usr/bin/gdb not executable.

Compilation info:
<<<<<<<<<<<
Compiled with GCC 6.3.0 20170516 on Apr  1 2019 at 00:21:37
Build platform: x86_64-linux-gnu
Platform: x86_64-linux-gnu
CFLAGS: -O2 -pipe -DUSE_TILE -DUSE_TILE_WEB -Wall -Wformat-security -Wundef -Wno-array-bounds -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-git-05560da471/saves" -DSHARED_DIR_PATH="/crawl-master/crawl-git/saves" -DDATA_DIR_PATH="/crawl-master/crawl-git-05560da471/data/" -DWEB_DIR_PATH="/crawl-master/crawl-git-05560da471/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
Level build method = random_map_for_place, level layout type  = encompass, absdepth0 = 0
Level vaults:
    sprint_v [room_start, room_1, room_2, room_3, room_4, room_5, room_6, room_7, room_8, room_9, room_10, room_11, room_12, room_13, room_14, room_15, room_16, room_17, room_18, room_19, room_20, room_21, room_22, room_23, room_24, room_25, room_26, room_27]

Markers:
<<<<<<<<<<<<<<<<<<<<<<
Marker #0, type 0 at (8, 11): feature (stone_stairs_up_i)
>>>>>>>>>>>>>>>>>>>>>>

Messages:
<<<<<<<<<<<<<<<<<<<<<<
Welcome, Zero the Ogre Fighter.
Press ? for a list of commands and other information.
Found fourteen items. Found nine altars.
Found a staircase leading out of the dungeon.
Found a +5 quick blade and a +5 claymore.
Found an ancient bone altar of Kikubaaqudgha.
Found the +6 Majin-Bo {vamp, Archmagi, MP+6 Int+6}.
Found a roughly hewn altar of Beogh.
Found a basalt altar of Yredelemnul and an iron altar of Okawaru.
Found a radiant altar of Vehumet.
Items here: [[[[[[
Okay, then.
There is an opulent altar of Gozag here.
Items here: [[[[[[
Items here: [[[[[[
Found a shimmering altar of Xom.
Things that are here:
a +3 large shield; a +3 shield; a +3 buckler
Items here: [[[[[[

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

Version history:
No version history (current version is 0.24-a0-228-g05560da471)

Game state:

mouse_enabled: 0, waiting_for_command: 0, terminal_resized: 0
io_inited: 1, need_save: 1, saving_game: 0, updating_scores: 0:
seen_hups: 0, map_stat_gen: 0, type: 4, arena_suspended: 0

prev_cmd = CMD_NO_CMD
repeat_cmd = CMD_NO_CMD

Player:
{{{{{{{{{{{
Name:    [Zero]
Species: Ogre
Job:     Fighter

HP: 24/24; mods: 0/0
MP: 1/1; mod: 0
Stats: 20 (20) 7 (7) 9 (9)
Position: (5, 9), god: No God (0), turn_is_over: 0, banished: 0
Standing on/in/over feature: floor

Skills (mode: manual)
Name            | can_train | train | training | level | points | progress
Fighting        |     X     |   1   |    25    |    4  |    301 | 4/148
Short Blades    |           |   0   |     0    |    0  |      0 | 0/59
Long Blades     |           |   0   |     0    |    0  |      0 | 0/59
Axes            |           |   0   |     0    |    0  |      0 | 0/50
Maces & Flails  |     X     |   1   |    25    |    2  |    151 | -27/178
Polearms        |           |   0   |     0    |    0  |      0 | 0/50
Staves          |           |   0   |     0    |    0  |      0 | 0/50
Slings          |           |   0   |     0    |    0  |      0 | 0/84
Bows            |           |   0   |     0    |    0  |      0 | 0/84
Crossbows       |           |   0   |     0    |    0  |      0 | 0/84
Throwing        |     X     |   0   |     0    |    0  |      0 | 0/50
Armour          |     X     |   1   |    25    |    2  |    301 | 89/212
Dodging         |     X     |   0   |     0    |    0  |      0 | 0/59
Stealth         |     X     |   0   |     0    |    0  |      0 | 0/70
Shields         |     X     |   1   |    25    |    2  |    301 | 123/178
Unarmed Combat  |     X     |   0   |     0    |    0  |      0 | 0/59
Spellcasting    |     X     |   0   |     0    |    0  |      0 | 0/42
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    |    0  |      0 | 0/59
Translocations  |           |   0   |     0    |    0  |      0 | 0/59
Transmutations  |           |   0   |     0    |    0  |      0 | 0/59
Fire Magic      |           |   0   |     0    |    0  |      0 | 0/59
Ice Magic       |           |   0   |     0    |    0  |      0 | 0/59
Air Magic       |           |   0   |     0    |    0  |      0 | 0/59
Earth Magic     |           |   0   |     0    |    0  |      0 | 0/59
Poison Magic    |           |   0   |     0    |    0  |      0 | 0/59
Invocations     |           |   0   |     0    |    0  |      0 | 0/42
Evocations      |           |   0   |     0    |    0  |      0 | 0/70

Spell bugs:

Durations:

Attributes:

Mutations:
    tough skin: 1 (innate)

Inventory bugs:

Equipment:
    eq slot #0, inv slot #0: +0 flail
    eq slot #5, inv slot #2: +0 shield
    eq slot #6, inv slot #1: +0 robe

}}}}}}}}}}}

Webtiles message buffer: 
Webtiles JSON stack:

Screenshot:
ERROR in 'spl-book.cc' at line 145: ASSERT failed: book of 46 out of range 0 (0) .. (int)ARRAYSZ(spellbook_templates) (43)
Recursive crash.