Skip to content
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

Grype stuck on some images #549

Closed
tsunamaru opened this issue Dec 16, 2021 · 4 comments · Fixed by #627
Closed

Grype stuck on some images #549

tsunamaru opened this issue Dec 16, 2021 · 4 comments · Fixed by #627
Assignees
Labels
bug Something isn't working

Comments

@tsunamaru
Copy link

What happened:
On some images grype is infinity showing "Loading image" - "Saving image to disk" and not responding to SIGTERM.
image

What you expected to happen:
Scan be done :)

How to reproduce it (as minimally and precisely as possible):
I can send you example image by any private means (it contains company private code and thus can't be uploaded to public share or registry, sorry). Ideally, if you give me some email for contact.

Anything else we need to know?:
No, I don't think so.

Environment:

  • Output of grype version:
Application:          grype
Version:              0.27.2
Syft Version:         v0.32.2
BuildDate:            2021-12-14T17:58:17Z
GitCommit:            81a16c4142523f455d76663e7ec7d379e3f7a73d
GitTreeState:         clean
Platform:             linux/amd64
GoVersion:            go1.16.11
Compiler:             gc
Supported DB Schema:  3
  • OS (e.g: cat /etc/os-release or similar):
NAME="Ubuntu"
VERSION="20.04.3 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.3 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal
@tsunamaru tsunamaru added the bug Something isn't working label Dec 16, 2021
@wagoodman
Copy link
Contributor

wagoodman commented Dec 16, 2021

We're releasing a fix for a recent performance regression in syft anchore/syft#696 ... this may be related to the problem you're seeing. A grype release will be out within the hour with the fix as well.

@tsunamaru
Copy link
Author

Thank you for quick response @wagoodman. I'll test new version as soon as it comes out and let you know if I still experiencing this issue.

@tsunamaru
Copy link
Author

@wagoodman unfortunately, still facing same issue on grype 0.27.3

@tsunamaru
Copy link
Author

As the issue is not related to grype directly but syft, I'm closing this issue to recreate on syft repository.

jonasagx added a commit to jonasagx/grype that referenced this issue Feb 9, 2022
Update version of stereoscope with a fix for anchore#549 and is related to a Syft issue: anchore/syft#764

Signed-off-by: Jonas Galvão Xavier <jonas.agx@gmail.com>
@jonasagx jonasagx reopened this Feb 9, 2022
@jonasagx jonasagx self-assigned this Feb 9, 2022
@wagoodman wagoodman changed the title Grype stucks on some images Grype stuck on some images Feb 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants