Closed HeouDonkey closed 2 weeks ago
Thanks for the report. This is a rarely occurring situation where some internal structures in the QL evaluator somehow get into an inconsistent state. It usually clears up when you try to rerun the query.
Unfortunately, by the time the inconsistency is detected, there's not really any information left about what actually went wrong anymore. Combined with the rarity of the symptom, and the fact that it seems to be nondeterministic and timing-dependent, we have not yet been able to find the underlying bug. If you come across a database and query that reproduces it consistently, we'd be very interested in taking a look at that.
(For what it's worth, the characteristic symptom here is com.semmle.util.exception.CatastrophicError: Could not load page <number> of <blah>
halfway down the stack traces you quote).
i found that when i finilize a database and query with taint analysis the first time,this query will work will, but after that, i query the same ql ,it wents wrong with the same error , is the query process changed something in the database?
I got the same error and while the query got excecption, my RAM remained full and did not clean up! After when I tried to run another query, I got the following:
CodeQL Query:
import codeql.ruby.AST
import codeql.ruby.DataFlow
import codeql.ruby.security.HttpToFileAccessQuery
import HttpToFileAccessFlow::PathGraph
from HttpToFileAccessFlow::PathNode source, HttpToFileAccessFlow::PathNode sink
where HttpToFileAccessFlow::flowPath(source, sink)
select sink.getNode(), source, sink, "Write to file system depends on $@.", source.getNode(),
"untrusted data"
CodeQL Query Server Output:
[2024-05-08 04:38:32] [ERROR] Error running query
java.lang.OutOfMemoryError: Java heap space
at com.semmle.bdd.SemmleBDDFactory.
We have fixed a bug in the cache management subsystem of the QL evaluator that was almost surely the cause of the com.semmle.util.exception.CatastrophicError: Could not load page 0
crash.
The fix ought to be included in the next release of the CodeQL CLI.
when i try to analysis aosp database with this qury script:
something wrong with this query,the query server log is :