• Andrey Vagin's avatar
    zdtm: add a test with a dead thread leader and alive threads · 161cb0b1
    Andrey Vagin authored
    This case is not supported now
    [root@avagin-fc19-cr criu]# bash test/zdtm.sh -r static/pthread02
    Execute static/pthread02
    ./pthread02 --pidfile=pthread02.pid --outfile=pthread02.out
    Dump 3186
    WARNING: pthread02 returned 1 and left running for debug needs
    Test: zdtm/live/static/pthread02, Result: FAIL
    ==================================== ERROR ====================================
    Test: zdtm/live/static/pthread02, Namespace:
    Dump log   : /root/git/locks/criu/test/dump/static/pthread02/3186/1/dump.log
    --------------------------------- grep Error ---------------------------------
    (00.033195) Error (cr-dump.c:886): Zombies with threads are not supported
    (00.033256) Error (cr-dump.c:1943): Dumping FAILED.
    ------------------------------------- END -------------------------------------
    ================================= ERROR OVER =================================
    Signed-off-by: 's avatarAndrey Vagin <avagin@openvz.org>
    Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
    161cb0b1
pthread02.c 610 Bytes