-
Notifications
You must be signed in to change notification settings - Fork 866
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
Stackoverflow if there is a circular dependency between inheritdocs #7035
Comments
Have the same issue. But for some reasons, second run builds normal.
DocFX Version Used: |
I am also having the same issue with version 2.58. It only runs all the way through if I run the metadata command independent of the build command which defeats the point of the Visual Studio integration. |
I may have the same issue with one assembly. First run throws a StackOverflowException, but the second completes with no issues. Is it possible to see the StackOverflowException's call stack to investigate what happened? |
Has anyone found a workaround for this issue? |
I still have to run DocFX twice. Now on version 2.59.2. First run throws the StackOverflowException. The second run works fine. |
Operating System: (
Windows
orLinux
orMacOS
)Windows
DocFX Version Used:
2.56.6
Template used: (
default
orstatictoc
or contain custom template)default
Steps to Reproduce:
or
Expected Behavior:
While it seems obvious that there are problems with the above examples, DocFX currently crashes with a stackoverflow instead of reporting where the problems are. While the above examples have been simplified, problems like those can be very hard to spot in the middle of a solution with many method overloads and complex class hierarchies.
Actual Behavior:
1> [21-01-30 11:08:48.798]Verbose:[MetadataCommand.ExtractMetadata]Successfully generated metadata C:/Users/cdesouza/source/repos/ConsoleApp1/ClassLibrary1/obj/xdoc/cache/obj for ClassLibrary1
1> [21-01-30 11:08:48.812]Verbose:[MetadataCommand.ExtractMetadata]Completed MergeMetadata in 2.6608 milliseconds.
1> [21-01-30 11:08:48.812]Verbose:[MetadataCommand.ExtractMetadata]Completed MergeReference in 0.8131 milliseconds.
1>
1> Process is terminated due to StackOverflowException.
The text was updated successfully, but these errors were encountered: