Could you check if errno at this line
https://github.com/containers/crun/blob/46cedc0c4a7342a7bd76f36b7fd7ab01869074e4/src/libcrun/handlers/krun.c#L710
has been set by a failure beforehand?
As usual claude responded with a lot of text, but in the output it looked like claude concluded that it was invalid use of errno.
crun/src/libcrun/handlers/krun.c
Line 710 in 46cedc0
in case this code returned
-1crun/src/libcrun/handlers/krun.c
Lines 636 to 638 in 46cedc0