Skip to content

CodeQL Actions: C++ analysis runtime error. #66

Closed
@asraa

Description

@asraa

Hi there,

I ran into an issue setting up CodeQL scanning in Envoy (https://github.com/envoyproxy/envoy), which I enabled in a PR here envoyproxy/envoy#11590.

I was able to get a successful custom build for our C++ database, but ran into an error during the analysis step in the CodeQL process:

2020-06-15T17:37:58.5293036Z [command]/opt/hostedtoolcache/CodeQL/1.0.0/x64/codeql/codeql database finalize /home/runner/work/_temp/codeql_databases/cpp
2020-06-15T17:37:59.7699264Z Running TRAP import for CodeQL database at /home/runner/work/_temp/codeql_databases/cpp...
2020-06-15T18:09:29.0621568Z Oops! A fatal internal error occurred.
2020-06-15T18:09:29.0630894Z java.lang.RuntimeException: java.lang.InternalError: a fault occurred in a recent unsafe memory access operation in compiled Java code
2020-06-15T18:09:29.0631049Z 	at com.semmle.util.exception.Exceptions.asUnchecked(Exceptions.java:103)

Here’s the logs and config for the run: https://github.com/asraa/envoy/runs/772810943?check_suite_focus=true
(Also relatedly, I get back an email report for the run, but why does it show up in my fork?)

Does anyone have any pointers or can tell me where to start looking? Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions