Re: SEGV in git-apply
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Jan 20, 2007, 02:14 UTC
- Message-ID
- <Pine.LNX.4.63.0701200312000.22628@wbgn013.biozentrum.uni-wuerzburg.de>
- In-Reply-To
- <20070120014851.GF5231@admingilde.org>
Hi,
On Sat, 20 Jan 2007, Martin Waitz wrote:
> Program received signal SIGSEGV, Segmentation fault. > 0x080500fa in apply_patch (fd=5, filename=0xbf821b4d "/tmp/404241.patch", > inaccurate_eof=<value optimized out>) at builtin-apply.c:2504 > 2504 if (pathlen <= prefix_length ||
It seems that the culprit is not this line (you have an optimized binary, so that is expected).
My guess is that your patch does not contain a new name, neither an old name.
It could also be that the filename has length 0.
But without that patch I cannot tell.
Ciao, Dscho