codeql icon indicating copy to clipboard operation
codeql copied to clipboard

CodeQL Scan for JavaScript Resulting in Multiple Query Errors

Open kexinoh opened this issue 4 months ago • 1 comments

Summary While conducting a CodeQL scan on a JavaScript project, multiple queries (query0.ql through query11.ql) encountered an error at a specific iteration (iteration 56) within the ApiGraphs::API::Impl::defStep/2#c19437fe. This issue appears to be a recurring problem across all queries, which could potentially halt the scanning process and prevent accurate results.

Description During the CodeQL scan, the following error messages were consistently reported for each query:

query0.ql: iteration 56 of ApiGraphs::API::Impl::defStep/2#c19437fe query1.ql: iteration 56 of ApiGraphs::API::Impl::defStep/2#c19437fe ... query11.ql: iteration 56 of ApiGraphs::API::Impl::defStep/2#c19437fe The error messages suggest that there is an issue at iteration 56 of the defStep function within the ApiGraphs::API::Impl namespace, specifically at the commit with the identifier c19437fe.'

Log the last log is: [2024-04-05 07:47:14] (2019s) Pausing evaluation to evict 96.46MiB ARRAYS at sequence stamp o+23134962 [2024-04-05 07:47:14] (2019s) Unpausing evaluation: 96.56MiB forgotten: 96.56MiB VITAL (94 items up to o+23090819) [2024-04-05 07:47:14] (2019s) Pausing evaluation to evict 96.42MiB ARRAYS at sequence stamp o+23135099 [2024-04-05 07:47:14] (2019s) Unpausing evaluation: 97.09MiB forgotten: 97.09MiB VITAL (125 items up to o+23093282) [2024-04-05 07:47:15] (2019s) Pausing evaluation to evict 96.43MiB ARRAYS at sequence stamp o+23135234 [2024-04-05 07:47:15] (2019s) Unpausing evaluation: 97.45MiB forgotten: 97.45MiB VITAL (84 items up to o+23103834) [2024-04-05 07:47:15] (2020s) Pausing evaluation to evict 96.43MiB ARRAYS at sequence stamp o+23135372 [2024-04-05 07:47:15] (2020s) Unpausing evaluation: 97.45MiB forgotten: 97.45MiB VITAL (84 items up to o+23114363) [2024-04-05 07:47:15] (2020s) Pausing evaluation to evict 96.43MiB ARRAYS at sequence stamp o+23135515 [2024-04-05 07:47:15] (2020s) Unpausing evaluation: 97.45MiB forgotten: 97.45MiB VITAL (84 items up to o+23123670) [2024-04-05 07:47:15] (2020s) Pausing evaluation to evict 96.43MiB ARRAYS at sequence stamp o+23135652 [2024-04-05 07:47:15] (2020s) Unpausing evaluation: 97.45MiB forgotten: 97.45MiB VITAL (84 items up to o+23128047) [2024-04-05 07:47:15] (2020s) Pausing evaluation to evict 96.43MiB ARRAYS at sequence stamp o+23135779 [2024-04-05 07:47:15] (2020s) Unpausing evaluation: 97.02MiB forgotten: 97.02MiB VITAL (85 items up to o+23130691) [2024-04-05 07:47:15] (2020s) Pausing evaluation to evict 96.44MiB ARRAYS at sequence stamp o+23135916 [2024-04-05 07:47:15] (2020s) Unpausing evaluation: 21.66MiB in memory written to disk, 96.68MiB forgotten: 96.68MiB VITAL (85 items up to o+23131470) [2024-04-05 07:47:16] (2020s) Pausing evaluation to evict 96.45MiB ARRAYS at sequence stamp o+23136092 [2024-04-05 07:47:16] (2020s) Unpausing evaluation: 97.45MiB forgotten: 97.45MiB VITAL (84 items up to o+23131609) [2024-04-05 07:47:16] (2020s) Pausing evaluation to evict 96.45MiB ARRAYS at sequence stamp o+23136209 [2024-04-05 07:47:16] (2020s) Unpausing evaluation: 97.45MiB forgotten: 97.45MiB VITAL (84 items up to o+23131744)

kexinoh avatar Apr 05 '24 08:04 kexinoh

Hi @kexinoh 👋

Thanks for reporting this problem here. We would probably need a bit more information to debug this. It looks like query0.ql etc. may be your own queries? Is that right and if so could you link to or provide the source code for them? If your JavaScript project is in a public repository, could you post a link to it as well?

mbg avatar Apr 05 '24 12:04 mbg