Viewing Issue Simple Details Jump to Notes ] Wiki ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004025 [DCSS] Bug Report crash always 2011-05-21 13:12 2011-05-30 11:33
Reporter Galefury View Status public  
Assigned To KiloByte
Priority normal Resolution done  
Status closed   Product Branch 0.9 ancient branch
Summary 0004025: Crash on opening a secret door to a vault (tiles)
Description The game crashes when I open the secret door to a vault. It's a square of stone walls with special dark gray tiles.

The error message is: ERROR in 'tileview.cc' at line 920: non-door tile

Save attached.
Additional Information
Tags No tags attached.
Attached Files ? file icon Kira.cs [^] (970,254 bytes) 2011-05-21 13:12
? file icon Kira-fixed.cs [^] (893,190 bytes) 2011-05-30 00:38

- Relationships

-  Notes
(0013298)
donblas (developer)
2011-05-28 19:44

Able to reproduce in trunk with attached save file.
(0013300)
donblas (developer)
2011-05-28 19:53

The count is 4, which is unexpected and causes us to die.

Callstack:

#0 0x004afbc5 in _BreakStrToDebugger (
    mesg=0x28ddfc "ERROR in 'tileview.cc' at line 920: non-door tile",
    assert=false) at dbg-asrt.cc:714
#1 0x004afd1c in die (file=0xee0a58 "tileview.cc", line=920,
    format=0xee0a84 "non-door tile") at dbg-asrt.cc:773
0000002 0x00a5b9f2 in _get_door_offset (base_tile=818, opened=true,
    detected=false, gateway_type=0) at tileview.cc:920
0000003 0x00a5bb20 in _apply_variations (flv=@0x10d7938, bg=0x8dff560,
    gc=@0x28ef2c) at tileview.cc:970
0000004 0x00a5bd2c in tile_apply_properties (gc=@0x28ef2c, cell=@0x8dff508)
    at tileview.cc:1025
0000005 0x009dc496 in viewwindow (show_updates=true) at view.cc:1125
0000006 0x006c693a in _open_door (move={x = 0, y = 1}, check_confused=false)
    at main.cc:3627
0000007 0x006b403a in _open_door (x=0, y=1, check_confused=false) at main.cc:190
0000008 0x006ca52c in _move_player (move={x = 0, y = 1}) at main.cc:4142
0000009 0x006c92e6 in _move_player (move_x=0, move_y=1) at main.cc:3913
0000010 0x006bbf4d in process_command (cmd=CMD_MOVE_DOWN) at main.cc:1775
0000011 0x004d3a42 in _handle_run_delays (delay=@0xf89c310) at delay.cc:1423
0000012 0x004d04f5 in handle_delay () at delay.cc:721
0000013 0x006b841c in _input () at main.cc:1158
0000014 0x006b49a3 in _launch_game () at main.cc:405
0000015 0x006b44b1 in _launch_game_loop () at main.cc:325
0000016 0x006b4213 in SDL_main (argc=1, argv=0x28fe20) at main.cc:286
0000017 0x00c074fa in console_main (argc=1, argv=0x28fe20)
    at src/main/win32/SDL_win32_main.c:315
0000018 0x00c07632 in WinMain@16 (hInst=0x400000, hPrev=0x0,
    szCmdLine=0x8c2496c "", sw=10) at src/main/win32/SDL_win32_main.c:398
0000019 0x00c06c18 in main ()
(0013301)
KiloByte (manager)
2011-05-28 20:20

Fixed, thanks for the report.
(0013311)
Galefury (updater)
2011-05-29 14:52

Still crashes for me. I guess that's because the bad tile is already placed in my save?
(0013312)
KiloByte (manager)
2011-05-29 16:05

Galefury: yes. It is possible to edit the save, though.

Please attach your save, I can fix this for you.
(0013315)
Galefury (updater)
2011-05-29 21:46

I didn't continue that game, so the attached save is still up to date. Fixing it would be great, thanks. :)
(0013317)
KiloByte (manager)
2011-05-30 00:39

Doh, I've misread things, I somehow thought it's donblas' save.

A fixed version is attached.
(0013319)
Galefury (updater)
2011-05-30 11:32

Thanks, I would have hated to miss that trove. :)

- Issue History
Date Modified Username Field Change
2011-05-21 13:12 Galefury New Issue
2011-05-21 13:12 Galefury File Added: Kira.cs
2011-05-28 19:44 donblas Note Added: 0013298
2011-05-28 19:53 donblas Note Added: 0013300
2011-05-28 20:20 KiloByte Note Added: 0013301
2011-05-28 20:20 KiloByte Status new => resolved
2011-05-28 20:20 KiloByte Fixed in Branch => 0.9 development branch
2011-05-28 20:20 KiloByte Resolution open => done
2011-05-28 20:20 KiloByte Assigned To => KiloByte
2011-05-29 14:52 Galefury Note Added: 0013311
2011-05-29 16:05 KiloByte Note Added: 0013312
2011-05-29 21:46 Galefury Note Added: 0013315
2011-05-30 00:38 KiloByte File Added: Kira-fixed.cs
2011-05-30 00:39 KiloByte Note Added: 0013317
2011-05-30 11:32 Galefury Note Added: 0013319
2011-05-30 11:33 Galefury Status resolved => closed


Mantis 1.1.8[^]
Copyright © 2000 - 2009 Mantis Group
Powered by Mantis Bugtracker