Vector35 / binaryninja-api

Public API, examples, documentation and issues for Binary Ninja
https://binary.ninja/
MIT License
934 stars 212 forks source link

Binary Ninja not opening on MacOS Ventura 13.1 M1 #3853

Closed ghost closed 1 year ago

ghost commented 1 year ago

Version and Platform (required):

Bug Description: Newer version of Binary Ninja won't open on my iMac 24" with M1 chip. If I set it to use Rosetta, it will open but with a error screen box: image

Steps To Reproduce: 1) Download from scratch DMG Installer 2) Install Binary Ninja 3) Open it 4) Error: image

Extra error from CLI: image

Expected Behavior: I expect BinaryNinja to open

Screenshots: Already sent

Additional Information: I already tried to use the stable version, still not working and same issues Log informations attached (dump from crash)

log.txt

plafosse commented 1 year ago

I believe you have the old Bindiff plugin. Please try to disable all plugins and launch again.

ghost commented 1 year ago

Thanks for fast answer, strange because i used the latest installer available from bindiff official website, i will try again, but what about the issue without Rosetta, is it linked to plugins thing?

plafosse commented 1 year ago

So I think for whatever reason its not crashing but its still calling the old BNLog API which was changed in later versions of BinaryNinja.

psifertex commented 1 year ago

Here's quick steps to troubleshoot by quickly disabling both settings and plugins in the future: https://docs.binary.ninja/guide/troubleshooting.html#troubleshooting-plugins

That said -- I don't think the latest bindiff works with our latest stable. It sometimes can take a bit for the natural binexport release cycle to update and track the latest releases of Binary Ninja. The short explanation is you're better off just doing a local build yourself and that way you can have good support for dev or stable, whichever you're using.

ghost commented 1 year ago

I found the issue, thanks to your messages guys Apparently the issue was really BinDiff's plugin under ~/Library/Application Support/Binary Ninja. To resolve i completely deleted the folder Binary Ninja and now works.

Thanks guys you're awesome <3

verylazyguy commented 1 year ago

I feel like this issue comes up enough that maybe if binja crashes on startup before plugins are finished loading that it should automatically restart without plugins on next launch with a popup alerting the user as to why