Date: Mon, 31 Oct 94 21:34:05 -0500 From: dj AT stealth DOT ctron DOT com (DJ Delorie) To: babcock AT cfa DOT harvard DOT edu Cc: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: Re: NULL pointers in (ANSI) string functions [was: strcat() ?] > I agree that a stack trace does tell you exactly where it broke, but if the > trace were accompanied by a message "NULL pointer passed to xxxxxx", you > would know the cause a little quicker. Whether this small advantage is worth > the trouble of creating and maintaining a debugging library is questionable. It does. The stack trace lists strcat as the failing function, and the register dump says that the offending memory address (cr2) is 0x00000000. It's not spelled out in plain English, but it's there.