Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

git_clone Segmentation fault #88

Open
Devying opened this issue Nov 16, 2017 · 0 comments
Open

git_clone Segmentation fault #88

Devying opened this issue Nov 16, 2017 · 0 comments

Comments

@Devying
Copy link

Devying commented Nov 16, 2017

open("/data/php/lib/php/extensions/no-debug-non-zts-20131226/git2.so", 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\200\\\3\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=4192650, ...}) = 0
mmap(NULL, 3480840, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fd2745ff000
mprotect(0x7fd274736000, 2097152, PROT_NONE) = 0
mmap(0x7fd274936000, 110592, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x137000) = 0x7fd274936000
close(3)                                = 0
brk(0x17b1000)                          = 0x17b1000
brk(0x17d2000)                          = 0x17d2000
futex(0x7fd27f644a80, FUTEX_WAKE_PRIVATE, 2147483647) = 0
brk(0x17f3000)                          = 0x17f3000
brk(0x1814000)                          = 0x1814000
gettid()                                = 15912
rt_sigaction(SIGPIPE, {SIG_IGN, [], SA_RESTORER, 0x7fd27e6a2660}, NULL, 8) = 0
brk(0x1835000)                          = 0x1835000
brk(0x1856000)                          = 0x1856000
brk(0x1877000)                          = 0x1877000
brk(0x1898000)                          = 0x1898000
brk(0x18b9000)                          = 0x18b9000
brk(0x18da000)                          = 0x18da000
brk(0x18fb000)                          = 0x18fb000
brk(0x191c000)                          = 0x191c000
brk(0x193d000)                          = 0x193d000
brk(0x195e000)                          = 0x195e000
brk(0x197f000)                          = 0x197f000
brk(0x19a0000)                          = 0x19a0000
brk(0x19c1000)                          = 0x19c1000
brk(0x19e2000)                          = 0x19e2000
open("git.php", O_RDONLY)               = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=156, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fd281803000
read(3, "<?php\n#echo 123;\n$repo = git_clo"..., 4096) = 156
lseek(3, 0, SEEK_SET)                   = 0
getcwd("/home/huangby", 4096)           = 14
lstat("/home/huangby/git.php", {st_mode=S_IFREG|0644, st_size=156, ...}) = 0
lstat("/home/huangby", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
lstat("/home", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
rt_sigaction(SIGPROF, {0x814720, [PROF], SA_RESTORER|SA_RESTART, 0x7fd27e6a2660}, {SIG_DFL, [], 0}, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [PROF], NULL, 8) = 0
brk(0x1a0d000)                          = 0x1a0d000
socket(PF_NETLINK, SOCK_RAW, 0)         = 4
bind(4, {sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 0
getsockname(4, {sa_family=AF_NETLINK, pid=15912, groups=00000000}, [12]) = 0
sendto(4, "\24\0\0\0\26\0\1\3\277\r\rZ\0\0\0\0\0\0\0\0", 20, 0, {sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 20
recvmsg(4, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"0\0\0\0\24\0\2\0\277\r\rZ(>\0\0\2\10\200\376\1\0\0\0\10\0\1\0\177\0\0\1"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 108
recvmsg(4, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"\24\0\0\0\3\0\2\0\277\r\rZ(>\0\0\0\0\0\0", 4096}], msg_controllen=0, msg_flags=0}, 0) = 20
close(4)                                = 0
socket(PF_INET, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, IPPROTO_TCP) = 4
connect(4, {sa_family=AF_INET, sin_port=htons(11211), sin_addr=inet_addr("10.100.15.241")}, 16) = -1 EINPROGRESS (Operation now in progress)
poll([{fd=4, events=POLLOUT}], 1, 4000) = 1 ([{fd=4, revents=POLLOUT}])
getsockopt(4, SOL_SOCKET, SO_ERROR, [0], [4]) = 0
sendto(4, "add memc.sess.key.lock.nip9it2fv"..., 69, MSG_NOSIGNAL, NULL, 0) = 69
recvfrom(4, 0x19dfde0, 8196, 16384, 0, 0) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=4, events=POLLIN}], 1, 5000)  = 1 ([{fd=4, revents=POLLIN}])
recvfrom(4, "STORED\r\n", 8196, MSG_NOSIGNAL, NULL, NULL) = 8
socket(PF_NETLINK, SOCK_RAW, 0)         = 5
bind(5, {sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 0
getsockname(5, {sa_family=AF_NETLINK, pid=15912, groups=00000000}, [12]) = 0
sendto(5, "\24\0\0\0\26\0\1\3\277\r\rZ\0\0\0\0\0\0\0\0", 20, 0, {sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 20
recvmsg(5, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"0\0\0\0\24\0\2\0\277\r\rZ(>\0\0\2\10\200\376\1\0\0\0\10\0\1\0\177\0\0\1"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 108
recvmsg(5, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"\24\0\0\0\3\0\2\0\277\r\rZ(>\0\0\0\0\0\0", 4096}], msg_controllen=0, msg_flags=0}, 0) = 20
close(5)                                = 0
socket(PF_INET, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, IPPROTO_TCP) = 5
connect(5, {sa_family=AF_INET, sin_port=htons(11211), sin_addr=inet_addr("10.100.15.242")}, 16) = -1 EINPROGRESS (Operation now in progress)
poll([{fd=5, events=POLLOUT}], 1, 4000) = 1 ([{fd=5, revents=POLLOUT}])
getsockopt(5, SOL_SOCKET, SO_ERROR, [0], [4]) = 0
sendto(5, "get memc.sess.key.nip9it2fvc3b2s"..., 46, MSG_NOSIGNAL, NULL, 0) = 46
recvfrom(5, 0x19e42a0, 8196, 16384, 0, 0) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=5, events=POLLIN}], 1, 5000)  = 1 ([{fd=5, revents=POLLIN}])
recvfrom(5, "END\r\n", 8196, MSG_NOSIGNAL, NULL, NULL) = 5
fstat(0, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0
fstat(0, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0
fstat(0, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fd281802000
lseek(0, 0, SEEK_CUR)                   = -1 ESPIPE (Illegal seek)
fstat(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0
fstat(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0
fstat(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fd281801000
lseek(1, 0, SEEK_CUR)                   = -1 ESPIPE (Illegal seek)
fstat(2, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0
fstat(2, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0
lseek(2, 0, SEEK_CUR)                   = -1 ESPIPE (Illegal seek)
getcwd("/home/huangby", 4096)           = 14
ioctl(3, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, 0x7fffa2b48830) = -1 ENOTTY (Inappropriate ioctl for device)
fstat(3, {st_mode=S_IFREG|0644, st_size=156, ...}) = 0
mmap(NULL, 188, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fd281800000
munmap(0x7fd281800000, 188)             = 0
close(3)                                = 0
munmap(0x7fd281803000, 4096)            = 0
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0} ---
+++ killed by SIGSEGV +++
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant