Skip to content

pycriu doesn't receive cr_errmsg with use_binary #2805

@herheliuk

Description

@herheliuk

criu/criu/log.c

Line 147 in ae971c9

char *log_first_err(void)

^ function that returns NULL here:

resp->cr_errmsg = log_first_err();

So if you add print(resp.cr_errmsg) here:

criu/lib/pycriu/criu.py

Lines 291 to 292 in ae971c9

if not resp.success:
raise CRIUExceptionExternal(req.type, resp.type, resp.cr_errno)

the output is empty:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions