delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/09/07/03:39:37

Date: Fri, 07 Sep 2001 10:35:37 +0300
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
Sender: halo1 AT zahav DOT net DOT il
To: pavenis AT lanet DOT lv
Message-Id: <2110-Fri07Sep2001103536+0300-eliz@is.elta.co.il>
X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.9
CC: ST001906 AT HRZ1 DOT HRZ DOT TU-Darmstadt DOT De, djgpp-workers AT delorie DOT com
In-reply-to: <3B9899F8.17555.21743F@localhost> (pavenis@lanet.lv)
Subject: Re: gcc-301 difficulty
References: <3B977688 DOT 24793 DOT 195095 AT localhost> <3B9899F8 DOT 17555 DOT 21743F AT localhost>
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> From: pavenis AT lanet DOT lv
> Date: Fri, 7 Sep 2001 09:57:12 +0300
> > 
> > Here is the traceback. I will try to investigate more ASAP.
> > gcc -O2 makemake.c -o makemake.exe
> > Exiting due to signal SIGSEGV
> > General Protection Fault at eip=00240a7d
> > eax=00000197 ebx=00240b84 ecx=00000010 edx=00000000 esi=00240b84 edi=ffffffa4
> > ebp=00000fbc esp=00000fbc program=D:\CVS\LIB\GCC-LIB\DJGPP\3.01\CC1.EXE
> > cs: sel=018f  base=8295e000  limit=0049ffff
> > ds: sel=0197  base=8295e000  limit=0049ffff
> > es: sel=0197  base=8295e000  limit=0049ffff
> > fs: sel=016f  base=00015380  limit=0000ffff
> > gs: sel=01a7  base=00000000  limit=0010ffff
> > ss: sel=017b  invalid
> > App stack: [00346978..002c6978]  Exceptn stack: [002c63c0..002c4480]
> > 
> > Call frame traceback EIPs:
> >   0x00240a7d ___djgpp_exception_table+301

I have no idea what might be the cause, but it's pretty clear that
something becomes badly broken, because SS selector is invalid.

Also note that ESP and EBP are not in the valid limits for the stack.

Juan, does this happen when compiling any program, or just when
building the library?  For example, can you build a large GNU package,
or does it crash there as well?

- Raw text -


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