www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/05/04/01:31:15

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: RCS SIGSEGV under pure DOS
Date: Sat, 04 May 2002 08:21:52 +0300
Lines: 32
Message-ID: <3CD36FF0.9BA05432@is.elta.co.il>
References: <c21a43ff DOT 0205031305 DOT 2266bf05 AT posting DOT google DOT com>
NNTP-Posting-Host: 80.230.2.40
Mime-Version: 1.0
X-Trace: fu-berlin.de 1020489783 14688760 80.230.2.40 (16 [61365])
X-Mailer: Mozilla 4.7 [en] (Win98; I)
X-Accept-Language: en
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

xeon wrote:
> 
> G:\TMP>ci myfile.c
> Exiting due to signal SIGSEGV
> Page fault at eip=0000785d, error=0004
> eax=00000000 ebx=000661a6 ecx=00000068 edx=00001697 esi=00000026
> edi=000662a6
> ebp=00066280 esp=00065d1c program=E:\DJGPP\BIN/ci.exe
> cs: sel=00e7  base=100a0000  limit=0007ffff
> ds: sel=00ef  base=100a0000  limit=0007ffff
> es: sel=00ef  base=100a0000  limit=0007ffff
> fs: sel=00cf  base=00020340  limit=0000ffff
> gs: sel=00ff  base=00000000  limit=ffffffff
> ss: sel=00ef  base=100a0000  limit=0007ffff
> 
> Call frame traceback EIPs:
>   0x0000785d
>   0x68637461
> 
> If the "RCS" string the path is in upper-case, like "g:\foo\RCS\bar",
> it'll run fine. Also, under NT4.0, also with 4DOS shell, it'll run
> fine regardless the case of "RCS" string.
> 
> Is this a bug?

Yes, it's a bug; thanks for reporting it.  However, since the `RCS'
directory should always be in UPPER case, this bug should never happen to
you in correct usage.  I'm using RCS for many years on a DOS machine, and it
never crashed on me like that.

Of course, you are welcome to debug the problem and send patches to fix it. 
TIA.

- Raw text -


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