C343-23

From NetHackWiki
Revision as of 00:10, 23 April 2016 by Elronnd (talk | contribs) (Upgrade [various information] to 3.6.0)
Jump to navigation Jump to search

C343-23 is a core bug. It is listed as:

Dungeon collapses after vault guard fails to lead you out.

It is currently listed as "Open" on the official bugs list, but for a long time was listed as "Help" as its cause was unknown; however, in 2012, Grunt was able to reproduce it:

The straightforward way to reproduce this is as follows: 

1) Teleport into a vault.
2) Wait for the guard to start leading you out, so that you can observe
   the path he takes. (The bug isn't necessarily reproduced if the guard
   doesn't take a straight path for the first two steps, as this yields
   more than one accessible tile from his stopping point.)
3) After the guard disappears (once he starts leading you out, you can
   just teleport elsewhere and he'll disappear), teleport back into the
   vault.
4) Dig out the first two steps of the guard's path after the vault wall
   (such that there are two corridor tiles).
5) Return to the vault and wait for the guard to lead you out again. 

Result: the guard gets stuck on the last tile dug out. The code that
extends the corridor believes he's still moving, however, and eventually
results in an overflow once the length of the internal fake corridor
buffer is reached, causing a panic().

A ttyrec of the bug in action is available here: http://dl.dropbox.com/u/5494313/c343-23.ttyrec

This page may need to be updated for the current version of NetHack.

It may contain text specific to NetHack 3.6.0. Information on this page may be out of date.

Editors: After reviewing this page and making necessary edits, please change the {{nethack-360}} tag to the current version's tag or {{noversion}} as appropriate.