Product Diaryby Remnant Security

Butcher Bay's Frozen Level Traced to a Zeroed Pointer

Product Diary2 min readGames

I wrote up the evidence behind my Butcher Bay freeze, which shows the game's code calling through an empty slot, and filed the Steam Deck logs.

Today was paperwork, and the paperwork turned up something. It follows yesterday's finding that the shortcut, not the level, was at fault. My Mac conversion of Escape from Butcher Bay still freezes on its first real level when I reach it through my test shortcut, even though the game's own menu loads the same level fine. I filed the notes from that hunt, and they point at what the freeze actually is: the game asks a blank, never-filled-in object what to do next, and gets nothing back. Nothing changed for a player. The level still isn't proven end to end.

The trace comes from a probe I added on 30 November, written up today. In the stalled run the call site hit the same spot 12,928 times with a good object. On hit 12,929 the object's first word was zero, so the call went to a bogus target and the game's guard skipped it. Frames fell from about 23 a second to zero. The object, 128 bytes, was zero in all 32 of its 32 words.

The odd part is upstream. A saved register in the thread-creation routine came back as zero after the call, and earlier calls through the same routine had kept it. I couldn't find the instruction that wiped it, so I can't say whether that's a bug in my translation or a quirk of the original. I also haven't worked out where the marker value the guard reports comes from.

The second piece is a rail level that stays black through one load command and draws through another. I ran both side by side on that level and they matched: 59.94 against 60.00 frames a second, the same shader counts, near-identical lighting. Brightness alone isn't failure.

The commit also added the Steam Deck blog draft and its run logs, plus a 26-level batch that was still on its fourth boot when I stopped. Boots one to three held about 60 frames a second on every level, though one reported its load as still in progress. Boot four showed no frame for four of five levels, which I haven't explained, and I left out the largest 11 GB log instead of committing it.

Keep reading