Skip to content

Debugger crashes while debugging C++ MacOS app #1255

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

Open
thomasolsen4 opened this issue Mar 27, 2025 · 0 comments
Open

Debugger crashes while debugging C++ MacOS app #1255

thomasolsen4 opened this issue Mar 27, 2025 · 0 comments

Comments

@thomasolsen4
Copy link

OS: MacOS Sequoia 15.3.2 (MacARM)
VSCode version: Version: 1.98.2 (Universal)
CodeLLDB version: 1.11.4
Compiler: clang
Debuggee: Universal

Verbose log
  Verbose logging: off  (Use "lldb.verboseLogging" setting to change)
Platform: darwin arm64
Initial debug configuration: {
  name: 'C++ Launch',
  type: 'lldb',
  request: 'launch',
  program: '/Users/tomolsen/repos/dva/build/mb/xcode_macos_arm64/Debug/arm64/build/AfterEffects/AfterEffects/AfterEffects/After Effects (Beta).app',
  cwd: '${workspaceFolder}',
  stopAtEntry: false,
  targetArchitecture: 'arm64',
  environment: [],
  MIMode: 'lldb',
  'lldb.verboseLogging': true,
  __configurationTarget: 6
}
Resolved debug configuration: {
  name: 'C++ Launch',
  type: 'lldb',
  request: 'launch',
  program: '/Users/tomolsen/repos/dva/build/mb/xcode_macos_arm64/Debug/arm64/build/AfterEffects/AfterEffects/AfterEffects/After Effects (Beta).app',
  cwd: '${workspaceFolder}',
  stopAtEntry: false,
  targetArchitecture: 'arm64',
  environment: [],
  MIMode: 'lldb',
  'lldb.verboseLogging': true,
  __configurationTarget: 6,
  relativePathBase: '/Users/tomolsen/repos/dva/AfterEffects',
  _adapterSettings: {
    displayFormat: 'auto',
    showDisassembly: 'auto',
    dereferencePointers: true,
    suppressMissingSourceFiles: true,
    evaluationTimeout: 5,
    consoleMode: 'commands',
    sourceLanguages: null,
    scriptConfig: {},
    terminalPromptClear: null,
    evaluateForHovers: true,
    commandCompletions: true,
    reproducer: false
  }
}
Launching adapter
liblldb: /Users/tomolsen/.vscode/extensions/vadimcn.vscode-lldb-1.11.4/lldb/lib/liblldb.dylib
environment: {}
settings: { evaluateForHovers: true, commandCompletions: true }
warning: (arm64) /Users/tomolsen/repos/dva/build/mb/xcode_macos_arm64/Debug/arm64/build/AfterEffects/AfterEffects/AfterEffects/After Effects (Beta).app/Contents/Frameworks/libonnxruntime.1.19.0.dylib empty dSYM file detected, dSYM was created with an executable with no debug info.
Received signal: SIGSEGV
   0: backtrace::capture::Backtrace::new
   1: codelldb::hook_crashes::handler
   2: __os_alloc_slow
   3: __ZN5clang15ASTNodeImporter15VisitRecordDeclEPNS_10RecordDeclE
   4: __ZN5clang11ASTImporter10ImportImplEPNS_4DeclE
   5: __ZN12lldb_private16ClangASTImporter19ASTImporterDelegate10ImportImplEPN5clang4DeclE
   6: __ZN5clang11ASTImporter6ImportEPNS_4DeclE
   7: __ZN5clang15ASTNodeImporter22VisitClassTemplateDeclEPNS_17ClassTemplateDeclE
   8: __ZN5clang11ASTImporter10ImportImplEPNS_4DeclE
   9: __ZN12lldb_private16ClangASTImporter19ASTImporterDelegate10ImportImplEPN5clang4DeclE
  10: __ZN5clang11ASTImporter6ImportEPNS_4DeclE
  11: __ZN5clang15ASTNodeImporter36VisitClassTemplateSpecializationDeclEPNS_31ClassTemplateSpecializationDeclE
  12: __ZN5clang11ASTImporter10ImportImplEPNS_4DeclE
  13: __ZN12lldb_private16ClangASTImporter19ASTImporterDelegate10ImportImplEPN5clang4DeclE
  14: __ZN5clang11ASTImporter6ImportEPNS_4DeclE
  15: __ZN5clang15ASTNodeImporter15VisitRecordTypeEPKNS_10RecordTypeE
  16: __ZN5clang11ASTImporter6ImportEPKNS_4TypeE
  17: __ZN5clang11ASTImporter6ImportENS_8QualTypeE
  18: __ZN5clang15ASTNodeImporter13importCheckedINS_8QualTypeEEET_RN4llvm5ErrorERKS3_
  19: __ZN5clang15ASTNodeImporter14VisitFieldDeclEPNS_9FieldDeclE
  20: __ZN5clang11ASTImporter10ImportImplEPNS_4DeclE
  21: __ZN12lldb_private16ClangASTImporter19ASTImporterDelegate10ImportImplEPN5clang4DeclE
  22: __ZN5clang11ASTImporter6ImportEPNS_4DeclE
  23: __ZN12lldb_private16ClangASTImporter24CompleteAndFetchChildrenEN5clang8QualTypeE
  24: __ZN12lldb_private16ClangASTImporter6ImportERKNS_12CompilerTypeE
  25: __ZN12lldb_private16ClangASTImporter12CompleteTypeERKNS_12CompilerTypeE
  26: __ZN12lldb_private6plugin5dwarf15SymbolFileDWARF12CompleteTypeERNS_12CompilerTypeE
  27: __ZNSt3__110__function6__funcIZN12lldb_private6plugin5dwarf23SymbolFileDWARFDebugMap12CompleteTypeERNS2_12CompilerTypeEE3$_0NS_9allocatorIS8_EEFNS2_15IterationActionEPNS4_15SymbolFileDWARFEEEclEOSD_
  28: __ZN12lldb_private6plugin5dwarf23SymbolFileDWARFDebugMap17ForEachSymbolFileENSt3__18functionIFNS_15IterationActionEPNS1_15SymbolFileDWARFEEEE
  29: __ZN12lldb_private6plugin5dwarf23SymbolFileDWARFDebugMap12CompleteTypeERNS_12CompilerTypeE
  30: __ZN12lldb_private15TypeSystemClang15CompleteTagDeclEPN5clang7TagDeclE
  31: __ZNK5clang11DeclContext35LoadLexicalDeclsFromExternalStorageEv
  32: __ZN5clang11DeclContext11buildLookupEv
  33: __ZNK5clang11DeclContext6lookupENS_15DeclarationNameE
  34: __ZNK5clang13CXXRecordDecl13getDestructorEv
  35: __ZNK5clang13CXXRecordDecl22hasConstexprDestructorEv
  36: __ZN5clang13CXXRecordDecl19addedClassSubobjectEPS0_
  37: __ZN5clang13CXXRecordDecl8setBasesEPKPKNS_16CXXBaseSpecifierEj
  38: __ZN5clang15ASTNodeImporter16ImportDefinitionEPNS_10RecordDeclES2_NS0_20ImportDefinitionKindE
  39: __ZN5clang11ASTImporter16ImportDefinitionEPNS_4DeclE
  40: __ZN12lldb_private16ClangASTImporter19ASTImporterDelegate18ImportDefinitionToEPN5clang4DeclES4_
  41: __ZN12lldb_private16ClangASTImporter15CompleteTagDeclEPN5clang7TagDeclE
  42: __ZN12lldb_private16ClangASTImporter24CompleteAndFetchChildrenEN5clang8QualTypeE
  43: __ZN12lldb_private16ClangASTImporter6ImportERKNS_12CompilerTypeE
  44: __ZN12lldb_private16ClangASTImporter12CompleteTypeERKNS_12CompilerTypeE
  45: __ZN12lldb_private6plugin5dwarf15SymbolFileDWARF12CompleteTypeERNS_12CompilerTypeE
  46: __ZNSt3__110__function6__funcIZN12lldb_private6plugin5dwarf23SymbolFileDWARFDebugMap12CompleteTypeERNS2_12CompilerTypeEE3$_0NS_9allocatorIS8_EEFNS2_15IterationActionEPNS4_15SymbolFileDWARFEEEclEOSD_
  47: __ZN12lldb_private6plugin5dwarf23SymbolFileDWARFDebugMap17ForEachSymbolFileENSt3__18functionIFNS_15IterationActionEPNS1_15SymbolFileDWARFEEEE
  48: __ZN12lldb_private6plugin5dwarf23SymbolFileDWARFDebugMap12CompleteTypeERNS_12CompilerTypeE
  49: __ZN12lldb_private15TypeSystemClang15CompleteTagDeclEPN5clang7TagDeclE
  50: __ZL19GetCompleteQualTypePN5clang10ASTContextENS_8QualTypeEb
  51: __ZNK12lldb_private12CompilerType15GetCompleteTypeEv
  52: __ZN12lldb_private15TypeSystemClang21IsPossibleDynamicTypeEPvPNS_12CompilerTypeEbb
  53: __ZNK12lldb_private12CompilerType21IsPossibleDynamicTypeEPS0_bb
  54: __ZN12lldb_private25ItaniumABILanguageRuntime21CouldHaveDynamicValueERNS_11ValueObjectE
  55: __ZN12lldb_private11ValueObject21CalculateDynamicValueEN4lldb16DynamicValueTypeE
  56: __ZN12lldb_private11ValueObject15GetDynamicValueEN4lldb16DynamicValueTypeE
  57: __ZN9ValueImpl5GetSPERN12lldb_private14ProcessRunLock16ProcessRunLockerERNSt3__111unique_lockINS4_15recursive_mutexEEERNS0_6StatusE
  58: __ZN4lldb7SBValue7GetNameEv
  59: ___cpp_closure_11965951442558365678
  60: lldb::sb::sbvalue::SBValue::name
  61: codelldb::debug_session::variables::::var_to_variable
  62: codelldb::debug_session::variables::::convert_scope_values
  63: codelldb::debug_session::variables::::handle_variables
  64: codelldb::debug_session::DebugSession::handle_request_args
  65: codelldb::debug_session::DebugSession::handle_request
  66: tokio::runtime::task::core::Core::poll
  67: tokio::runtime::task::harness::Harness::poll
  68: tokio::task::local::LocalSet::tick
  69: ::poll
  70: codelldb::run_debug_session::{{closure}}
  71: tokio::runtime::context::runtime::enter_runtime
  72: tokio::runtime::runtime::Runtime::block_on
  73: codelldb::debug_server
  74: codelldb::main
  75: std::sys_common::backtrace::__rust_begin_short_backtrace
  76: std::rt::lang_start::{{closure}}
  77: std::rt::lang_start_internal
  78: _main

Debug adapter exit code=255 (0xff), signal=null.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant