Skip to content
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

doc: no support for CPython faulthandler module #70

Open
mike-hunhoff opened this issue Aug 16, 2023 · 0 comments
Open

doc: no support for CPython faulthandler module #70

mike-hunhoff opened this issue Aug 16, 2023 · 0 comments
Labels
documentation Improvements or additions to documentation wontfix This will not be worked on

Comments

@mike-hunhoff
Copy link
Collaborator

The CPython faulthandler module installs fault handlers for the SIGSEGV, SIGFPE, SIGABRT, SIGBUS, and SIGILL signals. Unfortunately, our experience shows that this level of OS/process manipulation destabilizes the Java process that is running Ghidra + Ghidrathon, often resulting in a crash (SIGSEGV). For the time being, we need to document that Ghidrathon does not support the faulthandler module (and likely never will). Python modules that use the faulthandler module, e.g. pytest, should be configured to disable it, if possible. If the faulthandler module cannot be disabled then Ghidrathon does not support the Python module(s) that use it. We should also note that, in general, Ghidrathon's behavior for this level of OS/process manipulation is undefined, at best.

Known Python module using faulthandler:

Module How to disable?
pytest use -p no:faulthandler at invocation; see here
@mike-hunhoff mike-hunhoff added documentation Improvements or additions to documentation wontfix This will not be worked on labels Aug 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

1 participant