smuellerDD / libkcapi

Linux Kernel Crypto API User Space Interface Library
http://www.chronox.de/libkcapi
Other
175 stars 73 forks source link

1.4.0: test suite failis with `error: clang frontend command failed with exit code 139` #156

Closed kloczek closed 1 year ago

kloczek commented 1 year ago

I'm not 100% sure is it test suite issue or it is something wrong with latest clang 16.0.2. I'm not sure what I shpould provide as details whcih could help diagnose this issue so please let me know if you need something.

kloczek commented 1 year ago

On test suite execution it fails with:

```console + cd libkcapi-1.4.0 + /usr/bin/make -O -j48 V=1 VERBOSE=1 scan Makefile:2026: warning: overriding recipe for target 'lib/doc/bin/docproc' Makefile:993: warning: ignoring old recipe for target 'lib/doc/bin/docproc' CCSA test/kcapi-enc-test-large.plist PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /usr/bin/clang --analyze -DPACKAGE_NAME=\"libkcapi\" -DPACKAGE_TARNAME=\"libkcapi\" -DPACKAGE_VERSION=\"1.4.0\" "-DPACKAGE_STRING=\"libkcapi 1.4.0\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DKCAPI_MAJVERSION=1 -DKCAPI_MINVERSION=4 -DKCAPI_PATCHLEVEL=0 -DPACKAGE=\"libkcapi\" -DVERSION=\"1.4.0\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_GETRANDOM=1 -DHAVE_SECURE_GETENV=1 -DCHECK_PREFIX=\"\" -DCHECK_SUFFIX=\"hmac\" -DCHECK_DIR=\"/usr/lib64\" -DHAVE_FSEEKO=1 -I. -I./lib/ test/kcapi-enc-test-large.c -o test/kcapi-enc-test-large.plist 1. parser at end of file 2. While analyzing stack: #0 Calling main 3. test/kcapi-enc-test-large.c:25:9: Error evaluating statement #0 0x00007f84941e3761 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-16.so.0+0xde3761) #1 0x00007f84941e146a llvm::sys::RunSignalHandlers() (/lib64/libLLVM-16.so.0+0xde146a) #2 0x00007f84940ff458 (/lib64/libLLVM-16.so.0+0xcff458) #3 0x00007f8492c3e280 __restore_rt (/lib64/libc.so.6+0x3e280) #4 0x00007f849cfbaceb (/lib64/libclang-cpp.so.16.0+0x21baceb) #5 0x00007f849cfa8f6c clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) (/lib64/libclang-cpp.so.16.0+0x21a8f6c) #6 0x00007f849cfa95be clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) (/lib64/libclang-cpp.so.16.0+0x21a95be) #7 0x00007f849cfa9ab7 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) (/lib64/libclang-cpp.so.16.0+0x21a9ab7) #8 0x00007f849cfab1df clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) (/lib64/libclang-cpp.so.16.0+0x21ab1df) #9 0x00007f849cfacab6 clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) (/lib64/libclang-cpp.so.16.0+0x21acab6) #10 0x00007f849cfacd4a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) (/lib64/libclang-cpp.so.16.0+0x21acd4a) #11 0x00007f849cfc608e (/lib64/libclang-cpp.so.16.0+0x21c608e) #12 0x00007f849d575f6e (/lib64/libclang-cpp.so.16.0+0x2775f6e) #13 0x00007f849d5618c2 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.16.0+0x27618c2) #14 0x00007f849ccad599 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.16.0+0x1ead599) #15 0x00007f849d56ba1b clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.16.0+0x276ba1b) #16 0x00007f849d56d90a clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.16.0+0x276d90a) #17 0x000055ff6cebfe68 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang+0x18e68) #18 0x000055ff6cec5dda (/usr/bin/clang+0x1edda) #19 0x00007f849b5e3261 (/lib64/libclang-cpp.so.16.0+0x7e3261) #20 0x00007f84940ff54a llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-16.so.0+0xcff54a) #21 0x00007f849b77422f (/lib64/libclang-cpp.so.16.0+0x97422f) #22 0x00007f849c21bde6 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.16.0+0x141bde6) #23 0x00007f849c21c12c clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.16.0+0x141c12c) #24 0x00007f849c2210ac clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.16.0+0x14210ac) #25 0x000055ff6cec8508 clang_main(int, char**) (/usr/bin/clang+0x21508) #26 0x00007f8492c27b4a __libc_start_call_main (/lib64/libc.so.6+0x27b4a) #27 0x00007f8492c27c0b __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x27c0b) #28 0x000055ff6ceb7175 _start (/usr/bin/clang+0x10175) clang-16: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 16.0.2 (G2V 16.0.2-2.fc35) Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-16: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-16: note: diagnostic msg: /tmp/kcapi-enc-test-large-b301c8.c clang-16: note: diagnostic msg: /tmp/kcapi-enc-test-large-b301c8.sh clang-16: note: diagnostic msg: ******************** make: *** [Makefile:2012: test/kcapi-enc-test-large.plist] Error 1 make: *** Waiting for unfinished jobs.... CCSA test/kcapi-convenience.plist PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /usr/bin/clang --analyze -DPACKAGE_NAME=\"libkcapi\" -DPACKAGE_TARNAME=\"libkcapi\" -DPACKAGE_VERSION=\"1.4.0\" "-DPACKAGE_STRING=\"libkcapi 1.4.0\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DKCAPI_MAJVERSION=1 -DKCAPI_MINVERSION=4 -DKCAPI_PATCHLEVEL=0 -DPACKAGE=\"libkcapi\" -DVERSION=\"1.4.0\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_GETRANDOM=1 -DHAVE_SECURE_GETENV=1 -DCHECK_PREFIX=\"\" -DCHECK_SUFFIX=\"hmac\" -DCHECK_DIR=\"/usr/lib64\" -DHAVE_FSEEKO=1 -I. -I./lib/ test/kcapi-convenience.c -o test/kcapi-convenience.plist 1. parser at end of file 2. While analyzing stack: #0 Calling main 3. test/kcapi-convenience.c:162:2: Error evaluating statement #0 0x00007fa2af3e3761 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-16.so.0+0xde3761) #1 0x00007fa2af3e146a llvm::sys::RunSignalHandlers() (/lib64/libLLVM-16.so.0+0xde146a) #2 0x00007fa2af2ff458 (/lib64/libLLVM-16.so.0+0xcff458) #3 0x00007fa2ade3e280 __restore_rt (/lib64/libc.so.6+0x3e280) #4 0x00007fa2b81baceb (/lib64/libclang-cpp.so.16.0+0x21baceb) #5 0x00007fa2b81a8f6c clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) (/lib64/libclang-cpp.so.16.0+0x21a8f6c) #6 0x00007fa2b81a95be clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) (/lib64/libclang-cpp.so.16.0+0x21a95be) #7 0x00007fa2b81a9ab7 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) (/lib64/libclang-cpp.so.16.0+0x21a9ab7) #8 0x00007fa2b81ab1df clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) (/lib64/libclang-cpp.so.16.0+0x21ab1df) #9 0x00007fa2b81acab6 clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) (/lib64/libclang-cpp.so.16.0+0x21acab6) #10 0x00007fa2b81acd4a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) (/lib64/libclang-cpp.so.16.0+0x21acd4a) #11 0x00007fa2b81c608e (/lib64/libclang-cpp.so.16.0+0x21c608e) #12 0x00007fa2b8775f6e (/lib64/libclang-cpp.so.16.0+0x2775f6e) #13 0x00007fa2b87618c2 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.16.0+0x27618c2) #14 0x00007fa2b7ead599 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.16.0+0x1ead599) #15 0x00007fa2b876ba1b clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.16.0+0x276ba1b) #16 0x00007fa2b876d90a clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.16.0+0x276d90a) #17 0x000055b1a483be68 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang+0x18e68) #18 0x000055b1a4841dda (/usr/bin/clang+0x1edda) #19 0x00007fa2b67e3261 (/lib64/libclang-cpp.so.16.0+0x7e3261) #20 0x00007fa2af2ff54a llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-16.so.0+0xcff54a) #21 0x00007fa2b697422f (/lib64/libclang-cpp.so.16.0+0x97422f) #22 0x00007fa2b741bde6 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.16.0+0x141bde6) #23 0x00007fa2b741c12c clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.16.0+0x141c12c) #24 0x00007fa2b74210ac clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.16.0+0x14210ac) #25 0x000055b1a4844508 clang_main(int, char**) (/usr/bin/clang+0x21508) #26 0x00007fa2ade27b4a __libc_start_call_main (/lib64/libc.so.6+0x27b4a) #27 0x00007fa2ade27c0b __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x27c0b) #28 0x000055b1a4833175 _start (/usr/bin/clang+0x10175) clang-16: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 16.0.2 (G2V 16.0.2-2.fc35) Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-16: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-16: note: diagnostic msg: /tmp/kcapi-convenience-fee8e3.c clang-16: note: diagnostic msg: /tmp/kcapi-convenience-fee8e3.sh clang-16: note: diagnostic msg: ******************** make: *** [Makefile:2012: test/kcapi-convenience.plist] Error 1 CCSA speed-test/cryptoperf-skcipher.plist PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /usr/bin/clang --analyze -DPACKAGE_NAME=\"libkcapi\" -DPACKAGE_TARNAME=\"libkcapi\" -DPACKAGE_VERSION=\"1.4.0\" "-DPACKAGE_STRING=\"libkcapi 1.4.0\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DKCAPI_MAJVERSION=1 -DKCAPI_MINVERSION=4 -DKCAPI_PATCHLEVEL=0 -DPACKAGE=\"libkcapi\" -DVERSION=\"1.4.0\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_GETRANDOM=1 -DHAVE_SECURE_GETENV=1 -DCHECK_PREFIX=\"\" -DCHECK_SUFFIX=\"hmac\" -DCHECK_DIR=\"/usr/lib64\" -DHAVE_FSEEKO=1 -I. -I./lib/ speed-test/cryptoperf-skcipher.c -o speed-test/cryptoperf-skcipher.plist 1. parser at end of file #0 0x00007ff8803e3761 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-16.so.0+0xde3761) #1 0x00007ff8803e146a llvm::sys::RunSignalHandlers() (/lib64/libLLVM-16.so.0+0xde146a) #2 0x00007ff8802ff458 (/lib64/libLLVM-16.so.0+0xcff458) #3 0x00007ff87ee3e280 __restore_rt (/lib64/libc.so.6+0x3e280) #4 0x00007ff88913ab7b (/lib64/libclang-cpp.so.16.0+0x213ab7b) #5 0x00007ff88913ce3d clang::ento::ProgramState::bindLoc(clang::ento::Loc, clang::ento::SVal, clang::LocationContext const*, bool) const (/lib64/libclang-cpp.so.16.0+0x213ce3d) #6 0x00007ff8891c7286 clang::ento::errno_modeling::setErrnoValue(llvm::IntrusiveRefCntPtr, clang::ento::CheckerContext&, unsigned long, clang::ento::errno_modeling::ErrnoCheckState) (/lib64/libclang-cpp.so.16.0+0x21c7286) #7 0x00007ff8891c7680 (/lib64/libclang-cpp.so.16.0+0x21c7680) #8 0x00007ff889072f8b clang::ento::CheckerManager::runCheckersForBeginFunction(clang::ento::ExplodedNodeSet&, clang::BlockEdge const&, clang::ento::ExplodedNode*, clang::ento::ExprEngine&) (/lib64/libclang-cpp.so.16.0+0x2072f8b) #9 0x00007ff8891ad07c clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) (/lib64/libclang-cpp.so.16.0+0x21ad07c) #10 0x00007ff8891c608e (/lib64/libclang-cpp.so.16.0+0x21c608e) #11 0x00007ff889775f6e (/lib64/libclang-cpp.so.16.0+0x2775f6e) #12 0x00007ff8897618c2 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.16.0+0x27618c2) #13 0x00007ff888ead599 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.16.0+0x1ead599) #14 0x00007ff88976ba1b clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.16.0+0x276ba1b) #15 0x00007ff88976d90a clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.16.0+0x276d90a) #16 0x000056036857ae68 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang+0x18e68) #17 0x0000560368580dda (/usr/bin/clang+0x1edda) #18 0x00007ff8877e3261 (/lib64/libclang-cpp.so.16.0+0x7e3261) #19 0x00007ff8802ff54a llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-16.so.0+0xcff54a) #20 0x00007ff88797422f (/lib64/libclang-cpp.so.16.0+0x97422f) #21 0x00007ff88841bde6 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.16.0+0x141bde6) #22 0x00007ff88841c12c clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.16.0+0x141c12c) #23 0x00007ff8884210ac clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.16.0+0x14210ac) #24 0x0000560368583508 clang_main(int, char**) (/usr/bin/clang+0x21508) #25 0x00007ff87ee27b4a __libc_start_call_main (/lib64/libc.so.6+0x27b4a) #26 0x00007ff87ee27c0b __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x27c0b) #27 0x0000560368572175 _start (/usr/bin/clang+0x10175) clang-16: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 16.0.2 (G2V 16.0.2-2.fc35) Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-16: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-16: note: diagnostic msg: /tmp/cryptoperf-skcipher-95d1a7.c clang-16: note: diagnostic msg: /tmp/cryptoperf-skcipher-95d1a7.sh clang-16: note: diagnostic msg: ******************** make: *** [Makefile:2012: speed-test/cryptoperf-skcipher.plist] Error 1 CCSA speed-test/cryptoperf-base.plist PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /usr/bin/clang --analyze -DPACKAGE_NAME=\"libkcapi\" -DPACKAGE_TARNAME=\"libkcapi\" -DPACKAGE_VERSION=\"1.4.0\" "-DPACKAGE_STRING=\"libkcapi 1.4.0\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DKCAPI_MAJVERSION=1 -DKCAPI_MINVERSION=4 -DKCAPI_PATCHLEVEL=0 -DPACKAGE=\"libkcapi\" -DVERSION=\"1.4.0\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_GETRANDOM=1 -DHAVE_SECURE_GETENV=1 -DCHECK_PREFIX=\"\" -DCHECK_SUFFIX=\"hmac\" -DCHECK_DIR=\"/usr/lib64\" -DHAVE_FSEEKO=1 -I. -I./lib/ speed-test/cryptoperf-base.c -o speed-test/cryptoperf-base.plist 1. parser at end of file #0 0x00007f4d56de3761 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-16.so.0+0xde3761) #1 0x00007f4d56de146a llvm::sys::RunSignalHandlers() (/lib64/libLLVM-16.so.0+0xde146a) #2 0x00007f4d56cff458 (/lib64/libLLVM-16.so.0+0xcff458) #3 0x00007f4d5583e280 __restore_rt (/lib64/libc.so.6+0x3e280) #4 0x00007f4d5fb3ab7b (/lib64/libclang-cpp.so.16.0+0x213ab7b) #5 0x00007f4d5fb3ce3d clang::ento::ProgramState::bindLoc(clang::ento::Loc, clang::ento::SVal, clang::LocationContext const*, bool) const (/lib64/libclang-cpp.so.16.0+0x213ce3d) #6 0x00007f4d5fbc7286 clang::ento::errno_modeling::setErrnoValue(llvm::IntrusiveRefCntPtr, clang::ento::CheckerContext&, unsigned long, clang::ento::errno_modeling::ErrnoCheckState) (/lib64/libclang-cpp.so.16.0+0x21c7286) #7 0x00007f4d5fbc7680 (/lib64/libclang-cpp.so.16.0+0x21c7680) #8 0x00007f4d5fa72f8b clang::ento::CheckerManager::runCheckersForBeginFunction(clang::ento::ExplodedNodeSet&, clang::BlockEdge const&, clang::ento::ExplodedNode*, clang::ento::ExprEngine&) (/lib64/libclang-cpp.so.16.0+0x2072f8b) #9 0x00007f4d5fbad07c clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) (/lib64/libclang-cpp.so.16.0+0x21ad07c) #10 0x00007f4d5fbc608e (/lib64/libclang-cpp.so.16.0+0x21c608e) #11 0x00007f4d60175f6e (/lib64/libclang-cpp.so.16.0+0x2775f6e) #12 0x00007f4d601618c2 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.16.0+0x27618c2) #13 0x00007f4d5f8ad599 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.16.0+0x1ead599) #14 0x00007f4d6016ba1b clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.16.0+0x276ba1b) #15 0x00007f4d6016d90a clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.16.0+0x276d90a) #16 0x0000557237404e68 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang+0x18e68) #17 0x000055723740adda (/usr/bin/clang+0x1edda) #18 0x00007f4d5e1e3261 (/lib64/libclang-cpp.so.16.0+0x7e3261) #19 0x00007f4d56cff54a llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-16.so.0+0xcff54a) #20 0x00007f4d5e37422f (/lib64/libclang-cpp.so.16.0+0x97422f) #21 0x00007f4d5ee1bde6 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.16.0+0x141bde6) #22 0x00007f4d5ee1c12c clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.16.0+0x141c12c) #23 0x00007f4d5ee210ac clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.16.0+0x14210ac) #24 0x000055723740d508 clang_main(int, char**) (/usr/bin/clang+0x21508) #25 0x00007f4d55827b4a __libc_start_call_main (/lib64/libc.so.6+0x27b4a) #26 0x00007f4d55827c0b __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x27c0b) #27 0x00005572373fc175 _start (/usr/bin/clang+0x10175) clang-16: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 16.0.2 (G2V 16.0.2-2.fc35) Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-16: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-16: note: diagnostic msg: /tmp/cryptoperf-base-a7d3eb.c clang-16: note: diagnostic msg: /tmp/cryptoperf-base-a7d3eb.sh clang-16: note: diagnostic msg: ******************** make: *** [Makefile:2012: speed-test/cryptoperf-base.plist] Error 1 CCSA apps/app-internal.plist PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /usr/bin/clang --analyze -DPACKAGE_NAME=\"libkcapi\" -DPACKAGE_TARNAME=\"libkcapi\" -DPACKAGE_VERSION=\"1.4.0\" "-DPACKAGE_STRING=\"libkcapi 1.4.0\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DKCAPI_MAJVERSION=1 -DKCAPI_MINVERSION=4 -DKCAPI_PATCHLEVEL=0 -DPACKAGE=\"libkcapi\" -DVERSION=\"1.4.0\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_GETRANDOM=1 -DHAVE_SECURE_GETENV=1 -DCHECK_PREFIX=\"\" -DCHECK_SUFFIX=\"hmac\" -DCHECK_DIR=\"/usr/lib64\" -DHAVE_FSEEKO=1 -I. -I./lib/ apps/app-internal.c -o apps/app-internal.plist 1. parser at end of file 2. While analyzing stack: #0 Calling check_filetype 3. apps/app-internal.c:253:12: Error evaluating statement 4. apps/app-internal.c:253:12: Error evaluating statement #0 0x00007f93877e3761 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-16.so.0+0xde3761) #1 0x00007f93877e146a llvm::sys::RunSignalHandlers() (/lib64/libLLVM-16.so.0+0xde146a) #2 0x00007f93876ff458 (/lib64/libLLVM-16.so.0+0xcff458) #3 0x00007f938623e280 __restore_rt (/lib64/libc.so.6+0x3e280) #4 0x00007f9390506062 (/lib64/libclang-cpp.so.16.0+0x2106062) #5 0x00007f939059c4e4 (/lib64/libclang-cpp.so.16.0+0x219c4e4) #6 0x00007f939059e4c8 (/lib64/libclang-cpp.so.16.0+0x219e4c8) #7 0x00007f93904f1d3c clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) (/lib64/libclang-cpp.so.16.0+0x20f1d3c) #8 0x00007f9390590ef2 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) (/lib64/libclang-cpp.so.16.0+0x2190ef2) #9 0x00007f93905019bd clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) (/lib64/libclang-cpp.so.16.0+0x21019bd) #10 0x00007f9390501a44 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) (/lib64/libclang-cpp.so.16.0+0x2101a44) #11 0x00007f9390589ef6 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) (/lib64/libclang-cpp.so.16.0+0x2189ef6) #12 0x00007f93904cb77c (/lib64/libclang-cpp.so.16.0+0x20cb77c) #13 0x00007f93904d8903 (/lib64/libclang-cpp.so.16.0+0x20d8903) #14 0x00007f93904c9dd7 (/lib64/libclang-cpp.so.16.0+0x20c9dd7) #15 0x00007f939056fcf0 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) (/lib64/libclang-cpp.so.16.0+0x216fcf0) #16 0x00007f93905709ed clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) (/lib64/libclang-cpp.so.16.0+0x21709ed) #17 0x00007f9390598cf0 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) (/lib64/libclang-cpp.so.16.0+0x2198cf0) #18 0x00007f93905a979a clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) (/lib64/libclang-cpp.so.16.0+0x21a979a) #19 0x00007f93905a9ab7 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) (/lib64/libclang-cpp.so.16.0+0x21a9ab7) #20 0x00007f93905ab0dd clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) (/lib64/libclang-cpp.so.16.0+0x21ab0dd) #21 0x00007f93905acd4a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) (/lib64/libclang-cpp.so.16.0+0x21acd4a) #22 0x00007f93905c608e (/lib64/libclang-cpp.so.16.0+0x21c608e) #23 0x00007f9390b75f6e (/lib64/libclang-cpp.so.16.0+0x2775f6e) #24 0x00007f9390b618c2 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.16.0+0x27618c2) #25 0x00007f93902ad599 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.16.0+0x1ead599) #26 0x00007f9390b6ba1b clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.16.0+0x276ba1b) #27 0x00007f9390b6d90a clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.16.0+0x276d90a) #28 0x0000561c38e99e68 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang+0x18e68) #29 0x0000561c38e9fdda (/usr/bin/clang+0x1edda) #30 0x00007f938ebe3261 (/lib64/libclang-cpp.so.16.0+0x7e3261) #31 0x00007f93876ff54a llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-16.so.0+0xcff54a) #32 0x00007f938ed7422f (/lib64/libclang-cpp.so.16.0+0x97422f) #33 0x00007f938f81bde6 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.16.0+0x141bde6) #34 0x00007f938f81c12c clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.16.0+0x141c12c) #35 0x00007f938f8210ac clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.16.0+0x14210ac) #36 0x0000561c38ea2508 clang_main(int, char**) (/usr/bin/clang+0x21508) #37 0x00007f9386227b4a __libc_start_call_main (/lib64/libc.so.6+0x27b4a) #38 0x00007f9386227c0b __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x27c0b) #39 0x0000561c38e91175 _start (/usr/bin/clang+0x10175) clang-16: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 16.0.2 (G2V 16.0.2-2.fc35) Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-16: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-16: note: diagnostic msg: /tmp/app-internal-ce7da8.c clang-16: note: diagnostic msg: /tmp/app-internal-ce7da8.sh clang-16: note: diagnostic msg: ******************** make: *** [Makefile:2012: apps/app-internal.plist] Error 1 CCSA apps/kcapi-rng.plist PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /usr/bin/clang --analyze -DPACKAGE_NAME=\"libkcapi\" -DPACKAGE_TARNAME=\"libkcapi\" -DPACKAGE_VERSION=\"1.4.0\" "-DPACKAGE_STRING=\"libkcapi 1.4.0\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DKCAPI_MAJVERSION=1 -DKCAPI_MINVERSION=4 -DKCAPI_PATCHLEVEL=0 -DPACKAGE=\"libkcapi\" -DVERSION=\"1.4.0\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_GETRANDOM=1 -DHAVE_SECURE_GETENV=1 -DCHECK_PREFIX=\"\" -DCHECK_SUFFIX=\"hmac\" -DCHECK_DIR=\"/usr/lib64\" -DHAVE_FSEEKO=1 -I. -I./lib/ apps/kcapi-rng.c -o apps/kcapi-rng.plist 1. parser at end of file #0 0x00007fd7949e3761 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-16.so.0+0xde3761) #1 0x00007fd7949e146a llvm::sys::RunSignalHandlers() (/lib64/libLLVM-16.so.0+0xde146a) #2 0x00007fd7948ff458 (/lib64/libLLVM-16.so.0+0xcff458) #3 0x00007fd79343e280 __restore_rt (/lib64/libc.so.6+0x3e280) #4 0x00007fd79d73ab7b (/lib64/libclang-cpp.so.16.0+0x213ab7b) #5 0x00007fd79d73ce3d clang::ento::ProgramState::bindLoc(clang::ento::Loc, clang::ento::SVal, clang::LocationContext const*, bool) const (/lib64/libclang-cpp.so.16.0+0x213ce3d) #6 0x00007fd79d7c7286 clang::ento::errno_modeling::setErrnoValue(llvm::IntrusiveRefCntPtr, clang::ento::CheckerContext&, unsigned long, clang::ento::errno_modeling::ErrnoCheckState) (/lib64/libclang-cpp.so.16.0+0x21c7286) #7 0x00007fd79d7c7680 (/lib64/libclang-cpp.so.16.0+0x21c7680) #8 0x00007fd79d672f8b clang::ento::CheckerManager::runCheckersForBeginFunction(clang::ento::ExplodedNodeSet&, clang::BlockEdge const&, clang::ento::ExplodedNode*, clang::ento::ExprEngine&) (/lib64/libclang-cpp.so.16.0+0x2072f8b) #9 0x00007fd79d7ad07c clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) (/lib64/libclang-cpp.so.16.0+0x21ad07c) #10 0x00007fd79d7c608e (/lib64/libclang-cpp.so.16.0+0x21c608e) #11 0x00007fd79dd75f6e (/lib64/libclang-cpp.so.16.0+0x2775f6e) #12 0x00007fd79dd618c2 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.16.0+0x27618c2) #13 0x00007fd79d4ad599 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.16.0+0x1ead599) #14 0x00007fd79dd6ba1b clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.16.0+0x276ba1b) #15 0x00007fd79dd6d90a clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.16.0+0x276d90a) #16 0x000056124aecde68 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang+0x18e68) #17 0x000056124aed3dda (/usr/bin/clang+0x1edda) #18 0x00007fd79bde3261 (/lib64/libclang-cpp.so.16.0+0x7e3261) #19 0x00007fd7948ff54a llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-16.so.0+0xcff54a) #20 0x00007fd79bf7422f (/lib64/libclang-cpp.so.16.0+0x97422f) #21 0x00007fd79ca1bde6 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.16.0+0x141bde6) #22 0x00007fd79ca1c12c clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.16.0+0x141c12c) #23 0x00007fd79ca210ac clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.16.0+0x14210ac) #24 0x000056124aed6508 clang_main(int, char**) (/usr/bin/clang+0x21508) #25 0x00007fd793427b4a __libc_start_call_main (/lib64/libc.so.6+0x27b4a) #26 0x00007fd793427c0b __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x27c0b) #27 0x000056124aec5175 _start (/usr/bin/clang+0x10175) clang-16: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 16.0.2 (G2V 16.0.2-2.fc35) Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-16: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-16: note: diagnostic msg: /tmp/kcapi-rng-e245e1.c clang-16: note: diagnostic msg: /tmp/kcapi-rng-e245e1.sh clang-16: note: diagnostic msg: ******************** make: *** [Makefile:2012: apps/kcapi-rng.plist] Error 1 CCSA speed-test/cryptoperf-aead.plist PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /usr/bin/clang --analyze -DPACKAGE_NAME=\"libkcapi\" -DPACKAGE_TARNAME=\"libkcapi\" -DPACKAGE_VERSION=\"1.4.0\" "-DPACKAGE_STRING=\"libkcapi 1.4.0\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DKCAPI_MAJVERSION=1 -DKCAPI_MINVERSION=4 -DKCAPI_PATCHLEVEL=0 -DPACKAGE=\"libkcapi\" -DVERSION=\"1.4.0\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_GETRANDOM=1 -DHAVE_SECURE_GETENV=1 -DCHECK_PREFIX=\"\" -DCHECK_SUFFIX=\"hmac\" -DCHECK_DIR=\"/usr/lib64\" -DHAVE_FSEEKO=1 -I. -I./lib/ speed-test/cryptoperf-aead.c -o speed-test/cryptoperf-aead.plist 1. parser at end of file 2. While analyzing stack: #0 Calling cp_aead_register 3. speed-test/cryptoperf-aead.c:401:9: Error evaluating branch #0 0x00007f57351e3761 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-16.so.0+0xde3761) #1 0x00007f57351e146a llvm::sys::RunSignalHandlers() (/lib64/libLLVM-16.so.0+0xde146a) #2 0x00007f57350ff458 (/lib64/libLLVM-16.so.0+0xcff458) #3 0x00007f5733c3e280 __restore_rt (/lib64/libc.so.6+0x3e280) #4 0x00007f573df06062 (/lib64/libclang-cpp.so.16.0+0x2106062) #5 0x00007f573df9c4e4 (/lib64/libclang-cpp.so.16.0+0x219c4e4) #6 0x00007f573df9e4c8 (/lib64/libclang-cpp.so.16.0+0x219e4c8) #7 0x00007f573df06de8 clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) (/lib64/libclang-cpp.so.16.0+0x2106de8) #8 0x00007f573df90f5c clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) (/lib64/libclang-cpp.so.16.0+0x2190f5c) #9 0x00007f573df019bd clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) (/lib64/libclang-cpp.so.16.0+0x21019bd) #10 0x00007f573df01a44 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) (/lib64/libclang-cpp.so.16.0+0x2101a44) #11 0x00007f573df89ef6 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) (/lib64/libclang-cpp.so.16.0+0x2189ef6) #12 0x00007f573decb77c (/lib64/libclang-cpp.so.16.0+0x20cb77c) #13 0x00007f573decb9f1 (/lib64/libclang-cpp.so.16.0+0x20cb9f1) #14 0x00007f573df7a029 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) (/lib64/libclang-cpp.so.16.0+0x217a029) #15 0x00007f573df7a892 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) (/lib64/libclang-cpp.so.16.0+0x217a892) #16 0x00007f573dfacd4a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) (/lib64/libclang-cpp.so.16.0+0x21acd4a) #17 0x00007f573dfc608e (/lib64/libclang-cpp.so.16.0+0x21c608e) #18 0x00007f573e575f6e (/lib64/libclang-cpp.so.16.0+0x2775f6e) #19 0x00007f573e5618c2 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.16.0+0x27618c2) #20 0x00007f573dcad599 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.16.0+0x1ead599) #21 0x00007f573e56ba1b clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.16.0+0x276ba1b) #22 0x00007f573e56d90a clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.16.0+0x276d90a) #23 0x00005594af688e68 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang+0x18e68) #24 0x00005594af68edda (/usr/bin/clang+0x1edda) #25 0x00007f573c5e3261 (/lib64/libclang-cpp.so.16.0+0x7e3261) #26 0x00007f57350ff54a llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-16.so.0+0xcff54a) #27 0x00007f573c77422f (/lib64/libclang-cpp.so.16.0+0x97422f) #28 0x00007f573d21bde6 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.16.0+0x141bde6) #29 0x00007f573d21c12c clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.16.0+0x141c12c) #30 0x00007f573d2210ac clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.16.0+0x14210ac) #31 0x00005594af691508 clang_main(int, char**) (/usr/bin/clang+0x21508) #32 0x00007f5733c27b4a __libc_start_call_main (/lib64/libc.so.6+0x27b4a) #33 0x00007f5733c27c0b __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x27c0b) #34 0x00005594af680175 _start (/usr/bin/clang+0x10175) clang-16: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 16.0.2 (G2V 16.0.2-2.fc35) Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-16: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-16: note: diagnostic msg: /tmp/cryptoperf-aead-50c7ed.c clang-16: note: diagnostic msg: /tmp/cryptoperf-aead-50c7ed.sh clang-16: note: diagnostic msg: ******************** make: *** [Makefile:2012: speed-test/cryptoperf-aead.plist] Error 1 CCSA speed-test/cryptoperf-rng.plist PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /usr/bin/clang --analyze -DPACKAGE_NAME=\"libkcapi\" -DPACKAGE_TARNAME=\"libkcapi\" -DPACKAGE_VERSION=\"1.4.0\" "-DPACKAGE_STRING=\"libkcapi 1.4.0\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DKCAPI_MAJVERSION=1 -DKCAPI_MINVERSION=4 -DKCAPI_PATCHLEVEL=0 -DPACKAGE=\"libkcapi\" -DVERSION=\"1.4.0\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_GETRANDOM=1 -DHAVE_SECURE_GETENV=1 -DCHECK_PREFIX=\"\" -DCHECK_SUFFIX=\"hmac\" -DCHECK_DIR=\"/usr/lib64\" -DHAVE_FSEEKO=1 -I. -I./lib/ speed-test/cryptoperf-rng.c -o speed-test/cryptoperf-rng.plist 1. parser at end of file #0 0x00007f5f68fe3761 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-16.so.0+0xde3761) #1 0x00007f5f68fe146a llvm::sys::RunSignalHandlers() (/lib64/libLLVM-16.so.0+0xde146a) #2 0x00007f5f68eff458 (/lib64/libLLVM-16.so.0+0xcff458) #3 0x00007f5f67a3e280 __restore_rt (/lib64/libc.so.6+0x3e280) #4 0x00007f5f71d3ab7b (/lib64/libclang-cpp.so.16.0+0x213ab7b) #5 0x00007f5f71d3ce3d clang::ento::ProgramState::bindLoc(clang::ento::Loc, clang::ento::SVal, clang::LocationContext const*, bool) const (/lib64/libclang-cpp.so.16.0+0x213ce3d) #6 0x00007f5f71dc7286 clang::ento::errno_modeling::setErrnoValue(llvm::IntrusiveRefCntPtr, clang::ento::CheckerContext&, unsigned long, clang::ento::errno_modeling::ErrnoCheckState) (/lib64/libclang-cpp.so.16.0+0x21c7286) #7 0x00007f5f71dc7680 (/lib64/libclang-cpp.so.16.0+0x21c7680) #8 0x00007f5f71c72f8b clang::ento::CheckerManager::runCheckersForBeginFunction(clang::ento::ExplodedNodeSet&, clang::BlockEdge const&, clang::ento::ExplodedNode*, clang::ento::ExprEngine&) (/lib64/libclang-cpp.so.16.0+0x2072f8b) #9 0x00007f5f71dad07c clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) (/lib64/libclang-cpp.so.16.0+0x21ad07c) #10 0x00007f5f71dc608e (/lib64/libclang-cpp.so.16.0+0x21c608e) #11 0x00007f5f72375f6e (/lib64/libclang-cpp.so.16.0+0x2775f6e) #12 0x00007f5f723618c2 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.16.0+0x27618c2) #13 0x00007f5f71aad599 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.16.0+0x1ead599) #14 0x00007f5f7236ba1b clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.16.0+0x276ba1b) #15 0x00007f5f7236d90a clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.16.0+0x276d90a) #16 0x000055be9d02de68 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang+0x18e68) #17 0x000055be9d033dda (/usr/bin/clang+0x1edda) #18 0x00007f5f703e3261 (/lib64/libclang-cpp.so.16.0+0x7e3261) #19 0x00007f5f68eff54a llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-16.so.0+0xcff54a) #20 0x00007f5f7057422f (/lib64/libclang-cpp.so.16.0+0x97422f) #21 0x00007f5f7101bde6 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.16.0+0x141bde6) #22 0x00007f5f7101c12c clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.16.0+0x141c12c) #23 0x00007f5f710210ac clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.16.0+0x14210ac) #24 0x000055be9d036508 clang_main(int, char**) (/usr/bin/clang+0x21508) #25 0x00007f5f67a27b4a __libc_start_call_main (/lib64/libc.so.6+0x27b4a) #26 0x00007f5f67a27c0b __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x27c0b) #27 0x000055be9d025175 _start (/usr/bin/clang+0x10175) clang-16: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 16.0.2 (G2V 16.0.2-2.fc35) Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-16: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-16: note: diagnostic msg: /tmp/cryptoperf-rng-e0c1e2.c clang-16: note: diagnostic msg: /tmp/cryptoperf-rng-e0c1e2.sh clang-16: note: diagnostic msg: ******************** make: *** [Makefile:2012: speed-test/cryptoperf-rng.plist] Error 1 CCSA lib/kcapi-sym.plist PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /usr/bin/clang --analyze -DPACKAGE_NAME=\"libkcapi\" -DPACKAGE_TARNAME=\"libkcapi\" -DPACKAGE_VERSION=\"1.4.0\" "-DPACKAGE_STRING=\"libkcapi 1.4.0\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DKCAPI_MAJVERSION=1 -DKCAPI_MINVERSION=4 -DKCAPI_PATCHLEVEL=0 -DPACKAGE=\"libkcapi\" -DVERSION=\"1.4.0\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_GETRANDOM=1 -DHAVE_SECURE_GETENV=1 -DCHECK_PREFIX=\"\" -DCHECK_SUFFIX=\"hmac\" -DCHECK_DIR=\"/usr/lib64\" -DHAVE_FSEEKO=1 -I. -I./lib/ lib/kcapi-sym.c -o lib/kcapi-sym.plist 1. parser at end of file #0 0x00007f2032fe3761 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-16.so.0+0xde3761) #1 0x00007f2032fe146a llvm::sys::RunSignalHandlers() (/lib64/libLLVM-16.so.0+0xde146a) #2 0x00007f2032eff458 (/lib64/libLLVM-16.so.0+0xcff458) #3 0x00007f2031a3e280 __restore_rt (/lib64/libc.so.6+0x3e280) #4 0x00007f203bd3ab7b (/lib64/libclang-cpp.so.16.0+0x213ab7b) #5 0x00007f203bd3ce3d clang::ento::ProgramState::bindLoc(clang::ento::Loc, clang::ento::SVal, clang::LocationContext const*, bool) const (/lib64/libclang-cpp.so.16.0+0x213ce3d) #6 0x00007f203bdc7286 clang::ento::errno_modeling::setErrnoValue(llvm::IntrusiveRefCntPtr, clang::ento::CheckerContext&, unsigned long, clang::ento::errno_modeling::ErrnoCheckState) (/lib64/libclang-cpp.so.16.0+0x21c7286) #7 0x00007f203bdc7680 (/lib64/libclang-cpp.so.16.0+0x21c7680) #8 0x00007f203bc72f8b clang::ento::CheckerManager::runCheckersForBeginFunction(clang::ento::ExplodedNodeSet&, clang::BlockEdge const&, clang::ento::ExplodedNode*, clang::ento::ExprEngine&) (/lib64/libclang-cpp.so.16.0+0x2072f8b) #9 0x00007f203bdad07c clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) (/lib64/libclang-cpp.so.16.0+0x21ad07c) #10 0x00007f203bdc608e (/lib64/libclang-cpp.so.16.0+0x21c608e) #11 0x00007f203c375f6e (/lib64/libclang-cpp.so.16.0+0x2775f6e) #12 0x00007f203c3618c2 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.16.0+0x27618c2) #13 0x00007f203baad599 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.16.0+0x1ead599) #14 0x00007f203c36ba1b clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.16.0+0x276ba1b) #15 0x00007f203c36d90a clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.16.0+0x276d90a) #16 0x000055c6a27d9e68 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang+0x18e68) #17 0x000055c6a27dfdda (/usr/bin/clang+0x1edda) #18 0x00007f203a3e3261 (/lib64/libclang-cpp.so.16.0+0x7e3261) #19 0x00007f2032eff54a llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-16.so.0+0xcff54a) #20 0x00007f203a57422f (/lib64/libclang-cpp.so.16.0+0x97422f) #21 0x00007f203b01bde6 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.16.0+0x141bde6) #22 0x00007f203b01c12c clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.16.0+0x141c12c) #23 0x00007f203b0210ac clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.16.0+0x14210ac) #24 0x000055c6a27e2508 clang_main(int, char**) (/usr/bin/clang+0x21508) #25 0x00007f2031a27b4a __libc_start_call_main (/lib64/libc.so.6+0x27b4a) #26 0x00007f2031a27c0b __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x27c0b) #27 0x000055c6a27d1175 _start (/usr/bin/clang+0x10175) clang-16: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 16.0.2 (G2V 16.0.2-2.fc35) Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-16: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-16: note: diagnostic msg: /tmp/kcapi-sym-63f22d.c clang-16: note: diagnostic msg: /tmp/kcapi-sym-63f22d.sh clang-16: note: diagnostic msg: ******************** make: *** [Makefile:2012: lib/kcapi-sym.plist] Error 1 CCSA lib/kcapi-utils.plist PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /usr/bin/clang --analyze -DPACKAGE_NAME=\"libkcapi\" -DPACKAGE_TARNAME=\"libkcapi\" -DPACKAGE_VERSION=\"1.4.0\" "-DPACKAGE_STRING=\"libkcapi 1.4.0\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DKCAPI_MAJVERSION=1 -DKCAPI_MINVERSION=4 -DKCAPI_PATCHLEVEL=0 -DPACKAGE=\"libkcapi\" -DVERSION=\"1.4.0\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_GETRANDOM=1 -DHAVE_SECURE_GETENV=1 -DCHECK_PREFIX=\"\" -DCHECK_SUFFIX=\"hmac\" -DCHECK_DIR=\"/usr/lib64\" -DHAVE_FSEEKO=1 -I. -I./lib/ lib/kcapi-utils.c -o lib/kcapi-utils.plist 1. parser at end of file 2. While analyzing stack: #0 Calling kcapi_get_maxsplicesize 3. lib/kcapi-utils.c:106:40: Error evaluating statement #0 0x00007f1c64de3761 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-16.so.0+0xde3761) #1 0x00007f1c64de146a llvm::sys::RunSignalHandlers() (/lib64/libLLVM-16.so.0+0xde146a) #2 0x00007f1c64cff458 (/lib64/libLLVM-16.so.0+0xcff458) #3 0x00007f1c6383e280 __restore_rt (/lib64/libc.so.6+0x3e280) #4 0x00007f1c6dba8939 clang::ento::SymbolReaper::markLive(clang::ento::MemRegion const*) (/lib64/libclang-cpp.so.16.0+0x21a8939) #5 0x00007f1c6dbad52e (/lib64/libclang-cpp.so.16.0+0x21ad52e) #6 0x00007f1c6dac93d6 clang::ento::CheckerManager::runCheckersForLiveSymbols(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) (/lib64/libclang-cpp.so.16.0+0x20c93d6) #7 0x00007f1c6dba8cac clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) (/lib64/libclang-cpp.so.16.0+0x21a8cac) #8 0x00007f1c6dba95be clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) (/lib64/libclang-cpp.so.16.0+0x21a95be) #9 0x00007f1c6dba9ab7 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) (/lib64/libclang-cpp.so.16.0+0x21a9ab7) #10 0x00007f1c6dbab1df clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) (/lib64/libclang-cpp.so.16.0+0x21ab1df) #11 0x00007f1c6dbacab6 clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) (/lib64/libclang-cpp.so.16.0+0x21acab6) #12 0x00007f1c6dbacd4a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) (/lib64/libclang-cpp.so.16.0+0x21acd4a) #13 0x00007f1c6dbc608e (/lib64/libclang-cpp.so.16.0+0x21c608e) #14 0x00007f1c6e175f6e (/lib64/libclang-cpp.so.16.0+0x2775f6e) #15 0x00007f1c6e1618c2 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.16.0+0x27618c2) #16 0x00007f1c6d8ad599 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.16.0+0x1ead599) #17 0x00007f1c6e16ba1b clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.16.0+0x276ba1b) #18 0x00007f1c6e16d90a clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.16.0+0x276d90a) #19 0x0000558c02edae68 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang+0x18e68) #20 0x0000558c02ee0dda (/usr/bin/clang+0x1edda) #21 0x00007f1c6c1e3261 (/lib64/libclang-cpp.so.16.0+0x7e3261) #22 0x00007f1c64cff54a llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-16.so.0+0xcff54a) #23 0x00007f1c6c37422f (/lib64/libclang-cpp.so.16.0+0x97422f) #24 0x00007f1c6ce1bde6 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.16.0+0x141bde6) #25 0x00007f1c6ce1c12c clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.16.0+0x141c12c) #26 0x00007f1c6ce210ac clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.16.0+0x14210ac) #27 0x0000558c02ee3508 clang_main(int, char**) (/usr/bin/clang+0x21508) #28 0x00007f1c63827b4a __libc_start_call_main (/lib64/libc.so.6+0x27b4a) #29 0x00007f1c63827c0b __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x27c0b) #30 0x0000558c02ed2175 _start (/usr/bin/clang+0x10175) clang-16: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 16.0.2 (G2V 16.0.2-2.fc35) Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-16: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-16: note: diagnostic msg: /tmp/kcapi-utils-eb5855.c clang-16: note: diagnostic msg: /tmp/kcapi-utils-eb5855.sh clang-16: note: diagnostic msg: ******************** make: *** [Makefile:2012: lib/kcapi-utils.plist] Error 1 CCSA apps/kcapi-dgst.plist PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /usr/bin/clang --analyze -DPACKAGE_NAME=\"libkcapi\" -DPACKAGE_TARNAME=\"libkcapi\" -DPACKAGE_VERSION=\"1.4.0\" "-DPACKAGE_STRING=\"libkcapi 1.4.0\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DKCAPI_MAJVERSION=1 -DKCAPI_MINVERSION=4 -DKCAPI_PATCHLEVEL=0 -DPACKAGE=\"libkcapi\" -DVERSION=\"1.4.0\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_GETRANDOM=1 -DHAVE_SECURE_GETENV=1 -DCHECK_PREFIX=\"\" -DCHECK_SUFFIX=\"hmac\" -DCHECK_DIR=\"/usr/lib64\" -DHAVE_FSEEKO=1 -I. -I./lib/ apps/kcapi-dgst.c -o apps/kcapi-dgst.plist 1. parser at end of file #0 0x00007f6d17be3761 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-16.so.0+0xde3761) #1 0x00007f6d17be146a llvm::sys::RunSignalHandlers() (/lib64/libLLVM-16.so.0+0xde146a) #2 0x00007f6d17aff458 (/lib64/libLLVM-16.so.0+0xcff458) #3 0x00007f6d1663e280 __restore_rt (/lib64/libc.so.6+0x3e280) #4 0x00007f6d2093ab7b (/lib64/libclang-cpp.so.16.0+0x213ab7b) #5 0x00007f6d2093ce3d clang::ento::ProgramState::bindLoc(clang::ento::Loc, clang::ento::SVal, clang::LocationContext const*, bool) const (/lib64/libclang-cpp.so.16.0+0x213ce3d) #6 0x00007f6d209c7286 clang::ento::errno_modeling::setErrnoValue(llvm::IntrusiveRefCntPtr, clang::ento::CheckerContext&, unsigned long, clang::ento::errno_modeling::ErrnoCheckState) (/lib64/libclang-cpp.so.16.0+0x21c7286) #7 0x00007f6d209c7680 (/lib64/libclang-cpp.so.16.0+0x21c7680) #8 0x00007f6d20872f8b clang::ento::CheckerManager::runCheckersForBeginFunction(clang::ento::ExplodedNodeSet&, clang::BlockEdge const&, clang::ento::ExplodedNode*, clang::ento::ExprEngine&) (/lib64/libclang-cpp.so.16.0+0x2072f8b) #9 0x00007f6d209ad07c clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) (/lib64/libclang-cpp.so.16.0+0x21ad07c) #10 0x00007f6d209c608e (/lib64/libclang-cpp.so.16.0+0x21c608e) #11 0x00007f6d20f75f6e (/lib64/libclang-cpp.so.16.0+0x2775f6e) #12 0x00007f6d20f618c2 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.16.0+0x27618c2) #13 0x00007f6d206ad599 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.16.0+0x1ead599) #14 0x00007f6d20f6ba1b clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.16.0+0x276ba1b) #15 0x00007f6d20f6d90a clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.16.0+0x276d90a) #16 0x000055efdbf0ce68 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang+0x18e68) #17 0x000055efdbf12dda (/usr/bin/clang+0x1edda) #18 0x00007f6d1efe3261 (/lib64/libclang-cpp.so.16.0+0x7e3261) #19 0x00007f6d17aff54a llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-16.so.0+0xcff54a) #20 0x00007f6d1f17422f (/lib64/libclang-cpp.so.16.0+0x97422f) #21 0x00007f6d1fc1bde6 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.16.0+0x141bde6) #22 0x00007f6d1fc1c12c clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.16.0+0x141c12c) #23 0x00007f6d1fc210ac clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.16.0+0x14210ac) #24 0x000055efdbf15508 clang_main(int, char**) (/usr/bin/clang+0x21508) #25 0x00007f6d16627b4a __libc_start_call_main (/lib64/libc.so.6+0x27b4a) #26 0x00007f6d16627c0b __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x27c0b) #27 0x000055efdbf04175 _start (/usr/bin/clang+0x10175) clang-16: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 16.0.2 (G2V 16.0.2-2.fc35) Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-16: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-16: note: diagnostic msg: /tmp/kcapi-dgst-a1755e.c clang-16: note: diagnostic msg: /tmp/kcapi-dgst-a1755e.sh clang-16: note: diagnostic msg: ******************** make: *** [Makefile:2012: apps/kcapi-dgst.plist] Error 1 CCSA lib/kcapi-rng.plist PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /usr/bin/clang --analyze -DPACKAGE_NAME=\"libkcapi\" -DPACKAGE_TARNAME=\"libkcapi\" -DPACKAGE_VERSION=\"1.4.0\" "-DPACKAGE_STRING=\"libkcapi 1.4.0\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DKCAPI_MAJVERSION=1 -DKCAPI_MINVERSION=4 -DKCAPI_PATCHLEVEL=0 -DPACKAGE=\"libkcapi\" -DVERSION=\"1.4.0\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_GETRANDOM=1 -DHAVE_SECURE_GETENV=1 -DCHECK_PREFIX=\"\" -DCHECK_SUFFIX=\"hmac\" -DCHECK_DIR=\"/usr/lib64\" -DHAVE_FSEEKO=1 -I. -I./lib/ lib/kcapi-rng.c -o lib/kcapi-rng.plist 1. parser at end of file #0 0x00007f75057e3761 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-16.so.0+0xde3761) #1 0x00007f75057e146a llvm::sys::RunSignalHandlers() (/lib64/libLLVM-16.so.0+0xde146a) #2 0x00007f75056ff458 (/lib64/libLLVM-16.so.0+0xcff458) #3 0x00007f750423e280 __restore_rt (/lib64/libc.so.6+0x3e280) #4 0x00007f750e53ab7b (/lib64/libclang-cpp.so.16.0+0x213ab7b) #5 0x00007f750e53ce3d clang::ento::ProgramState::bindLoc(clang::ento::Loc, clang::ento::SVal, clang::LocationContext const*, bool) const (/lib64/libclang-cpp.so.16.0+0x213ce3d) #6 0x00007f750e5c7286 clang::ento::errno_modeling::setErrnoValue(llvm::IntrusiveRefCntPtr, clang::ento::CheckerContext&, unsigned long, clang::ento::errno_modeling::ErrnoCheckState) (/lib64/libclang-cpp.so.16.0+0x21c7286) #7 0x00007f750e5c7680 (/lib64/libclang-cpp.so.16.0+0x21c7680) #8 0x00007f750e472f8b clang::ento::CheckerManager::runCheckersForBeginFunction(clang::ento::ExplodedNodeSet&, clang::BlockEdge const&, clang::ento::ExplodedNode*, clang::ento::ExprEngine&) (/lib64/libclang-cpp.so.16.0+0x2072f8b) #9 0x00007f750e5ad07c clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) (/lib64/libclang-cpp.so.16.0+0x21ad07c) #10 0x00007f750e5c608e (/lib64/libclang-cpp.so.16.0+0x21c608e) #11 0x00007f750eb75f6e (/lib64/libclang-cpp.so.16.0+0x2775f6e) #12 0x00007f750eb618c2 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.16.0+0x27618c2) #13 0x00007f750e2ad599 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.16.0+0x1ead599) #14 0x00007f750eb6ba1b clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.16.0+0x276ba1b) #15 0x00007f750eb6d90a clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.16.0+0x276d90a) #16 0x000055ff038efe68 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang+0x18e68) #17 0x000055ff038f5dda (/usr/bin/clang+0x1edda) #18 0x00007f750cbe3261 (/lib64/libclang-cpp.so.16.0+0x7e3261) #19 0x00007f75056ff54a llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-16.so.0+0xcff54a) #20 0x00007f750cd7422f (/lib64/libclang-cpp.so.16.0+0x97422f) #21 0x00007f750d81bde6 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.16.0+0x141bde6) #22 0x00007f750d81c12c clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.16.0+0x141c12c) #23 0x00007f750d8210ac clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.16.0+0x14210ac) #24 0x000055ff038f8508 clang_main(int, char**) (/usr/bin/clang+0x21508) #25 0x00007f7504227b4a __libc_start_call_main (/lib64/libc.so.6+0x27b4a) #26 0x00007f7504227c0b __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x27c0b) #27 0x000055ff038e7175 _start (/usr/bin/clang+0x10175) clang-16: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 16.0.2 (G2V 16.0.2-2.fc35) Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-16: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-16: note: diagnostic msg: /tmp/kcapi-rng-5511b8.c clang-16: note: diagnostic msg: /tmp/kcapi-rng-5511b8.sh clang-16: note: diagnostic msg: ******************** make: *** [Makefile:2012: lib/kcapi-rng.plist] Error 1 CCSA lib/kcapi-aead.plist PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /usr/bin/clang --analyze -DPACKAGE_NAME=\"libkcapi\" -DPACKAGE_TARNAME=\"libkcapi\" -DPACKAGE_VERSION=\"1.4.0\" "-DPACKAGE_STRING=\"libkcapi 1.4.0\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DKCAPI_MAJVERSION=1 -DKCAPI_MINVERSION=4 -DKCAPI_PATCHLEVEL=0 -DPACKAGE=\"libkcapi\" -DVERSION=\"1.4.0\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_GETRANDOM=1 -DHAVE_SECURE_GETENV=1 -DCHECK_PREFIX=\"\" -DCHECK_SUFFIX=\"hmac\" -DCHECK_DIR=\"/usr/lib64\" -DHAVE_FSEEKO=1 -I. -I./lib/ lib/kcapi-aead.c -o lib/kcapi-aead.plist 1. parser at end of file #0 0x00007f8134de3761 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-16.so.0+0xde3761) #1 0x00007f8134de146a llvm::sys::RunSignalHandlers() (/lib64/libLLVM-16.so.0+0xde146a) #2 0x00007f8134cff458 (/lib64/libLLVM-16.so.0+0xcff458) #3 0x00007f813383e280 __restore_rt (/lib64/libc.so.6+0x3e280) #4 0x00007f813db3ab7b (/lib64/libclang-cpp.so.16.0+0x213ab7b) #5 0x00007f813db3ce3d clang::ento::ProgramState::bindLoc(clang::ento::Loc, clang::ento::SVal, clang::LocationContext const*, bool) const (/lib64/libclang-cpp.so.16.0+0x213ce3d) #6 0x00007f813dbc7286 clang::ento::errno_modeling::setErrnoValue(llvm::IntrusiveRefCntPtr, clang::ento::CheckerContext&, unsigned long, clang::ento::errno_modeling::ErrnoCheckState) (/lib64/libclang-cpp.so.16.0+0x21c7286) #7 0x00007f813dbc7680 (/lib64/libclang-cpp.so.16.0+0x21c7680) #8 0x00007f813da72f8b clang::ento::CheckerManager::runCheckersForBeginFunction(clang::ento::ExplodedNodeSet&, clang::BlockEdge const&, clang::ento::ExplodedNode*, clang::ento::ExprEngine&) (/lib64/libclang-cpp.so.16.0+0x2072f8b) #9 0x00007f813dbad07c clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) (/lib64/libclang-cpp.so.16.0+0x21ad07c) #10 0x00007f813dbc608e (/lib64/libclang-cpp.so.16.0+0x21c608e) #11 0x00007f813e175f6e (/lib64/libclang-cpp.so.16.0+0x2775f6e) #12 0x00007f813e1618c2 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.16.0+0x27618c2) #13 0x00007f813d8ad599 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.16.0+0x1ead599) #14 0x00007f813e16ba1b clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.16.0+0x276ba1b) #15 0x00007f813e16d90a clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.16.0+0x276d90a) #16 0x000055fb44d4de68 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang+0x18e68) #17 0x000055fb44d53dda (/usr/bin/clang+0x1edda) #18 0x00007f813c1e3261 (/lib64/libclang-cpp.so.16.0+0x7e3261) #19 0x00007f8134cff54a llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-16.so.0+0xcff54a) #20 0x00007f813c37422f (/lib64/libclang-cpp.so.16.0+0x97422f) #21 0x00007f813ce1bde6 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.16.0+0x141bde6) #22 0x00007f813ce1c12c clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.16.0+0x141c12c) #23 0x00007f813ce210ac clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.16.0+0x14210ac) #24 0x000055fb44d56508 clang_main(int, char**) (/usr/bin/clang+0x21508) #25 0x00007f8133827b4a __libc_start_call_main (/lib64/libc.so.6+0x27b4a) #26 0x00007f8133827c0b __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x27c0b) #27 0x000055fb44d45175 _start (/usr/bin/clang+0x10175) clang-16: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 16.0.2 (G2V 16.0.2-2.fc35) Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-16: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-16: note: diagnostic msg: /tmp/kcapi-aead-d8ab2f.c clang-16: note: diagnostic msg: /tmp/kcapi-aead-d8ab2f.sh clang-16: note: diagnostic msg: ******************** make: *** [Makefile:2012: lib/kcapi-aead.plist] Error 1 CCSA speed-test/cryptoperf-hash.plist PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /usr/bin/clang --analyze -DPACKAGE_NAME=\"libkcapi\" -DPACKAGE_TARNAME=\"libkcapi\" -DPACKAGE_VERSION=\"1.4.0\" "-DPACKAGE_STRING=\"libkcapi 1.4.0\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DKCAPI_MAJVERSION=1 -DKCAPI_MINVERSION=4 -DKCAPI_PATCHLEVEL=0 -DPACKAGE=\"libkcapi\" -DVERSION=\"1.4.0\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_GETRANDOM=1 -DHAVE_SECURE_GETENV=1 -DCHECK_PREFIX=\"\" -DCHECK_SUFFIX=\"hmac\" -DCHECK_DIR=\"/usr/lib64\" -DHAVE_FSEEKO=1 -I. -I./lib/ speed-test/cryptoperf-hash.c -o speed-test/cryptoperf-hash.plist 1. parser at end of file 2. While analyzing stack: #0 Calling cp_hash_test 3. speed-test/cryptoperf-hash.c:100:18: Error evaluating statement 4. speed-test/cryptoperf-hash.c:100:18: Error evaluating statement #0 0x00007f88d71e3761 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-16.so.0+0xde3761) #1 0x00007f88d71e146a llvm::sys::RunSignalHandlers() (/lib64/libLLVM-16.so.0+0xde146a) #2 0x00007f88d70ff458 (/lib64/libLLVM-16.so.0+0xcff458) #3 0x00007f88d5c3e280 __restore_rt (/lib64/libc.so.6+0x3e280) #4 0x00007f88dff06062 (/lib64/libclang-cpp.so.16.0+0x2106062) #5 0x00007f88dff9c4e4 (/lib64/libclang-cpp.so.16.0+0x219c4e4) #6 0x00007f88dff9e4c8 (/lib64/libclang-cpp.so.16.0+0x219e4c8) #7 0x00007f88dfef1d3c clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) (/lib64/libclang-cpp.so.16.0+0x20f1d3c) #8 0x00007f88dff90ef2 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) (/lib64/libclang-cpp.so.16.0+0x2190ef2) #9 0x00007f88dff019bd clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) (/lib64/libclang-cpp.so.16.0+0x21019bd) #10 0x00007f88dff01a44 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) (/lib64/libclang-cpp.so.16.0+0x2101a44) #11 0x00007f88dff89ef6 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) (/lib64/libclang-cpp.so.16.0+0x2189ef6) #12 0x00007f88dfecb77c (/lib64/libclang-cpp.so.16.0+0x20cb77c) #13 0x00007f88dfecb9f1 (/lib64/libclang-cpp.so.16.0+0x20cb9f1) #14 0x00007f88dfeddfef (/lib64/libclang-cpp.so.16.0+0x20ddfef) #15 0x00007f88df0b3949 (/lib64/libclang-cpp.so.16.0+0x12b3949) #16 0x00007f88dfedd3fb clang::ento::ExprEngine::evalLocation(clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::Stmt const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) (/lib64/libclang-cpp.so.16.0+0x20dd3fb) #17 0x00007f88dff315d5 clang::ento::ExprEngine::evalLoad(clang::ento::ExplodedNodeSet&, clang::Expr const*, clang::Expr const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, clang::ProgramPointTag const*, clang::QualType) (/lib64/libclang-cpp.so.16.0+0x21315d5) #18 0x00007f88dff92997 clang::ento::ExprEngine::VisitCast(clang::CastExpr const*, clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) (/lib64/libclang-cpp.so.16.0+0x2192997) #19 0x00007f88dff988c9 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) (/lib64/libclang-cpp.so.16.0+0x21988c9) #20 0x00007f88dffa979a clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) (/lib64/libclang-cpp.so.16.0+0x21a979a) #21 0x00007f88dffa9ab7 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) (/lib64/libclang-cpp.so.16.0+0x21a9ab7) #22 0x00007f88dffab0dd clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) (/lib64/libclang-cpp.so.16.0+0x21ab0dd) #23 0x00007f88dffacd4a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) (/lib64/libclang-cpp.so.16.0+0x21acd4a) #24 0x00007f88dffc608e (/lib64/libclang-cpp.so.16.0+0x21c608e) #25 0x00007f88e0575f6e (/lib64/libclang-cpp.so.16.0+0x2775f6e) #26 0x00007f88e05618c2 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.16.0+0x27618c2) #27 0x00007f88dfcad599 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.16.0+0x1ead599) #28 0x00007f88e056ba1b clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.16.0+0x276ba1b) #29 0x00007f88e056d90a clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.16.0+0x276d90a) #30 0x00005637bd002e68 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang+0x18e68) #31 0x00005637bd008dda (/usr/bin/clang+0x1edda) #32 0x00007f88de5e3261 (/lib64/libclang-cpp.so.16.0+0x7e3261) #33 0x00007f88d70ff54a llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-16.so.0+0xcff54a) #34 0x00007f88de77422f (/lib64/libclang-cpp.so.16.0+0x97422f) #35 0x00007f88df21bde6 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.16.0+0x141bde6) #36 0x00007f88df21c12c clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.16.0+0x141c12c) #37 0x00007f88df2210ac clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.16.0+0x14210ac) #38 0x00005637bd00b508 clang_main(int, char**) (/usr/bin/clang+0x21508) #39 0x00007f88d5c27b4a __libc_start_call_main (/lib64/libc.so.6+0x27b4a) #40 0x00007f88d5c27c0b __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x27c0b) #41 0x00005637bcffa175 _start (/usr/bin/clang+0x10175) clang-16: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 16.0.2 (G2V 16.0.2-2.fc35) Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-16: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-16: note: diagnostic msg: /tmp/cryptoperf-hash-e4663a.c clang-16: note: diagnostic msg: /tmp/cryptoperf-hash-e4663a.sh clang-16: note: diagnostic msg: ******************** make: *** [Makefile:2012: speed-test/cryptoperf-hash.plist] Error 1 CCSA lib/kcapi-md.plist PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /usr/bin/clang --analyze -DPACKAGE_NAME=\"libkcapi\" -DPACKAGE_TARNAME=\"libkcapi\" -DPACKAGE_VERSION=\"1.4.0\" "-DPACKAGE_STRING=\"libkcapi 1.4.0\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DKCAPI_MAJVERSION=1 -DKCAPI_MINVERSION=4 -DKCAPI_PATCHLEVEL=0 -DPACKAGE=\"libkcapi\" -DVERSION=\"1.4.0\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_GETRANDOM=1 -DHAVE_SECURE_GETENV=1 -DCHECK_PREFIX=\"\" -DCHECK_SUFFIX=\"hmac\" -DCHECK_DIR=\"/usr/lib64\" -DHAVE_FSEEKO=1 -I. -I./lib/ lib/kcapi-md.c -o lib/kcapi-md.plist 1. parser at end of file #0 0x00007f6aa57e3761 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-16.so.0+0xde3761) #1 0x00007f6aa57e146a llvm::sys::RunSignalHandlers() (/lib64/libLLVM-16.so.0+0xde146a) #2 0x00007f6aa56ff458 (/lib64/libLLVM-16.so.0+0xcff458) #3 0x00007f6aa423e280 __restore_rt (/lib64/libc.so.6+0x3e280) #4 0x00007f6aae53ab7b (/lib64/libclang-cpp.so.16.0+0x213ab7b) #5 0x00007f6aae53ce3d clang::ento::ProgramState::bindLoc(clang::ento::Loc, clang::ento::SVal, clang::LocationContext const*, bool) const (/lib64/libclang-cpp.so.16.0+0x213ce3d) #6 0x00007f6aae5c7286 clang::ento::errno_modeling::setErrnoValue(llvm::IntrusiveRefCntPtr, clang::ento::CheckerContext&, unsigned long, clang::ento::errno_modeling::ErrnoCheckState) (/lib64/libclang-cpp.so.16.0+0x21c7286) #7 0x00007f6aae5c7680 (/lib64/libclang-cpp.so.16.0+0x21c7680) #8 0x00007f6aae472f8b clang::ento::CheckerManager::runCheckersForBeginFunction(clang::ento::ExplodedNodeSet&, clang::BlockEdge const&, clang::ento::ExplodedNode*, clang::ento::ExprEngine&) (/lib64/libclang-cpp.so.16.0+0x2072f8b) #9 0x00007f6aae5ad07c clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) (/lib64/libclang-cpp.so.16.0+0x21ad07c) #10 0x00007f6aae5c608e (/lib64/libclang-cpp.so.16.0+0x21c608e) #11 0x00007f6aaeb75f6e (/lib64/libclang-cpp.so.16.0+0x2775f6e) #12 0x00007f6aaeb618c2 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.16.0+0x27618c2) #13 0x00007f6aae2ad599 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.16.0+0x1ead599) #14 0x00007f6aaeb6ba1b clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.16.0+0x276ba1b) #15 0x00007f6aaeb6d90a clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.16.0+0x276d90a) #16 0x000055ca25275e68 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang+0x18e68) #17 0x000055ca2527bdda (/usr/bin/clang+0x1edda) #18 0x00007f6aacbe3261 (/lib64/libclang-cpp.so.16.0+0x7e3261) #19 0x00007f6aa56ff54a llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-16.so.0+0xcff54a) #20 0x00007f6aacd7422f (/lib64/libclang-cpp.so.16.0+0x97422f) #21 0x00007f6aad81bde6 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.16.0+0x141bde6) #22 0x00007f6aad81c12c clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.16.0+0x141c12c) #23 0x00007f6aad8210ac clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.16.0+0x14210ac) #24 0x000055ca2527e508 clang_main(int, char**) (/usr/bin/clang+0x21508) #25 0x00007f6aa4227b4a __libc_start_call_main (/lib64/libc.so.6+0x27b4a) #26 0x00007f6aa4227c0b __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x27c0b) #27 0x000055ca2526d175 _start (/usr/bin/clang+0x10175) clang-16: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 16.0.2 (G2V 16.0.2-2.fc35) Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-16: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-16: note: diagnostic msg: /tmp/kcapi-md-216aee.c clang-16: note: diagnostic msg: /tmp/kcapi-md-216aee.sh clang-16: note: diagnostic msg: ******************** make: *** [Makefile:2012: lib/kcapi-md.plist] Error 1 CCSA lib/kcapi-kdf.plist PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /usr/bin/clang --analyze -DPACKAGE_NAME=\"libkcapi\" -DPACKAGE_TARNAME=\"libkcapi\" -DPACKAGE_VERSION=\"1.4.0\" "-DPACKAGE_STRING=\"libkcapi 1.4.0\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DKCAPI_MAJVERSION=1 -DKCAPI_MINVERSION=4 -DKCAPI_PATCHLEVEL=0 -DPACKAGE=\"libkcapi\" -DVERSION=\"1.4.0\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_GETRANDOM=1 -DHAVE_SECURE_GETENV=1 -DCHECK_PREFIX=\"\" -DCHECK_SUFFIX=\"hmac\" -DCHECK_DIR=\"/usr/lib64\" -DHAVE_FSEEKO=1 -I. -I./lib/ lib/kcapi-kdf.c -o lib/kcapi-kdf.plist 1. parser at end of file #0 0x00007f8c1b7e3761 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-16.so.0+0xde3761) #1 0x00007f8c1b7e146a llvm::sys::RunSignalHandlers() (/lib64/libLLVM-16.so.0+0xde146a) #2 0x00007f8c1b6ff458 (/lib64/libLLVM-16.so.0+0xcff458) #3 0x00007f8c1a23e280 __restore_rt (/lib64/libc.so.6+0x3e280) #4 0x00007f8c2453ab7b (/lib64/libclang-cpp.so.16.0+0x213ab7b) #5 0x00007f8c2453ce3d clang::ento::ProgramState::bindLoc(clang::ento::Loc, clang::ento::SVal, clang::LocationContext const*, bool) const (/lib64/libclang-cpp.so.16.0+0x213ce3d) #6 0x00007f8c245c7286 clang::ento::errno_modeling::setErrnoValue(llvm::IntrusiveRefCntPtr, clang::ento::CheckerContext&, unsigned long, clang::ento::errno_modeling::ErrnoCheckState) (/lib64/libclang-cpp.so.16.0+0x21c7286) #7 0x00007f8c245c7680 (/lib64/libclang-cpp.so.16.0+0x21c7680) #8 0x00007f8c24472f8b clang::ento::CheckerManager::runCheckersForBeginFunction(clang::ento::ExplodedNodeSet&, clang::BlockEdge const&, clang::ento::ExplodedNode*, clang::ento::ExprEngine&) (/lib64/libclang-cpp.so.16.0+0x2072f8b) #9 0x00007f8c245ad07c clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) (/lib64/libclang-cpp.so.16.0+0x21ad07c) #10 0x00007f8c245c608e (/lib64/libclang-cpp.so.16.0+0x21c608e) #11 0x00007f8c24b75f6e (/lib64/libclang-cpp.so.16.0+0x2775f6e) #12 0x00007f8c24b618c2 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.16.0+0x27618c2) #13 0x00007f8c242ad599 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.16.0+0x1ead599) #14 0x00007f8c24b6ba1b clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.16.0+0x276ba1b) #15 0x00007f8c24b6d90a clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.16.0+0x276d90a) #16 0x000055ee1d32ee68 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang+0x18e68) #17 0x000055ee1d334dda (/usr/bin/clang+0x1edda) #18 0x00007f8c22be3261 (/lib64/libclang-cpp.so.16.0+0x7e3261) #19 0x00007f8c1b6ff54a llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-16.so.0+0xcff54a) #20 0x00007f8c22d7422f (/lib64/libclang-cpp.so.16.0+0x97422f) #21 0x00007f8c2381bde6 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.16.0+0x141bde6) #22 0x00007f8c2381c12c clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.16.0+0x141c12c) #23 0x00007f8c238210ac clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.16.0+0x14210ac) #24 0x000055ee1d337508 clang_main(int, char**) (/usr/bin/clang+0x21508) #25 0x00007f8c1a227b4a __libc_start_call_main (/lib64/libc.so.6+0x27b4a) #26 0x00007f8c1a227c0b __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x27c0b) #27 0x000055ee1d326175 _start (/usr/bin/clang+0x10175) clang-16: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 16.0.2 (G2V 16.0.2-2.fc35) Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-16: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-16: note: diagnostic msg: /tmp/kcapi-kdf-557d75.c clang-16: note: diagnostic msg: /tmp/kcapi-kdf-557d75.sh clang-16: note: diagnostic msg: ******************** make: *** [Makefile:2012: lib/kcapi-kdf.plist] Error 1 CCSA apps/kcapi-enc.plist PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /usr/bin/clang --analyze -DPACKAGE_NAME=\"libkcapi\" -DPACKAGE_TARNAME=\"libkcapi\" -DPACKAGE_VERSION=\"1.4.0\" "-DPACKAGE_STRING=\"libkcapi 1.4.0\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DKCAPI_MAJVERSION=1 -DKCAPI_MINVERSION=4 -DKCAPI_PATCHLEVEL=0 -DPACKAGE=\"libkcapi\" -DVERSION=\"1.4.0\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_GETRANDOM=1 -DHAVE_SECURE_GETENV=1 -DCHECK_PREFIX=\"\" -DCHECK_SUFFIX=\"hmac\" -DCHECK_DIR=\"/usr/lib64\" -DHAVE_FSEEKO=1 -I. -I./lib/ apps/kcapi-enc.c -o apps/kcapi-enc.plist 1. parser at end of file 2. While analyzing stack: #0 Calling parse_opts at line 1130 #1 Calling main 3. apps/kcapi-enc.c:915:2: Error evaluating statement #0 0x00007f36bc7e3761 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-16.so.0+0xde3761) #1 0x00007f36bc7e146a llvm::sys::RunSignalHandlers() (/lib64/libLLVM-16.so.0+0xde146a) #2 0x00007f36bc6ff458 (/lib64/libLLVM-16.so.0+0xcff458) #3 0x00007f36bb23e280 __restore_rt (/lib64/libc.so.6+0x3e280) #4 0x00007f36c55163ae (/lib64/libclang-cpp.so.16.0+0x21163ae) #5 0x00007f36c5516847 (/lib64/libclang-cpp.so.16.0+0x2116847) #6 0x00007f36c54c93d6 clang::ento::CheckerManager::runCheckersForLiveSymbols(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) (/lib64/libclang-cpp.so.16.0+0x20c93d6) #7 0x00007f36c55a8cac clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) (/lib64/libclang-cpp.so.16.0+0x21a8cac) #8 0x00007f36c55a95be clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) (/lib64/libclang-cpp.so.16.0+0x21a95be) #9 0x00007f36c55a9ab7 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) (/lib64/libclang-cpp.so.16.0+0x21a9ab7) #10 0x00007f36c55ab0dd clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) (/lib64/libclang-cpp.so.16.0+0x21ab0dd) #11 0x00007f36c55acd4a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) (/lib64/libclang-cpp.so.16.0+0x21acd4a) #12 0x00007f36c55c608e (/lib64/libclang-cpp.so.16.0+0x21c608e) #13 0x00007f36c5b75f6e (/lib64/libclang-cpp.so.16.0+0x2775f6e) #14 0x00007f36c5b618c2 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.16.0+0x27618c2) #15 0x00007f36c52ad599 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.16.0+0x1ead599) #16 0x00007f36c5b6ba1b clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.16.0+0x276ba1b) #17 0x00007f36c5b6d90a clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.16.0+0x276d90a) #18 0x0000559c372ede68 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang+0x18e68) #19 0x0000559c372f3dda (/usr/bin/clang+0x1edda) #20 0x00007f36c3be3261 (/lib64/libclang-cpp.so.16.0+0x7e3261) #21 0x00007f36bc6ff54a llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-16.so.0+0xcff54a) #22 0x00007f36c3d7422f (/lib64/libclang-cpp.so.16.0+0x97422f) #23 0x00007f36c481bde6 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.16.0+0x141bde6) #24 0x00007f36c481c12c clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.16.0+0x141c12c) #25 0x00007f36c48210ac clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.16.0+0x14210ac) #26 0x0000559c372f6508 clang_main(int, char**) (/usr/bin/clang+0x21508) #27 0x00007f36bb227b4a __libc_start_call_main (/lib64/libc.so.6+0x27b4a) #28 0x00007f36bb227c0b __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x27c0b) #29 0x0000559c372e5175 _start (/usr/bin/clang+0x10175) clang-16: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 16.0.2 (G2V 16.0.2-2.fc35) Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-16: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-16: note: diagnostic msg: /tmp/kcapi-enc-b617cd.c clang-16: note: diagnostic msg: /tmp/kcapi-enc-b617cd.sh clang-16: note: diagnostic msg: ******************** make: *** [Makefile:2012: apps/kcapi-enc.plist] Error 1 CCSA speed-test/cryptoperf-main.plist PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /usr/bin/clang --analyze -DPACKAGE_NAME=\"libkcapi\" -DPACKAGE_TARNAME=\"libkcapi\" -DPACKAGE_VERSION=\"1.4.0\" "-DPACKAGE_STRING=\"libkcapi 1.4.0\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DKCAPI_MAJVERSION=1 -DKCAPI_MINVERSION=4 -DKCAPI_PATCHLEVEL=0 -DPACKAGE=\"libkcapi\" -DVERSION=\"1.4.0\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_GETRANDOM=1 -DHAVE_SECURE_GETENV=1 -DCHECK_PREFIX=\"\" -DCHECK_SUFFIX=\"hmac\" -DCHECK_DIR=\"/usr/lib64\" -DHAVE_FSEEKO=1 -I. -I./lib/ speed-test/cryptoperf-main.c -o speed-test/cryptoperf-main.plist 1. parser at end of file #0 0x00007efe993e3761 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-16.so.0+0xde3761) #1 0x00007efe993e146a llvm::sys::RunSignalHandlers() (/lib64/libLLVM-16.so.0+0xde146a) #2 0x00007efe992ff458 (/lib64/libLLVM-16.so.0+0xcff458) #3 0x00007efe97e3e280 __restore_rt (/lib64/libc.so.6+0x3e280) #4 0x00007efea213ab7b (/lib64/libclang-cpp.so.16.0+0x213ab7b) #5 0x00007efea213ce3d clang::ento::ProgramState::bindLoc(clang::ento::Loc, clang::ento::SVal, clang::LocationContext const*, bool) const (/lib64/libclang-cpp.so.16.0+0x213ce3d) #6 0x00007efea21c7286 clang::ento::errno_modeling::setErrnoValue(llvm::IntrusiveRefCntPtr, clang::ento::CheckerContext&, unsigned long, clang::ento::errno_modeling::ErrnoCheckState) (/lib64/libclang-cpp.so.16.0+0x21c7286) #7 0x00007efea21c7680 (/lib64/libclang-cpp.so.16.0+0x21c7680) #8 0x00007efea2072f8b clang::ento::CheckerManager::runCheckersForBeginFunction(clang::ento::ExplodedNodeSet&, clang::BlockEdge const&, clang::ento::ExplodedNode*, clang::ento::ExprEngine&) (/lib64/libclang-cpp.so.16.0+0x2072f8b) #9 0x00007efea21ad07c clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) (/lib64/libclang-cpp.so.16.0+0x21ad07c) #10 0x00007efea21c608e (/lib64/libclang-cpp.so.16.0+0x21c608e) #11 0x00007efea2775f6e (/lib64/libclang-cpp.so.16.0+0x2775f6e) #12 0x00007efea27618c2 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.16.0+0x27618c2) #13 0x00007efea1ead599 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.16.0+0x1ead599) #14 0x00007efea276ba1b clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.16.0+0x276ba1b) #15 0x00007efea276d90a clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.16.0+0x276d90a) #16 0x0000563a52572e68 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang+0x18e68) #17 0x0000563a52578dda (/usr/bin/clang+0x1edda) #18 0x00007efea07e3261 (/lib64/libclang-cpp.so.16.0+0x7e3261) #19 0x00007efe992ff54a llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-16.so.0+0xcff54a) #20 0x00007efea097422f (/lib64/libclang-cpp.so.16.0+0x97422f) #21 0x00007efea141bde6 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.16.0+0x141bde6) #22 0x00007efea141c12c clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.16.0+0x141c12c) #23 0x00007efea14210ac clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.16.0+0x14210ac) #24 0x0000563a5257b508 clang_main(int, char**) (/usr/bin/clang+0x21508) #25 0x00007efe97e27b4a __libc_start_call_main (/lib64/libc.so.6+0x27b4a) #26 0x00007efe97e27c0b __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x27c0b) #27 0x0000563a5256a175 _start (/usr/bin/clang+0x10175) clang-16: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 16.0.2 (G2V 16.0.2-2.fc35) Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-16: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-16: note: diagnostic msg: /tmp/cryptoperf-main-46be2c.c clang-16: note: diagnostic msg: /tmp/cryptoperf-main-46be2c.sh clang-16: note: diagnostic msg: ******************** make: *** [Makefile:2012: speed-test/cryptoperf-main.plist] Error 1 CCSA apps/kcapi-hasher.plist PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /usr/bin/clang --analyze -DPACKAGE_NAME=\"libkcapi\" -DPACKAGE_TARNAME=\"libkcapi\" -DPACKAGE_VERSION=\"1.4.0\" "-DPACKAGE_STRING=\"libkcapi 1.4.0\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DKCAPI_MAJVERSION=1 -DKCAPI_MINVERSION=4 -DKCAPI_PATCHLEVEL=0 -DPACKAGE=\"libkcapi\" -DVERSION=\"1.4.0\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_GETRANDOM=1 -DHAVE_SECURE_GETENV=1 -DCHECK_PREFIX=\"\" -DCHECK_SUFFIX=\"hmac\" -DCHECK_DIR=\"/usr/lib64\" -DHAVE_FSEEKO=1 -I. -I./lib/ apps/kcapi-hasher.c -o apps/kcapi-hasher.plist 1. parser at end of file #0 0x00007f01969e3761 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-16.so.0+0xde3761) #1 0x00007f01969e146a llvm::sys::RunSignalHandlers() (/lib64/libLLVM-16.so.0+0xde146a) #2 0x00007f01968ff458 (/lib64/libLLVM-16.so.0+0xcff458) #3 0x00007f019543e280 __restore_rt (/lib64/libc.so.6+0x3e280) #4 0x00007f019f73ab7b (/lib64/libclang-cpp.so.16.0+0x213ab7b) #5 0x00007f019f73ce3d clang::ento::ProgramState::bindLoc(clang::ento::Loc, clang::ento::SVal, clang::LocationContext const*, bool) const (/lib64/libclang-cpp.so.16.0+0x213ce3d) #6 0x00007f019f7c7286 clang::ento::errno_modeling::setErrnoValue(llvm::IntrusiveRefCntPtr, clang::ento::CheckerContext&, unsigned long, clang::ento::errno_modeling::ErrnoCheckState) (/lib64/libclang-cpp.so.16.0+0x21c7286) #7 0x00007f019f7c7680 (/lib64/libclang-cpp.so.16.0+0x21c7680) #8 0x00007f019f672f8b clang::ento::CheckerManager::runCheckersForBeginFunction(clang::ento::ExplodedNodeSet&, clang::BlockEdge const&, clang::ento::ExplodedNode*, clang::ento::ExprEngine&) (/lib64/libclang-cpp.so.16.0+0x2072f8b) #9 0x00007f019f7ad07c clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) (/lib64/libclang-cpp.so.16.0+0x21ad07c) #10 0x00007f019f7c608e (/lib64/libclang-cpp.so.16.0+0x21c608e) #11 0x00007f019fd75f6e (/lib64/libclang-cpp.so.16.0+0x2775f6e) #12 0x00007f019fd618c2 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.16.0+0x27618c2) #13 0x00007f019f4ad599 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.16.0+0x1ead599) #14 0x00007f019fd6ba1b clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.16.0+0x276ba1b) #15 0x00007f019fd6d90a clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.16.0+0x276d90a) #16 0x000055d2704e0e68 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang+0x18e68) #17 0x000055d2704e6dda (/usr/bin/clang+0x1edda) #18 0x00007f019dde3261 (/lib64/libclang-cpp.so.16.0+0x7e3261) #19 0x00007f01968ff54a llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-16.so.0+0xcff54a) #20 0x00007f019df7422f (/lib64/libclang-cpp.so.16.0+0x97422f) #21 0x00007f019ea1bde6 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.16.0+0x141bde6) #22 0x00007f019ea1c12c clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.16.0+0x141c12c) #23 0x00007f019ea210ac clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.16.0+0x14210ac) #24 0x000055d2704e9508 clang_main(int, char**) (/usr/bin/clang+0x21508) #25 0x00007f0195427b4a __libc_start_call_main (/lib64/libc.so.6+0x27b4a) #26 0x00007f0195427c0b __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x27c0b) #27 0x000055d2704d8175 _start (/usr/bin/clang+0x10175) clang-16: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 16.0.2 (G2V 16.0.2-2.fc35) Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-16: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-16: note: diagnostic msg: /tmp/kcapi-hasher-bbfe9a.c clang-16: note: diagnostic msg: /tmp/kcapi-hasher-bbfe9a.sh clang-16: note: diagnostic msg: ******************** make: *** [Makefile:2012: apps/kcapi-hasher.plist] Error 1 CCSA lib/kcapi-kernel-if.plist PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /usr/bin/clang --analyze -DPACKAGE_NAME=\"libkcapi\" -DPACKAGE_TARNAME=\"libkcapi\" -DPACKAGE_VERSION=\"1.4.0\" "-DPACKAGE_STRING=\"libkcapi 1.4.0\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DKCAPI_MAJVERSION=1 -DKCAPI_MINVERSION=4 -DKCAPI_PATCHLEVEL=0 -DPACKAGE=\"libkcapi\" -DVERSION=\"1.4.0\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_GETRANDOM=1 -DHAVE_SECURE_GETENV=1 -DCHECK_PREFIX=\"\" -DCHECK_SUFFIX=\"hmac\" -DCHECK_DIR=\"/usr/lib64\" -DHAVE_FSEEKO=1 -I. -I./lib/ lib/kcapi-kernel-if.c -o lib/kcapi-kernel-if.plist 1. parser at end of file #0 0x00007ff4fe9e3761 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-16.so.0+0xde3761) #1 0x00007ff4fe9e146a llvm::sys::RunSignalHandlers() (/lib64/libLLVM-16.so.0+0xde146a) #2 0x00007ff4fe8ff458 (/lib64/libLLVM-16.so.0+0xcff458) #3 0x00007ff4fd43e280 __restore_rt (/lib64/libc.so.6+0x3e280) #4 0x00007ff50773ab7b (/lib64/libclang-cpp.so.16.0+0x213ab7b) #5 0x00007ff50773ce3d clang::ento::ProgramState::bindLoc(clang::ento::Loc, clang::ento::SVal, clang::LocationContext const*, bool) const (/lib64/libclang-cpp.so.16.0+0x213ce3d) #6 0x00007ff5077c7286 clang::ento::errno_modeling::setErrnoValue(llvm::IntrusiveRefCntPtr, clang::ento::CheckerContext&, unsigned long, clang::ento::errno_modeling::ErrnoCheckState) (/lib64/libclang-cpp.so.16.0+0x21c7286) #7 0x00007ff5077c7680 (/lib64/libclang-cpp.so.16.0+0x21c7680) #8 0x00007ff507672f8b clang::ento::CheckerManager::runCheckersForBeginFunction(clang::ento::ExplodedNodeSet&, clang::BlockEdge const&, clang::ento::ExplodedNode*, clang::ento::ExprEngine&) (/lib64/libclang-cpp.so.16.0+0x2072f8b) #9 0x00007ff5077ad07c clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) (/lib64/libclang-cpp.so.16.0+0x21ad07c) #10 0x00007ff5077c608e (/lib64/libclang-cpp.so.16.0+0x21c608e) #11 0x00007ff507d75f6e (/lib64/libclang-cpp.so.16.0+0x2775f6e) #12 0x00007ff507d618c2 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.16.0+0x27618c2) #13 0x00007ff5074ad599 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.16.0+0x1ead599) #14 0x00007ff507d6ba1b clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.16.0+0x276ba1b) #15 0x00007ff507d6d90a clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.16.0+0x276d90a) #16 0x000055b7fc588e68 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang+0x18e68) #17 0x000055b7fc58edda (/usr/bin/clang+0x1edda) #18 0x00007ff505de3261 (/lib64/libclang-cpp.so.16.0+0x7e3261) #19 0x00007ff4fe8ff54a llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-16.so.0+0xcff54a) #20 0x00007ff505f7422f (/lib64/libclang-cpp.so.16.0+0x97422f) #21 0x00007ff506a1bde6 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.16.0+0x141bde6) #22 0x00007ff506a1c12c clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.16.0+0x141c12c) #23 0x00007ff506a210ac clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.16.0+0x14210ac) #24 0x000055b7fc591508 clang_main(int, char**) (/usr/bin/clang+0x21508) #25 0x00007ff4fd427b4a __libc_start_call_main (/lib64/libc.so.6+0x27b4a) #26 0x00007ff4fd427c0b __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x27c0b) #27 0x000055b7fc580175 _start (/usr/bin/clang+0x10175) clang-16: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 16.0.2 (G2V 16.0.2-2.fc35) Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-16: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-16: note: diagnostic msg: /tmp/kcapi-kernel-if-7a9fe2.c clang-16: note: diagnostic msg: /tmp/kcapi-kernel-if-7a9fe2.sh clang-16: note: diagnostic msg: ******************** make: *** [Makefile:2012: lib/kcapi-kernel-if.plist] Error 1 CCSA test/kcapi-main.plist PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /usr/bin/clang --analyze -DPACKAGE_NAME=\"libkcapi\" -DPACKAGE_TARNAME=\"libkcapi\" -DPACKAGE_VERSION=\"1.4.0\" "-DPACKAGE_STRING=\"libkcapi 1.4.0\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DKCAPI_MAJVERSION=1 -DKCAPI_MINVERSION=4 -DKCAPI_PATCHLEVEL=0 -DPACKAGE=\"libkcapi\" -DVERSION=\"1.4.0\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_GETRANDOM=1 -DHAVE_SECURE_GETENV=1 -DCHECK_PREFIX=\"\" -DCHECK_SUFFIX=\"hmac\" -DCHECK_DIR=\"/usr/lib64\" -DHAVE_FSEEKO=1 -I. -I./lib/ test/kcapi-main.c -o test/kcapi-main.plist 1. parser at end of file 2. While analyzing stack: #0 Calling main 3. test/kcapi-main.c:5122:10: Error evaluating statement #0 0x00007f29431e3761 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-16.so.0+0xde3761) #1 0x00007f29431e146a llvm::sys::RunSignalHandlers() (/lib64/libLLVM-16.so.0+0xde146a) #2 0x00007f29430ff458 (/lib64/libLLVM-16.so.0+0xcff458) #3 0x00007f2941c3e280 __restore_rt (/lib64/libc.so.6+0x3e280) #4 0x00007f294bfa8939 clang::ento::SymbolReaper::markLive(clang::ento::MemRegion const*) (/lib64/libclang-cpp.so.16.0+0x21a8939) #5 0x00007f294bfad52e (/lib64/libclang-cpp.so.16.0+0x21ad52e) #6 0x00007f294bec93d6 clang::ento::CheckerManager::runCheckersForLiveSymbols(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) (/lib64/libclang-cpp.so.16.0+0x20c93d6) #7 0x00007f294bfa8cac clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) (/lib64/libclang-cpp.so.16.0+0x21a8cac) #8 0x00007f294bfa95be clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) (/lib64/libclang-cpp.so.16.0+0x21a95be) #9 0x00007f294bfa9ab7 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) (/lib64/libclang-cpp.so.16.0+0x21a9ab7) #10 0x00007f294bfab1df clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) (/lib64/libclang-cpp.so.16.0+0x21ab1df) #11 0x00007f294bfacab6 clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) (/lib64/libclang-cpp.so.16.0+0x21acab6) #12 0x00007f294bfacd4a clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) (/lib64/libclang-cpp.so.16.0+0x21acd4a) #13 0x00007f294bfc608e (/lib64/libclang-cpp.so.16.0+0x21c608e) #14 0x00007f294c575f6e (/lib64/libclang-cpp.so.16.0+0x2775f6e) #15 0x00007f294c5618c2 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.16.0+0x27618c2) #16 0x00007f294bcad599 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.16.0+0x1ead599) #17 0x00007f294c56ba1b clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.16.0+0x276ba1b) #18 0x00007f294c56d90a clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.16.0+0x276d90a) #19 0x000055cb00c29e68 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang+0x18e68) #20 0x000055cb00c2fdda (/usr/bin/clang+0x1edda) #21 0x00007f294a5e3261 (/lib64/libclang-cpp.so.16.0+0x7e3261) #22 0x00007f29430ff54a llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-16.so.0+0xcff54a) #23 0x00007f294a77422f (/lib64/libclang-cpp.so.16.0+0x97422f) #24 0x00007f294b21bde6 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.16.0+0x141bde6) #25 0x00007f294b21c12c clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.16.0+0x141c12c) #26 0x00007f294b2210ac clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.16.0+0x14210ac) #27 0x000055cb00c32508 clang_main(int, char**) (/usr/bin/clang+0x21508) #28 0x00007f2941c27b4a __libc_start_call_main (/lib64/libc.so.6+0x27b4a) #29 0x00007f2941c27c0b __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x27c0b) #30 0x000055cb00c21175 _start (/usr/bin/clang+0x10175) clang-16: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 16.0.2 (G2V 16.0.2-2.fc35) Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-16: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-16: note: diagnostic msg: /tmp/kcapi-main-462179.c clang-16: note: diagnostic msg: /tmp/kcapi-main-462179.sh clang-16: note: diagnostic msg: ******************** make: *** [Makefile:2012: test/kcapi-main.plist] Error 1 ```
smuellerDD commented 1 year ago

