2

当我运行时git svn fetch,我收到以下错误消息。我如何解决它?非常感谢。

F:\gitsvntest>git svn 获取
      0 [主] ?4828 fhandler_base::fork_fixup: /libexec/git-core/git-svn - Win3
2 错误6,句柄io_handle
    272 [主要] ?4828 fhandler_base::fork_fixup:/usr/lib/perl5/5.8.8/Term/Cap.pm
 - Win32错误6,句柄io_handle
   4902 [main] ?4828 fhandler_base::fork_fixup: /dev/pipew - Win32 错误 6,手
le io_handle
   5005 [主要] ?4828 fhandler_base::fork_fixup: /f/gitsvntest/.git/bk7BX7R03b -
Win32错误6,句柄io_handle
   5079 [主要] ?4828 fhandler_base::fork_fixup: /f/gitsvntest/.git/aA7kR4Avx4 -
Win32错误6,句柄io_handle
      0 [main] perl.exe" 3860 fork_copy:加载的 dll 数据/bss 传递 0 失败,0x67
604000..0x67604014,完成 0,windows pid 4828,Win32 错误 487
      0 [主] ?1672 fhandler_base::fork_fixup: /libexec/git-core/git-svn - Win3
2 错误6,句柄io_handle
    256 [主要] ?1672 fhandler_base::fork_fixup:/usr/lib/perl5/5.8.8/Term/Cap.pm
 - Win32错误6,句柄io_handle
   4911 [main] ?1672 fhandler_base::fork_fixup: /dev/pipew - Win32 错误 6,手
le io_handle
   5015 [主要] ?1672 fhandler_base::fork_fixup: /f/gitsvntest/.git/bk7BX7R03b -
Win32错误6,句柄io_handle
   5078 [主] ?1672 fhandler_base::fork_fixup: /f/gitsvntest/.git/aA7kR4Avx4 -
Win32错误6,句柄io_handle
5028759 [main] perl.exe" 3860 fork_copy:加载的 dll 数据/bss 传递 0 失败,0x67
604000..0x67604014,完成 0,Windows PID 1672,Win32 错误 487
      0 [主] ?4636 fhandler_base::fork_fixup: /libexec/git-core/git-svn - Win3
2 错误6,句柄io_handle
    200 [main] ?4636 fhandler_base::fork_fixup: /usr/lib/perl5/5.8.8/Term/Cap.pm
 - Win32错误6,句柄io_handle
   4700 [main] ?4636 fhandler_base::fork_fixup: /dev/pipew - Win32 错误 6,手
le io_handle
   4761 [主要] ?4636 fhandler_base::fork_fixup: /f/gitsvntest/.git/bk7BX7R03b -
Win32错误6,句柄io_handle
   4816 [主要] ?4636 fhandler_base::fork_fixup: /f/gitsvntest/.git/aA7kR4Avx4 -
Win32错误6,句柄io_handle
10058702 [main] perl.exe" 3860 fork_copy:加载的 dll 数据/bss 传递 0 失败,0x6
7604000..0x67604014,完成 0,Windows PID 4636,Win32 错误 487
      0 [主] ?2372 fhandler_base::fork_fixup: /libexec/git-core/git-svn - Win3
2 错误6,句柄io_handle
    207 [main] ?2372 fhandler_base::fork_fixup: /usr/lib/perl5/5.8.8/Term/Cap.pm
 - Win32错误6,句柄io_handle
   4974 [main] ?2372 fhandler_base::fork_fixup: /dev/pipew - Win32 错误 6,手
le io_handle
   5036 [主要] ?2372 fhandler_base::fork_fixup: /f/gitsvntest/.git/bk7BX7R03b -
Win32错误6,句柄io_handle
   5092 [主要] ?2372 fhandler_base::fork_fixup: /f/gitsvntest/.git/aA7kR4Avx4 -
Win32错误6,句柄io_handle
15090148 [main] perl.exe" 3860 fork_copy:加载的 dll 数据/bss 传递 0 失败,0x6
7604000..0x67604014,完成 0,windows pid 2372,Win32 错误 487
      0 [主] 3928 fhandler_base::fork_fixup: /libexec/git-core/git-svn - Win3
2 错误6,句柄io_handle
- 4876 [main] ?3928 fhandler_base::fork_fixup: /usr/lib/perl5/5.8.8/Term/Cap.p
m - Win32 错误 6,句柄 io_handle
   1204 [main] ?3928 fhandler_base::fork_fixup: /dev/pipew - Win32 错误 6,手
le io_handle
   1506 [主要] 3928 fhandler_base::fork_fixup: /f/gitsvntest/.git/bk7BX7R03b -
Win32错误6,句柄io_handle
   1608 [主要] 3928 fhandler_base::fork_fixup: /f/gitsvntest/.git/aA7kR4Avx4 -
Win32错误6,句柄io_handle
20135923 [main] perl.exe" 3860 fork_copy:加载的 dll 数据/bss 传递 0 失败,0x6
7604000..0x67604014,完成 0,windows pid 3928,Win32 错误 487
      0 [主] 2188 fhandler_base::fork_fixup: /libexec/git-core/git-svn - Win3
2 错误6,句柄io_handle
    205 [main] ?2188 fhandler_base::fork_fixup: /usr/lib/perl5/5.8.8/Term/Cap.pm
 - Win32错误6,句柄io_handle
   4821 [main] ?2188 fhandler_base::fork_fixup: /dev/pipew - Win32 错误 6,手
le io_handle
   4882 [主要] ?2188 fhandler_base::fork_fixup: /f/gitsvntest/.git/bk7BX7R03b -
Win32错误6,句柄io_handle
   4938 [主要] ?2188 fhandler_base::fork_fixup: /f/gitsvntest/.git/aA7kR4Avx4 -
Win32错误6,句柄io_handle
25169941 [main] perl.exe" 3860 fork_copy:加载的 dll 数据/bss 传递 0 失败,0x6
7604000..0x67604014,完成 0,windows pid 2188,Win32 错误 487
      0 [主] 3924 fhandler_base::fork_fixup: /libexec/git-core/git-svn - Win3
2 错误6,句柄io_handle
    207 [main] ?3924 fhandler_base::fork_fixup: /usr/lib/perl5/5.8.8/Term/Cap.pm
 - Win32错误6,句柄io_handle
   5118 [main] ?3924 fhandler_base::fork_fixup: /dev/pipew - Win32 错误 6,手
le io_handle
   5698 [主要] ?3924 fhandler_base::fork_fixup: /f/gitsvntest/.git/bk7BX7R03b -
Win32错误6,句柄io_handle
   5821 [主要] ?3924 fhandler_base::fork_fixup: /f/gitsvntest/.git/aA7kR4Avx4 -
Win32错误6,句柄io_handle
30219728 [main] perl.exe" 3860 fork_copy:加载的 dll 数据/bss 传递 0 失败,0x6
7604000..0x67604014,完成 0,windows pid 3924,Win32 错误 487
      0 [主] ?4480 fhandler_base::fork_fixup: /libexec/git-core/git-svn - Win3
2 错误6,句柄io_handle
    273 [主要] ?4480 fhandler_base::fork_fixup:/usr/lib/perl5/5.8.8/Term/Cap.pm
 - Win32错误6,句柄io_handle
   6263 [main] ?4480 fhandler_base::fork_fixup: /dev/pipew - Win32 错误 6,手
le io_handle
   6597 [主要] ?4480 fhandler_base::fork_fixup: /f/gitsvntest/.git/bk7BX7R03b -
Win32错误6,句柄io_handle
   6682 [主要] ?4480 fhandler_base::fork_fixup: /f/gitsvntest/.git/aA7kR4Avx4 -
Win32错误6,句柄io_handle
35259447 [main] perl.exe" 3860 fork_copy:加载的 dll 数据/bss 传递 0 失败,0x6
7604000..0x67604014,完成 0,Windows PID 4480,Win32 错误 487
      0 [主] 1500 fhandler_base::fork_fixup: /libexec/git-core/git-svn - Win3
