Git GUI Crash Signal 6

六眼飞鱼酱① 提交于 2021-02-17 14:43:12

问题


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)


回答1:


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.




回答2:


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.



来源:https://stackoverflow.com/questions/24645228/git-gui-crash-signal-6

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!