Date: Wed, 5 May 1999 19:14:46 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: GiovanniB cc: djgpp AT delorie DOT com Subject: Re: Unknown error ! In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk 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.