www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1993/07/29/09:59:31

Date: Thu, 29 Jul 93 09:47:37 -0400
From: DJ Delorie <dj AT ctron DOT com>
To: terra AT diku DOT dk
Cc: NEEK AT cerecam DOT uct DOT ac DOT za, djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: Exception 14 error

> > " Segmentation violation in pointer 0x00000000
> >  at 40:465c
> >  Exception 14 (0xe) at eip=465c"

> Perhaps the piece of GO32 that prints the above should check the address
> and print the more usefull text "NULL pointer dereferenced (with offset xxx)"

That printout already tells you that the address you are accessing is
*exactly* zero.  If there was an offset, you would have seen something
like "0x00000008".  It also tells you where in your program the fault
occured (address 0x465c).


- Raw text -


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