22

I am using git version 1.9.2 with Xcode6-Beta3.

At beginning, git gui works properly.

For some reason (which I don't know...)

when typing "git gui" on Terminal,

I got the following crash message:

* Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Error (1000) creating window shape'

SOME CALL STACK INFO

libc++abi.dylib: terminating with uncaught exception of type NSException error: git-gui died of signal 6

Most suggestions I found are about "git-gui died of signal 11".

Please let me know if any suggestion or question.

Thank you for precious time on my question (or crash)

2
  • Signal 6 is an assertion being raised, aka SIGABRT. You are using a beta program. Post a message on the Apple Developer Forums and file a bug.
    – Jason Coco
    Jul 9, 2014 at 4:15
  • Hello Jason, Thank for the suggestion. I did it! Jul 12, 2014 at 18:28

2 Answers 2

64

This appears to happen when git-gui can't create the window in its last position. In my case, it is because the window location is negative. I have multiple monitors, one of which is to the upper left of the primary.

You can unset it with this:

git config --local --unset gui.geometry

The other answer "works" because it doesn't take the config into account. It avoids the issue, but doesn't actually fix it.

4
  • This alone is not enough, but apparently reduces the frequency of crash. Nov 30, 2016 at 9:52
  • 1
    @tom-kerr, you are a hero of the first order. Apr 21, 2018 at 2:20
  • 2
    This should be the selected answer. Thanks @tom-kerr
    – mojave
    Feb 22, 2019 at 14:26
  • Also solved my "Error in startup script: bad geometry specifier" problem when starting "git gui"
    – cmbarbu
    Nov 23, 2020 at 7:06
4

I found a way to use git GUI in this situation. Instead of launching git GUI on the directory of the git repository by the terminal, you can launch git GUI on other directory and use "Open Existing Respository" to open the directory of the git repository.

Please let me know if any question.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.