Get "git-rebase fork resource temporarily unavailable when trying to rebase"

1,396 views
Skip to first unread message

Jim Hickman

unread,
Mar 29, 2013, 5:19:59 PM3/29/13
to msy...@googlegroups.com

My OS is Windows 7 Professional – 64 bit.

 

I was having problems permission denied so after searching – I found another post  that suggested uninstalling git – and reinstalling outside of C:\program files (x86).

 

I tired that – but now I am getting the following when trying to rebase:

 

    0 [main] sh 8496 proc_subproc: Coundn’t duplicate my handle<0x50> for pid 7196, win32 error 5

4370 [main] sh 8496 fork_copy user/Cygwin data pass 0 failed, 0x47F000..0x4843DC, done 0, windows pid 7196, Win32 error 5

 

/libexec/git-core/git-sh-setup: fork: Resource temporarily unavailable

 

I would greatly appreciate any and all help or suggestions.   My trying to fix this is simply not working.

 

Thank you

 

 

 

Jim H. Hickman

 

 

 

 

 

 

Konstantin Khomoutov

unread,
Mar 31, 2013, 12:14:34 PM3/31/13
to Jim Hickman, msy...@googlegroups.com
On Fri, 29 Mar 2013 16:19:59 -0500
"Jim Hickman" <j...@tms2000.com> wrote:

> My OS is Windows 7 Professional - 64 bit.
>
> I was having problems permission denied so after searching - I found
> another post that suggested uninstalling git - and reinstalling
> outside of C:\program files (x86).
>
> I tired that - but now I am getting the following when trying to
> rebase:
>
> 0 [main] sh 8496 proc_subproc: Coundn't duplicate my handle<0x50>
> for pid 7196, win32 error 5
>
> 4370 [main] sh 8496 fork_copy user/Cygwin data pass 0 failed,
> 0x47F000..0x4843DC, done 0, windows pid 7196, Win32 error 5

^^^ This. Git for Windows is not a Cygwin-powered application.
So I reckon you might have Cygwin Git installed on your machine as
well, and both of them are somehow listed in your %PATH%.

And this looks like a Unix shell process ("sh") failing.
Git for Windows ships sh.exe in its "bin" subdirectory (which is not
put in the PATH by default); supposedly Cygwin also ships sh.exe, and
it somehow gets executed instead of Git's.

[...]
> I would greatly appreciate any and all help or suggestions. My
> trying to fix this is simply not working.

Wipe out Cygwin's Git completely and then make sure no part of Cygwin
is listed in your PATH (I mean, if you run cmd.exe and try to run
sh.exe, the shell should fail to do that).
Reply all
Reply to author
Forward
0 new messages