This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Fork failure from git


Originally seen with 1.7.11. I've run rebaseall, and the 20120227
snapshot, and still get this error.

Originally the error was during a git pull. I separated things out and
managed to do the git fetch first, but repeating the pull still
results in a fork failure.

$ uname -a
CYGWIN_NT-6.1-WOW64 machine 1.7.12s(0.260/5/3) 20120227 12:56:51 i686 Cygwin

$ git pull --rebase origin master
      1 [main] git 5276 fork: child -1 - forked process died
unexpectedly, retry 0, exit code -1073741515, errno 11
error: cannot fork() for rev-list: Resource temporarily unavailable
error: Could not run 'git rev-list'
  15547 [main] git 5276 fork: child -1 - forked process died
unexpectedly, retry 0, exit code -1073741515, errno 11
error: cannot fork() for rev-list: Resource temporarily unavailable
error: Could not run 'git rev-list'
error: git://xxx.com/yyy did not send all necessary objects

I did an strace with the snapshot, and the bit aroung the fork failure says:

   22  820839 [main] git 7408 fork: entering
   55  820894 [main] git 7408 sig_send: sendsig 0xA0, pid 7408, signal
-40, its_me 1
   24  820918 [main] git 7408 sig_send: wakeup 0x290
   30  820948 [sig] git 7408 wait_sig: signalling pack.wakeup 0x290
    2  820950 [main] git 7408 sig_send: Waiting for pack.wakeup 0x290
   40  820990 [main] git 7408 sig_send: returning 0x0 from sending signal -40
   32  821022 [main] git 7408 frok::parent: priority class 32
   97  821119 [main] git 7408 frok::parent: stack - bottom 0x290000,
top 0x267000, addr 0x0, guardsize 0x0
   30  821149 [main] git 7408 frok::parent: CreateProcessW
(C:\cygwin\lib\git-core\git.exe, C:\cygwin\lib\git-core\git.exe, 0, 0,
1, 0x20, 0, 0, 0x28A5C0, 0x28A620)
   25  821174 [main] git 7408 time: 1330600890 = time(0)
 1926  823100 [main] git 7408 frok::parent: forked pid 6460
   36  823136 [main] git 7408 child_info::sync: n 2, waiting for
subproc_ready(0x288) and child process(0x2A0)
 3097  826233 [main] git 7408 child_info::sync: pid 6460, WFMO
returned 1, exit_code 0xC0000135, res 0
   93  826326 [main] git 7408 frok::parent: returning -1
   52  826378 [main] git 7408 sig_send: sendsig 0xA0, pid 7408, signal
-41, its_me 1
   31  826409 [main] git 7408 sig_send: wakeup 0x290
   54  826463 [main] git 7408 sig_send: Waiting for pack.wakeup 0x290
   23  826486 [sig] git 7408 wait_sig: signalling pack.wakeup 0x290
   27  826513 [main] git 7408 sig_send: returning 0x0 from sending signal -41
   88  826601 [main] git 7408 fork: child -1 - forked process died
unexpectedly, retry 0, exit code -1073741515, errno 11
  266  826867 [main] git 7408 __set_errno: int fork():685 setting errno 11

An earlier fork appears to have worked for git.exe, but with the
exectuable in a different directory (does this matter?)

   22   64382 [main] git 7908 fork: entering
   61   64443 [main] git 7908 sig_send: sendsig 0x9C, pid 7908, signal
-40, its_me 1
   23   64466 [main] git 7908 sig_send: wakeup 0x130
   25   64491 [main] git 7908 sig_send: Waiting for pack.wakeup 0x130
    5   64496 [sig] git 7908 wait_sig: signalling pack.wakeup 0x130
   42   64538 [main] git 7908 sig_send: returning 0x0 from sending signal -40
   29   64567 [main] git 7908 frok::parent: priority class 32
   91   64658 [main] git 7908 frok::parent: stack - bottom 0x290000,
top 0x252000, addr 0x0, guardsize 0x0
   21   64679 [main] git 7908 frok::parent: CreateProcessW
(C:\cygwin\bin\git.exe, C:\cygwin\bin\git.exe, 0, 0, 1, 0x20, 0, 0,
0x28A8C0, 0x28A920)
   21   64700 [main] git 7908 time: 1330600885 = time(0)
24016   88716 [main] git 7908 frok::parent: forked pid 6608
   57   88773 [main] git 7908 child_info::sync: n 2, waiting for
subproc_ready(0x128) and child process(0x138)
    1       1 [main] git (6608) **********************************************
   52      53 [main] git (6608) Program name: C:\cygwin\bin\git.exe
(windows pid 6608)
   19      72 [main] git (6608) OS version:   Windows NT-6.1
   17      89 [main] git (6608) Heap size:    4160157172
   17     106 [main] git (6608) **********************************************

Note: may want to s/frok/fork/

The following command does work after the fetch:

$ git rebase origin master

So I'm not too worried, so this is more an FYI in case the strace helps.



Dave.

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]