A day in the life of a game coder - late Beta phase

Bug #19452 - Game crashes on main menu!

Found by: Larry Tester
Assigned to: J. Random Hacker
Priority: Super Urgent
Description: When I pick 1-player from the main menu, the game crashes!

Reproduction steps:

  1. Play an 8-player multiplayer game for half an hour on the ‘Cliffs of Precipity’ map.
  2. Quit via the pause menu.
  3. Reboot the console.
  4. Go to lunch, eat a meat pie.
  5. Come back, press X until the splash screens are gone.
  6. Pick 1-player item from the main menu
Actual Result: Game crashes.
Expected Result: Game does not crash.
Comment #1 by Larry Tester:
Oh my god! It happened again, but this time I ate a curry chicken pie. Filling is not a factor. It’s the PASTRY that’s disrupting the game.
Comment #2 by J. Random Hacker
Can’t reproduce this. My software wouldn’t crash on a mere menu selection. Please stop reopening this, I’m busy enough without having to sort through these fever-addled ravings.

Status changed: Open → Closed: Testers Smoking Crack

Comment #3 by Larry Tester:
Why are you so mean to us?

Attached: VideoEvidence.avi

Status changed: Reopened

Comment #4 by J. Random Hacker
Recommending that management reduce the crack rations of the test team.

Status changed: Open → Closed: Testers Smoking Crack

Comment #5 by J. Random Hacker
Uh, I think I’ve found a fix.

I was stepping through the menu selection code and accidentally happened to step into the C runtime. Luckily Magic Kev was walking past. He caught a glimpse of the disassembly window. Something in that asm freaked him right out - he came to an abrupt stop, pointed at the listing and was shrieking “NO! NO! NO!” over and over until we managed to force-feed him his epilepsy pills.

When I took a closer look I realised I was looking at malloc, the non-threadsafe version. Turns out there was a mix-up in the project settings a couple of weeks ago. Magic Kev was right again. How does he do it??

Status changed: Fixed

I’m terribly sorry and obviously I’m rescinding my recommendation to management about crack. Test team crack rations should be maintained at their current levels, if not greatly increased.

Share Comment Forum