-
Notifications
You must be signed in to change notification settings - Fork 605
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
criu c/r failed on qt gui demo & qt console demo on ubuntu #2526
Comments
Not sure what your test programs are but generally CRIU cannot checkpoint GUI applications. Have you seen https://criu.org/VNC ? It describes a possible way to do it, but processes with a GUI are not really supported. |
thanks for replying, the qt gui demo doesn't work might due to this reason, but qt console demo should not using gui, it shows restore success, but i can't find it in the process.
|
Thanks for the example. Using your code I am able to checkpoint a restore the application without any problems:
Why do you say that the restore does not work? How do you check if the process is running? |
there is no output on terminal after restore, then i check the recent pid using below command, can't find related process |
I searched and found a documentation which said to do this:
|
A friendly reminder that this issue had no activity for 30 days. |
Description
Steps to reproduce the issue:
it is a very easy qt demo
qt gui demo: it has a text showing seconds on mainwindow, every second +1;
qt console demo: it prints text showing seconds in qt console, every second +1;
Describe the results you received:
qt gui demo: dump failed, reports that "External socket is used". When using --ext-unix-sk, still dump failed, reports that "Can't dump half of a stream unix connection"
qt console demo: in log reports dump success and restore success. Actually not restore successfully.
Describe the results you expected:
both demo could c/r success
Additional information you deem important (e.g. issue happens only occasionally):
CRIU logs and information:
CRIU full dump/restore logs:
qt gui demo dump
sudo criu dump -t 189360 --tcp-established --shell-job -o dump.log -v4 -D gui-demo/ --ext-unix-sk
qt console demo dump
sudo criu dump -t 189917 --tcp-established --shell-job -o dump.log -v4 -D con3/
qt console demo restore
sudo criu restore --tcp-established --shell-job -o restore.log -v4 -D con3/
Output of `criu --version`:
Output of `criu check --all`:
Additional environment details:
The text was updated successfully, but these errors were encountered: