X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Date: Mon, 19 Oct 2009 11:36:31 +0200
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: 1.7.0-62: segfault when PATH is not set
Message-ID: <20091019093631.GA3986@calimero.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <FE6D94EE-6C4A-43C8-B373-F2681925AF32@free.fr>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <FE6D94EE-6C4A-43C8-B373-F2681925AF32@free.fr>
User-Agent: Mutt/1.5.17 (2007-11-01)
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On Oct 17 04:33, Denis Excoffier wrote:
> Hello,
>
> I've installed all the Cygwin-1.7.0 packages uptodate, on my Windows XP 
> machine.
> I do experience a segmentation fault whenever i launch a program when the 
> PATH is not set.
>
> When PATH is badly set (but set), nothing happens (and the result is OK).
>
> See below how to reproduce. When i switch back to 1.7.0-61, the problem
> disappears. On a Windows 2000 machine, the same happens.
>
> Thank you to spend a little time to take my problem into consideration.
>
> Denis Excoffier.
>
> jupiter% uname -a
> CYGWIN_NT-5.1 JUPITER 1.7.0(0.214/5/3) 2009-10-03 14:33 i686 Cygwin
> jupiter% date --version | head -1
> date (GNU coreutils) 7.0
> jupiter% env --version | head -1
> env (GNU coreutils) 7.0
> jupiter% env - PATH=/usr/bin /usr/bin/date
> Fri Oct 16 17:26:37 RDT 2009
> jupiter% env - PATH=/nonexistent /usr/bin/date
> Fri Oct 16 17:26:37 RDT 2009
> jupiter% env - PATHOS=/nonexistent /usr/bin/date
> Segmentation fault (core dumped)

Strange.  I can't reproduce this:

  $ env - PATHOS=/dqd /usr/bin/date
  Mon Oct 19 11:26:46 WEDT 2009

  $ env - PATHOS=/nonexistent /usr/bin/env
  PATHOS=/nonexistent
  SYSTEMROOT=C:\Windows
  WINDIR=C:\Windows


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

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

