Search code examples
gitmacoshomebrewgitk

gitk error: autorelease pool page corrupted


Since this morning when I try to use gitk on a project with a git instance it gives me the below error. This never happened to me since today and I have used gitk for months now.

The only difference I can point out is that this morning, during an attempt of installation of iStat to monitor my mac mini temperatures, I ran the command sudo gem update --system and I tried also to install rubygems-update. I don't know if there is any correlation.

The specific error is this:

objc[1253]: autorelease pool page 0x7fe20e945000 corrupted
  magic     0x00000000 0x00000000 0x00000000 0x00000000
  should be 0xa1a1a1a1 0x4f545541 0x454c4552 0x21455341
  pthread   0x10f3ecdc0
  should be 0x10f3ecdc0

[1]    1253 abort      gitk

Since I've downloaded it and git through home brew, I've tried to use brew doctor, brew cleanup [-d] [-v], brew unlink and relink, and updated both git and gitk.

I'm using the following command line tool: 12.0.32.28


Solution

  • I solved the issue by resetting gitk configurations with:

    rm ~/.config/git/gitk