criu
criu copied to clipboard
CRIU dump error on mpv: ctty inheritance detected, no PTY peer with sid/pgrp needed
Description and error
I dumped a mpv process with no video and specifying external sockets and ran into
Error (criu/tty.c:2281): tty: ctty inheritance detected sid/pgrp 370774, no PTY peer with sid/pgrp needed
370774 is the PID of the bash process I executed mpv from
Steps to reproduce the issue:
- Run
mpv --video=no video.mp4
on a different terminal window -
criu dump -D restore/ -t $(pgrep mpv) --shell-job --ext-unix-sk --external unix[#id_pulseaudio_stream] -v4 -o dump.log
CRIU logs and information:
Output of `criu --version`:
Version: 3.18
GitID: v3.18-266-g6f92787b7
Output of `criu check --all`:
Looks good.