-
Notifications
You must be signed in to change notification settings - Fork 148
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
GUI Soft lock when trying to switch from an already tracing process #275
Comments
I can't repro this on the dev install but it does seem to happen on AppImage (which is what you use according to the log).
I don't have this error when it happens on AppImage though, it's something different so I'm not sure why that happens to you. Just to confirm, can you try to repro this on the dev install? Follow the instructions here and it should work directly as you're on Arch. |
I have installed the local dev, and it seems to work fine. Though something of note during my installation, there are a few errors that I have to resolve, I believe it's because I am using both outdated packages of python, qt and GDB. everything breaks when python 3.13 was not installed, which is expected. After fixing those, everything works fine. Though when I switched back and tried the AppImage again, it seems it be having errors with python this time, I'm assuming this is because my installation of python was broken.(although I am unsure what is causing the exact problem) EOF exception caught within pexpect, here's the contents of child.before: Here is the terminal output after trying it again with app image.
In short, Dev install works fine, but AppImage this time isn't GUI soft locking(thats one step forward), but complaining that GDB is not initialized due to 'enncodings' python modules not found. and I believe it might be just because I have either out-of-date packages or installed python incorrectly. |
That's the same error I'm having so we're in the same page now. Dev install does everything in a venv, so anything you have in your distro is "mostly" irrelevant. AppImage also has nothing to do with your local python or gdb, it uses everything that's bundled inside. We'll look into why it's not working for AppImage. |
I see, Im not a python person so I didnt know about that! I do prefer using AppImage over installation due to it's portability. though I will be using the dev install for now. Thanks a lot for helping! |
@AMAIOLAMO I'm able to reproduce the bug, thanks for reporting. However, the error I got is different:
For some reason, gdb cannot find the capstone module after detaching from the first process. To produce less logs, I've tested it by switching between two different bash processes |
My error is the same as his. Basically after detaching (only in AppImage) our bundled GDB loses the PYTHONHOME env var and can't find the bundled deps. Looked into it a bit more and can't figure out why it loses it. Will check out more later when I have more time, but feel free to tackle it if you want Korcan (or anybody else that wants to do a PR). |
I was trying to trace multiple different programs on Arch Linux
Description
Normally attaching processes the first time works flawlessly, but whenever I try to switch to another process(which is after I already attached a process), the Console showed some kind of GDB fatal error:
Steps To Reproduce
Notes
I noticed that PINCE's GUI seems to be soft locked due to some GDB issues. but pince itself can still receive inputs (such as like Ctrl + C that seems to tell PINCE to cancel the previous GDB command).
This seems to happen with any program, not necessarily just a specific one.
I am not sure if this is PINCE's issue, or GDB's issue, please let me know.
The text was updated successfully, but these errors were encountered: