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

Stack overflow if finding licenses transitive #174

Open
rogerbriggen opened this issue Nov 24, 2022 · 3 comments
Open

Stack overflow if finding licenses transitive #174

rogerbriggen opened this issue Nov 24, 2022 · 3 comments

Comments

@rogerbriggen
Copy link

We have quite often a StackOverflow when we do the check transitive but then it suddenly goes away and the error might be away for several days and then suddenly it is back again. Also, we use multiple build agents and often it happens just on one, the same build works fine on another machine (but it is not always the same machine where we have the problems.
We use the nuget-license inside a nuke build.

nuget-license_stackoverflow.txt

@sensslen
Copy link
Collaborator

Have you tried the alpha of the upcoming version 3 of the tool? This version should not cause such issues. It uses the same code as dotnet to get information about installed packages…

@xoif
Copy link

xoif commented Dec 7, 2023

I can confirm that this issue still exists. While our nuget dependencies have been unchanged, the license tool stack overflows as soon as I use the -t parameter. What I learned so far:

  • tool runs fine without -t
  • tool runs fine with -t for the same solution on my colleagues machine. He uses v2.4.0 of the license tool.
  • tool fails on my machine with -t parameter and v2.4.0, 2.7.1 and 3.0 alpha 9.

As the tool runs fine on my colleagues machine, the issue might be host related. I'm using a M1 mac mini running MacOs Sonoma, whereas my colleague uses a M1 Macbook Air still running MacOS Ventura. Would be interesting to know, if @rogerbriggen uses Mac as well.

@sensslen
Copy link
Collaborator

sensslen commented Dec 7, 2023

Can you please post the error output of version 3.0?

I don't have access to a Mac but I have never seen a stack overflow happen...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants