Follow Slashdot blog updates by subscribing to our blog RSS feed

 



Forgot your password?
typodupeerror
Slashdot Deals: Prep for the CompTIA A+ certification exam. Save 95% on the CompTIA IT Certification Bundle ×
Programming

Submission + - Whose bug is this anyway?->

An anonymous reader writes: Patrick Wyatt, one of the developers behind the original Warcraft and StarCraft games, has a post about some of the bug hunting he's done throughout his career. He covers familiar topics: crunch time leading to stupid mistakes, bugs in compilers rather than game code, and shares a story about finding a way to diagnose hardware failure for players of Guild Wars. Quoting: '[Mike O'Brien] wrote a module (“OsStress”) which would allocate a block of memory, perform calculations in that memory block, and then compare the results of the calculation to a table of known answers. He encoded this stress-test into the main game loop so that the computer would perform this verification step about 30-50 times per second. On a properly functioning computer this stress test should never fail, but surprisingly we discovered that on about 1% of the computers being used to play Guild Wars it did fail! One percent might not sound like a big deal, but when one million gamers play the game on any given day that means 10,000 would have at least one crash bug. Our programming team could spend weeks researching the bugs for just one day at that rate!'
Link to Original Source
This discussion was created for logged-in users only, but now has been archived. No new comments can be posted.

Whose bug is this anyway?

Comments Filter:

The confusion of a staff member is measured by the length of his memos. -- New York Times, Jan. 20, 1981

Working...