delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/01/13/10:58:25

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Eric Blake <ebb9 AT byu DOT net>
Subject: Re: Possible BSOD from getcwd on WinXP SP3
Date: Wed, 13 Jan 2010 15:57:46 +0000 (UTC)
Lines: 35
Message-ID: <loom.20100113T165209-814@post.gmane.org>
References: <D79FE0983947DC4FA436B4B76CBCCD9B075DEF61 AT AMEDMLNARMC137 DOT amed DOT ds DOT army DOT mil>
Mime-Version: 1.0
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes
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

Henson, George A CTR USA MEDCOM JMLFDC <George.Henson <at> amedd.army.mil> 
writes:

> 
> Hello,
> 
> Building tar seems to trigger a Blue Screen Of Death on WinXP.

Rather, it is triggering a bug in your ntfs.sys driver.  Cygwin is a user app, 
and as such, cannot cause a BSOD.  Only drivers can do that.

> The only information I have been able to get out of the Windows crash
> dumps is the fault happens somewhere in the ntfs.sys driver.

Report this to whoever provided the driver.  Meanwhile, you can work around it 
via:

./configure gl_cv_func_getcwd_path_max=yes

to prime the cache and skip that check (I do that anyways on my XP machine, in 
my /usr/local/share/config.site file, not because my driver is buggy, but 
because Microsoft has acknowledged that XP has quadratic handling of long path 
names, and that Vista or newer have linear handling; the quadratic handling 
makes the test spin for minutes at 100% CPU utilization, attributable to system 
call churn rather than application action).  Also, that check is repeated among 
tar, coreutils, findutils, and a few other GNU packages.

And for the record, I've also noticed that sysinternal's procexp can crash the 
system when trying to examine the run of that particular conftest.exe with very 
deep hierarchies.

-- 
Eric Blake
volunteer cygwin tar maintainer



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