Am Mittwoch, 26. April 2023, 04:10:34 CEST schrieb Tomasz Kłoczko:

Hi Tomasz,

I'm not 100% sure is it test suite issue or it is something wrong with latest clang 16.0.2. I'm not sure what I shpould provide as details whcih could help diagnose this issue so please let me know if you need something.

The log looks like a crasher of the clang compiler. At least it compiles with my (older) clang. Do you happen to have a (slightly) older clang to test?

Thanks.

Ciao Stephan

kloczek commented 1 year ago

The log looks like a crasher of the clang compiler. At least it compiles with my (older) clang. Do you happen to have a (slightly) older clang to test?

I just found that I've reported simillar issue with older clang https://github.com/smuellerDD/libkcapi/issues/108

OK will try to open one more time LLV ticket. Maybe thi stime it will be investigated.

smuellerDD commented 1 year ago

Am Mittwoch, 26. April 2023, 11:08:10 CEST schrieb Tomasz Kłoczko:

Hi Tomasz,

The log looks like a crasher of the clang compiler. At least it compiles with my (older) clang. Do you happen to have a (slightly) older clang to test? I just found that I've reported simillar issue with older clang https://github.com/smuellerDD/libkcapi/issues/108

OK will try to open one more time LLV ticket. Maybe thi stime it will be investigated.

