delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/06/06/20:34:33

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
Subject: Re: Subject: Bug: run emacs: fatal error reading the windows environment
From: Kirk Hilliard <kirk AT ghoti DOT com>
Date: 06 Jun 2006 20:33:54 -0400
Message-ID: <87y7w96byl.fsf@ghoti.com>
Lines: 38
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4
MIME-Version: 1.0
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Hi All,

On 03 March I pointed out a bug that caused ``run emacs'' to fail with

  12 [main] emacs 900 C:\cygwin\bin\emacs.exe: *** fatal error -
  internal error reading the windows environment --
  too many environment variables?

The response was promising:

Corinna Vinschen wrote:
> After some debugging it turns out that emacs messes around with the
> global environ variable in some non-portable way.  This problem
> didn't show up before, because Cygwin deliberately overwrite the
> value of environ with NULL on startup.  The newer version of Cygwin
> does not overwrite environ anymore, so the strange setting of
> environ gets through to Cygwin and results in a crash since environ
> just points into nirvana or a surrounding area.
>
> This should be fixed in emacs.  Joe?  Still there somewhere?

And:

Alexander Gottwald responded:
> On Fri, 3 Mar 2006, Corinna Vinschen wrote:
>
> > Alexander, does the latest "run" version have the stuff added to
> > regenerate the Windows environment before calling CreateProcess,
> > like cygstart has?
>
> No, sorry. I totally forgot this. I'll create new packages soon

The bug with ``run emacs'' still seems to be present.  What is the
status of this, and is there a bug tracking mechanism that I should be
following other than this list?

Thanks,
Kirk

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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