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

CodeQL Scan for JavaScript Resulting in Multiple Query Errors #16132

Open
kexinoh opened this issue Apr 5, 2024 · 1 comment
Open

CodeQL Scan for JavaScript Resulting in Multiple Query Errors #16132

kexinoh opened this issue Apr 5, 2024 · 1 comment
Assignees
Labels
JS question Further information is requested

Comments

@kexinoh
Copy link

kexinoh commented Apr 5, 2024

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 kexinoh added the question Further information is requested label Apr 5, 2024
@mbg
Copy link
Member

mbg commented Apr 5, 2024

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 mbg self-assigned this Apr 13, 2024
@sidshank sidshank added the JS label Apr 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
JS question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants