delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/08/11/03:48:24

X-Authentication-Warning: smtp3.ihug.com.au: Host p45-max18.syd.ihug.com.au [203.173.153.45] claimed to be acceleron
Message-ID: <001901c12239$16e71dd0$0a02a8c0@acceleron>
From: "Andrew Cottrell" <acottrel AT ihug DOT com DOT au>
To: <pavenis AT lanet DOT lv>, "Charles Sandmann" <sandmann AT clio DOT rice DOT edu>
Cc: <djgpp-workers AT delorie DOT com>
References: <10108100454 DOT AA13597 AT clio DOT rice DOT edu>
Subject: Re: Selector Exhaustion
Date: Sat, 11 Aug 2001 17:41:14 +1000
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.4807.1700
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700
Reply-To: djgpp-workers AT delorie DOT com

> So, my problem with selectors went away with the above patch, but now I
> die due to no DOS memory :-P (it does run longer).  Now what is strange
> is before I added the diagnostic print I think I still leaked, but I
> can't be 100% sure my make build was correct.  So, does NTVDM leak dos
memory
> too?

I slightly modifed Charles patch so that the changes were only executed if
on a Win NT / 2000 / XP machine, this way I can also use the same LIBC and
code on the Win 98 box.

I can also now build LIBC without restarting every one or two minutes, but I
get the odd NTVDM memory error. The previous time I built LIBC on the Win 2K
box I did not count the number of times I had to re-start the make as it was
to many and I gave up counting.

My LIBC build test:
    Start make #1:  3:36 PM
    Stop m,ake #1: First NTVDM application error with "The instruction
asn"0x0f04c7a9" references memory at "0x021bcf20"./ The memory could not be
written.

    Start make #2:  3:38 PM
    Stop make #2:  3:42 PM  - no errors or any messages the build just
stopped.

    Start make #3:  3:42 PM
    Stop make #3  3:46PM  -SIGSEV and a NTVDM memory error. See screen dump
below.

    Start make #4  3:47PM
    Stop make #4  3:52PM  - NTVDM memory error.

    Start make #5  3:59PM -
    Stop make #5  4:05 PM  - Zoninfo make posix error. See screen dump below

    Start make #6  4:08PM -
    Stop make #6  4:10PM stoped again due to zoneinfo issue with


Overall even with the number of crashes building LIBS it is now feasable for
me to re-build LIBC on the Win 2K machine with the patch from Charles. I am
looking forward to testing a combined Win 9x and 2K patch when it arrives on
both Win 98 and Win 2K.

--- SIGSEGV & NTVDM ERROR ---
d:/dj204/bin/make.exe -C pc_hw/mem
gcc ... -c djmd.S
gcc ... -c djmdr.S
gcc ... -c dmg.c
gcc ... -c dmgb.c
gcc ... -c dmgl.c
gcc ... -c dmgw.c
gcc ... -c dmp.c
gcc ... -c dmpb.c
gcc ... -c dmpl.c
Exiting due to signal SIGSEGV
General Protection Fault at eip=000013f5
eax=00330901 ebx=00000033 ecx=00330000 edx=001a8338 esi=00000187
edi=018719c0
ebp=6269091e esp=00000740 program=D:\dj204\BIN\gcc.exe
cs: sel=5fe7  base=021e0000  limit=001affff
ds: sel=5fef  base=021e0000  limit=001affff
es: sel=5fef  base=021e0000  limit=001affff
fs: sel=5fbf  base=0001cf30  limit=0000ffff
gs: sel=0000
ss: sel=5fbf  base=0001cf30  limit=0000ffff
App stack: [000ad608..0002d608
DJGPP_204 D:\dj204\src>symify d:\dj204\bin\gcc.exe


Does this show that I have a program somewhere where I have not re-built
with the SBRK patch in crt0?

--- ZONEINFO ERROR ---
d:/dj204/bin/make.exe -C ../zoneinfo/src
./host-zic  -y ./yearistype -d ../../zoneinfo -L /dev/null africa antarctica
asia australasia europe northamerica southamerica pacificnew etcetera
factory backw
ard systemv solar87 solar88 solar89
./host-zic.exe: Can't link from ../../zoneinfo/Antarctica/McMurdo to
../../zoneinfo/Antarctica/South_Pole: Improper link (EXDEV)
make.exe[1]: *** [posix_only] Error 1
make.exe: [subs] Error 2 (ignored)
d:/dj204/bin/make.exe -f makempty
make.exe[1]: Nothing to be done for `all'.

This is a fstat failure. I am now investigating more info and examples to
follow.

Andrew

- Raw text -


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