X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f X-Recipient: djgpp AT delorie DOT com From: "Andris Pavenis (andris DOT pavenis AT iki DOT fi) [via djgpp AT delorie DOT com]" To: djgpp AT delorie DOT com Subject: Max value of DpmiLimit registry setting in Windows 10 32 bit Message-ID: <410d8515-84ba-c47e-1f90-f60a944d8668@iki.fi> Date: Wed, 21 Mar 2018 19:55:56 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from Quoted-Printable to 8bit by delorie.com id w2LHtxwq027386 Reply-To: djgpp AT delorie DOT com Some experience with DJGPP under Windows 10 Home 32 bit lately (VirtualBox VM under ArchLinux) Attempt to run DJGPP program from another one failed: C:\Users\andris>sh sh-2.05b$ sh Exiting due to signal SIGSEGV Stack Fault at eip=00000a11 eax=00010001 ebx=000f0080 ecx=0009f200 edx=000007bf esi=00000c19 edi=00000c09 ebp=0026773a esp=0026773a program=C:\DJGPP\BIN\SH.EXE cs: sel=00cf  base=000d3a40  limit=00000db0 ds: sel=00b7  base=000cc150  limit=0000ffff es: sel=0040  invalid fs: sel=0000 gs: sel=0000 ss: sel=00b7  base=000cc150  limit=0000ffff App stack: [00263aa0..000e3aa4]  Exceptn stack: [000e3190..000e1250] It  worked (earlier setup) in the begin of February 2018 as I built gcc-8.0.1 development version then. I got however it working by decreasing HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\WOW\DpmiLimit from 0x7FFF0000 to 0x7EFF0000 (no restart needed after change). No attempts done to find more exact value. The change of max value of DpmiLimit is most likely caused by 2018-02 cumulative update (noticed problem before 2018-03 cumulative update were installed). Let's see how build of gcc-8.0.1-20180318 will go (it at least do not fail immediately as with DpmiLimit=0x7FFF0000) Andris