joxeankoret / diaphora

Diaphora, the most advanced Free and Open Source program diffing tool.
http://diaphora.re
GNU Affero General Public License v3.0
3.58k stars 371 forks source link

IDA Pro 7.5 Crashes when loading diaphora.py #221

Closed bahnz closed 3 years ago

bahnz commented 3 years ago

IDA Pro 7.5 crashes upon loading diaphora.py.

image

joxeankoret commented 3 years ago

Uhm... That sounds super weird. I think I'm going to need more context because there are many users of IDA 7.5 using Diaphora and nobody reported this crash.

joxeankoret commented 3 years ago

Some things to verify:

If every answer to this is "yes", then... I am a bit at loss.

bahnz commented 3 years ago

On Mon, Jun 14, 2021 at 7:38 AM Joxean @.***> wrote:

Some things to verify:

  • Does it happen with vanilla IDA (ie: without extra plugins)?
  • Do you have Python 3 x64 installed?
  • Can you run any Python command in the Python prompt from within IDA?

If every answer to this is "yes", then... I am a bit at loss.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/joxeankoret/diaphora/issues/221#issuecomment-860650806, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACJGKLZMVU6NKR4VHVJ24BLTSXZ5HANCNFSM46VEDJOQ .

joxeankoret commented 3 years ago

Aaah, now I know! You're using Python 3.9 with an IDA version that is lower than IDA 7.5 SP3: https://hex-rays.com/blog/python-3-9-support-for-ida-7-5/

As a workaround (in case you cannot upgrade IDA for a reason), downgrade Python to 3.8 or something like that.

bahnz commented 3 years ago

Updated and that fixed it! Thank you!

On Mon, Jun 14, 2021 at 12:46 PM Joxean @.***> wrote:

Aaah, now I know! You're using Python 3.9 with an IDA version that is lower than IDA 7.5 SP3: https://hex-rays.com/blog/python-3-9-support-for-ida-7-5/

As a workaround (in case you cannot upgrade IDA for a reason), downgrade Python to 3.8 or something like that.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/joxeankoret/diaphora/issues/221#issuecomment-860871688, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACJGKL4I5C3F7B5FHHSMZQLTSY6AHANCNFSM46VEDJOQ .

joxeankoret commented 3 years ago

You are welcome!