尝试在“ 写字对象” 时按键挂起时, 我遇到一个问题。 这不是我在别处看到的 Windows 和 git- damon 的常见情景。 这是 Linux 到 Linux, 使用 ssh 。 在客户端和服务器上, git 版本为 1.7. 8. 6 。
我试过做以下工作:
- Create a local empty repo and push to that -- works fine
- Pull from local repo to local repo -- works fine
- Clone the remote repo to the local machine -- works fine
git fsck
andgit gc
on both server and client repos- Push to pre-existing remote repo -- hangs writing objects at 11%
- Create empty remote repo and push to that -- hangs writing objects at 2%
可以设置一个 env 变量,使 git 生成调试信息。那里没有什么用处。
我和研究中心里的人谈了很久,我试着去勾引它。我们一无所获。有谁能帮我弄清楚出了什么问题吗?
谢谢!
更新: 根据某人的建议, 我做了一个 < code> storcece - F , 它会卡在子进程的一个选择上 。 我提供整个跟踪, 但书桌交换没有上传的途径 。 总之, 这里有相关的部分 :
[pid 14414] getsockopt(3, SOL_SOCKET, SO_RCVBUF, [87872], [4]) = 0^M
[pid 14414] select(7, [3 4], [3], NULL, NULL) = 2 (in [4], out [3])^M
[pid 14414] read(4, <unfinished ...>^M
[pid 14433] <... write resumed> ) = 8192^M
[pid 14433] write(1, "26236237265234
332W26271.250271W34250N34*341247R21177\Dq232721127025"..., 8192) = 8192^M
[pid 14433] write(1, "Y343}z36731y321)254236na274347*253247264d252133642433312422363222U3246"..., 8192 <unfinished ...>^M
[pid 14414] <... read resumed> "t277177276361377327U361Ref347300273255}E3632277312p356F335U345336250273"..., 16384) = 16384^M
[pid 14414] write(3, "210y
202303`222m216177x 354216Y322n232l27323721435232
261r31134735623626"..., 16432) = 16432^M
[pid 14414] getsockopt(3, SOL_SOCKET, SO_RCVBUF, [87872], [4]) = 0^M
[pid 14414] select(7, [3], [3], NULL, NULL) = 1 (out [3])^M
[pid 14414] write(3, "v26735533257332330326233260;223212z33321321 1207366"f253373 05924206C4"..., 5504) = 5504^M
[pid 14414] getsockopt(3, SOL_SOCKET, SO_RCVBUF, [87872], [4]) = 0^M
[pid 14414] select(7, [3], [], NULL, NULL <unfinished ...>^M
[pid 14433] <... write resumed> ) = ? ERESTARTSYS (To be restarted if SA_RESTART is set)^M
[pid 14433] --- SIGALRM {si_signo=SIGALRM, si_code=SI_KERNEL, si_value={int=1, ptr=0x1}} ---^M
[pid 14433] rt_sigreturn() = 1^M
[pid 14433] write(1, "Y343}z36731y321)254236na274347*253247264d252133642433312422363222U3246"..., 8192) = ? ERESTARTSYS (To be restarted if SA_RESTART is set)^M
[pid 14433] --- SIGALRM {si_signo=SIGALRM, si_code=SI_KERNEL, si_value={int=1, ptr=0x1}} ---^M
[pid 14433] rt_sigreturn() = 1^M
[pid 14433] write(1, "Y343}z36731y321)254236na274347*253247264d252133642433312422363222U3246"..., 8192) = ? ERESTARTSYS (To be restarted if SA_RESTART is set)^M
[pid 14433] --- SIGALRM {si_signo=SIGALRM, si_code=SI_KERNEL, si_value={int=1, ptr=0x1}} ---^M
[pid 14433] rt_sigreturn() = 1^M
[pid 14433] write(1, "Y343}z36731y321)254236na274347*253247264d252133642433312422363222U3246"..., 8192) = ? ERESTARTSYS (To be restarted if SA_RESTART is set)^M
[pid 14433] --- SIGALRM {si_signo=SIGALRM, si_code=SI_KERNEL, si_value={int=1, ptr=0x1}} ---^M
[pid 14433] rt_sigreturn() = 1^M