delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/10/30/18:02:17

From: ronman AT imt DOT net (ron newman)
Newsgroups: comp.os.msdos.djgpp
Subject: distribution test programs causing SIGSEGV
Date: Thu, 30 Oct 97 20:08:23 GMT
Organization: Troubadour Technology
Lines: 43
Message-ID: <63apfn$9qo_001@bzn4-36.imt.net>
NNTP-Posting-Host: 207.14.63.102
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

I must have a bad install going because some of the downloaded test programs
cause SIGSEGVs.  One that does is 'farptr.c'.  ('nearptr.c' also does it.)
Help!  In RHIDE it stops at the very first line, a call to _farpoke().


Here's the environment:
COMSPEC=C:\COMMAND.COM
PATH=d:\DJGPP\BIN;C:\MSDOS;D:\WINDOWS;D:\PM4;D:\ALDUS;D:\UTIL\PKZIP;D:\WORD5;
DJGPP=d:\DJGPP\DJGPP.ENV


running DOS 5.0 and CWSDPMI on an 80486DX2/66


and the memory:
go32/v2 version 2.0 built Aug 12 1996 22:27:23
DPMI memory available: 6347 Kb
DPMI swap space available: 10441 Kb


and the ugliness:
Exiting due to signal SIGSEGV
General Protection Fault at eip=0000156f, error=f000
eax=00000002 ebx=00000001 ecx=00000000 edx=0000f000 esi=00000054 edi=0000a2c4
ebp=0004a298 esp=0004a28c program=farptr.exe
cs: sel=00e7  base=10060000  limit=0005ffff
ds: sel=00ef  base=10060000  limit=0005ffff
es: sel=00ef  base=10060000  limit=0005ffff
fs: sel=00cf  base=0002c250  limit=0000ffff
gs: sel=00ff  base=00000000  limit=ffffffff
ss: sel=00ef  base=10060000  limit=0005ffff

Call frame traceback EIPs:
  0x0000156f
  0x00001b8e


*****************************************************************
Ron Newman
Troubadour Technology Music
http://www.imt.net/~ronman/animal.htm
*****************************************************************

- Raw text -


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