Re: What's in git.git

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Nicolas Pitre <nico@...>
Cc: Randal L. Schwartz <merlyn@...>, Junio C Hamano <junkio@...>, Git Mailing List <git@...>
Date: Wednesday, May 10, 2006 - 12:48 pm

On Wed, 10 May 2006, Nicolas Pitre wrote:

Yeah, I get 

	#0  0x1000bfe4 in create_delta (index=0xf7d758a0, trg_buf=0xf7d72eb8, trg_size=327, delta_size=0xffb422b4, 
	    max_size=143) at diff-delta.c:308
	#1  0x10005734 in try_delta (trg=0xf7fdbfa0, src=0xf7fdbf94, src_index=0xf7d758a0, max_depth=10)
	    at pack-objects.c:1049
	#2  0x10005b04 in find_deltas (list=0xf7e32f54, window=11, depth=10) at pack-objects.c:1128
	#3  0x10005ca0 in prepare_pack (window=10, depth=10) at pack-objects.c:1161
	#4  0x1000677c in main (argc=3, argv=0xffb436e4) at pack-objects.c:1359

ie the "entry" chain seems to be corrupt in create_delta.

Actually, it's not even the chain: it's the very first entry:

	(gdb) p index->hash[i]
	$2 = (struct index_entry *) 0xf7d7385c
	(gdb) p entry
	$3 = (struct index_entry *) 0xf7d7385c

and it's not a random value - it looks perfectly valid. As do all the 
other index hash entries. It's just that the index hash entries seem to 
all have been freed, so accessing them causes a SIGSEV!

			Linus
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
What's in git.git, Junio C Hamano, (Tue May 9, 11:11 pm)
Re: What's in git.git, Martin Langhoff, (Wed May 10, 1:34 am)
Re: What's in git.git, Randal L. Schwartz, (Wed May 10, 12:36 am)
Re: What's in git.git, Junio C Hamano, (Wed May 10, 1:05 am)
Re: What's in git.git, Linus Torvalds, (Wed May 10, 12:45 am)
Re: What's in git.git, Nicolas Pitre, (Wed May 10, 10:15 am)
Re: What's in git.git, Linus Torvalds, (Wed May 10, 12:48 pm)
Re: What's in git.git, Alex Riesen, (Wed May 10, 11:00 am)
Re: What's in git.git, Linus Torvalds, (Wed May 10, 12:21 am)
Re: What's in git.git, Junio C Hamano, (Wed May 10, 12:41 am)
Re: What's in git.git, Linus Torvalds, (Wed May 10, 12:51 am)
Re: What's in git.git, Linus Torvalds, (Wed May 10, 12:26 am)
Re: What's in git.git, Linus Torvalds, (Tue May 9, 11:48 pm)