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

Ghidrathon and pyqt5 #108

Open
anselor opened this issue Nov 8, 2024 · 1 comment
Open

Ghidrathon and pyqt5 #108

anselor opened this issue Nov 8, 2024 · 1 comment

Comments

@anselor
Copy link

anselor commented Nov 8, 2024

I'm attempting to integrate an existing Python/PyQt tool as a Ghidra script plugin. When I launch a PyQt based dialog what I'm observing is that about half of the time the dialog runs correctly and half of the time I get a black window and then everything freezes. I tried just doing a simple message box alert and I get the same intermittent lock ups. I'm curious if anyone else has tried this or has any thoughts on what might be the issue.

@williballenthin
Copy link
Contributor

My guess is that there's a deadlock somewhere between the Python GIL and the main threads for both Ghidra and Qt. I'm not sure what it will take to spawn windows from two GUI frameworks, since they'll each have their own event loops that will try to own everything.

Hopefully Im wrong though, since I haven't tried this myself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants