threads / discuss / 41031

CruiseControl.NET hangs on git-submodule bad file descriptor

Subject: CruiseControl.NET hangs on git-submodule bad file descriptor

## tl;dr

5 messages between Dec 17, 2015 and Dec 17, 2015.

replies: 4people: 2as markdown or json

Alexander Skrinnik· Dec 17, 2015, 08:17 UTC · lore
Hi guys,

I had installed CruiseControl.NET 1.8.5 and Git-1.9.5-preview20150319 CC.NET invokes bat-file which invokes git submodule foreach git checkout "myBranch"

It worked good. Today I upgraded git to 2.6.4 and CC.NET fails on this command with error: C:\Program Files (x86)\Git\mingw32/libexec/git-core\git-submodule: line 544: 0: Bad file descriptor

When I run the same command from cmd window all works without error For now I have to return to 1.9.5 version.

Could you, please, help to fix the issue?

Thank you in advance -- Alexander Skrinnik

Johannes Schindelin· Dec 17, 2015, 09:46 UTC · re: Alexander Skrinnik · lore

Re: CruiseControl.NET hangs on git-submodule bad file descriptor

Hi Alexander,
On Thu, 17 Dec 2015, Alexander Skrinnik wrote:
Show 9 quoted lines
> I had installed CruiseControl.NET 1.8.5 and Git-1.9.5-preview20150319
> CC.NET invokes bat-file which invokes 
> git submodule foreach git checkout "myBranch"
> 
> It worked good.
> Today I upgraded git to 2.6.4 and CC.NET fails on this command with
> error: C:\Program Files
> (x86)\Git\mingw32/libexec/git-core\git-submodule: line 544: 0: Bad file
> descriptor
This sounds very similar (maybe identical) to this bug report:
	https://github.com/git-for-windows/git/issues/181

Ciao, Johannes

Alexander Skrinnik· Dec 17, 2015, 12:32 UTC · re: Johannes Schindelin · lore

RE: CruiseControl.NET hangs on git-submodule bad file descriptor

Hi Johannes,

Thank you for your answer. Yes, this is the same issue. I found workaround, CC.NET invokes bat-file with command: git submodule foreach git checkout "myBranch" <NUL

It works fine. But looks like the issue is in git. Not in CC.NET :) If you have a chance, could you look into it, please?

Thanks a lot -- Alexander Skrinnik

-----Original Message-----
From: Johannes Schindelin [mailto:Johannes.Schindelin@gmx.de] 
Sent: Thursday, December 17, 2015 11:46 AM
To: Alexander Skrinnik
Cc: git@vger.kernel.org
Subject: Re: CruiseControl.NET hangs on git-submodule bad file descriptor
Hi Alexander,
On Thu, 17 Dec 2015, Alexander Skrinnik wrote:
Show 9 quoted lines
> I had installed CruiseControl.NET 1.8.5 and Git-1.9.5-preview20150319 
> CC.NET invokes bat-file which invokes git submodule foreach git 
> checkout "myBranch"
> 
> It worked good.
> Today I upgraded git to 2.6.4 and CC.NET fails on this command with
> error: C:\Program Files
> (x86)\Git\mingw32/libexec/git-core\git-submodule: line 544: 0: Bad 
> file descriptor
This sounds very similar (maybe identical) to this bug report:
	https://github.com/git-for-windows/git/issues/181

Ciao, Johannes

Johannes Schindelin· Dec 17, 2015, 13:54 UTC · re: Alexander Skrinnik · lore

RE: CruiseControl.NET hangs on git-submodule bad file descriptor

Hi Alexander,

you might want to refrain from top-posting on this list in the future. Just sayin' ;-)

On Thu, 17 Dec 2015, Alexander Skrinnik wrote:
Show 5 quoted lines
> I found workaround, CC.NET invokes bat-file with command:
> git submodule foreach git checkout "myBranch" <NUL
> 
> It works fine. But looks like the issue is in git. Not in CC.NET :)
> If you have a chance, could you look into it, please?

Unfortunately, this is one of those problems where the bug reporter expects me not only to fix the problem, but also to come up with an easy way to reproduce the issue.

And even more unfortunate is the fact that I am really pressed on some other, more critical issues.

Is there really no chance for you to have a crack at resolving this issue?

Ciao, Johannes

Alexander Skrinnik· Dec 17, 2015, 14:07 UTC · re: Johannes Schindelin · lore

RE: CruiseControl.NET hangs on git-submodule bad file descriptor

OK, no problem I have workaround :)

Thanks a lot for your help

Best wishes -- Alexander Skrinnik

-----Original Message-----
From: Johannes Schindelin [mailto:Johannes.Schindelin@gmx.de] 
Sent: Thursday, December 17, 2015 3:55 PM
To: Alexander Skrinnik
Cc: git@vger.kernel.org
Subject: RE: CruiseControl.NET hangs on git-submodule bad file descriptor
Hi Alexander,

you might want to refrain from top-posting on this list in the future. Just sayin' ;-)

On Thu, 17 Dec 2015, Alexander Skrinnik wrote:
Show 5 quoted lines
> I found workaround, CC.NET invokes bat-file with command:
> git submodule foreach git checkout "myBranch" <NUL
> 
> It works fine. But looks like the issue is in git. Not in CC.NET :) If 
> you have a chance, could you look into it, please?
Unfortunately, this is one of those problems where the bug reporter expects me not only to fix the problem, but also to come up with an easy way to reproduce the issue.
And even more unfortunate is the fact that I am really pressed on some other, more critical issues.
Is there really no chance for you to have a crack at resolving this issue?

Ciao, Johannes

← back to recent threads