Mail Archives: djgpp/1999/05/05/12:18:21
On Wed, 5 May 1999, GiovanniB wrote:
> When my simple program shut down there's a strange "general protection
> fault" and a series of strange numbers.
The FAQ explains in sections 9.2 and 12.2 how to interpret these strange
numbers, and how to debug your program using this information.
> What's appened ? FSDB tell me that
> program crashes on _strchr() function, but i don't know this function !
It's a library function. You are probably passing a NULL pointer to it,
or a pointer to a string that isn't terminated by a '\0' character.
- Raw text -