git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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
Next: Linus Torvalds
Message 1 of 10 in “git-send-pack SIGSEGV..”
  1. Linus TorvaldsJun 15, 2007
  2. Linus TorvaldsJun 15, 2007
  3. Junio C HamanoJun 15, 2007
  4. Junio C HamanoJun 15, 2007
  5. Alex RiesenJun 15, 2007
  6. Daniel BarkalowJun 15, 2007
  7. Linus TorvaldsJun 15, 2007
  8. Junio C HamanoJun 16, 2007
  9. Daniel BarkalowJun 16, 2007
  10. Junio C HamanoJun 16, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.