ERROR in 'jobs.cc' at line 18: ASSERT failed: job of 100 out of range 0 (0) .. NUM_JOBS (29)

Version: Dungeon Crawl Stone Soup 0.17-a0-1324-ga541562
Platform: unix
Bits: 64
Game mode: normal
Tiles: online

Command line: /usr/games/crawl-git-a541562f89 -name nubinia -rc /dgldir/rcfiles/crawl-git/nubinia.rc -macro /dgldir/rcfiles/crawl-git/nubinia.macro -morgue /dgldir/morgue/nubinia/ -webtiles-socket /crawl-master/webserver/sockets/nubinia:2015-06-09.11:10:08.sock -await-connection

RC options:
restart_after_game = false


Crash caused by signal #6: Aborted

Obtained 19 stack frames.
/usr/games/crawl-git-a541562f89(_Z17write_stack_traceP8_IO_FILEi+0x23) [0x63fca3]: write_stack_trace(_IO_FILE*, int)
/usr/games/crawl-git-a541562f89(_Z13do_crash_dumpv+0x2d7) [0x646d87]: do_crash_dump()
/usr/games/crawl-git-a541562f89(_Z20crash_signal_handleri+0x74) [0x63ff14]: crash_signal_handler(int)
/lib/x86_64-linux-gnu/libc.so.6(+0x321e0) [0x7f8a752181e0]: 
/lib/x86_64-linux-gnu/libpthread.so.0(raise+0x2b) [0x7f8a75580f6b]: 
/usr/games/crawl-git-a541562f89() [0x646624]
/usr/games/crawl-git-a541562f89() [0x646999]
/usr/games/crawl-git-a541562f89() [0x7c4f12]
/usr/games/crawl-git-a541562f89(_Z22job_recommends_species8job_type12species_type+0x14) [0x7c59a4]: job_recommends_species(job_type, species_type)
/usr/games/crawl-git-a541562f89(_Z15species_allowed8job_type12species_type+0x55) [0x9743c5]: species_allowed(job_type, species_type)
/usr/games/crawl-git-a541562f89(_Z19is_good_combination12species_type8job_typebb+0x31) [0x974481]: is_good_combination(species_type, job_type, bool, bool)
/usr/games/crawl-git-a541562f89() [0x966565]
/usr/games/crawl-git-a541562f89() [0x966862]
/usr/games/crawl-git-a541562f89(_Z11choose_gameR11newgame_defS0_RKS_+0xa4e) [0x96f02e]: choose_game(newgame_def&, newgame_def&, newgame_def const&)
/usr/games/crawl-git-a541562f89(_Z12startup_stepv+0x7d4) [0xa74854]: startup_step()
/usr/games/crawl-git-a541562f89() [0x835486]
/usr/games/crawl-git-a541562f89(main+0x2eb) [0x539a5b]: 
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xfd) [0x7f8a75204ead]: 
/usr/games/crawl-git-a541562f89() [0x5ad0ad]

Trying to run gdb.
GNU gdb (GDB) 7.4.1-debian
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
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:
<http://www.gnu.org/software/gdb/bugs/>.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007f8a75580c4e in waitpid () from /lib/x86_64-linux-gnu/libpthread.so.0
#0  0x00007f8a75580c4e in waitpid () from /lib/x86_64-linux-gnu/libpthread.so.0
No symbol table info available.
#1  0x0000000000640363 in call_gdb (file=0x7f8a7556c880) at crash.cc:420
        gdb = <optimized out>
        attach_cmd = "attach 20881\000\000\000\000\000\000\000"
#2  0x0000000000646da0 in do_crash_dump () at dbg-asrt.cc:674
        t = 1433848211
        dir = {static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x21ae078 "/dgldir/morgue/nubinia/"}}
        name = "/dgldir/morgue/nubinia/crash--20150609-111011.txt", '\000' <repeats 130 times>
        file = 0x7f8a7556c880
#3  0x000000000063ff14 in crash_signal_handler (sig_num=6) at crash.cc:193
No locals.
#4  <signal handler called>
No symbol table info available.
#5  0x00007f8a75580f6b in raise () from /lib/x86_64-linux-gnu/libpthread.so.0
No symbol table info available.
#6  0x0000000000646624 in _BreakStrToDebugger (mesg=mesg@entry=0x7fff104de690 "ERROR in 'jobs.cc' at line 18: ASSERT failed: job of 100 out of range 0 (0) .. NUM_JOBS (29)", assert=<error reading variable: Unhandled dwarf expression opcode 0xfa>) at dbg-asrt.cc:801
No locals.
#7  0x0000000000646999 in die (file=0xba8599 "jobs.cc", line=18, format=<optimized out>) at dbg-asrt.cc:866
        tmp = "ASSERT failed: job of 100 out of range 0 (0) .. NUM_JOBS (29)", '\000' <repeats 1986 times>
        mesg = "ERROR in 'jobs.cc' at line 18: ASSERT failed: job of 100 out of range 0 (0) .. NUM_JOBS (29)", '\000' <repeats 1955 times>
        args = {{gp_offset = 48, fp_offset = 48, overflow_arg_area = 0x7fff104def60, reg_save_area = 0x7fff104dee90}}
#8  0x00000000007c4f12 in _job_def (job=job@entry=JOB_UNKNOWN) at jobs.cc:18
No locals.
#9  0x00000000007c59a4 in job_recommends_species (job=JOB_UNKNOWN, species=SP_HUMAN) at jobs.cc:183
No locals.
#10 0x00000000009743c5 in species_allowed (job=JOB_UNKNOWN, speci=SP_HUMAN) at ng-restr.cc:42
No locals.
#11 0x0000000000974481 in is_good_combination (spc=<optimized out>, job=<optimized out>, species_first=<optimized out>, good=true) at ng-restr.cc:66
        restrict = <optimized out>
#12 0x0000000000966565 in _resolve_species (ng_choice=..., ng=..., ng=...) at newgame.cc:211
        sp = SP_HUMAN
        good_choices = <optimized out>
#13 0x0000000000966862 in _resolve_species_job (ng_choice=..., ng=...) at newgame.cc:2161
No locals.
#14 _resolve_species_job (ng=..., ng_choice=...) at newgame.cc:310
No locals.
#15 0x000000000096f02e in _choose_species_job (defaults=..., ng_choice=..., ng=...) at newgame.cc:368
No locals.
#16 _choose_char (defaults=<error reading variable: access outside bounds of object referenced via synthetic pointer>, choice=..., ng=...) at newgame.cc:507
        ng_reset = {name = {static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x1e5f1c8 "nubinia"}}, type = GAME_TYPE_NORMAL, filename = {static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0xfbc658 ""}}, map = {static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0xfbc658 ""}}, arena_teams = {static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0xfbc658 ""}}, allowed_combos = {<std::_Vector_base<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >> = {_M_impl = {<std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >> = {<__gnu_cxx::new_allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >> = {<No data fields>}, <No data fields>}, _M_start = 0x0, _M_finish = 0x0, _M_end_of_storage = 0x0}}, <No data fields>}, allowed_species = {<std::_Vector_base<species_type, std::allocator<species_type> >> = {_M_impl = {<std::allocator<species_type>> = {<__gnu_cxx::new_allocator<species_type>> = {<No data fields>}, <No data fields>}, _M_start = 0x0, _M_finish = 0x0, _M_end_of_storage = 0x0}}, <No data fields>}, allowed_jobs = {<std::_Vector_base<job_type, std::allocator<job_type> >> = {_M_impl = {<std::allocator<job_type>> = {<__gnu_cxx::new_allocator<job_type>> = {<No data fields>}, <No data fields>}, _M_start = 0x0, _M_finish = 0x0, _M_end_of_storage = 0x0}}, <No data fields>}, allowed_weapons = {<std::_Vector_base<weapon_type, std::allocator<weapon_type> >> = {_M_impl = {<std::allocator<weapon_type>> = {<__gnu_cxx::new_allocator<weapon_type>> = {<No data fields>}, <No data fields>}, _M_start = 0x0, _M_finish = 0x0, _M_end_of_storage = 0x0}}, <No data fields>}, species = SP_UNKNOWN, job = JOB_UNKNOWN, weapon = WPN_UNKNOWN, fully_random = false}
#17 choose_game (ng=..., choice=..., defaults=...) at newgame.cc:556
No locals.
#18 0x0000000000a74854 in startup_step () at startup.cc:1030
        defaults = {name = {static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0xfbc658 ""}}, type = GAME_TYPE_NORMAL, filename = {static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0xfbc658 ""}}, map = {static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0xfbc658 ""}}, arena_teams = {static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0xfbc658 ""}}, allowed_combos = {<std::_Vector_base<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >> = {_M_impl = {<std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >> = {<__gnu_cxx::new_allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >> = {<No data fields>}, <No data fields>}, _M_start = 0x0, _M_finish = 0x0, _M_end_of_storage = 0x0}}, <No data fields>}, allowed_species = {<std::_Vector_base<species_type, std::allocator<species_type> >> = {_M_impl = {<std::allocator<species_type>> = {<__gnu_cxx::new_allocator<species_type>> = {<No data fields>}, <No data fields>}, _M_start = 0x21e8950, _M_finish = 0x21e8954, _M_end_of_storage = 0x21e8954}}, <No data fields>}, allowed_jobs = {<std::_Vector_base<job_type, std::allocator<job_type> >> = {_M_impl = {<std::allocator<job_type>> = {<__gnu_cxx::new_allocator<job_type>> = {<No data fields>}, <No data fields>}, _M_start = 0x224b8a0, _M_finish = 0x224b8a4, _M_end_of_storage = 0x224b8a4}}, <No data fields>}, allowed_weapons = {<std::_Vector_base<weapon_type, std::allocator<weapon_type> >> = {_M_impl = {<std::allocator<weapon_type>> = {<__gnu_cxx::new_allocator<weapon_type>> = {<No data fields>}, <No data fields>}, _M_start = 0x0, _M_finish = 0x0, _M_end_of_storage = 0x0}}, <No data fields>}, species = SP_DEEP_ELF, job = JOB_FIRE_ELEMENTALIST, weapon = WPN_UNKNOWN, fully_random = false}
        name = {static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0xfbc658 ""}}
        choice = {name = {static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x1e5f1c8 "nubinia"}}, type = GAME_TYPE_NORMAL, filename = {static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x21cdde8 "nubinia.cs"}}, map = {static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0xfbc658 ""}}, arena_teams = {static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0xfbc658 ""}}, allowed_combos = {<std::_Vector_base<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >> = {_M_impl = {<std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >> = {<__gnu_cxx::new_allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >> = {<No data fields>}, <No data fields>}, _M_start = 0x0, _M_finish = 0x0, _M_end_of_storage = 0x0}}, <No data fields>}, allowed_species = {<std::_Vector_base<species_type, std::allocator<species_type> >> = {_M_impl = {<std::allocator<species_type>> = {<__gnu_cxx::new_allocator<species_type>> = {<No data fields>}, <No data fields>}, _M_start = 0x0, _M_finish = 0x0, _M_end_of_storage = 0x0}}, <No data fields>}, allowed_jobs = {<std::_Vector_base<job_type, std::allocator<job_type> >> = {_M_impl = {<std::allocator<job_type>> = {<__gnu_cxx::new_allocator<job_type>> = {<No data fields>}, <No data fields>}, _M_start = 0x0, _M_finish = 0x0, _M_end_of_storage = 0x0}}, <No data fields>}, allowed_weapons = {<std::_Vector_base<weapon_type, std::allocator<weapon_type> >> = {_M_impl = {<std::allocator<weapon_type>> = {<__gnu_cxx::new_allocator<weapon_type>> = {<No data fields>}, <No data fields>}, _M_start = 0x0, _M_finish = 0x0, _M_end_of_storage = 0x0}}, <No data fields>}, species = SP_VIABLE, job = JOB_VIABLE, weapon = WPN_UNKNOWN, fully_random = true}
        newchar = false
        ng = {name = {static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x1e5f1c8 "nubinia"}}, type = GAME_TYPE_NORMAL, filename = {static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0xfbc658 ""}}, map = {static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0xfbc658 ""}}, arena_teams = {static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0xfbc658 ""}}, allowed_combos = {<std::_Vector_base<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >> = {_M_impl = {<std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >> = {<__gnu_cxx::new_allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >> = {<No data fields>}, <No data fields>}, _M_start = 0x0, _M_finish = 0x0, _M_end_of_storage = 0x0}}, <No data fields>}, allowed_species = {<std::_Vector_base<species_type, std::allocator<species_type> >> = {_M_impl = {<std::allocator<species_type>> = {<__gnu_cxx::new_allocator<species_type>> = {<No data fields>}, <No data fields>}, _M_start = 0x0, _M_finish = 0x0, _M_end_of_storage = 0x0}}, <No data fields>}, allowed_jobs = {<std::_Vector_base<job_type, std::allocator<job_type> >> = {_M_impl = {<std::allocator<job_type>> = {<__gnu_cxx::new_allocator<job_type>> = {<No data fields>}, <No data fields>}, _M_start = 0x0, _M_finish = 0x0, _M_end_of_storage = 0x0}}, <No data fields>}, allowed_weapons = {<std::_Vector_base<weapon_type, std::allocator<weapon_type> >> = {_M_impl = {<std::allocator<weapon_type>> = {<__gnu_cxx::new_allocator<weapon_type>> = {<No data fields>}, <No data fields>}, _M_start = 0x0, _M_finish = 0x0, _M_end_of_storage = 0x0}}, <No data fields>}, species = SP_UNKNOWN, job = JOB_UNKNOWN, weapon = WPN_UNKNOWN, fully_random = false}
