You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Cygwin中git clone命令无法正常工作的问题求助

Cygwin下git clone静默失败问题

在Cygwin中执行git clone命令拉取googletest仓库时,命令执行后未完成仓库同步就直接退出,执行过程如下:

~/googletest$ git clone https://github.com/google/googletest.git
Cloning into 'googletest'...
~/googletest$

使用strace追踪命令执行过程,输出如下:

~/googletest$ strace --mask=sigp git clone https://github.com/google/googletest
--- Process 10372 created
--- Process 10372 loaded C:\Windows\System32\ntdll.dll at 00007ff990390000
--- Process 10372 loaded C:\Windows\System32\kernel32.dll at 00007ff98f920000
--- Process 10372 loaded C:\Windows\System32\KernelBase.dll at 00007ff98db70000
--- Process 10372 loaded D:\@DevDocs\cygwin64\bin\cygwin1.dll at 0000000180040000
--- Process 10372 loaded D:\@DevDocs\cygwin64\bin\cygiconv-2.dll at 00000005461d0000
--- Process 10372 loaded D:\@DevDocs\cygwin64\bin\cygintl-8.dll at 00000005ee2d0000
--- Process 10372 loaded D:\@DevDocs\cygwin64\bin\cygpcre2-8-0.dll at 0000000453a70000
--- Process 10372 loaded D:\@DevDocs\cygwin64\bin\cygz.dll at 0000000597fd0000
--- Process 10372 loaded C:\Windows\System32\advapi32.dll at 00007ff98f870000
--- Process 10372 loaded C:\Windows\System32\msvcrt.dll at 00007ff98e3f0000
--- Process 10372 loaded C:\Windows\System32\sechost.dll at 00007ff9902b0000
--- Process 10372 loaded C:\Windows\System32\rpcrt4.dll at 00007ff98ef90000
--- Process 10372 loaded C:\Windows\System32\cryptbase.dll at 00007ff98d480000
--- Process 10372 loaded C:\Windows\System32\bcryptprimitives.dll at 00007ff98e030000
--- Process 10372 loaded C:\WWCNT\system\wwglhk64.dll at 00007ff957860000
--- Process 10372 loaded C:\Windows\System32\shlwapi.dll at 00007ff98f0c0000
--- Process 10372 thread 24248 created
--- Process 10372 loaded C:\WWCNT\system\WwPsProtect64.dll at 00007ff9577d0000
--- Process 10372 loaded C:\Windows\System32\user32.dll at 00007ff98e9b0000
--- Process 10372 loaded C:\Windows\System32\win32u.dll at 00007ff98de40000
--- Process 10372 loaded C:\Windows\System32\gdi32.dll at 00007ff98fdb0000
--- Process 10372 loaded C:\Windows\System32\gdi32full.dll at 00007ff98de70000
--- Process 10372 loaded C:\Windows\System32\msvcp_win.dll at 00007ff98e350000
--- Process 10372 loaded C:\Windows\System32\ucrtbase.dll at 00007ff98e250000
--- Process 10372 loaded C:\Windows\System32\imm32.dll at 00007ff98eb60000
--- Process 10372, exception c0000005 at 00007ff9903f3416
--- Process 10372 thread 18112 created
--- Process 10372 loaded C:\WWCNT\system\PrintHK64.dll at 00007ff957500000
--- Process 10372 loaded C:\Windows\System32\ntmarta.dll at 00007ff98c710000
--- Process 10372, exception c0000005 at 000000018013ae2c
--- Process 10372, exception c0000005 at 000000018006238c
--- Process 10372, exception c0000005 at 000000018006238c
--- Process 10372, exception c0000005 at 000000018006238c
--- Process 10372, exception c0000005 at 000000018006238c
--- Process 10372, exception c0000005 at 000000018006238c
--- Process 10372, exception c0000005 at 000000018006238c
--- Process 10372, exception c0000005 at 000000018006238c
--- Process 10372, exception c0000005 at 000000018006238c
--- Process 10372, exception c0000005 at 000000018006238c

已尝试重装libcurl4,问题仍未解决。

内容的提问来源于stack exchange,提问作者코딩하는원숭이

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.08.20 16:48:26