git-send-pack SIGSEGV..
- From
Linus Torvalds <torvalds@linux-foundation.org>
- Date
- Jun 15, 2007, 04:29 UTC
- Message-ID
- <alpine.LFD.0.98.0706142124380.14121@woody.linux-foundation.org>
I haevn't had time to debug this at all, but
git push --tags all
actually SIGSEGV's for me on the git repository. "all" is just a shorthand for the two repos I push my git repo to (so that I have it on some other machines too)
[remote "all"] url = master.kernel.org:git url = login.linux-foundation.org:git.git
Without any real debugging at all, here's what I get:
error: failed to push to 'master.kernel.org:git' error: send-pack died with strange error fatal: The remote end hung up unexpectedly error: failed to push to 'login.linux-foundation.org:git.git' error: send-pack died with strange error fatal: The remote end hung up unexpectedly
and a few core-files. The core-files look like so:
Core was generated by `/home/torvalds/bin/git-send-pack --remote=all --thin master.kernel.org git refs'. Program terminated with signal 11, Segmentation fault. #0 0x0000003959477180 in strlen () from /lib64/libc.so.6 (gdb) where #0 0x0000003959477180 in strlen () from /lib64/libc.so.6 #1 0x000000000041cebe in match_refs (src=0x64b540, dst=<value optimized out>, dst_tail=0x62c890, nr_refspec=1, refspec=<value optimized out>, all=0) at remote.c:539 #2 0x0000000000402e46 in main (argc=<value optimized out>, argv=0x7fffab2657a8) at send-pack.c:202
but I'm about to put the kids to bed, and I doubt I'll get to debug this before tomorrow. So I thought I'd send this out to Junio, Daniel and the list, in case somebody else gets to it first.
I *suspect* it's due to the refspec pattern matching changes Daniel did, but again - I haven't actually debugged it any deeper.
Linus