Replies: 4 comments
-
I see the same on Ubuntu 22.04:
Result:
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Hello @kaypee90 , @ptupitsyn I'll look into this and write to you. Regards, Dmitriy |
Beta Was this translation helpful? Give feedback.
0 replies
-
Created #5453 for this issue |
Beta Was this translation helpful? Give feedback.
0 replies
-
0.47.0 works without issues - thank you! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
Scanning extensive codebases demands significant memory resources, resulting in Trivy prematurely exiting.
I encountered this issue both when running Trivy via Docker and directly on my laptop.
I tried to scan only this folder modules/platforms/dotnet and that didn't work
runtime: goroutine stack exceeds 1000000000-byte limit
runtime: sp=0x14071800370 stack=[0x14071800000, 0x14091800000]
fatal error: stack overflow
Desired Behavior
I expect Trivy to return a JSON results of discovered vulnerabilities
Actual Behavior
Trivy is consuming so much memory and exiting prematurely.
Reproduction Steps
Target
fs
Scanner
vuln,config
Output Format
json
Mode
None
Debug Output
Operating System
macOS Monterey
Version
Checklist
trivy image --reset
Beta Was this translation helpful? Give feedback.
All reactions