-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
podman images: panic #7444
Comments
@vrothberg you will have to chase this down and determine how you want to deal with it. i have put a simple nil check to stop the panic. it would probably pay to perform better error handling in libpod/image/filters.go:49 when you get an error on :43 |
issue containers#7444 describes a problem where an image does not have a manifest file and cannot be processed by our library correctly. the origin of the panic is because we are checking the len of a nil object's attribute. this is a temporary fix to protect from the panic in the future. the origin of the problem is more interesting and requires more work when the code author returns from pto. Signed-off-by: Brent Baude <[email protected]>
I opened #7554 to follow up on the issue. I think that the nil checks are sufficient to address the issue. As the build has been killed, we may very well end up with some missing data / an incomplete image. |
Follow up on issue containers#7444 and make the parent checks more robust. We can end up with an incoherent storage when, for instance, a build has been killed. Signed-off-by: Valentin Rothberg <[email protected]>
Closing as it's fixed in master. Will backport to 2.0 now. |
Follow up on issue containers#7444 and make the parent checks more robust. We can end up with an incoherent storage when, for instance, a build has been killed. Backport of commit a6f8586 and commit 238abf6. Squashed for easier tracking and referencing. Fixes: containers#7444 Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1876576 Signed-off-by: Brent Baude <[email protected]> Signed-off-by: Valentin Rothberg <[email protected]>
I don't suppose this one will be easily reproduced. I was infinite-looping a
podman build
/podman rmi
for purposes of reproducing #7148. I ^Ced it (in the middle ofbuild
), ranpodman images
, and boom:master @ 8fdc116 on f32 but
podman-2.0.4-1.fc32.x86_64
barfs similarly:buildah runs fine:
I will leave this system untouched for the next hour or so (until 14:30 EDT) in case anyone wants to log in and poke. Please LMK. Otherwise, I hope the stack trace is sufficient to debug.
The text was updated successfully, but these errors were encountered: