Description |
At the main menu, if I hit Tab to repeat the last game mode, and the last game was hints mode, the game crashes instead of starting a new game with the same settings.
The issue can be reproduced as follows:
- Start Crawl with a hints mode game.
- Quit (with Ctrl+Q) or otherwise end the game without a save.
- Restart Crawl (if necessary), and at the Crawl main menu, press Tab to repeat the last game.
On doing this, the game crashes with the following error (as of 0.18-a0-327-gb1de508):
ERROR in 'ng-setup.cc' at line 411: Bad game type
The issue reproduces on both Windows and openSUSE tiles and console binaries. A crash report for a debug build of Stone Soup 0.18-a0-327-gb1de508 compiled from source on Windows with MinGW-w64 GCC 5.2.0 is attached. |
Attached Files |
crash--20151127-150108.txt [^] (4,207 bytes) 2015-11-27 21:09 [Show Content] [Hide Content]ERROR in 'ng-setup.cc' at line 411: Bad game type
Version: Dungeon Crawl Stone Soup 0.18-a0-327-gb1de508
Platform: Windows
Bits: 64
Game mode: none
Tiles: no
Command line: crawl
RC options:
restart_after_game = false
Unable to get stack trace on this platform.
Unable to get stack trace on this platform.
Compilation info:
<<<<<<<<<<<
Compiled with GCC 5.2.0 on Nov 27 2015 at 15:00:21
Build platform: unknown
Platform: unknown
CFLAGS: -O2 -ggdb -pipe -DWINMM_PLAY_SOUNDS -D__USE_MINGW_ANSI_STDIO -DUSE_SOUND -Wall -Wformat-security -Wundef -Wno-array-bounds -Wno-format-zero-length -Wmissing-declarations -Wredundant-decls -Wno-parentheses -Wwrite-strings -Wshadow -pedantic -Wuninitialized -Iutil -I. -Irltiles -isystem contrib/install/unknown/include -DDEBUG -DWIZARD -DASSERTS -DREGEX_PCRE -DCLUA_BINDINGS
LDFLAGS: -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: 0, 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:
}}}}}}}}}}}
Screenshot:
@
clua stack:
dlua stack:
Lua persistent data:
<<<<<<<<<<<<<<<<<<<<<<
>>>>>>>>>>>>>>>>>>>>>>
Lua marker contents:
<<<<<<<<<<<<<<<<<<<<<<
>>>>>>>>>>>>>>>>>>>>>>
|