www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/10/09/21:42:32

From: "John M. Aldrich" <fighteer AT cs DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: a problem with CURSES
Date: Wed, 09 Oct 1996 19:41:11 -0700
Organization: Three pounds of chaos and a pinch of salt
Lines: 20
Message-ID: <325C6247.32CB@cs.com>
References: <Pine DOT SUN DOT 3 DOT 91 DOT 961007174030 DOT 4486C-100000 AT is> <53digj$5fn AT news DOT NetVision DOT net DOT il>
Reply-To: fighteer AT cs DOT com
NNTP-Posting-Host: ppp118.cs.com
Mime-Version: 1.0
To: Ronen Friedman <ronenp AT netvision DOT net DOT il>
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Ronen Friedman wrote:
> 
> Thanks to all who replied. Here is the complete traceback:
> 
>           init...Exiting due to signal SIGSEGV
> Page fault at eip=0000c695, error=0006
				    ^^^^

Looks like a null pointer.  Run your code through gdb and analyze the
stack frame of the functions _init_curses_disp() and/or main() to see
where this occurs.  CWSDPMI under djgpp catches null pointer
dereferences before they scrog your system.  I'm somewhat surprised that
you didn't have other problems when running your program under NT...

-- 
---------------------------------------------------------------------
| John M. Aldrich, aka Fighteer I |        fighteer AT cs DOT com          |
| Proud owner of what might one   |   http://www.cs.com/fighteer    |
| day be a spectacular MUD...     | Plan: To make Bill Gates suffer |
---------------------------------------------------------------------

- Raw text -


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