![]() |
#1
|
|||
|
|||
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 |
#2
|
|||
|
|||
it resembles me this old issue.... https://hex-rays.com/blog/ida-7-4-and-python-3-8/
|
#3
|
|||
|
|||
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"
|
#4
|
|||
|
|||
Thanks @aijundi
Replace IDA's sip.pyd with PyQt5's sip.pyd, IDA still crashes |
#5
|
|||
|
|||
did you run idapyswitch and select python 3.12 before?
|
#6
|
|||
|
|||
@TQN
does it work with older python (eg 3.11)? what is the specific error you are observing in 3.12? |
#7
|
||||
|
||||
According to:
Quote:
Quote:
Quote:
Quote:
|
The Following User Says Thank You to chants For This Useful Post: | ||
niculaita (07-03-2024) |
#8
|
|||
|
|||
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? |
The Following User Says Thank You to sendersu For This Useful Post: | ||
chants (07-04-2024) |
#9
|
|||
|
|||
According to:
Quote:
Quote:
|
The Following User Says Thank You to chants For This Useful Post: | ||
sendersu (07-03-2024) |
#10
|
|||
|
|||
What are plugins that are crashing? Most are working fine for me. I will try to help.
|
#11
|
|||
|
|||
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 <support@hex-rays.com> 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. Last edited by TQN; 07-04-2024 at 08:45. |
The Following User Says Thank You to TQN For This Useful Post: | ||
niculaita (07-04-2024) |
#12
|
|||
|
|||
Full stack trace?
|
![]() |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Ida Pro Python editor v1 | Storm Shadow | Developer Section | 24 | 10-05-2017 03:08 |
x64dbg python | Storm Shadow | Developer Section | 6 | 08-04-2017 15:29 |
ollydbg2-python | sh3dow | Community Tools | 0 | 10-07-2014 04:48 |