Stairs create unknown sector types

All versions of the Doom engine contain an error in the function which leaves several fields in the  thinker structure uninitialized. This structure tracks moving sector floors, remembering facts such as their destination height, speed, crushing properties, and for "lower-and-change" types, what sector special and flat to which the sector should change.

By leaving the, , , and fields of this structure uninitialized, this error causes the  function to later read effectively random values out of these fields. If the value of the field just happens to be, the random special and flat texture will be propagated to the sector. Since there is only one possible value out of 2,147,483,648 (2 to the 16th power; though, not all values will occur with equal probabilities), times the number of steps of the ladder, that will result in this behavior, this problem is of extreme rarity, and may not be witnessed even once during literal years of gameplay.

This elusive glitch may cause the game to crash by attempting to load an invalid flat. More often, however, it causes the game to exit when the player steps on the offending sector. The error message "P_PlayerInSpecialSector: unknown special ###," with "###" being a seemingly random number, will appear at the DOS prompt.

In the video, a descending set of stairs in Tarnhill that lead to the Front Base have suffered this malfunction on a single sector in the set. It has taken on a yellow-and-black-striped texture, and has the unknown sector type 102. The game exits as soon as the player steps into this sector. Unfortunately, due to Strife's hub system, this error has been saved permanently into the player's save file and will continue to act as an obstruction to progress.

This bug was first discovered and repaired by authors of the Boom source port, but knowledge of it remained low even afterward.