delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2018/04/03/12:28:03

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
X-Recipient: djgpp AT delorie DOT com
Subject: Re: Death of DJGPP support on Win10 32 bit? [WAS: Re: Max value of
DpmiLimit registry setting in Windows 10 32 bit]
To: djgpp AT delorie DOT com
References: <xnd0zpwjtr DOT fsf AT envy DOT delorie DOT com>
<c5ddafe3-5a20-79eb-bd9b-1794470021e9 AT iki DOT fi> <83sh8c47ey 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>
Message-ID: <e8a9925b-8ed9-9542-51bb-7c153f9573eb@iki.fi>
Date: Tue, 3 Apr 2018 19:27:57 +0300
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101
Thunderbird/52.5.2
MIME-Version: 1.0
In-Reply-To: <83sh8c47ey.fsf@gnu.org>
X-MIME-Autoconverted: from Base64 to 8bit by delorie.com id w33GRxcc013744
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 04/03/2018 06:49 PM, Eli Zaretskii (eliz AT gnu DOT org) [via djgpp AT delorie DOT com] wrote:
>> From: "Andris Pavenis (andris DOT pavenis AT iki DOT fi) [via djgpp AT delorie DOT com]" <djgpp AT delorie DOT com>
>> Date: Tue, 3 Apr 2018 18:46:06 +0300
>>
>> - system("notepad.exe") works OK
>> - system("bash.exe") crashes in the way mentioned in earlier e-mails
>> - system("example.bat") do not crash if example.bat do not start DJGPP program but crashes if it
>> starts DJGPP program (crash backtrace shows initial program in this case)
> So you are saying that it doesn't support nested DPMI clients?
Perhaps

It looks like that: starting under GDB (surprising but it still works) and dumping registers at start:

(gdb) info regs
Undefined info command: "regs".  Try "help info".
(gdb) info reg
eax            0xa8ec8  691912
ecx            0xa8e50  691792
edx            0xa9900  694528
ebx            0xb      11
esp            0xa8e30  0xa8e30
ebp            0xa8e38  0xa8e38
esi            0xa988a  694410
edi            0xa98a8  694440
eip            0x1f71   0x1f71 <main+17>
eflags         0x3206   [ PF IF #12 #13 ]
cs             0x1ef    495
ss             0x1f7    503
ds             0x1f7    503
es             0x1f7    503
fs             0x1e7    487
gs             0x207    519
(gdb) c
Continuing.
ret=0
Exiting due to signal SIGSEGV
Stack Fault at eip=00000a11
eax=00010001 ebx=00040080 ecx=0002d400 edx=000007bf esi=00007022 edi=00017012
ebp=000a773a esp=000a773a program=d:\Test\7\runpgm.exe
cs: sel=00cf  base=000d39f0  limit=00000db0
ds: sel=00b7  base=000cc100  limit=0000ffff
es: sel=0040  invalid
fs: sel=0000
gs: sel=0000
ss: sel=00b7  base=000cc100  limit=0000ffff
App stack: [000a8eb0..00028eb4]  Exceptn stack: [00028de0..00026ea0]

[Inferior 1 (process 42) exited with code 0377]
(gdb)

Andris



- Raw text -


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