-
Notifications
You must be signed in to change notification settings - Fork 310
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 error on index files #2155
Comments
Thanks for reporting. Could you include the entire stack trace or at least the bottom part before it gets to the repeating |
This is the bottom:
|
I was afraid of that. I suppose a trace for a stack overflow is too long to show the non-repeating start of it. What project are you running on? Is it open source? I just noticed on a local test that I get a similar stacktrace when running CodeQL on https://github.com/apache/hive . |
No, it isn't open source, i've redacted the repo and org info in the logs. It's a self hosted runner, will the logs be anywhere on that? |
@theveriton Does this problem occur all the time or just this once? I spotted a case like this when analysing apache/hive, but it didn't happen in the dozen re-runs I made. This makes it hard to find the cause. The easiest way to grab the logs is the re-run a workflow with |
@theveriton Those links do not work (luckily). The debug artifacts contain logs, source code and other potentially sensitive data. Since this is a closed source repository you probably do not want to share that on a public issue. You can download and unzip the artifact to check the various Another thing to try would be to set the |
Awesome! It started working with v2.15.5, doesn't work for 2.16.0 and beyond. |
Thanks, glad things are working for you now. Hopefully the team can figure out what happened between 2.15.5 and 2.16.0 . |
It looks like since 2.16.0 CodeQL extracts all
to your workflow file and go back to using the 2.16 release? |
That also worked! v2.16.2...we do have a bunch of property files. |
I think the following regular expression may have performance problems when run on inputs that are not really properties files. We'll look into improving things. Thanks again for reporting this. |
Suddenly, Perform CodeQL Analysis step has started failing on index files step.
github/codeql-action/analyze@v2
I've tried using v3 too with no luck
Also, I've tried increasing thread heap size from 2M all the way to 512M with no luck
The text was updated successfully, but these errors were encountered: