-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Got CatastrophicError in com.semmle.inmemory.trap.TrapScanner #7557
Comments
Thanks for raising this issue @dydxh, Ideally, you shouldn't get any The log does end with:
So I hope that a database is produced at the end. That database might be incomplete due to the |
Yeah, I can query on the generated databases indeed. But some info may lose cause of the CatastrophicError :( |
Indeed, that's annoying. I'll forward this to the appropriate team. I think we're already planning to look at Chromium failures not totally unlike this soon. In the meantime, can you please let us know what operating system you're on, what SHA of Chromium you're trying to build? |
Sorry for the delay. I build these things on Ubuntu 18.04 and the Chromium commit id is You may meet some brotli error while building the CodeQL database, but I lose the log error. I solve this problem by patching the Hope this can help you. |
@dydxh , May i know how did you patch the binary file? I am also suffering from a similar issue mentioned in #7582 $ file extractor $ strings extractor | grep trap_compression |
Some tools like |
I successfully got the crafted version, thanks! |
@dydxh Are you able to reproduce this with the latest Chromium and the latest CodeQL CLI (v2.8.4)? I haven't been able to reproduce this locally (even with v2.7.3), but we have fixed some CatastrophicError issues elsewhere. If you're still impacted, we can of course dig deeper. |
While compiling chromium with CodeQL, I meet lots of CatastrophicError.
or something like
I first run
autoninja -C out/master-220104-android chrome_public_apk
to compile chromium.Then delete some
.o/.a/.so
files inobj
folder.Then run
codeql database create -l cpp --max-disk-cache=56320 --ram=56320 -J="-Xmx56320m" -m light -c "autoninja -C out/master-220104-android chrome_public_apk" out/ql
to create CodeQL database.The error log contains the error message in chromium but the chromium build process seems successful even with these error logs.
The
codeql-cli
version is 2.7.3I also open an issue at here
More log is here
The text was updated successfully, but these errors were encountered: