X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:date:from:to:subject:message-id:references
	:mime-version:content-type:in-reply-to; q=dns; s=default; b=nfBh
	z6lQsq4i7AH3A6sTDZ51WnJjG1NPt1zkOw7efDEucVtaJKh68zltA+g6ONiKa+zP
	cz54UK/2moS5rKCh/pPAxX3nJ/ROgW8LOhFX8ZqcFEukfYketbMOeFCK3mFAO7kF
	cDw2iswLwY3nmqaGdrwNkMBDksdLqlM/lPOK1iQ=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:date:from:to:subject:message-id:references
	:mime-version:content-type:in-reply-to; s=default; bh=EOpibnC+qe
	l341Hqmck+qkceR2w=; b=lAJVih4fVQPFGcibOL5PzeIwr4eZ3VeK4bQa8RFki3
	DMRzFFKkypEsWsfbCa+LvW4dMM80BkGwLkhWrFlxYCRtpLG+nhFgMzcqLimFb3Z+
	9mUrvqJGpgOCNDJ1lK8Yv+qwoNNjtaztu7yt3edI4CmNvN+31tkDHpUlnL0Eybd6
	A=
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-wg0-f48.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;        d=1e100.net; s=20130820;        h=x-gm-message-state:date:from:to:subject:message-id:references         :mime-version:content-type:content-disposition:in-reply-to         :user-agent;        bh=vYZxP71pjRK3pL8laFqYyoolhJJIr6L4LB3NKkGz0g8=;        b=NNBpgJojokzccyj1Ff9Wa3Y05id+oYqT93lPXeaNOs1+0B+bFK5/mu4ASXyHwty3W2         XtXzqJiFUi585YdSbaXM5vGO14CymuBPFVGhzOuuk0wwZzqONDStNR0uXlqxmgUYXI6e         8k1OYk9QJ+ZcMbfNv87O+Bqq9YeaKOJhqvkxobHTqoRKCArPwV+LtE6T2o09ugxXtgsC         yadjXvtccfLdVS6O8gidIbDAG/gxcvZj+xtUnDhyr17CYb+5X//d3msvTp4e4ntHle4W         knXxrFCRRakT0wQK33RE+md0Peu5pi1XcCkrnoZI8muNQ7KXtTF0cgiNfvkiSBRxEBbH         /4Sg==
X-Gm-Message-State: ALoCoQlyquuwoK5DT7DTWCf+DvxawJNyPOVy/O2ha7kR78Q3YVDGRFr3zmQ9gn51BvCKcwAgTV0o
X-Received: by 10.180.37.16 with SMTP id u16mr9821154wij.72.1409394700799;        Sat, 30 Aug 2014 03:31:40 -0700 (PDT)
Date: Sat, 30 Aug 2014 11:31:33 +0100
From: Adam Dinwoodie <adam@dinwoodie.org>
To: cygwin@cygwin.com
Subject: Git segfault when called via Google Repo [Was: [ANNOUNCEMENT] Updated: git-2.0.4-1]
Message-ID: <20140830103133.GA19961@dinwoodie.org>
References: <announce.CA+kUOanWGOMhrdXKoDsEsAaouN3QOF7-Poi8Ri7FqA_Tb_MH9g@mail.gmail.com> <53FD7946.7020609@realsil.com.cn>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <53FD7946.7020609@realsil.com.cn>
User-Agent: Mutt/1.5.21 (2010-09-15)
X-IsSubscribed: yes

On Wed, Aug 27, 2014 at 02:23:02PM +0800, Robert Bu wrote:
> If you remember, I've changed CYGWIN=winsymlinks:nativestrict to
> CYGWIN=winsymlinks:lnk to satisfy repo to create the symlink.
> However, I still get a problem in Cygwin-64 on Win7. It seems to be
> a git problem now. The error message is:
> 
> From ssh://xxxx:20000/vm/xxx
>  * [new branch]      master     -> origin/master
> Fetching projects: 100% (1/1), done.
> Traceback (most recent call last):
>   File
> "/cygdrive/d/cygwin/home/robert_bu/repo/vm/.repo/repo/main.py", line
> 500, in <module>
>     _Main(sys.argv[1:])
>   File
> "/cygdrive/d/cygwin/home/robert_bu/repo/vm/.repo/repo/main.py", line
> 476, in _Main
>     result = repo._Run(argv) or 0
>   File
> "/cygdrive/d/cygwin/home/robert_bu/repo/vm/.repo/repo/main.py", line
> 155, in _Run
>     result = cmd.Execute(copts, cargs)
>   File "/cygdrive/d/cygwin/home/robert_bu/repo/vm/.repo/repo/subcmds/sync.py",
> line 675, in Execute
>     project.Sync_LocalHalf(syncbuf)
>   File
> "/cygdrive/d/cygwin/home/robert_bu/repo/vm/.repo/repo/project.py",
> line 1170, in Sync_LocalHa
> lf
>     self._InitWorkTree()
>   File
> "/cygdrive/d/cygwin/home/robert_bu/repo/vm/.repo/repo/project.py",
> line 2230, in _InitWorkTre
> e
>     raise GitError("cannot initialize work tree")
> error.GitError: cannot initialize work tree
> 
> 
> git seems to crash. I've attached the stackdump file of git.

Hi Robert,

I've been trying to reproduce this bug myself, but I haven't been able
to.  Using CYGWIN=winsymlinks:lnk seems to work absolutely fine in all
the tests I've done (namely running the entire Git test suite, which
includes a variety of tests that use symlinks).

To make any progress here, I really need a simple test case that I can
use to reproduce the problem, ideally one that doesn't involve Repo.
The simpler the test case, the easier it'll be to work out what's going
wrong (and thus the more likely it'll be that I can actually find time
to do something about it).

I don't think you answered my previous question about whether this is
only a problem with v2.0.4-1 or if it also affected the previous version
of Git on Cygwin, v1.7.9-1.  I don't think that'll make a significant
difference to isolating the problem, but it may be an interesting
datapoint.

Adam

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

