You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What happened:
We are running syft (1.11.1) in this library https://github.com/vinted/sbomsftw , currently updating and debugging issues.
What we noticed in a specific repository ( https://github.com/feast-dev/feast) , we have a fork of this, but tested it out on it as well), we get a stack overflow on this segment of syft:
for i := range taskGroups {
err := task.NewTaskExecutor(taskGroups[i], cfg.Parallelism).Execute(ctx, resolver, builder, catalogingProgress)
if err != nil {
// TODO: tie this to the open progress monitors...
return nil, fmt.Errorf("failed to run tasks: %w", err)
}
}
We tried to limit recursion to 1 or to 10, with the same issue.
Let me know if any more info should be provided or there is anything I can do to fix this.
Environment: Local Env - MacOS 14.6.1 / Golang 1.22
Output of syft version: syft 1.11.1
OS (e.g: cat /etc/os-release or similar): Prod Env - Alpine Linux v3.20
The text was updated successfully, but these errors were encountered:
ysebyy
changed the title
Syft Cause Kernel panic [goroutine stack exceeds 1000000000-byte limit]
Syft Cause stack overflow [goroutine stack exceeds 1000000000-byte limit]
Aug 27, 2024
What happened:
We are running syft (1.11.1) in this library https://github.com/vinted/sbomsftw , currently updating and debugging issues.
What we noticed in a specific repository ( https://github.com/feast-dev/feast) , we have a fork of this, but tested it out on it as well), we get a stack overflow on this segment of syft:
With the following error message:
What you expected to happen:
Syft runs without a kernel panic or atleast throw a error, not a full system crash
Steps to reproduce the issue:
You could use our library but syft itself throws this error as well:
Anything else we need to know?:
No gotools compilation arguments added.
What we have tried: as it seems to be a maven issue due to this stacktrace:
We tried to limit recursion to 1 or to 10, with the same issue.
Let me know if any more info should be provided or there is anything I can do to fix this.
Environment: Local Env - MacOS 14.6.1 / Golang 1.22
syft version
: syft 1.11.1cat /etc/os-release
or similar): Prod Env - Alpine Linux v3.20The text was updated successfully, but these errors were encountered: