On Thu, Oct 22, 2015 at 3:38 PM, Dave S <[email protected]> wrote:
> Note that http://10.3.171.27:7070/requests does not segfault when it > gets a 401 error. > > (but the 401 doesn't the return status non-zero) I fixed that, and promptly got a seg fault. Here's *that* strace output: getsockopt(3, SOL_SOCKET, SO_ERROR, [0], [4]) = 0 getpeername(3, {sa_family=AF_INET, sin_port=htons(7070), sin_addr=inet_addr("10.3.171.27")}, [16]) = 0 getsockname(3, {sa_family=AF_INET, sin_port=htons(36803), sin_addr=inet_addr("10.3.171.34")}, [16]) = 0 sendto(3, "POST /requests HTTP/1.1\r\nAuthori"..., 192, MSG_NOSIGNAL, NULL, 0) = 192 poll([{fd=3, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}], 1, 0) = 0 (Timeout) poll([{fd=3, events=POLLIN}], 1, 1000) = 1 ([{fd=3, revents=POLLIN}]) poll([{fd=3, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}], 1, 0) = 1 ([{fd=3, revents=POLLIN|POLLRDNORM}]) recvfrom(3, "HTTP/1.1 401 Bad credentials\r\nDa"..., 16384, 0, NULL, NULL) = 685 close(3) = 0 --- SIGSEGV {si_signo=SIGSEGV, si_code=SI_KERNEL, si_addr=0} --- +++ killed by SIGSEGV (core dumped) +++ /dps -- test signature -- please apply at front gate on Tuesdays only. ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html
