Skip to content

Instantly share code, notes, and snippets.

@Ovid
Created March 14, 2012 10:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Ovid/2035495 to your computer and use it in GitHub Desktop.
Save Ovid/2035495 to your computer and use it in GitHub Desktop.
strace of failed git push
execve("/usr/bin/git", ["git", "push", "-v", "origin", "users/ovid"], [/* 66 vars */]) = 0
brk(0) = 0x13f3000
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3804f8f000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=80249, ...}) = 0
mmap(NULL, 80249, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f3804f7b000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libz.so.1", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0P \0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=96816, ...}) = 0
mmap(NULL, 2191920, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f3804b59000
mprotect(0x7f3804b70000, 2093056, PROT_NONE) = 0
mmap(0x7f3804d6f000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16000) = 0x7f3804d6f000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libpthread.so.0", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0Pl\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=135500, ...}) = 0
mmap(NULL, 2212920, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f380493c000
mprotect(0x7f3804954000, 2093056, PROT_NONE) = 0
mmap(0x7f3804b53000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x17000) = 0x7f3804b53000
mmap(0x7f3804b55000, 13368, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f3804b55000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 \24\2\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1685816, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3804f7a000
mmap(NULL, 3801960, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f380459b000
mprotect(0x7f3804732000, 2093056, PROT_NONE) = 0
mmap(0x7f3804931000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x196000) = 0x7f3804931000
mmap(0x7f3804936000, 21352, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f3804936000
close(3) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3804f79000
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3804f77000
arch_prctl(ARCH_SET_FS, 0x7f3804f77720) = 0
mprotect(0x7f3804931000, 16384, PROT_READ) = 0
mprotect(0x7f3804b53000, 4096, PROT_READ) = 0
mprotect(0x7f3804d6f000, 4096, PROT_READ) = 0
mprotect(0x729000, 4096, PROT_READ) = 0
mprotect(0x7f3804f91000, 4096, PROT_READ) = 0
munmap(0x7f3804f7b000, 80249) = 0
set_tid_address(0x7f3804f779f0) = 4118
set_robust_list(0x7f3804f77a00, 0x18) = 0
futex(0x7fff0a29f89c, FUTEX_WAKE_PRIVATE, 1) = 0
futex(0x7fff0a29f89c, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 1, NULL, 7f3804f77720) = -1 EAGAIN (Resource temporarily unavailable)
rt_sigaction(SIGRTMIN, {0x7f38049426c0, [], SA_RESTORER|SA_SIGINFO, 0x7f380494c060}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {0x7f3804942750, [], SA_RESTORER|SA_RESTART|SA_SIGINFO, 0x7f380494c060}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0
brk(0) = 0x13f3000
brk(0x1414000) = 0x1414000
getcwd("/home/ovid/workspace/ThirdParty-Sync", 4096) = 46
stat(".", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat(".git", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0
access(".git/objects", X_OK) = 0
access(".git/refs", X_OK) = 0
lstat(".git/HEAD", {st_mode=S_IFREG|0664, st_size=27, ...}) = 0
open(".git/HEAD", O_RDONLY) = 3
read(3, "ref: refs/heads/users/ovid\n", 255) = 27
read(3, "", 228) = 0
close(3) = 0
access("/etc/gitconfig", R_OK) = -1 ENOENT (No such file or directory)
access("/home/ovid/.gitconfig", R_OK) = 0
open("/home/ovid/.gitconfig", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0664, st_size=412, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3804f8e000
read(3, "[user]\n\tname = Ovid\n\temail = cur"..., 4096) = 412
read(3, "", 4096) = 0
close(3) = 0
munmap(0x7f3804f8e000, 4096) = 0
access(".git/config", R_OK) = 0
open(".git/config", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0664, st_size=338, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3804f8e000
read(3, "[core]\n\trepositoryformatversion "..., 4096) = 338
read(3, "", 4096) = 0
close(3) = 0
munmap(0x7f3804f8e000, 4096) = 0
stat(".", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
getcwd("/home/ovid/workspace/ThirdParty-Sync", 1024) = 46
chdir(".") = 0
getcwd("/home/ovid/workspace/ThirdParty-Sync", 4096) = 46
lstat("/home/ovid/workspace/ThirdParty-Sync", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
chdir("/home/ovid/workspace/ThirdParty-Sync") = 0
stat(".git", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0
access("/etc/gitconfig", R_OK) = -1 ENOENT (No such file or directory)
access("/home/ovid/.gitconfig", R_OK) = 0
open("/home/ovid/.gitconfig", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0664, st_size=412, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3804f8e000
read(3, "[user]\n\tname = Ovid\n\temail = cur"..., 4096) = 412
read(3, "", 4096) = 0
close(3) = 0
munmap(0x7f3804f8e000, 4096) = 0
access(".git/config", R_OK) = 0
open(".git/config", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0664, st_size=338, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3804f8e000
read(3, "[core]\n\trepositoryformatversion "..., 4096) = 338
read(3, "", 4096) = 0
close(3) = 0
munmap(0x7f3804f8e000, 4096) = 0
access("/etc/gitconfig", R_OK) = -1 ENOENT (No such file or directory)
access("/home/ovid/.gitconfig", R_OK) = 0
open("/home/ovid/.gitconfig", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0664, st_size=412, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3804f8e000
read(3, "[user]\n\tname = Ovid\n\temail = cur"..., 4096) = 412
read(3, "", 4096) = 0
close(3) = 0
munmap(0x7f3804f8e000, 4096) = 0
access(".git/config", R_OK) = 0
open(".git/config", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0664, st_size=338, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3804f8e000
read(3, "[core]\n\trepositoryformatversion "..., 4096) = 338
read(3, "", 4096) = 0
close(3) = 0
munmap(0x7f3804f8e000, 4096) = 0
lstat(".git/HEAD", {st_mode=S_IFREG|0664, st_size=27, ...}) = 0
open(".git/HEAD", O_RDONLY) = 3
read(3, "ref: refs/heads/users/ovid\n", 255) = 27
read(3, "", 228) = 0
close(3) = 0
lstat(".git/refs/heads/users/ovid", 0x7fff0a29dfd0) = -1 ENOENT (No such file or directory)
open(".git/packed-refs", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0664, st_size=431, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3804f8e000
read(3, "# pack-refs with: peeled \na92df8"..., 4096) = 431
read(3, "", 4096) = 0
close(3) = 0
munmap(0x7f3804f8e000, 4096) = 0
access("/etc/gitconfig", R_OK) = -1 ENOENT (No such file or directory)
access("/home/ovid/.gitconfig", R_OK) = 0
open("/home/ovid/.gitconfig", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0664, st_size=412, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3804f8e000
read(3, "[user]\n\tname = Ovid\n\temail = cur"..., 4096) = 412
read(3, "", 4096) = 0
close(3) = 0
munmap(0x7f3804f8e000, 4096) = 0
access(".git/config", R_OK) = 0
open(".git/config", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0664, st_size=338, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3804f8e000
read(3, "[core]\n\trepositoryformatversion "..., 4096) = 338
read(3, "", 4096) = 0
close(3) = 0
munmap(0x7f3804f8e000, 4096) = 0
ioctl(2, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(2, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
write(2, "Pushing to gitolite:libs/perl/We"..., 55Pushing to gitolite:libs/perl/ThirdParty-Sync
) = 55
rt_sigaction(SIGCHLD, {SIG_DFL, [CHLD], SA_RESTORER|SA_RESTART, 0x7f38045d1420}, {SIG_DFL, [], 0}, 8) = 0
pipe([3, 4]) = 0
pipe([5, 6]) = 0
pipe([7, 8]) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f3804f779f0) = 4119
close(8) = 0
read(7, "", 1) = 0
close(7) = 0
close(3) = 0
close(6) = 0
read(5, "0071", 4) = 4
read(5, "e0f6e9972dc2193eb29a3ada21870377"..., 109) = 109
read(5, "003f", 4) = 4
read(5, "a92df8e5b4d88a817a45837fc7748736"..., 59) = 59
read(5, "0047", 4) = 4
read(5, "a5be8adcce907da1617645257ca5f27a"..., 67) = 67
read(5, "0043", 4) = 4
read(5, "252596b8689c451fb084be339da2dcc2"..., 63) = 63
read(5, "0000", 4) = 4
open(".git/refs", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 3
fcntl(3, F_GETFD) = 0x1 (flags FD_CLOEXEC)
getdents(3, /* 5 entries */, 32768) = 136
stat(".git/refs/tags", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0
open(".git/refs/tags", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 6
getdents(6, /* 2 entries */, 32768) = 48
getdents(6, /* 0 entries */, 32768) = 0
close(6) = 0
stat(".git/refs/heads", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0
open(".git/refs/heads", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 6
getdents(6, /* 3 entries */, 32768) = 80
stat(".git/refs/heads/users", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0
open(".git/refs/heads/users", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 7
getdents(7, /* 2 entries */, 32768) = 48
getdents(7, /* 0 entries */, 32768) = 0
close(7) = 0
getdents(6, /* 0 entries */, 32768) = 0
close(6) = 0
stat(".git/refs/remotes", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0
open(".git/refs/remotes", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 6
getdents(6, /* 3 entries */, 32768) = 80
stat(".git/refs/remotes/origin", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0
open(".git/refs/remotes/origin", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 7
getdents(7, /* 4 entries */, 32768) = 104
stat(".git/refs/remotes/origin/users", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0
open(".git/refs/remotes/origin/users", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 8
brk(0x1435000) = 0x1435000
getdents(8, /* 2 entries */, 32768) = 48
getdents(8, /* 0 entries */, 32768) = 0
brk(0x142d000) = 0x142d000
close(8) = 0
stat(".git/refs/remotes/origin/HEAD", {st_mode=S_IFREG|0664, st_size=32, ...}) = 0
lstat(".git/refs/remotes/origin/HEAD", {st_mode=S_IFREG|0664, st_size=32, ...}) = 0
open(".git/refs/remotes/origin/HEAD", O_RDONLY) = 8
read(8, "ref: refs/remotes/origin/master\n", 255) = 32
read(8, "", 223) = 0
close(8) = 0
lstat(".git/refs/remotes/origin/master", 0x7fff0a29dc40) = -1 ENOENT (No such file or directory)
getdents(7, /* 0 entries */, 32768) = 0
close(7) = 0
getdents(6, /* 0 entries */, 32768) = 0
close(6) = 0
getdents(3, /* 0 entries */, 32768) = 0
close(3) = 0
open(".git/objects/pack", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 3
getdents(3, /* 4 entries */, 32768) = 192
access(".git/objects/pack/pack-59c9b986aa447498085eebb10cd061f41678c7e2.keep", F_OK) = -1 ENOENT (No such file or directory)
stat(".git/objects/pack/pack-59c9b986aa447498085eebb10cd061f41678c7e2.pack", {st_mode=S_IFREG|0444, st_size=290207, ...}) = 0
getdents(3, /* 0 entries */, 32768) = 0
close(3) = 0
open(".git/objects/info/alternates", O_RDONLY|O_NOATIME) = -1 ENOENT (No such file or directory)
open(".git/objects/pack/pack-59c9b986aa447498085eebb10cd061f41678c7e2.idx", O_RDONLY|O_NOATIME) = 3
fstat(3, {st_mode=S_IFREG|0444, st_size=74012, ...}) = 0
mmap(NULL, 74012, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f3804f7c000
close(3) = 0
getrlimit(RLIMIT_NOFILE, {rlim_cur=1024, rlim_max=4*1024}) = 0
open(".git/objects/pack/pack-59c9b986aa447498085eebb10cd061f41678c7e2.pack", O_RDONLY|O_NOATIME) = 3
fstat(3, {st_mode=S_IFREG|0444, st_size=290207, ...}) = 0
fcntl(3, F_GETFD) = 0
fcntl(3, F_SETFD, FD_CLOEXEC) = 0
read(3, "PACK\0\0\0\2\0\0\n-", 12) = 12
lseek(3, 290187, SEEK_SET) = 290187
read(3, "\222w\351\225\276\207\343\243L\35[\321\246W\"d\2\273\21\327", 20) = 20
lstat(".git/refs/heads/users/ovid", 0x7fff0a29df20) = -1 ENOENT (No such file or directory)
mmap(NULL, 290207, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f3804f30000
close(3) = 0
open(".git/info/grafts", O_RDONLY) = -1 ENOENT (No such file or directory)
open(".git/shallow", O_RDONLY) = -1 ENOENT (No such file or directory)
write(4, "0088252596b8689c451fb084be339da2"..., 136) = 136
write(4, "0000", 4) = 4
pipe([3, 6]) = 0
fcntl(6, F_GETFD) = 0
fcntl(6, F_SETFD, FD_CLOEXEC) = 0
mmap(NULL, 8392704, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f3803d9a000
mprotect(0x7f3803d9a000, 4096, PROT_NONE) = 0
clone(child_stack=0x7f3804599fd0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x7f380459a9d0, tls=0x7f380459a700, child_tidptr=0x7f380459a9d0) = 4121
pipe([7, 8]) = 0
pipe([9, 10]) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f3804f779f0) = 4122
close(10) = 0
read(9, "", 1) = 0
close(9) = 0
close(7) = 0
close(4) = 0
write(8, "^e0f6e9972dc2193eb29a3ada2187037"..., 42) = 42
write(8, "^a92df8e5b4d88a817a45837fc774873"..., 42) = 42
write(8, "^a5be8adcce907da1617645257ca5f27"..., 42) = 42
write(8, "^252596b8689c451fb084be339da2dcc"..., 42) = 42
write(8, "b886471ed4275c2bbc0838d8241de7ad"..., 41) = 41
close(8) = 0
wait4(4122, Counting objects: 53, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (18/18), done.
Writing objects: 100% (28/28), 11.62 KiB, done.
Total 28 (delta 3), reused 28 (delta 3)
[{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 4122
--- SIGCHLD (Child exited) @ 0 (0) ---
read(3, Write failed: Broken pipe
0x7fff0a29eba0, 4) = ? ERESTARTSYS (To be restarted)
fatal: The remote end hung up unexpectedly
--- SIGCHLD (Child exited) @ 0 (0) ---
read(3, "", 4) = 0
write(2, "fatal: The remote end hung up un"..., 43fatal: The remote end hung up unexpectedly
) = 43
exit_group(128) = ?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment