StackOverflow error on index files
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
Research direction
Start with the github/codeql-action/analyze@v2 entry point and the logged CodeQL database finalize command. Reproduce the failure around xml/tools/index-files.cmd and properties/tools/index-files.cmd, then determine what change is needed for indexing to complete without the Java StackOverflowError.
Written by the indexing model from the issue text.
Description
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
E:\actions-runner-ghec\_work\_tool\CodeQL\2.16.2\x64\codeql\codeql.exe database finalize --finalize-dataset --threads=12 --ram=30002 E:\actions-runner-ghec\_work\_temp\codeql_databases\java
Picked up JAVA_TOOL_OPTIONS: -Xss512m
Running pre-finalize script E:\actions-runner-ghec\_work\_tool\CodeQL\2.16.2\x64\codeql\java\tools\pre-finalize.cmd in E:\actions-runner-ghec\_work\test-test-appserver\test-test-appserver.
[2024-02-20 03:25:52] [build-stderr] Picked up JAVA_TOOL_OPTIONS: -Xss512m
[2024-02-20 03:25:52] [build-stderr] Scanning for files in E:\actions-runner-ghec\_work\test-test-appserver\test-test-appserver...
[2024-02-20 03:25:52] [build-stderr] E:\actions-runner-ghec\_work\_temp\codeql_databases\java: Indexing files in in E:\actions-runner-ghec\_work\test-test-appserver\test-test-appserver...
[2024-02-20 03:25:53] [build-stderr] Running command in E:\actions-runner-ghec\_work\test-test-appserver\test-test-appserver: [E:\actions-runner-ghec\_work\_tool\CodeQL\2.16.2\x64\codeql\xml\tools\index-files.cmd, E:\actions-runner-ghec\_work\_temp\codeql_databases\java\working\files-to-index18386133814325443289.list]
[2024-02-20 03:25:53] [build-stdout] [2024-02-20 03:25:53] [build-stderr] Picked up JAVA_TOOL_OPTIONS: -Xss512m
[2024-02-20 03:25:55] [build-stderr] Picked up JAVA_TOOL_OPTIONS: -Xss512m
[2024-02-20 03:25:55] [build-stderr] Scanning for files in E:\actions-runner-ghec\_work\test-test-appserver\test-test-appserver...
[2024-02-20 03:25:56] [build-stderr] E:\actions-runner-ghec\_work\_temp\codeql_databases\java: Indexing files in in E:\actions-runner-ghec\_work\test-test-appserver\test-test-appserver...
[2024-02-20 03:25:56] [build-stderr] Running command in E:\actions-runner-ghec\_work\test-test-appserver\test-test-appserver: [E:\actions-runner-ghec\_work\_tool\CodeQL\2.16.2\x64\codeql\properties\tools\index-files.cmd, E:\actions-runner-ghec\_work\_temp\codeql_databases\java\working\files-to-index182820796413[80](https://github.com/testsomeorg/test-test-appserver/actions/runs/7971172665/job/21760290942#step:6:81)0805[88](https://github.com/testsomeorg/test-test-appserver/actions/runs/7971172665/job/21760290942#step:6:89).list]
[2024-02-20 03:25:56] [build-stdout] [2024-02-20 03:25:56] [build-stderr] Picked up JAVA_TOOL_OPTIONS: -Xss512m
[2024-02-20 03:25:56] [build-stdout] [2024-02-20 03:25:56] [build-stderr] Exception in thread "main" java.lang.StackOverflowError
[2024-02-20 03:25:56] [build-stdout] [2024-02-20 03:25:56] [build-stderr] at java.base/java.util.regex.Pattern$GroupHead.match(Unknown Source)
[2024-02-20 03:25:56] [build-stdout] [2024-02-20 03:25:56] [build-stderr] at java.base/java.util.regex.Pattern$Loop.match(Unknown Source)
[2024-02-20 03:25:56] [build-stdout] [2024-02-20 03:25:56] [build-stderr] at java.base/java.util.regex.Pattern$GroupTail.match(Unknown Source)
[2024-02-20 03:25:56] [build-stdout] [2024-02-20 03:25:56] [build-stderr] at java.base/java.util.regex.Pattern$BranchConn.match(Unknown Source)
[2024-02-20 03:25:56] [build-stdout] [2024-02-20 03:25:56] [build-stderr] at java.base/java.util.regex.Pattern$CharProperty.match(Unknown Source)
[2024-02-20 03:25:56] [build-stdout] [2024-02-20 03:25:56] [build-stderr] at java.base/java.util.regex.Pattern$Branch.match(Unknown Source)
[2024-02-20 03:25:56] [build-stdout] [2024-02-20 03:25:56] [build-stderr] at java.base/java.util.regex.Pattern$GroupHead.match(Unknown Source)
[2024-02-20 03:25:56] [build-stdout] [2024-02-20 03:25:56] [build-stderr] at java.base/java.util.regex.Pattern$Loop.match(Unknown Source)
[2024-02-20 03:25:56] [build-stdout] [2024-02-20 03:25:56] [build-stderr] at java.base/java.util.regex.Pattern$GroupTail.match(Unknown Source)
[2024-02-20 03:25:56] [build-stdout] [2024-02-20 03:25:56] [build-stderr] at java.base/java.util.regex.Pattern$BranchConn.match(Unknown Source)
[2024-02-20 03:25:56] [build-stdout] [2024-02-20 03:25:56] [build-stderr] at java.base/java.util.regex.Pattern$CharProperty.match(Unknown Source)
- Dominant language
- TypeScript
- Stars
- 1.6k
- Forks
- 493
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 44
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from github/codeql-action
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
github/codeql-action#4052 · 4 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
github/codeql-action#4078 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
github/codeql-action#4008 · 9 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 52/100
github/codeql-action#3978 · 4 comments · 1 reaction ·
-
Difficulty 3/5 1-2 days Newbie friendliness 48/100
github/codeql-action#3915 · 6 comments · 3 reactions ·
All issues in github/codeql-action
Similar issues
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
dennys-bd/agent-hive#184 ·
-
Add: hunch Open
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
AbdelStark/awesome-typesafe#104 ·
-
ai-observability bug team/ai-observability
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
vicharanashala/fln#563 ·