query-database icon indicating copy to clipboard operation
query-database copied to clipboard

Unable to run joern-scan successfully on more recent commits

Open Jeff848 opened this issue 4 years ago • 3 comments

Joern-scan leads to the following error output from /tmp/joern-scan-log.txt error.txt

However, I am able to successfully run joern-scan if I build on commit 9b2068e7ff1.

I am attempting to build query-database on ubuntu:18.04 with a DockerFile like so: example_docker.txt

Please let me know if I am missing some step somewhere.

Note: I still run into the error if I run joern-scan in the original container instead of openjdk

This is the output for java -version openjdk 11.0.12 2021-07-20 OpenJDK Runtime Environment 18.9 (build 11.0.12+7) OpenJDK 64-Bit Server VM 18.9 (build 11.0.12+7, mixed mode, sharing)

Jeff848 avatar Sep 09 '21 18:09 Jeff848

Thanks for reporting. Looking into it.

fabsx00 avatar Sep 09 '21 19:09 fabsx00

Can reproduce.

fabsx00 avatar Sep 09 '21 19:09 fabsx00

Alright, while those ugly warnings about ghidra2cpg are still there and the logger configuration seems a bit off as well (seeing some warnings from codepropertygraph in the joern-scan output), with https://github.com/joernio/query-database/pull/105 it at least finishes and reports correct results.

fabsx00 avatar Sep 09 '21 19:09 fabsx00