2 错误6,句柄io_handle
    208 [main] ?1500 fhandler_base::fork_fixup: /usr/lib/perl5/5.8.8/Term/Cap.pm
 - Win32错误6,句柄io_handle
   5733 [main] ?1500 fhandler_base::fork_fixup: /dev/pipew - Win32 错误 6,手
le io_handle
   5811 [主要] ?1500 fhandler_base::fork_fixup: /f/gitsvntest/.git/bk7BX7R03b -
Win32错误6,句柄io_handle
   5876 [主要] ?1500 fhandler_base::fork_fixup: /f/gitsvntest/.git/aA7kR4Avx4 -
Win32错误6,句柄io_handle
40306890 [main] perl.exe" 3860 fork_copy:加载的 dll 数据/bss 传递 0 失败,0x6
7604000..0x67604014,完成 0,windows pid 1500,Win32 错误 487
      0 [主] ?3356 fhandler_base::fork_fixup: /libexec/git-core/git-svn - Win3
2 错误6,句柄io_handle
    260 [主] ?3356 fhandler_base::fork_fixup: /usr/lib/perl5/5.8.8/Term/Cap.pm
 - Win32错误6,句柄io_handle
   1361 [main] ?3356 fhandler_base::fork_fixup: /dev/pipew - Win32 错误 6,手
le io_handle
   6935 [主要] ?3356 fhandler_base::fork_fixup: /f/gitsvntest/.git/bk7BX7R03b -
Win32错误6,句柄io_handle
   7092 [主要] ?3356 fhandler_base::fork_fixup: /f/gitsvntest/.git/aA7kR4Avx4 -
Win32错误6,句柄io_handle
45360601 [main] perl.exe" 3860 fork_copy:加载的 dll 数据/bss 传递 0 失败,0x6
7604000..0x67604014,完成 0,windows pid 3356,Win32 错误 487
      0 [主] 1284 fhandler_base::fork_fixup: /libexec/git-core/git-svn - Win3
2 错误6,句柄io_handle
    698 [主要] ?1284 fhandler_base::fork_fixup: /usr/lib/perl5/5.8.8/Term/Cap.pm
 - Win32错误6,句柄io_handle
   6959 [main] ?1284 fhandler_base::fork_fixup: /dev/pipew - Win32 错误 6,手
le io_handle
   7059 [主要] ?1284 fhandler_base::fork_fixup: /f/gitsvntest/.git/bk7BX7R03b -
Win32错误6,句柄io_handle
   2267 [主要] ?1284 fhandler_base::fork_fixup: /f/gitsvntest/.git/aA7kR4Avx4 -
Win32错误6,句柄io_handle
50404771 [main] perl.exe" 3860 fork_copy:加载的 dll 数据/bss 传递 0 失败,0x6
7604000..0x67604014,完成 0,windows pid 1284,Win32 错误 487
      0 [主] ?4120 fhandler_base::fork_fixup: /libexec/git-core/git-svn - Win3
2 错误6,句柄io_handle
    317 [主要] ?4120 fhandler_base::fork_fixup: /usr/lib/perl5/5.8.8/Term/Cap.pm
 - Win32错误6,句柄io_handle
   6634 [main] ?4120 fhandler_base::fork_fixup: /dev/pipew - Win32 错误 6,手
le io_handle
   6699 [主要] ?4120 fhandler_base::fork_fixup: /f/gitsvntest/.git/bk7BX7R03b -
Win32错误6,句柄io_handle
   6755 [主要] ?4120 fhandler_base::fork_fixup: /f/gitsvntest/.git/aA7kR4Avx4 -
Win32错误6,句柄io_handle
55449698 [main] perl.exe" 3860 fork_copy:加载的 dll 数据/bss 传递 0 失败,0x6
7604000..0x67604014,完成 0,Windows PID 4120,Win32 错误 487
      0 [主] ?3440 fhandler_base::fork_fixup: /libexec/git-core/git-svn - Win3
2 错误6,句柄io_handle
    207 [主] ?3440 fhandler_base::fork_fixup: /usr/lib/perl5/5.8.8/Term/Cap.pm
 - Win32错误6,句柄io_handle
    852 [main] ?3440 fhandler_base::fork_fixup: /dev/pipew - Win32 错误 6,手
le io_handle
   6945 [主要] ?3440 fhandler_base::fork_fixup: /f/gitsvntest/.git/bk7BX7R03b -
Win32错误6,句柄io_handle
   7040 [主要] ?3440 fhandler_base::fork_fixup: /f/gitsvntest/.git/aA7kR4Avx4 -
Win32错误6,句柄io_handle
61057400 [main] perl.exe" 3860 fork_copy:加载的 dll 数据/bss 传递 0 失败,0x6
7604000..0x67604014,完成 0,windows pid 3440,Win32 错误 487
      0 [主] ?5460 fhandler_base::fork_fixup: /libexec/git-core/git-svn - Win3
2 错误6,句柄io_handle
    474 [main] ?5460 fhandler_base::fork_fixup: /usr/lib/perl5/5.8.8/Term/Cap.pm
 - Win32错误6,句柄io_handle
   5882 [main] ?5460 fhandler_base::fork_fixup: /dev/pipew - Win32 错误 6,手
le io_handle
   7563 [主要] ?5460 fhandler_base::fork_fixup: /f/gitsvntest/.git/bk7BX7R03b -
Win32错误6,句柄io_handle
  12664 [主要] ?5460 fhandler_base::fork_fixup: /f/gitsvntest/.git/aA7kR4Avx4 -
Win32错误6,句柄io_handle
66108342 [main] perl.exe" 3860 fork_copy:加载的 dll 数据/bss 传递 0 失败,0x6
7604000..0x67604014,完成 0,Windows PID 5460,Win32 错误 487
      0 [主] ?3084 fhandler_base::fork_fixup: /libexec/git-core/git-svn - Win3
2 错误6,句柄io_handle
    304 [main] ?3084 fhandler_base::fork_fixup: /usr/lib/perl5/5.8.8/Term/Cap.pm
 - Win32错误6,句柄io_handle
    699 [main] ?3084 fhandler_base::fork_fixup: /dev/pipew - Win32 错误 6,手
le io_handle
    843 [主要] ?3084 fhandler_base::fork_fixup: /f/gitsvntest/.git/bk7BX7R03b -
Win32错误6,句柄io_handle
    929 [主要] 3084 fhandler_base::fork_fixup: /f/gitsvntest/.git/aA7kR4Avx4 -
Win32错误6,句柄io_handle
71155467 [main] perl.exe" 3860 fork_copy:加载的 dll 数据/bss 传递 0 失败,0x6
7604000..0x67604014,完成 0,windows pid 3084,Win32 错误 487
4

1 回答 1

1

Every now and then one hits this problem with Cygwin. The fix is running rebaseall.

Sometimes, after updating or installing packages, you'll start to get strange errors related to fork() or .dll loading. These errors are usually solved by rebasing your packages.

Rebasing

Installing Required Packages

To rebase, you first need to install two packages:

  • dash (or ash)
  • rebase

Stop Running Services

Now that you have the packages you need, you'll need to make sure no Cygwin-based services are running (including X11, SSH, etc). If you don’t feel up to figuring out how to stop every running Cygwin service, restarting your computer in safe-mode might be an effective hack.

Rebase Everything

Now that no Cygwin services are running, you can rebase your packages. Open a Windows command prompt (by going to the "Run" menu and entering "cmd"). Once there, type or right-click and paste the following commands. Be patient, this’ll take a minute:

\cygwin\bin\dash -c '/usr/bin/rebaseall'
exit
exit

As an alternative method you may also try under Windows 7 going to C:\cygwin\bin, and via right-click running dash.exe as Administrator, and then at the dash command prompt, type the following commands:

/usr/bin/rebaseall -v
exit

Rebasing all your packages will take a few minutes but should resolve the forking errors. Unfortunately, this seems to be machine-specific and can't be done by Cygwin's upstream.

For more, read Rebaseall on the Cygwin wiki.

于 2013-04-22T09:55:53.763 回答