From: Johannes Schindelin Date: Sat, 20 Jan 2007 02:14:46 GMT Subject: Re: SEGV in git-apply Message-ID: 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=) 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