My compiler from Fedora as follows works:

$ clang --version clang version 16.0.1 (Fedora 16.0.1-1.fc38) Target: x86_64-redhat-linux-gnu Thread model: posix InstalledDir: /usr/bin

Ciao Stephan

kloczek commented 1 year ago

I'm using my own binaries with 16.0.2. libkcapi is only project in which clang crashes.

smuellerDD commented 1 year ago

Am Mittwoch, 26. April 2023, 12:16:58 CEST schrieb Tomasz Kłoczko:

Hi Tomasz,

I'm using my own binaries with 16.0.2. libkcapi is only project in which clang crashes.

Note, it is not clang, it is clang-scan that seemingly crashes. What about you do not use the build target "scan"?

Ciao Stephan

kloczek commented 1 year ago

Just checked what I have in libkcapi.spec and ..

%check
%{!?with_check:exit 0}
#%make_build cppcheck
%make_build scan

OK so you are right. May I ask you try scan target in your build env? 😋

kloczek commented 1 year ago

BTW just checked and looks like there is no standard check target.

+ /usr/bin/make -O -j48 V=1 VERBOSE=1 check
Makefile:2026: warning: overriding recipe for target 'lib/doc/bin/docproc'
Makefile:993: warning: ignoring old recipe for target 'lib/doc/bin/docproc'
make: Nothing to be done for 'check'.

