Re: t5541-http-push hanging
From: Shawn O. Pearce <hidden>
Date: 2016-06-15 22:47:42
Brian Gernhardt [off-list ref] wrote:
My build script for git has been hanging at t5541.2 and I haven't had the tuits to discover why. Here's what I've gotten so far, in case anyone can figure it out faster:
...
git clone $HTTPD_URL/smart/test_repo.git test_repo_clone
...
[Wed Nov 11 06:19:39 2009] [error] [client 127.0.0.1] git-http-backend(59490) malloc: *** error for object 0x100200340: incorrect checksum for freed object - object was probably modified after being freed. [Wed Nov 11 06:19:39 2009] [error] [client 127.0.0.1] *** set a breakpoint in malloc_error_break to debug
I can't reproduce this on 10.5.8. Can you try running it in the debugger and putting a breakpoint where they suggest? Maybe it will help give us some context information: REQUEST_METHOD=GET \ PATH_TRANSLATED=`pwd`/.git/info/refs \ QUERY_STRING=service=git-upload-pack \ gdb ./git-http-backend b malloc_error_break run I suspect that's where our failure is, the code path for the actual common negotiation and data transfer is shorter, and less likely to need to do a memory allocation... and therefore a free. -- Shawn.