X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=2.7 required=5.0	tests=AWL,BAYES_40,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <4F588088.9090800@chess.nl>
Date: Thu, 8 Mar 2012 10:48:56 +0100
From: Diederik Faber <diederik.faber@chess.nl>
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Unable to start bash fatal error
Content-Type: text/plain; charset="ISO-8859-1"; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.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

Hi all,

My cygwin installation was running quite happily, until I updated this 
morning (march 8). After installation bash (now version 4.1.10-4) won't 
launch anymore.
When starting it from a DOS box, it gives this output:

D:\cygwin>bash
       0 [main] bash 8168 D:\cygwin\bin\bash.exe: *** fatal error - add_item ("\??\D:\cygwin", "/", ...) failed, errno 1
Stack trace:
Frame     Function  Args
00228908  6102FA3B  (00228908, 00000000, 00000000, 7C9101DB)
00228BF8  6102FA3B  (6119BD20, 00008000, 00000000, 6119DB4F)
00229C28  61005F7C  (611D7EA0, 00229C54, 00000000, 60FE000C)
00229C48  61005FB8  (611D7EA0, 0022BC70, 00000001, 0003000A)
0022CC88  6108FAE4  (60FE000C, 20000347, 0022CD58, 61081840)
0022CCB8  610D169F  (48C98787, 01CCFD0F, 004657E0, 61272974)
    1180 [main] bash 8168 exception::handle: Exception: STATUS_ACCESS_VIOLATION


My cygwin installation resides in D:\cygwin, but the add_item parameter 
"\??\D:\cygwin" looks a bit suspicious.
I've located its value in the registry under 
HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin\Installations\.
If I manually change the value to "D:\cygwin" and then start bash, it 
still gives the same problem. Better yet, the \??\ has returned into the 
registry key. Is this intended behavior?

Similar output is also generated when running cygcheck, so I couldn't 
attach its output.

Does anybody have a similar problem or maybe an idea on how to fix this?

Thanks,
Diederik

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

