ret is a negative number here
|
if (UNLIKELY (ret < 0)) |
|
return ret; |
Because of that the second argument passed to crun_make_error() is negative:
|
return crun_make_error (err, ret, "exec container process failed with handler as `%s`", entrypoint_args->custom_handler->vtable->name); |
The function crun_make_error() expects the second argument to be non-negative.