ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2011/05/29/23:30:10

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
NNTP-Posting-Date: Sun, 29 May 2011 22:15:35 -0500
From: "Charles Sandmann" <cwsdpmi AT earthlink DOT net>
Newsgroups: comp.os.msdos.djgpp
References: <201105281650 DOT 25759 DOT juan DOT guerrero AT gmx DOT de>
Subject: Re: Re. ANNOUNCE: DJGPP port of GNU Emacs 23.3 uploaded
Date: Sun, 29 May 2011 22:15:30 -0500
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5931
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6090
X-RFC2646: Format=Flowed; Original
Message-ID: <RdadnQ-fw9NKln7QnZ2dnUVZ_q2dnZ2d@earthlink.com>
Lines: 39
X-Usenet-Provider: http://www.giganews.com
NNTP-Posting-Host: 64.91.136.221
X-Trace: sv3-jp8qty9EEGR1IkpdQ1aji6Lo+s3IuYwcCehaSvjkcLuqD5aFgo1EbgtwhuKPgX6GYd41b99q5hxjbDF!/hgN3x7a794fumKDty+wwkSUa3fMInXxL2AB5DMq4XkOsK2ZT83EmmybR7V6iRdjgaRlit900k1S!i4PvXA/Rp47OEsXlsqSg6v7Mf2QadCy2
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
Bytes: 2761
X-Original-Bytes: 2700
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

>"Juan Manuel Guerrero" <juan DOT guerrero AT gmx DOT de> wrote in message 
>news:201105281650 DOT 25759 DOT juan DOT guerrero AT gmx DOT de...
>I have tried to build the latest emacs port on MSDOS 6.22 and it failed.

What version of CWSDPMI?  If with r7, try r5.  The error messages below
show some very unusual behavior.  I saw the later note about older compiler
working; did the binutils version change in this test?

>Page fault at eip=00311a69, error=0004
>ebp=00311a68 esp=00311a3c program=;1
>App stack: [00413bcc..00313bcc]  Exceptn stack: [00313aa0..00311b60]
>  0x00311a69 _fraghead+17, file crt0.s

esp looks like it underrun the exception stack (nested exceptions?)  and is
very close to eip (and less), and ultimately crashes CWSDPMI:

>General Protection Fault at eip=3e32; flags=3016
>eax=00000300 ebx=00000021 ecx=00000000 edx=000c5c90 esi=00043058 
>edi=000c5c90
>ebp=000c5b18 esp=00002570 cs=18 ds=33 es=137 fs=10f gs=13f ss=20 error=012c

The ss:esp above is on the internal CWSDPMI stack, in protected mode.

>--- start DJGPP 2.04 build ---
>...
>Page Fault cr2=00700000 at eip=14a419; flags=3002
>eax=000c09ea ebx=00000005 ecx=000c0a14 edx=ff5d5b5a esi=00421e60 
>edi=00000000
>ebp=001310c8 esp=000022aa cs=167 ds=16f es=16f fs=14f gs=18f ss=33 
>error=0006

Also a CWSDPMI internal crash handler.  In user cs:eip, but on CWSDPMI user
mode stack (might happen before the user stack and error handler is set up). 
But that
might indicate something in the image header didn't make sense?  (Binutils?)

Maybe something different for big executables? 


- Raw text -


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