Hmm .. 🤔

smuellerDD commented 1 year ago

Am Mittwoch, 26. April 2023, 13:42:12 CEST schrieb Tomasz Kłoczko:

Hi Tomasz,

BTW just checked and looks like there is no standard check target.

+ /usr/bin/make -O -j48 V=1 VERBOSE=1 check
Makefile:2026: warning: overriding recipe for target 'lib/doc/bin/docproc'
Makefile:993: warning: ignoring old recipe for target 'lib/doc/bin/docproc'
make: Nothing to be done for 'check'.

Hmm .. 🤔

The check target to me seems more like a self-test that all is proper rather than invoking the static code analyzer, no?

Ciao Stephan

kloczek commented 1 year ago

The check target to me seems more like a self-test that all is proper rather than invoking the static code analyzer, no? Ciao

Usually test suite tests just generated binaries (excutables or DSO rourines) to make sure that at lease some basic functionalities are working as expected ..

smuellerDD commented 1 year ago

Am Mittwoch, 26. April 2023, 14:14:17 CEST schrieb Tomasz Kłoczko:

Hi Tomasz,

The check target to me seems more like a self-test that all is proper rather than invoking the static code analyzer, no? Ciao Usually test suite tests just generated binaries (excutables or DSO rourines) to make sure that at lease some basic functionalities are working as expected ..

That would always require the build system to have the kernel AF_ALG interface to be present. IMHO this is not what you can assume to be present in all cases. Then we have cross compiles. To me this all rules out such "sanity" test.

Ciao Stephan

kloczek commented 1 year ago

That would always require the build system to have the kernel AF_ALG interface to be present. IMHO this is not what you can assume to be present in all cases. Then we have cross compiles. To me this all rules out such "sanity" test. Ciao Stephan

It is possible to check that in autoconf and than show message that such test suire will be not executed in check target because it is something missing in kernel running build env.

smuellerDD commented 1 year ago

Am Mittwoch, 26. April 2023, 14:20:48 CEST schrieb Tomasz Kłoczko:

Hi Tomasz,

That would always require the build system to have the kernel AF_ALG interface to be present. IMHO this is not what you can assume to be present in all cases. Then we have cross compiles. To me this all rules out such "sanity" test. Ciao Stephan It is possible to check that in autoconf and than show message that such test suire will be not executed in check target because it is something missing in kernel running build env.

If you think you have a good apporach, patches are welcome :-)

Ciao Stephan

kloczek commented 1 year ago

Maybe later as I'm a bit busy with other things 😋 FYI: https://github.com/llvm/llvm-project/issues/62385

kloczek commented 1 year ago

Can you confirm tht with fedora binaries scan targer is not crashing? 🤔

smuellerDD commented 1 year ago

Am Mittwoch, 26. April 2023, 14:39:48 CEST schrieb Tomasz Kłoczko:

Hi Tomasz,

Can you confirm tht with fedora binaries scan targer is not crashing? 🤔

Confirmed. I also made sure the C file that caused the crash was part of my clang-scan run.

Ciao Stephan

kloczek commented 1 year ago

Someone made maybe some progress on that issue? 🤔

smuellerDD commented 1 year ago

Am Freitag, 1. September 2023, 19:07:19 CEST schrieb Tomasz Kłoczko:

Hi Tomasz,

Someone made maybe some progress on that issue? 🤔

What progress do you expect on my side? The clang-scan tool is crashing.

Ciao Stephan

smuellerDD commented 1 year ago

This is seemingly no bug in libkcapi, closing