Orderly Mayhem
February 08, 2012, 02:38:35 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Contact Staff List Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: A heap of trouble  (Read 490 times)
BS-er
Moderator of Mayhem
Administrator
*****
Offline Offline

Posts: 2150


View Profile
« on: December 10, 2007, 07:00:09 PM »

Well I'm starting to encounter some of the nastier programming bugs: heap corruption.  I've been spare the pain of it (as far as I know) until now.  It's insidious because the true culprit might be extremely difficult to find.  Sometimes you're lucky and the debugger catches the code in the act, but that's usually when the bug is fatal right away.  If the damage has no perceivable impact at first, the bug can stay hidden, while making some other piece of code look bad.

It might be time to invest in some fancy tools to catch such bugs.  Boundschecker is a well known tool for detecting all types of memory glitches but it's a good chunk of change for the pro version.  Maybe there are equally useful solutions at a more tolerable price.

It also may do some good to slow down a bit and do a code review.
Logged
Commando
Full Member
***
Offline Offline

Posts: 155


View Profile
« Reply #1 on: December 10, 2007, 08:14:37 PM »

Wow, $4k to $6k.  That is definately expensive.  No wonder GSH hasn't used something similar for bz2.
Logged
JonathanS
Administrator
*****
Offline Offline

Gender: Male
Posts: 278



View Profile
« Reply #2 on: December 11, 2007, 08:21:58 AM »

Ouch. Really bad ouch.
Logged

JonathanS


Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1 RC3 | SMF © 2001-2006, Lewis Media Valid XHTML 1.0! Valid CSS!


Google visited last this page January 29, 2012, 03:54:45 AM