![]() |
IDA 8.3 and Python 3.12
Has anyone been able to run IDA 8.3 leaked well with Python 3.12?
I have fixed the imp module of old Python to importlib module of Python 3.12. But IDA 8.3 (and 7.7) both crash with IDAPython plugins that use PyQt5? Please share the patch/fix. Thanks and brgds |
it resembles me this old issue.... https://hex-rays.com/blog/ida-7-4-and-python-3-8/
|
Install pyqt5 with your version of python "pip install pyqt5". Go to the location of its installation. Copy "sip.***.pyd" to "ida\python\3\PyQt5" and rename it to "sip.pyd"
|
Thanks @aijundi
Replace IDA's sip.pyd with PyQt5's sip.pyd, IDA still crashes |
did you run idapyswitch and select python 3.12 before?
|
@TQN
does it work with older python (eg 3.11)? what is the specific error you are observing in 3.12? |
According to:
Quote:
Quote:
Quote:
Quote:
|
Python 3.12.0
Release Date: Oct. 2, 2023 IDA 8.3.230608 Release Date: June 8, 2023 means 8.3 used some pre-release 3.12 build? |
According to:
Quote:
Quote:
|
Quote:
|
All plugins which import/uses PyQt5.
For example, test with capa, telnet, lighthouse... Crash text: "IDA v8.3.230608 has encountered a problem. Please send this information and, if possible, steps to reproduce the problem to <[email protected]> Exception code: C0000005 Exception Flags: 00000000 Exception address: D39A137D Parameters: 00000000, FFFFFFFF, 00000000" From dump file, I debug and found, exception throwed from idapython.dll, extlang remove function. "Oops! internal error 1442 occurred. Further work is not possible and IDA will close. Would you like to create a crash dump for a bug report?" I will rebuild IDAPython from github repo source for IDA 8.3 and IDA 8.4 free and try test. My old Python is 3.9. IDA 77 and 8.3 run well with Python 3.9 I update to 3.12 because many lib/package Python out of support for Python 3.9. For example: ipython, jupyter... I am thinking: not a bug of IDAPython, but bug occurred from the Qt5 private patched of Hexrays. |
Full stack trace?
|
| All times are GMT +8. The time now is 17:48. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX