www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2002/01/15/00:19:06

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-workers-bounces using -f
From: sandmann AT clio DOT rice DOT edu (Charles Sandmann)
Message-Id: <10201150517.AA19245@clio.rice.edu>
Subject: DJGPP environment variable
To: djgpp-workers AT delorie DOT com (DJGPP developers)
Date: Mon, 14 Jan 2002 23:17:05 -0600 (CST)
X-Mailer: ELM [version 2.5 PL2]
Mime-Version: 1.0
Reply-To: djgpp-workers AT delorie DOT com

FYI:

I've been informed that OpenGUI doesn't work under CWSDPMI.  It was 
tracked to a memory corruption issue which only happens if the
environment variable DJGPP is not set.  Exact cause not yet known.

I've got the image env.exe from shl20jb built with November vintage
cvs - it fails with following crash:

Exiting due to signal SIGSEGV
General Protection Fault at eip=00007130
eax=730d2e46 ebx=0058ffa8 ecx=8d4bd15a edx=8d4bd162 esi=0058ffac edi=00590020
ebp=0058ff48 esp=0058ff30 program=C:\DJGPP\ENVBUG.EXE
cs: sel=01a7  base=017b0000  limit=0059ffff
ds: sel=01af  base=017b0000  limit=0059ffff
es: sel=01af  base=017b0000  limit=0059ffff
fs: sel=017f  base=00004fd0  limit=0000ffff
gs: sel=01bf  base=00000000  limit=0010ffff
ss: sel=01af  base=017b0000  limit=0059ffff
App stack: [00590000..00510000]  Exceptn stack: [00020060..0001e120]

Call frame traceback EIPs:
  0x00007130 _free+132
  0x00009255 ___putenv+709
  0x0000239e _main+574, line 176 of env.c
  0x00005d5f ___crt1_startup+203

But once again, it runs fine if the DJGPP environment variable is set.

I don't have time right now to track this down, but I thought I would
pass on the early warning since there may be a common connection.

- Raw text -


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