I regularly work with
git on an SMB mounted share on my MacBook. Recently I get this error every time I try to run certain git commands:
zsh: bus error git status. The same error happens with log, diff, and show. But other commands like
git remote work fine.
From my searches online, this error suggests the memory address is not accessible. I don't have any problems running git on a local folder. And I haven't noticed any other problems with this SMB mount; I can read/write files. The problem only happens with git on SMB.
I tried switching to bash and it has the same issue:
bash-3.2$ git status -v Bus error: 10
I believe the repo itself is okay because I can run git commands via SSH on the remote server with no issue.
I believe this problem started when I upgraded to Ventura. I'm currently on 13.2.1 with git version
2.37.1 (Apple Git-137.1)