#19 0x0000000000835486 in _launch_game () at main.cc:398
        game_start = <optimized out>
        ccon = {cstate = 176, smartcstate = 251}
#20 0x0000000000539a5b in _launch_game_loop () at main.cc:376
        game_ended = false
#21 main (argc=12, argv=0x7fff104dfce8) at main.cc:334
No locals.

Compilation info:
<<<<<<<<<<<
Compiled with GCC 4.7.2 on Jun  9 2015 at 06:25:18
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 -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 -DWIZARD -DASSERTS -DREGEX_PCRE -DCLUA_BINDINGS -DDGAMELAUNCH -DSAVE_DIR_PATH="/crawl-master/crawl-git-a541562f89/saves" -DSHARED_DIR_PATH="/crawl-master/crawl-git/saves" -DDATA_DIR_PATH="/crawl-master/crawl-git-a541562f89/data/" -DWEB_DIR_PATH="/crawl-master/crawl-git-a541562f89/data/web/"
LDFLAGS: -rdynamic -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:    []
Species: Yak
Job:     Unemployed

HP: 0/0; mods: 0/0
MP: 0/0; mod: 0
Stats: 0 (0) 0 (0) 0 (0)
Position: (0, 0) <OoB>, 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/1
Short Blades    |           |   0   |     0    |    0  |      0 | 0/59
Long Blades     |           |   0   |     0    |    0  |      0 | 0/1
Axes            |           |   0   |     0    |    0  |      0 | 0/1
Maces & Flails  |           |   0   |     0    |    0  |      0 | 0/50
Polearms        |           |   0   |     0    |    0  |      0 | 0/1
Staves          |           |   0   |     0    |    0  |      0 | 0/0
Slings          |           |   0   |     0    |    0  |      0 | 0/50
Bows            |           |   0   |     0    |    0  |      0 | 0/1
Crossbows       |           |   0   |     0    |    0  |      0 | 0/0
Throwing        |           |   0   |     0    |    0  |      0 | 0/50
Armour          |           |   0   |     0    |    0  |      0 | 0/1
Dodging         |           |   0   |     0    |    0  |      0 | 0/0
Stealth         |           |   0   |     0    |    0  |      0 | 0/50
Shields         |           |   0   |     0    |    0  |      0 | 0/0
Unarmed Combat  |           |   0   |     0    |    0  |      0 | 0/1
Spellcasting    |           |   0   |     0    |    0  |      0 | 0/0
Conjurations    |           |   0   |     0    |    0  |      0 | 0/50
Hexes           |           |   0   |     0    |    0  |      0 | 0/1
Charms          |           |   0   |     0    |    0  |      0 | 0/0
Summonings      |           |   0   |     0    |    0  |      0 | 0/50
Necromancy      |           |   0   |     0    |    0  |      0 | 0/1
Translocations  |           |   0   |     0    |    0  |      0 | 0/0
Transmutations  |           |   0   |     0    |    0  |      0 | 0/50
Fire Magic      |           |   0   |     0    |    0  |      0 | 0/1
Ice Magic       |           |   0   |     0    |    0  |      0 | 0/0
Air Magic       |           |   0   |     0    |    0  |      0 | 0/50
Earth Magic     |           |   0   |     0    |    0  |      0 | 0/1
Poison Magic    |           |   0   |     0    |    0  |      0 | 0/0
Invocations     |           |   0   |     0    |    0  |      0 | 0/42
Evocations      |           |   0   |     0    |    0  |      0 | 0/1

Spell bugs:

Durations:

Attributes:
    #59: 1

Mutations:

Inventory bugs:

Equipment:

}}}}}}}}}}}

Webtiles message buffer: 
Webtiles JSON stack:

Screenshot:
@

clua stack:


dlua stack:


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

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