delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/10/16/22:34:11

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.3 required=5.0 tests=AWL,BAYES_00
X-Spam-Check-By: sourceware.org
Message-Id: <FE6D94EE-6C4A-43C8-B373-F2681925AF32@free.fr>
From: Denis Excoffier <Denis DOT Excoffier AT free DOT fr>
To: cygwin AT cygwin DOT com
Mime-Version: 1.0 (Apple Message framework v936)
Subject: 1.7.0-62: segfault when PATH is not set
Date: Sat, 17 Oct 2009 04:33:52 +0200
Cc: Denis Excoffier <Denis DOT Excoffier AT free DOT fr>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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

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)
jupiter% cat date.exe.stackdump
Exception: STATUS_ACCESS_VIOLATION at eip=610BFBE1
eax=00000001 ebx=006700F0 ecx=00008000 edx=FFFFFFFF esi=00000000  
edi=006700F0
ebp=0022CD18 esp=0022CCC0 program=C:\Users\me\cygwin2009f\bin 
\date.exe, pid 3056, thread main
cs=001B ds=0023 es=0023 fs=003B gs=0000 ss=0023
Stack trace:
Frame     Function  Args
0022CD18  610BFBE1  (00008000, 00000000, FFFFFFFF, 6120DD35)
0022CD38  610BFE83  (FFFFFFFF, 00000002, 2D465455, 610F0038)
0022CDB8  610C1A7F  (00000000, 0022CDF0, 610066F0, 7FFDE000)
End of stack trace



--
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

- Raw text -


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