-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ghidra exits abnormally?Is it a bug of Ghidrathon Or Jep? #14
Comments
Same thing happened to me when I ran my python script twice - ghidra crashed. |
@Vang3lis why did you close it? The problem still exists |
Sorry, I close this issue just because the issue #7 you metioned has answer my question. I will reopen it. |
Thank you for the report @Vang3lis . Can you please provide additional information including:
@IdanH101 if possible can you also please provide provide the additional information requested above? |
Ghidra version: 10.1.2 OR 10.1.5 both can trigger. Nondeterministic and it crashes when the script runs more than once. I do some modifications on this script. Here is the script. |
Ghidra version: 10.1.2 Crashes everytime I run any python script more than once. |
I was wrong. I checked many scripts, but it just accured to me they all used numpy with multiarray! Further investigation lead me to this thread: Is it possible that Ghidrathon have a problem with it for the reasons specified in that thread? Is there a work around? |
@Vang3lis I had to modify the script that you attached to execute what I believe to be the intended entry method |
@IdanH101 thank you for taking a second look. This issue appears to be caused by Ghidrathon's use of Jep's SubInterpreter versus Jep's SharedInterpreter (see Jep discussion here). TLDR; numpy does not work with sub-interpreters resulting in the crashes you are experiencing. For now, numpy usage should be avoided until we can find a configuration that works for Ghidrathon. I'll open a separate issue to track progress. If you could provide an example script that uses numpy resulting in a crash that would certainly help. |
Sorry, when I attached the script, I have modified some lines which are not related in my thought. I removed the line "import angr" and lines 65-69 should be commented. |
Here is the log.
hs_err_pid121091.log
The text was updated successfully, but these errors were encountered: