-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var LLVM_SYMBOLIZER_PATH to point to it): #1858
Comments
Infer V1.2.0 1 error generated. |
Infer V1.2.0
macos 13.6.1
xcode: 15.0.1
infer run --keep-going --compilation-database compile_commands.json
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.2G] LocalPods/CommonTemp/Classes/Network/PPRequest.m
0.[ 0.3sProgram arguments: /Users/infer-osx-arm64-v1.2.0/lib/infer/facebook-clang-plugins/clang/install/bin/clang-18 @/Users/builds/hKr-Nzho/0/heiyeclient/xiaopeiban-ios/infer-out/tmp/clang_command_.tmp.44fba6.txtKeyValueStoreMgr+Live.m
1.[ 0.6s parser at end of filemp/Classes/Tools/KeyValueStore/KeyValueStoreMgr+Debug.m
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var LLVM_SYMBOLIZER_PATH to point to it):
0 clang-18 0x00000001040721d8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 56
1 clang-18 0x00000001040701dc llvm::sys::RunSignalHandlers() + 112lert.m
2 clang-18 0x000000010407288c llvm::sys::PrintStackTraceOnErrorSignal(llvm::StringRef, bool) + 772
3 libsystem_platform.dylib 0x0000000195572584 _sigtramp + 56
4 clang-18 0x0000000106864be4 clang::FieldDecl::getFieldIndex() const + 208
5 clang-18 0x0000000106864be4 clang::FieldDecl::getFieldIndex() const + 208
6 FacebookClangPlugin.dylib 0x0000000108f407f0 ASTLib::ASTExporterATDWriter::BiniouWriterllvm::raw_ostream::dumpName(clang::NamedDecl const&) + 184
7 FacebookClangPlugin.dylib 0x0000000108f36f40 ASTLib::ASTExporterATDWriter::BiniouWriterllvm::raw_ostream::VisitFieldDecl(clang::FieldDecl const*) + 64
8 FacebookClangPlugin.dylib 0x0000000108f37344 ASTLib::ASTExporterATDWriter::BiniouWriterllvm::raw_ostream::VisitObjCIvarDecl(clang::ObjCIvarDecl const*) + 32
9 FacebookClangPlugin.dylib 0x0000000108f32254 ASTLib::ASTExporterATDWriter::BiniouWriterllvm::raw_ostream::dumpDecl(clang::Decl const*) + 276
10 FacebookClangPlugin.dylib 0x0000000108f3a918 ASTLib::ASTExporterATDWriter::BiniouWriterllvm::raw_ostream::VisitDeclContext(clang::DeclContext const*) + 556
11 FacebookClangPlugin.dylib 0x0000000108f34814 ASTLib::ASTExporterATDWriter::BiniouWriterllvm::raw_ostream::VisitObjCInterfaceDecl(clang::ObjCInterfaceDecl const*) + 60
12 FacebookClangPlugin.dylib 0x0000000108f32254 ASTLib::ASTExporterATDWriter::BiniouWriterllvm::raw_ostream::dumpDecl(clang::Decl const*) + 276
13 FacebookClangPlugin.dylib 0x0000000108f3a918 ASTLib::ASTExporterATDWriter::BiniouWriterllvm::raw_ostream::VisitDeclContext(clang::DeclContext const*) + 556
14 FacebookClangPlugin.dylib 0x0000000108f32c30 ASTLib::ASTExporterATDWriter::BiniouWriterllvm::raw_ostream::VisitTranslationUnitDecl(clang::TranslationUnitDecl const*) + 60
15 FacebookClangPlugin.dylib 0x0000000108f32254 ASTLib::ASTExporterATDWriter::BiniouWriterllvm::raw_ostream::dumpDecl(clang::Decl const*) + 276
16 FacebookClangPlugin.dylib 0x0000000108f32104 ASTLib::ExporterASTConsumer<ATDWriter::BiniouWriterllvm::raw_ostream, true>::HandleTranslationUnit(clang::ASTContext&) + 160
17 clang-18 0x0000000104af9f4c clang::MultiplexConsumer::HandleTranslationUnit(clang::ASTContext&) + 52
18 clang-18 0x0000000105b2ef70 clang::ParseAST(clang::Sema&, bool, bool) + 648
19 clang-18 0x0000000104abeb0c clang::FrontendAction::Execute() + 112
20 clang-18 0x0000000104a4fc18 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 872
21 clang-18 0x0000000104b3ff80 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 500
22 clang-18 0x00000001027877ac cc1_main(llvm::ArrayRef<char const*>, char const*, void*) + 3132
23 clang-18 0x00000001027850d4 clang_main(int, char**, llvm::ToolContext const&) + 13920
24 clang-18 0x0000000102784338 clang_main(int, char**, llvm::ToolContext const&) + 10436
25 clang-18 0x0000000102791af0 main + 88
26 dyld 0x00000001951b7154 start + 2476
ERROR RUNNING CAPTURE: Bi_util.Error("Corrupted data (string)")
Raised at Bi_util.error in file "src/bi_util.ml", line 3, characters 14-29
Called from Bi_io.read_untagged_string in file "src/bi_io.ml", line 575, characters 6-45
Called from Atdgen_runtime__Ob_run.read_string in file "atdgen-runtime/src/ob_run.ml" (inlined), line 181, characters 4-33
Called from ATDGenerated__Clang_ast_b.read_decl_info in file "src/atd/clang_ast_b.ml", line 34474, characters 17-117
Called from ATDGenerated__Clang_ast_b.get_decl_reader.(fun) in file "src/atd/clang_ast_b.ml", line 45034, characters 22-89
Called from Atdgen_runtime__Ob_run.read_array_value in file "atdgen-runtime/src/ob_run.ml", line 190, characters 27-38
Called from Atdgen_runtime__Ob_run.read_array in file "atdgen-runtime/src/ob_run.ml" (inlined), line 213, characters 4-34
Called from Atdgen_runtime__Ob_run.read_list in file "atdgen-runtime/src/ob_run.ml" (inlined), line 218, characters 16-36
Called from ATDGenerated__Clang_ast_b.read__decl_list in file "src/atd/clang_ast_b.ml", line 42907, characters 25-91
Called from ATDGenerated__Clang_ast_b.read_obj_c_method_decl_info in file "src/atd/clang_ast_b.ml", line 49707, characters 44-118
Called from ATDGenerated__Clang_ast_b.get_decl_reader.(fun) in file "src/atd/clang_ast_b.ml", line 44219, characters 22-102
Called from ATDGenerated__Clang_ast_b.get_decl_reader.(fun) in file "src/atd/clang_ast_b.ml" (inlined), line 43930, characters 8-1023
Called from Atdgen_runtime__Ob_run.read_array_value in file "atdgen-runtime/src/ob_run.ml" (inlined), line 192, characters 27-38
Called from Atdgen_runtime__Ob_run.read_array in file "atdgen-runtime/src/ob_run.ml" (inlined), line 213, characters 4-34
Called from Atdgen_runtime__Ob_run.read_list in file "atdgen-runtime/src/ob_run.ml" (inlined), line 218, characters 16-36
Called from ATDGenerated__Clang_ast_b.read__decl_list in file "src/atd/clang_ast_b.ml" (inlined), line 42907, characters 25-91
Called from ATDGenerated__Clang_ast_b.get_decl_reader.(fun) in file "src/atd/clang_ast_b.ml", line 44279, characters 22-90
Called from ATDGenerated__Clang_ast_b.get_decl_reader.(fun) in file "src/atd/clang_ast_b.ml" (inlined), line 43930, characters 8-1023
Called from Atdgen_runtime__Ob_run.read_array_value in file "atdgen-runtime/src/ob_run.ml" (inlined), line 192, characters 27-38
Called from Atdgen_runtime__Ob_run.read_array in file "atdgen-runtime/src/ob_run.ml" (inlined), line 213, characters 4-34
Called from Atdgen_runtime__Ob_run.read_list in file "atdgen-runtime/src/ob_run.ml" (inlined), line 218, characters 16-36
Called from ATDGenerated__Clang_ast_b.read__decl_list in file "src/atd/clang_ast_b.ml" (inlined), line 42907, characters 25-91
Called from ATDGenerated__Clang_ast_b.read_decl.(fun) in file "src/atd/clang_ast_b.ml", line 46207, characters 18-78
Called from Atdgen_runtime__Util.Biniou.from_channel in file "atdgen-runtime/src/util.ml" (inlined), line 30, characters 4-11
Called from ClangFrontend__Capture.validate_decl_from_channel in file "src/clang/Capture.ml", line 25, characters 2-113
...
The text was updated successfully, but these errors were encountered: