-
Notifications
You must be signed in to change notification settings - Fork 242
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
pyrdp-convert.py Error: Segmentation fault related to QT5 dependencies #348
Comments
A Python interpreter segfault... This is concerning. Two questions:
|
|
Do you run a graphical interface? Can you check the various suggestions in #143 please? Especially if DBus is running and if so can the current user talk to it? |
No, the Ubuntu server doesn't run a graphical interface, but I will run a graphical interface and then try the player again. |
No, pyrdp-convert doesn't require a graphical interface but it definitely needs a full install (not just
This means we are missing some GDI drawing primitives. Can you give me the client and server Windows versions? I'll write it down to look at it later. It won't impact client interactions but yes, it means that replays are corrupted. Using
Can you get a backtrace? Here are instructions to do so. Follow all the prerequisite steps then with the virtualenv activated:
You might optionally need to do a continue (or |
I tried I tried another RDP Server: Also, I used
|
Thanks this already help narrow down the problem to PySide2/QT most likely. After the segfault, you should be able to run the |
Another thought: you might not have QT installed. It's not explicitly listed in our install procedure since we assume most desktop environments would have it (I will fix that if it turns out to be the case). Check if installed:
To install:
|
Here is the backtrace of the
|
👍 👍 👍 Thanks for your hint, my PyRDP runtime env didn't have the It would be better if the convert process can be faster :) |
Installing I ran
I know 😞 |
I tried to reproduce the issue starting with an empty ubuntu 18.04 LTS vagrant box. I couldn't reproduce the issue. The reason is I think that when building the virtualbox guest additions, the missing dependencies are installed. If you want, you could reset your computer from before you installed the
or
Anything with Are you willing to do this or should we close this issue? |
I will try it in later |
I think |
You can see that one of the first dependency of
I'm trying to avoid pulling all of QT5 since this would blow up our docker image size significantly. |
You will be glad to hear that it is now 6x faster in master. I merged #349 with this improvement today. |
|
I think I might have found it. Can you try again (before installing qt5-default) to install Otherwise, the |
Re-opening. Closed by accident due to the merge of #355 (fix keyword in same sentence). |
Yeah, |
Confirmed to be fixed with #355. Thanks @chenlianghua! |
I want to convert .pyrdp to .mp4 and execute the command:
pyrdp-convert.py /home/honeypot/pyrdp-1.1.0/pyrdp_output/replays/rdp_replay_20210823_11-50-09_951_Ana810761.pyrdp --output /home/honeypot/pyrdp-1.1.0/pyrdp_output/replays -f mp4
but the output is:
I don't know what's the problem with this, need help.
This a virtual machine with
Ubuntu 18.04.5 LTS
The text was updated successfully, but these errors were encountered: