diff-core segfault

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

diff-core segfault

From: Darrin Thompson <hidden>
Date: 2016-06-15 22:42:14

$ mkdir a
$ cd a/
$ git-init-db
defaulting to local storage area
$ touch a
$ git-update-index --add a
$ git-commit -m 'message'
Committing initial tree 496d6428b9cf92981dc9495211e6e1120fb6f2ba
$ echo hello >a
$ git-diff-files
:100644 100644 e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
0000000000000000000000000000000000000000 M      a
$ git-diff-files -B
Segmentation fault

Disclaimer: I'm running 1.0rc2. I did some searching of recent mailing
list posts and commits. I see no evidence that this has been addressed.

Could someone confirm that this exists on more recent git heads and fix
if needed?

Thanks.

--
Darrin

Re: diff-core segfault

From: Johannes Schindelin <hidden>
Date: 2016-06-15 22:42:14

Hi,

On Mon, 12 Dec 2005, Darrin Thompson wrote:
$ git-diff-files -B
Segmentation fault
This looks exactly like the problem on cygwin which is fixed by using 
NO_MMAP=YesPlease.

How about enabling NO_MMAP=YesPlease on cygwin per default? I think there 
are enough cases where it helps. If it is too slow *and* the user knows 
what she's doing, she can recompile NO_MMAP=NoNoNo.

Opinions, please?

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