www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/11/09/02:13:21

From: Chris Ho-Stuart <hostuart AT sky DOT fit DOT qut DOT edu DOT au>
Newsgroups: comp.os.msdos.djgpp
Subject: Segmentation violation core dump blues
Date: 9 Nov 1999 05:53:37 GMT
Organization: Queensland University of Technology, Australia
Lines: 33
Distribution: world
Message-ID: <808ct1$fj2$1@dove.qut.edu.au>
NNTP-Posting-Host: sky.fit.qut.edu.au
Mime-Version: 1.0
User-Agent: tin/pre-1.4-19990927 ("Nine While Nine") (UNIX) (SunOS/5.6 (sun4u))
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Recently I have been having trouble with djgpp compiled utilities
getting a segmentation violation on my Windows NT console window.

Here, for example, is an attempt to run "ls".

This version of ls came in the fil316b package of UNIX like utilities.

C:\attic\trains>ls
Exiting due to signal SIGSEGV
General Protection Fault at eip=0000a2bb
eax=ff7f0040 ebx=0000003f ecx=000001c2 edx=ff7f0000 esi=00000040 edi=00000003
ebp=0005dd94 esp=0005dd84 program=
cs: sel=096f  base=01c20000  limit=7e3cffff
ds: sel=0977  base=01c20000  limit=7e3cffff
es: sel=0977  base=01c20000  limit=7e3cffff
fs: sel=091f  base=000124b0  limit=0000ffff
gs: sel=097f  base=00000000  limit=7ffeffff
ss: sel=0977  base=01c20000  limit=7e3cffff

Call frame traceback EIPs:
  0x0000a2bb
  0x0000a241
  0x00009e02
  0x00009eb9

C:\attic\trains>

gcc itself also fails sometimes in (I think) the linking stage, with
similar messages.

Any clues as to what is going wrong?

Thanks -- Chris Ho-Stuart

- Raw text -


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