Closed GoogleCodeExporter closed 9 years ago
I was meaning to say
$ "/usr/local/git/share/git-gui/lib/Git Gui.app/Contents/MacOS/Wish"
/usr/local/git/share/git-gui/lib/git-gui.tcl
Illegal instruction: 4
above.
Original comment by sschuberth
on 18 Dec 2012 at 10:31
I have the same issue. ..and it still persists with git v 1.8.1 which I just
installed a few mins ago.
Original comment by momobadilak
on 6 Jan 2013 at 9:00
Same for me: same issue and persists with git v1.8.1
Original comment by muecke1...@gmail.com
on 12 Jan 2013 at 3:07
Ok, found a workaround for me (for v1.8.1):
1) renamed the tcltk script
# mv /usr/local/git//share/git-gui/lib/git-gui.tcl
/usr/local/git//share/git-gui/lib/git-gui
2) and changed the wrapper script:
# diff /usr/local/git/libexec/git-core/git-gui
/usr/local/git/libexec/git-core/git-gui.orig
7c7
< exec '/usr/local/git//share/git-gui/lib/git-gui' "$@"
---
> exec '/usr/local/git/share/git-gui/lib/Git Gui.app/Contents/MacOS/Wish'
"$0" "$@"
Greetings
Ralf
Original comment by muecke1...@gmail.com
on 13 Jan 2013 at 1:47
Ralf's work-around works for me, too. However, I believe it can be further
simplified by just doing:
$ mv /usr/local/git/share/git-gui/lib/git-gui.tcl
/usr/local/git/libexec/git-core/git-gui
This is because the "git-gui" wrapper script does nothing but handling the
"--version" argument, but that is already handled by "git-gui.tcl". Also, I
compared this to how git is installed on Ubuntu 12.04, and there is no
"git-gui" file in "/usr/share/git-gui/lib/" (just a "git-gui.ico"), and the
real "git-gui" script is in "/usr/lib/git-core/git-gui".
Original comment by sschuberth
on 14 Jan 2013 at 10:12
Also, the way the current wrapper script is written really does not make any
sense at all as it just uses "wish" to recursively call itself infinitely,
which probably is the root cause of the signal 11 error.
Original comment by sschuberth
on 14 Jan 2013 at 10:31
Just to confirm that @sschuberth's workaround worked for me. Thanks
Original comment by marc-an...@marc-andre.ca
on 11 Feb 2013 at 2:05
I'm running into this issue as well, but I've learned by downgrading repeatedly
that this issue has been around since releases dating back to 2011. The latest
stable version for me was 1.7.6.1.
Other git commands such as the osxkeychain can die too with signal 11 and that
command was introduced in 1.7.10, so I'd say the problem could have been
introduced in that release.
Can we please get a developer on this?
Having to downgrade back to 1.7.6.1 or having to overwrite parts of my git
install myself seems 'icky'...
Original comment by magentix
on 26 Jun 2013 at 9:05
I can confirm that version 1.7.9.4 works just fine.
Original comment by magentix
on 26 Jun 2013 at 9:29
Yep, I can confirm magnetix. OS X 10.7.5 and Git v 1.7.9.4 works perfectly.
http://code.google.com/p/git-osx-installer/downloads/detail?name=git-1.7.9.4-int
el-universal-snow-leopard.dmg&can=2&q=
Original comment by lawrence...@gmail.com
on 19 Jul 2013 at 1:50
I installed latest and could not launch git gui, also getting error 11.
Uninstalling 1.8.3.2, and installing 1.7.9.4 fixed that issue.
I am running OS X 10.7.5. Git Gui.app, also runs, which is nice.
Original comment by bell...@gmail.com
on 25 Aug 2013 at 11:13
Same issue here: OS X 10.6.8, git version 1.8.3, error 11.
Ralf's workaround worked for me
Original comment by dparou...@gmail.com
on 7 Oct 2013 at 4:54
I came here because my 'git citool' mysteriously broke.
It seems that XCode installs its own Git:
http://stackoverflow.com/questions/10904774/install-git-separately-from-xcode
I have recently installed XCode *and* its command-line utilities because I
wanted to compile some other OSS project.
I fixed this by following the directions at the link above and changing my
$PATH to prefer the Git that *I* installed.
Also note, I'd recommend against sschuberth's suggestion. 'git citool' relies
on the file location /usr/local/git/share/git-gui/lib/git-gui.tcl.
Original comment by cody.cas...@gmail.com
on 10 Oct 2013 at 7:53
Ralf's work-around works for git version 1.8.4.2 on Mac OS X 10.7.5 (Lion).
Note running 'Git Gui.app' from either Finder or Terminal seg faults:
"KERN_PROTECTION_FAILURE at 0x00007fff5fc01028".
Original comment by gh.is...@gmail.com
on 12 Dec 2013 at 6:54
sschuberth's workaround confirmed working on 1.8.4.2 on os10.6
remember sudo
Original comment by wangtong...@gmail.com
on 6 Mar 2014 at 3:28
Uninstalling 1.8.3.2 and Installing 1.7.9.4 Worked for me!
Original comment by QuentinA...@gmail.com
on 22 Jun 2014 at 4:40
Original comment by timchar...@gmail.com
on 29 Jun 2014 at 8:36
Original issue reported on code.google.com by
sschuberth
on 18 Dec 2012 at 10:26