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

Segmentation fault #6

Open
kartik2207 opened this issue May 3, 2024 · 4 comments
Open

Segmentation fault #6

kartik2207 opened this issue May 3, 2024 · 4 comments

Comments

@kartik2207
Copy link

when I run: sudo criu restore --shell-job --restore-detached --images-dir demo

I keep getting this error:

Error (criu/cr-restore.c:1480): 2001 killed by signal 11: Segmentation fault
Error (criu/cr-restore.c:2447): Restoring FAILED.

I am not able to restore the checkpoint. Is there something I am missing. I followed all the steps for the same counter example.

@jesus-ramos
Copy link
Collaborator

Likely an issue with your CRIU version, which are you using and could you try a newer one?

@kartik2207
Copy link
Author

I used v3.19 and I was able to successfully run this step. but I got another error:

Command I ran:

cuda-checkpoint --toggle --pid $PID

Error:

Error toggling CUDA in process ID 19897: "OS call failed or operation not supported on this OS"

Is there a reason why this is happening?

@IndependenceSDS
Copy link

IndependenceSDS commented May 8, 2024

Error:

Error toggling CUDA in process ID 19897: "OS call failed or operation not supported on this OS"

Is there a reason why this is happening?

I also encountered this error. I used sudo to execute this command, and the error was solved. Therefore, I suspect that it may be due to insufficient permissions that caused this error.

@jesus-ramos
Copy link
Collaborator

You'll need to use sudo for most cuda-checkpoint operations as well as having access to /proc/

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

3 participants