www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/05/05/12:18:21

Date: Wed, 5 May 1999 19:14:46 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: GiovanniB <s206756 AT studenti DOT ing DOT unipi DOT it>
cc: djgpp AT delorie DOT com
Subject: Re: Unknown error !
In-Reply-To: <Pine.BSF.3.96.990505090329.6329A-100000@studenti.ing.unipi.it>
Message-ID: <Pine.SUN.3.91.990505191257.27782D-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019