Skip to content

Instantly share code, notes, and snippets.

@fitzgen
Created June 8, 2017 00:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fitzgen/13df5818f732ecc12e52f23ef9657a6c to your computer and use it in GitHub Desktop.
Save fitzgen/13df5818f732ecc12e52f23ef9657a6c to your computer and use it in GitHub Desktop.
(lldb) bt all
error: need to add support for DW_TAG_base_type 'char' encoded with DW_ATE = 0x8, bit_size = 32
error: need to add support for DW_TAG_base_type '()' encoded with DW_ATE = 0x7, bit_size = 0
* thread #1: tid = 0x1c0b38, 0x00007fff9f58810a libsystem_kernel.dylib`__semwait_signal + 10, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
* frame #0: 0x00007fff9f58810a libsystem_kernel.dylib`__semwait_signal + 10
frame #1: 0x00007fff93d4a787 libsystem_pthread.dylib`pthread_join + 444
frame #2: 0x000000010ddd98a6 build-script-build`build_script_build::main [inlined] std::thread::{{impl}}::join<()> + 65 at mod.rs:1063 [opt]
frame #3: 0x000000010ddd9865 build-script-build`build_script_build::main + 42 at mod.rs:1157 [opt]
frame #4: 0x000000010ddd983b build-script-build`build_script_build::main [inlined] build_script_build::build_gecko::bindings::generate + 3243 at build_gecko.rs:564 [opt]
frame #5: 0x000000010ddd8b90 build-script-build`build_script_build::main [inlined] build_script_build::build_gecko::generate + 224 at build_gecko.rs:600 [opt]
frame #6: 0x000000010ddd8ab0 build-script-build`build_script_build::main + 1728 at build.rs:90 [opt]
frame #7: 0x000000010e0c13cb build-script-build`panic_unwind::__rust_maybe_catch_panic + 27 at lib.rs:98 [opt]
frame #8: 0x000000010e0c0755 build-script-build`std::rt::lang_start [inlined] std::panicking::try<(),closure> + 51 at panicking.rs:433 [opt]
frame #9: 0x000000010e0c0722 build-script-build`std::rt::lang_start [inlined] std::panic::catch_unwind<closure,()> at panic.rs:361 [opt]
frame #10: 0x000000010e0c0722 build-script-build`std::rt::lang_start + 434 at rt.rs:56 [opt]
frame #11: 0x000000010ddbad84 build-script-build`start + 52
thread #2: tid = 0x1c0c7c, 0x000000010ff898ab libclang.dylib`clang::Sema::ActOnReturnStmt(clang::SourceLocation, clang::Expr*, clang::Scope*) + 75, stop reason = EXC_BAD_ACCESS (code=1, address=0x1a8)
frame #0: 0x000000010ff898ab libclang.dylib`clang::Sema::ActOnReturnStmt(clang::SourceLocation, clang::Expr*, clang::Scope*) + 75
frame #1: 0x00000001105f515a libclang.dylib`clang::Parser::ParseReturnStatement() + 234
frame #2: 0x00000001105f007e libclang.dylib`clang::Parser::ParseStatementOrDeclarationAfterAttributes(llvm::SmallVector<clang::Stmt*, 32u>&, clang::Parser::AllowedContsructsKind, clang::SourceLocation*, clang::Parser::ParsedAttributesWithRange&) + 1790
frame #3: 0x00000001105ef8b4 libclang.dylib`clang::Parser::ParseStatementOrDeclaration(llvm::SmallVector<clang::Stmt*, 32u>&, clang::Parser::AllowedContsructsKind, clang::SourceLocation*) + 244
frame #4: 0x00000001105f6829 libclang.dylib`clang::Parser::ParseCompoundStatementBody(bool) + 1529
frame #5: 0x00000001105eff06 libclang.dylib`clang::Parser::ParseStatementOrDeclarationAfterAttributes(llvm::SmallVector<clang::Stmt*, 32u>&, clang::Parser::AllowedContsructsKind, clang::SourceLocation*, clang::Parser::ParsedAttributesWithRange&) + 1414
frame #6: 0x00000001105ef8b4 libclang.dylib`clang::Parser::ParseStatementOrDeclaration(llvm::SmallVector<clang::Stmt*, 32u>&, clang::Parser::AllowedContsructsKind, clang::SourceLocation*) + 244
frame #7: 0x00000001105f2880 libclang.dylib`clang::Parser::ParseIfStatement(clang::SourceLocation*) + 960
frame #8: 0x00000001105f006a libclang.dylib`clang::Parser::ParseStatementOrDeclarationAfterAttributes(llvm::SmallVector<clang::Stmt*, 32u>&, clang::Parser::AllowedContsructsKind, clang::SourceLocation*, clang::Parser::ParsedAttributesWithRange&) + 1770
frame #9: 0x00000001105ef8b4 libclang.dylib`clang::Parser::ParseStatementOrDeclaration(llvm::SmallVector<clang::Stmt*, 32u>&, clang::Parser::AllowedContsructsKind, clang::SourceLocation*) + 244
frame #10: 0x00000001105f6829 libclang.dylib`clang::Parser::ParseCompoundStatementBody(bool) + 1529
frame #11: 0x00000001105f7182 libclang.dylib`clang::Parser::ParseFunctionStatementBody(clang::Decl*, clang::Parser::ParseScope&) + 162
frame #12: 0x000000011057ad99 libclang.dylib`clang::Parser::ParseLexedMethodDef(clang::Parser::LexedMethod&) + 617
frame #13: 0x000000011057a04a libclang.dylib`clang::Parser::ParseLexedMethodDefs(clang::Parser::ParsingClass&) + 170
frame #14: 0x00000001105a2e3f libclang.dylib`clang::Parser::ParseCXXMemberSpecification(clang::SourceLocation, clang::SourceLocation, clang::Parser::ParsedAttributesWithRange&, unsigned int, clang::Decl*) + 3647
frame #15: 0x00000001105a0bfe libclang.dylib`clang::Parser::ParseClassSpecifier(clang::tok::TokenKind, clang::SourceLocation, clang::DeclSpec&, clang::Parser::ParsedTemplateInfo const&, clang::AccessSpecifier, bool, clang::Parser::DeclSpecContext, clang::Parser::ParsedAttributesWithRange&) + 6750
frame #16: 0x0000000110584c71 libclang.dylib`clang::Parser::ParseDeclarationSpecifiers(clang::DeclSpec&, clang::Parser::ParsedTemplateInfo const&, clang::AccessSpecifier, clang::Parser::DeclSpecContext, clang::Parser::LateParsedAttrList*) + 801
frame #17: 0x000000011060aae6 libclang.dylib`clang::Parser::ParseDeclOrFunctionDefInternal(clang::Parser::ParsedAttributesWithRange&, clang::ParsingDeclSpec&, clang::AccessSpecifier) + 86
frame #18: 0x000000011060a7d0 libclang.dylib`clang::Parser::ParseDeclarationOrFunctionDefinition(clang::Parser::ParsedAttributesWithRange&, clang::ParsingDeclSpec*, clang::AccessSpecifier) + 352
frame #19: 0x0000000110609a7b libclang.dylib`clang::Parser::ParseExternalDeclaration(clang::Parser::ParsedAttributesWithRange&, clang::ParsingDeclSpec*) + 2427
frame #20: 0x000000011059b1bf libclang.dylib`clang::Parser::ParseInnerNamespace(std::__1::vector<clang::SourceLocation, std::__1::allocator<clang::SourceLocation> >&, std::__1::vector<clang::IdentifierInfo*, std::__1::allocator<clang::IdentifierInfo*> >&, std::__1::vector<clang::SourceLocation, std::__1::allocator<clang::SourceLocation> >&, unsigned int, clang::SourceLocation&, clang::ParsedAttributes&, clang::BalancedDelimiterTracker&) + 319
frame #21: 0x000000011059ad6e libclang.dylib`clang::Parser::ParseNamespace(unsigned int, clang::SourceLocation&, clang::SourceLocation) + 5774
frame #22: 0x00000001105843ce libclang.dylib`clang::Parser::ParseDeclaration(unsigned int, clang::SourceLocation&, clang::Parser::ParsedAttributesWithRange&) + 542
frame #23: 0x000000011060995e libclang.dylib`clang::Parser::ParseExternalDeclaration(clang::Parser::ParsedAttributesWithRange&, clang::ParsingDeclSpec*) + 2142
frame #24: 0x000000011059b1bf libclang.dylib`clang::Parser::ParseInnerNamespace(std::__1::vector<clang::SourceLocation, std::__1::allocator<clang::SourceLocation> >&, std::__1::vector<clang::IdentifierInfo*, std::__1::allocator<clang::IdentifierInfo*> >&, std::__1::vector<clang::SourceLocation, std::__1::allocator<clang::SourceLocation> >&, unsigned int, clang::SourceLocation&, clang::ParsedAttributes&, clang::BalancedDelimiterTracker&) + 319
frame #25: 0x000000011059ad6e libclang.dylib`clang::Parser::ParseNamespace(unsigned int, clang::SourceLocation&, clang::SourceLocation) + 5774
frame #26: 0x00000001105843ce libclang.dylib`clang::Parser::ParseDeclaration(unsigned int, clang::SourceLocation&, clang::Parser::ParsedAttributesWithRange&) + 542
frame #27: 0x000000011060995e libclang.dylib`clang::Parser::ParseExternalDeclaration(clang::Parser::ParsedAttributesWithRange&, clang::ParsingDeclSpec*) + 2142
frame #28: 0x0000000110609038 libclang.dylib`clang::Parser::ParseTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&) + 424
frame #29: 0x0000000110577165 libclang.dylib`clang::ParseAST(clang::Sema&, bool, bool) + 501
frame #30: 0x000000010fadfa90 libclang.dylib`clang::FrontendAction::Execute() + 64
frame #31: 0x000000010fa91e7c libclang.dylib`clang::ASTUnit::Parse(std::__1::shared_ptr<clang::PCHContainerOperations>, std::__1::unique_ptr<llvm::MemoryBuffer, std::__1::default_delete<llvm::MemoryBuffer> >) + 2044
frame #32: 0x000000010fa96f8d libclang.dylib`clang::ASTUnit::LoadFromCompilerInvocation(std::__1::shared_ptr<clang::PCHContainerOperations>, unsigned int) + 637
frame #33: 0x000000010fa9789d libclang.dylib`clang::ASTUnit::LoadFromCommandLine(char const**, char const**, std::__1::shared_ptr<clang::PCHContainerOperations>, llvm::IntrusiveRefCntPtr<clang::DiagnosticsEngine>, llvm::StringRef, bool, bool, llvm::ArrayRef<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, llvm::MemoryBuffer*> >, bool, unsigned int, clang::TranslationUnitKind, bool, bool, bool, bool, bool, bool, llvm::Optional<llvm::StringRef>, std::__1::unique_ptr<clang::ASTUnit, std::__1::default_delete<clang::ASTUnit> >*) + 2205
frame #34: 0x000000010f8270e5 libclang.dylib`void llvm::function_ref<void ()>::callback_fn<clang_parseTranslationUnit2FullArgv::$_1>(long) + 2117
frame #35: 0x000000011044ecb9 libclang.dylib`llvm::CrashRecoveryContext::RunSafely(llvm::function_ref<void ()>) + 217
frame #36: 0x000000011044ede0 libclang.dylib`RunSafelyOnThread_Dispatch(void*) + 48
frame #37: 0x000000011044ed91 libclang.dylib`llvm::CrashRecoveryContext::RunSafelyOnThread(llvm::function_ref<void ()>, unsigned int) + 81
frame #38: 0x000000010f81334e libclang.dylib`clang_parseTranslationUnit2FullArgv + 846
frame #39: 0x000000010f812eb8 libclang.dylib`clang_parseTranslationUnit + 232
frame #40: 0x000000010e07e743 build-script-build`clang_sys::clang_parseTranslationUnit(index=<unavailable>, file=<unavailable>, arguments=<unavailable>, n_arguments=<unavailable>, unsaved=<unavailable>, n_unsaved=<unavailable>, flags=<unavailable>) + 387 at link.rs:95 [opt]
frame #41: 0x000000010de3ad43 build-script-build`bindgen::clang::{{impl}}::parse(ix=<unavailable>, file=<unavailable>, cmd_args=<unavailable>, unsaved=<unavailable>, opts=<unavailable>) + 851 at clang.rs:1281 [opt]
frame #42: 0x000000010de4778b build-script-build`bindgen::ir::context::{{impl}}::new(options=<unavailable>) + 139 at context.rs:228 [opt]
frame #43: 0x000000010de6c1f2 build-script-build`bindgen::{{impl}}::generate(options=<unavailable>, span=<unavailable>) + 2274 at lib.rs:1070 [opt]
frame #44: 0x000000010de6b5fb build-script-build`bindgen::{{impl}}::generate(self=<unavailable>) + 59 at lib.rs:778 [opt]
frame #45: 0x000000010ddce24a build-script-build`build_script_build::build_gecko::bindings::write_binding_file(builder=<unavailable>, file=<unavailable>, fixups=&[build_script_build::build_gecko::bindings::Fixup] @ 0x00007fde5bdadf30) + 522 at build_gecko.rs:271 [opt]
frame #46: 0x000000010ddd3250 build-script-build`build_script_build::build_gecko::bindings::generate_structs(build_type=<unavailable>) + 11920 at build_gecko.rs:421 [opt]
frame #47: 0x000000010e0c13cb build-script-build`panic_unwind::__rust_maybe_catch_panic + 27 at lib.rs:98 [opt]
frame #48: 0x000000010ddc7320 build-script-build`alloc::boxed::{{impl}}::call_box<(),closure> + 40 at panicking.rs:433 [opt]
frame #49: 0x000000010ddc72f8 build-script-build`alloc::boxed::{{impl}}::call_box<(),closure> [inlined] std::panic::catch_unwind<std::panic::AssertUnwindSafe<closure>,()> at panic.rs:361 [opt]
frame #50: 0x000000010ddc72f8 build-script-build`alloc::boxed::{{impl}}::call_box<(),closure> [inlined] std::thread::{{impl}}::spawn::{{closure}}<closure,()> + 53 at mod.rs:362 [opt]
frame #51: 0x000000010ddc72c3 build-script-build`alloc::boxed::{{impl}}::call_box<(),closure>(self=0x000000010e82a030, args=<unavailable>) + 35 at boxed.rs:648 [opt]
frame #52: 0x000000010e0bd526 build-script-build`std::sys::imp::thread::{{impl}}::new::thread_start [inlined] alloc::boxed::{{impl}}::call_once<(),()> + 134 at boxed.rs:658 [opt]
frame #53: 0x000000010e0bd523 build-script-build`std::sys::imp::thread::{{impl}}::new::thread_start [inlined] std::sys_common::thread::start_thread + 115 at thread.rs:21 [opt]
frame #54: 0x000000010e0bd4b0 build-script-build`std::sys::imp::thread::{{impl}}::new::thread_start + 16 at thread.rs:84 [opt]
frame #55: 0x00007fff93d4899d libsystem_pthread.dylib`_pthread_body + 131
frame #56: 0x00007fff93d4891a libsystem_pthread.dylib`_pthread_start + 168
frame #57: 0x00007fff93d46351 libsystem_pthread.dylib`thread_start + 13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment