delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2022/01/28/00:29:38

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
X-Recipient: djgpp AT delorie DOT com
Message-ID: <4f48e61a-df17-9926-aaa0-e48f8a62d403@iki.fi>
Date: Fri, 28 Jan 2022 07:29:24 +0200
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.5.0
Subject: Re: command line lenght problems?
To: djgpp AT delorie DOT com
References: <MWHPR1401MB1951CCC95276E44447921D28E6209 AT MWHPR1401MB1951 DOT namprd14 DOT prod DOT outlook DOT com>
<83h79qhcft DOT fsf AT gnu DOT org>
From: "Andris Pavenis (andris DOT pavenis AT iki DOT fi) [via djgpp AT delorie DOT com]" <djgpp AT delorie DOT com>
In-Reply-To: <83h79qhcft.fsf@gnu.org>
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On 1/26/22 15:08, Eli Zaretskii (eliz AT gnu DOT org) [via djgpp AT delorie DOT com] wrote:
>
> On what version of Windows is that?
>
>> Exiting due to signal SIGSEGV
>> Stack Fault at eip=00000a11
> This is stack fault, not necessarily related to the command-line
> length.
>
> What does go32-v2 report there if run without arguments?
>
>> eax=00010001 ebx=01ad0080 ecx=01549400 edx=004207bf esi=00001223 edi=00001213
>> ebp=0042773a esp=0042773a program=C:\DOS\BIN\GCC.EXE
>> cs: sel=00cf  base=000d3a50  limit=00000db0
>> ds: sel=00b7  base=000cc160  limit=0000ffff
>> es: sel=0040  invalid
>> fs: sel=0000
>> gs: sel=0000
>> ss: sel=00b7  base=000cc160  limit=0000ffff
>> App stack: [00423b78..00223b7c]  Exceptn stack: [00223ac8..00221b88]
> Something is very wrong in the run environment: the SS segment has
> very small limit, ES is invalid...

Is that under Windows 10 32 bit?

GCC does not work in all recent builds of Win 10 32 bit.

This will be (stack trace above) how any attempt to execute DJGPP program from another one will end 
in this case. It down not matter whether its executed directly or through some other non DJGPP 
program or bat file. I do not know whether it is intentional or got broken accidentally. It is 
perhaps extremely unlikely that it could be ever fixed.

Andris



- Raw text -


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