Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upcreate database seems to be stuck after --command is complete #24
Comments
|
Ping @igfoo (our response to this may be delayed because of Easter) |
|
Thanks for the report. While the build did reach the end, it is a multi-threaded build, and one of the early extractions is still running. We've had a look into it, and it's caused by a performance issue in our C++ frontend. Unfortunately, it doesn't look like the fix is easy, and as it seems to rarely bite (this is the only project we've seen it in) I'm afraid fixing it will be low priority. |
|
@igfoo ah that's good to know, thanks for letting me know. I completely understand the priority - thanks again for looking into this. |
@hmakholm
This issue is a bit in between the actual cli tool and the C++ extractor - not sure how to debug.
The steps to reproduce:
The
make buildtestsis reaching 100% and there is no activity, however, there are no logging messages in the terminal as if the extractor doesn't do anything. Inspecting the log:The db structure:
If I run the
make buildtests -j8outside of thecodeqlcall, it completes and the process terminates with exit code0. So the command itself is valid and runnable.I've waited for a few days thinking that maybe the extractor process has some work to do, but no files are being modified in the
dbdirectory over a few days since themake buildtests -j8reached 100%. Maybe the work is going on, but there is an issue printing logging messages? But it would be very bizarre that it would need more than 2 days to complete creating a database - the project itself is not very big.I've tried running this both on Linux and MacOS.
Linux:
MacOS:
If there is any other piece of information you'd need to help me troubleshoot (compilers present and used and so forth), please let me know.
I've asked @jbj on lgtm.com about header-only projects support and I wonder if this can have anything to do with that?