git-send-pack SIGSEGV..

2 messages, 1 author, 2016-06-15 · open the first message on its own page

git-send-pack SIGSEGV..

From: Linus Torvalds <torvalds@linux-foundation.org>
Date: 2016-06-15 22:43:17

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

Re: git-send-pack SIGSEGV..

From: Linus Torvalds <torvalds@linux-foundation.org>
Date: 2016-06-15 22:43:17

On Thu, 14 Jun 2007, Linus Torvalds wrote:
I haevn't had time to debug this at all, but

	git push --tags all

actually SIGSEGV's for me on the git repository.
Oh, and this is with current 'master', of course. Commit 38570a47fc to be 
exact.

		Linus
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help