-
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 segfaults while podman ps --sync #3411
Comments
It seems like the deference of Your |
this is fedora 29 with latest podman from kodi |
Ack. Can you cause the segfault any other way? IE, does |
Also, for reference, we're adding new functionality to deal with these 'ghost containers' (containers existing only in storage, not Podman) - |
I found one possible problem initiator. For some reason NFS share had stopped serving, I had to restart NFS on server. Some containers point directly there. Perhaps it initiated problems. However, this pod does not use nfs. Also, while I do ps --sync now that NFS is up, it still segfaults. Answering your question, "podman ps" without sync does not crash. |
Great, that --storage managed to remove the ghost!
|
Confirmed that the segfault reproduces locally, and only happens with |
#3412 to fix |
Wau, you are fast! I also got my containers back up in meanwhile, thanks for quick fix. I wonder if there would be a way to have some --purge or similar option to get rid of all the ghosts at one go, triggered by some failure. But that's not related to this segfault, so it's another discussion. |
We weren't properly populating the container's OCI Runtime in Batch(), causing segfaults on attempting to access it. Add a test to make sure we actually catch cases like this in the future. Fixes containers#3411 Signed-off-by: Matthew Heon <[email protected]>
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
I'm again at the state where podman can't start container due conflicting ghost container name #3329 . I tried to get rid of ghost image by upgrading from podman-1.4.2-1.fc29 to podman-1.4.3-0.30.dev.git7c4e444.fc31, but that version segfaults while doing podman ps --sync
Steps to reproduce the issue:
updated to latest podman from Koji: https://koji.fedoraproject.org/koji/buildinfo?buildID=1293952
Describe the results you received:
Segfault. See attached rapsa.txt for segfault backtrace.
rapsa.txt
Describe the results you expected:
sync the pod list to be able to delete ghost pod.
Additional information you deem important (e.g. issue happens only occasionally):
Continously
Output of
podman version
:Output of
podman info --debug
:Additional environment details (AWS, VirtualBox, physical, etc.):
The text was updated successfully, but these errors were encountered: