Skip to content

LLDB SIGSEGV: Module::PreloadSymbols() recursion exhausts stack region #146255

Open
@FuPeiJiang

Description

@FuPeiJiang

6848 bytes (0x1ac0 bytes) are used at each recursion depth

0x7fffbadd8d90-0x7fffbadd72d0
(long) $37 = 6848
0x7fffbadd72d0-0x7fffbadd5810
(long) $38 = 6848
0x7fffbadd5810-0x7fffbadd3d50
(long) $39 = 6848

rsp goes into an invalid memory region:

(lldb) memory region 0x7fffbadd8d90
[0x00007fffbadbc000-0x00007fffbaddd000) rw-
(lldb) memory region $rsp
[0x00007fffbadba000-0x00007fffbadbc000) ---
(lldb) register read rsp
     rsp = 0x00007fffbadbb070


"resolved_path: %p" shows address of variables on the stack (being decremented)

sym_file->GetObjectName(): libmojo_public_cpp_bindings_bindings_base.so, 140736328485688
resolved_path: 0x7fffbadd8d90, 0x7fffbadd7d60, /.../chromium-137.0.7151.119/out/bld/libmojo_public_cpp_bindings_bindings_base.so, 140736328485688
resolved_path: 0x7fffbadd8d90, 0x7fffbadd7d60, /.../chromium-137.0.7151.119/out/bld/libmojo_public_cpp_bindings_bindings_base.so, 140736328485688
resolved_path: 0x7fffbadd8d90, 0x7fffbadd7d60, /.../chromium-137.0.7151.119/out/bld/libmojo_public_cpp_bindings_bindings_base.so, 140736328485688
sym_file->GetObjectName(): libui_gfx_geometry.so, 140736328485688
resolved_path: 0x7fffbadd72d0, 0x7fffbadd62a0, /.../chromium-137.0.7151.119/out/bld/libui_gfx_geometry.so, 140736328485688
resolved_path: 0x7fffbadd72d0, 0x7fffbadd62a0, /.../chromium-137.0.7151.119/out/bld/libui_gfx_geometry.so, 140736328485688
resolved_path: 0x7fffbadd72d0, 0x7fffbadd62a0, /.../chromium-137.0.7151.119/out/bld/libui_gfx_geometry.so, 140736328485688
sym_file->GetObjectName(): libui_base_ui_data_pack.so, 140736328485688
resolved_path: 0x7fffbadd5810, 0x7fffbadd47e0, /.../chromium-137.0.7151.119/out/bld/libui_base_ui_data_pack.so, 140736328485688
resolved_path: 0x7fffbadd5810, 0x7fffbadd47e0, /.../chromium-137.0.7151.119/out/bld/libui_base_ui_data_pack.so, 140736328485688
resolved_path: 0x7fffbadd5810, 0x7fffbadd47e0, /.../chromium-137.0.7151.119/out/bld/libui_base_ui_data_pack.so, 140736328485688
sym_file->GetObjectName(): libui_gfx.so, 140736328485688
resolved_path: 0x7fffbadd3d50, 0x7fffbadd2d20, /.../chromium-137.0.7151.119/out/bld/libui_gfx.so, 140736328485688
resolved_path: 0x7fffbadd3d50, 0x7fffbadd2d20, /.../chromium-137.0.7151.119/out/bld/libui_gfx.so, 140736328485688
resolved_path: 0x7fffbadd3d50, 0x7fffbadd2d20, /.../chromium-137.0.7151.119/out/bld/libui_gfx.so, 140736328485688
sym_file->GetObjectName(): libcomponents_tracing_tracing_config.so, 140736328485688
resolved_path: 0x7fffbadd2290, 0x7fffbadd1260, /.../chromium-137.0.7151.119/out/bld/libcomponents_tracing_tracing_config.so, 140736328485688
resolved_path: 0x7fffbadd2290, 0x7fffbadd1260, /.../chromium-137.0.7151.119/out/bld/libcomponents_tracing_tracing_config.so, 140736328485688
resolved_path: 0x7fffbadd2290, 0x7fffbadd1260, /.../chromium-137.0.7151.119/out/bld/libcomponents_tracing_tracing_config.so, 140736328485688
sym_file->GetObjectName(): libgfx_ipc_geometry.so, 140736328485688
resolved_path: 0x7fffbadd07d0, 0x7fffbadcf7a0, /.../chromium-137.0.7151.119/out/bld/libgfx_ipc_geometry.so, 140736328485688
resolved_path: 0x7fffbadd07d0, 0x7fffbadcf7a0, /.../chromium-137.0.7151.119/out/bld/libgfx_ipc_geometry.so, 140736328485688
resolved_path: 0x7fffbadd07d0, 0x7fffbadcf7a0, /.../chromium-137.0.7151.119/out/bld/libgfx_ipc_geometry.so, 140736328485688
sym_file->GetObjectName(): libgpu_ipc_common_vulkan_ycbcr_info.so, 140736328485688
resolved_path: 0x7fffbadced10, 0x7fffbadcdce0, /.../chromium-137.0.7151.119/out/bld/libgpu_ipc_common_vulkan_ycbcr_info.so, 140736328485688
resolved_path: 0x7fffbadced10, 0x7fffbadcdce0, /.../chromium-137.0.7151.119/out/bld/libgpu_ipc_common_vulkan_ycbcr_info.so, 140736328485688
resolved_path: 0x7fffbadced10, 0x7fffbadcdce0, /.../chromium-137.0.7151.119/out/bld/libgpu_ipc_common_vulkan_ycbcr_info.so, 140736328485688
sym_file->GetObjectName(): libgl_mojom_shared.so, 140736328485688
resolved_path: 0x7fffbadcd250, 0x7fffbadcc220, /.../chromium-137.0.7151.119/out/bld/libgl_mojom_shared.so, 140736328485688
resolved_path: 0x7fffbadcd250, 0x7fffbadcc220, /.../chromium-137.0.7151.119/out/bld/libgl_mojom_shared.so, 140736328485688
resolved_path: 0x7fffbadcd250, 0x7fffbadcc220, /.../chromium-137.0.7151.119/out/bld/libgl_mojom_shared.so, 140736328485688
sym_file->GetObjectName(): libgpu_common_interfaces_shared.so, 140736328485688
resolved_path: 0x7fffbadcb790, 0x7fffbadca760, /.../chromium-137.0.7151.119/out/bld/libgpu_common_interfaces_shared.so, 140736328485688
resolved_path: 0x7fffbadcb790, 0x7fffbadca760, /.../chromium-137.0.7151.119/out/bld/libgpu_common_interfaces_shared.so, 140736328485688
resolved_path: 0x7fffbadcb790, 0x7fffbadca760, /.../chromium-137.0.7151.119/out/bld/libgpu_common_interfaces_shared.so, 140736328485688
sym_file->GetObjectName(): libgfx_native_types_shared_mojom_traits.so, 140736328485688
resolved_path: 0x7fffbadc9cd0, 0x7fffbadc8ca0, /.../chromium-137.0.7151.119/out/bld/libgfx_native_types_shared_mojom_traits.so, 140736328485688
resolved_path: 0x7fffbadc9cd0, 0x7fffbadc8ca0, /.../chromium-137.0.7151.119/out/bld/libgfx_native_types_shared_mojom_traits.so, 140736328485688
resolved_path: 0x7fffbadc9cd0, 0x7fffbadc8ca0, /.../chromium-137.0.7151.119/out/bld/libgfx_native_types_shared_mojom_traits.so, 140736328485688
sym_file->GetObjectName(): libgl_mojom.so, 140736328485688
resolved_path: 0x7fffbadc8210, 0x7fffbadc71e0, /.../chromium-137.0.7151.119/out/bld/libgl_mojom.so, 140736328485688
resolved_path: 0x7fffbadc8210, 0x7fffbadc71e0, /.../chromium-137.0.7151.119/out/bld/libgl_mojom.so, 140736328485688
resolved_path: 0x7fffbadc8210, 0x7fffbadc71e0, /.../chromium-137.0.7151.119/out/bld/libgl_mojom.so, 140736328485688
sym_file->GetObjectName(): libgpu_config_vulkan_info.so, 140736328485688
resolved_path: 0x7fffbadc6750, 0x7fffbadc5720, /.../chromium-137.0.7151.119/out/bld/libgpu_config_vulkan_info.so, 140736328485688
resolved_path: 0x7fffbadc6750, 0x7fffbadc5720, /.../chromium-137.0.7151.119/out/bld/libgpu_config_vulkan_info.so, 140736328485688
resolved_path: 0x7fffbadc6750, 0x7fffbadc5720, /.../chromium-137.0.7151.119/out/bld/libgpu_config_vulkan_info.so, 140736328485688
sym_file->GetObjectName(): libui_base_data_transfer_policy.so, 140736328485688
resolved_path: 0x7fffbadc4c90, 0x7fffbadc3c60, /.../chromium-137.0.7151.119/out/bld/libui_base_data_transfer_policy.so, 140736328485688
resolved_path: 0x7fffbadc4c90, 0x7fffbadc3c60, /.../chromium-137.0.7151.119/out/bld/libui_base_data_transfer_policy.so, 140736328485688
resolved_path: 0x7fffbadc4c90, 0x7fffbadc3c60, /.../chromium-137.0.7151.119/out/bld/libui_base_data_transfer_policy.so, 140736328485688
sym_file->GetObjectName(): libmedia_shared_memory_support.so, 140736328485688
resolved_path: 0x7fffbadc31d0, 0x7fffbadc21a0, /.../chromium-137.0.7151.119/out/bld/libmedia_shared_memory_support.so, 140736328485688
resolved_path: 0x7fffbadc31d0, 0x7fffbadc21a0, /.../chromium-137.0.7151.119/out/bld/libmedia_shared_memory_support.so, 140736328485688
resolved_path: 0x7fffbadc31d0, 0x7fffbadc21a0, /.../chromium-137.0.7151.119/out/bld/libmedia_shared_memory_support.so, 140736328485688
sym_file->GetObjectName(): libthird_party_leveldatabase.so, 140736328485688
resolved_path: 0x7fffbadc1710, 0x7fffbadc06e0, /.../chromium-137.0.7151.119/out/bld/libthird_party_leveldatabase.so, 140736328485688
resolved_path: 0x7fffbadc1710, 0x7fffbadc06e0, /.../chromium-137.0.7151.119/out/bld/libthird_party_leveldatabase.so, 140736328485688
resolved_path: 0x7fffbadc1710, 0x7fffbadc06e0, /.../chromium-137.0.7151.119/out/bld/libthird_party_leveldatabase.so, 140736328485688
sym_file->GetObjectName(): libservices_network_public_cpp_network_param_mojom_support.so, 140736328485688
resolved_path: 0x7fffbadbfc50, 0x7fffbadbec20, /.../chromium-137.0.7151.119/out/bld/libservices_network_public_cpp_network_param_mojom_support.so, 140736328485688
resolved_path: 0x7fffbadbfc50, 0x7fffbadbec20, /.../chromium-137.0.7151.119/out/bld/libservices_network_public_cpp_network_param_mojom_support.so, 140736328485688
resolved_path: 0x7fffbadbfc50, 0x7fffbadbec20, /.../chromium-137.0.7151.119/out/bld/libservices_network_public_cpp_network_param_mojom_support.so, 140736328485688
sym_file->GetObjectName(): libservices_proxy_resolver_public_cpp_proxy_resolver_mojom_support.so, 140736328485688
resolved_path: 0x7fffbadbe190, 0x7fffbadbd160, /.../chromium-137.0.7151.119/out/bld/libservices_proxy_resolver_public_cpp_proxy_resolver_mojom_support.so, 140736328485688

SIGSEGV: SEGV_ACCERR: invalid permissions for mapped object (fault address=0x7fffbadbb098)
happens at musl realpath because it also uses a lot of stack memory

(lldb) disassemble -n realpath
ld-musl-x86_64.so.1`realpath:
    0x7ffff7f860c0 <+0>:    pushq  %r15
    0x7ffff7f860c2 <+2>:    pushq  %r14
    0x7ffff7f860c4 <+4>:    pushq  %r13
    0x7ffff7f860c6 <+6>:    pushq  %r12
    0x7ffff7f860c8 <+8>:    pushq  %rbp
    0x7ffff7f860c9 <+9>:    pushq  %rbx
    0x7ffff7f860ca <+10>:   subq   $0x2048, %rsp             ; imm = 0x2048 
    0x7ffff7f860d1 <+17>:   movq   %rsi, 0x28(%rsp)

(lldb) bt
* thread #8, name = 'lldb', stop reason = signal SIGSEGV: invalid permissions for mapped object (fault address=0x7fffbadbb098)
  * frame #0: 0x00007ffff7f860d1 ld-musl-x86_64.so.1`realpath(filename="/.../chromium-137.0.7151.119/out/bld/libservices_proxy_resolver_public_cpp_proxy_resolver_mojom_support.so", resolved="\xc0\xd7ۺ\xff\U0000007f") at realpath.c:15:1

https://git.musl-libc.org/cgit/musl/tree/src/misc/realpath.c?h=v1.2.5

char *realpath(const char *restrict filename, char *restrict resolved)
{
	char stack[PATH_MAX+1];
	char output[PATH_MAX];
#define PATH_MAX 4096

4096+4096 = 0x2048

printf used here: (pthread_self() is used to filter out other threads)

void Module::PreloadSymbols() {
  std::lock_guard<std::recursive_mutex> guard(m_mutex);
  SymbolFile *sym_file = GetSymbolFile();
  if (!sym_file)
    return;
  printf("sym_file->GetObjectName(): %s, %lu\n", sym_file->GetObjectName().data(), pthread_self()); //mine
  // Load the object file symbol table and any symbols from the SymbolFile that
  // get appended using SymbolFile::AddSymbols(...).
  if (Symtab *symtab = sym_file->GetSymtab())
    symtab->PreloadSymbols();
Status FileSystem::ResolveSymbolicLink(const FileSpec &src, FileSpec &dst) {
  char resolved_path[PATH_MAX];
  if (!src.GetPath(resolved_path, sizeof(resolved_path))) {
    return Status::FromErrorStringWithFormat(
        "Couldn't get the canonical path for %s", src.GetPath().c_str());
  }

  char real_path[PATH_MAX + 1];
  printf("resolved_path: %p, %p, %s, %lu\n", resolved_path, real_path, resolved_path, pthread_self()); //mine
  if (realpath(resolved_path, real_path) == nullptr) {
    return Status::FromErrno();
  }
incomplete stack trace (frame #114)
(lldb) bt
* thread #8, name = 'lldb', stop reason = signal SIGSEGV: invalid permissions for mapped object (fault address=0x7fffbadbb098)
* frame #0: 0x00007ffff7f860d1 ld-musl-x86_64.so.1`realpath(filename="/.../chromium-137.0.7151.119/out/bld/libservices_proxy_resolver_public_cpp_proxy_resolver_mojom_support.so", resolved="\xc0\xd7ۺ\xff\U0000007f") at realpath.c:15:1
frame #1: 0x00007fffe59b2a5b liblldb.so.21.0git`lldb_private::FileSystem::ResolveSymbolicLink(this=0x00007ffff7d646e8, src=0x00007fffbadbf3a0, dst=0x00007fffbadbf3a0) at FileSystemPosix.cpp:57:7
frame #2: 0x00007fffe6462970 liblldb.so.21.0git`lldb_private::SymbolLocatorDefault::LocateExecutableSymbolFile(module_spec=0x00007fffbadbfec0, default_search_paths=0x00007fffbadbfdb0) at SymbolLocatorDefault.cpp:114:26
frame #3: 0x00007fffe588baa0 liblldb.so.21.0git`lldb_private::PluginManager::LocateExecutableSymbolFile(module_spec=0x00007fffbadbfec0, default_search_paths=0x00007fffbadbfdb0, map=0x00007fff8cbcee08) at PluginManager.cpp:1495:18
frame #4: 0x00007fffe6331934 liblldb.so.21.0git`lldb_private::plugin::dwarf::SymbolFileDWARF::GetDwpSymbolFile()::$_0::operator()(this=0x00007fffbadc0230) const at SymbolFileDWARF.cpp:4257:22
frame #5: 0x00007fffe6331495 liblldb.so.21.0git`void std::__invoke_impl<void, lldb_private::plugin::dwarf::SymbolFileDWARF::GetDwpSymbolFile()::$_0>((null)=__invoke_other @ 0x00007fffbadc009f, __f=0x00007fffbadc0230) at invoke.h:61:14
frame #6: 0x00007fffe6331475 liblldb.so.21.0git`std::__invoke_result<lldb_private::plugin::dwarf::SymbolFileDWARF::GetDwpSymbolFile()::$_0>::type std::__invoke<lldb_private::plugin::dwarf::SymbolFileDWARF::GetDwpSymbolFile()::$_0>(__fn=0x00007fffbadc0230) at invoke.h:96:14
frame #7: 0x00007fffe6331458 liblldb.so.21.0git`void std::call_once<lldb_private::plugin::dwarf::SymbolFileDWARF::GetDwpSymbolFile()::$_0>(this=0x00007fffbadc01d0)::$_0&&)::'lambda'()::operator()() const at mutex:909:4
frame #8: 0x00007fffe6331434 liblldb.so.21.0git`std::once_flag::_Prepare_execution::_Prepare_execution<void std::call_once<lldb_private::plugin::dwarf::SymbolFileDWARF::GetDwpSymbolFile()::$_0>(std::once_flag&, lldb_private::plugin::dwarf::SymbolFileDWARF::GetDwpSymbolFile()::$_0&&)::'lambda'()>(this=0x00007fffbadc0117)::$_0&)::'lambda'()::operator()() const at mutex:845:21
frame #9: 0x00007fffe63313ee liblldb.so.21.0git`std::once_flag::_Prepare_execution::_Prepare_execution<void std::call_once<lldb_private::plugin::dwarf::SymbolFileDWARF::GetDwpSymbolFile()::$_0>(std::once_flag&, lldb_private::plugin::dwarf::SymbolFileDWARF::GetDwpSymbolFile()::$_0&&)::'lambda'()>(lldb_private::plugin::dwarf::SymbolFileDWARF::GetDwpSymbolFile()::$_0&)::'lambda'()::__invoke() at mutex:845:16
frame #10: 0x00007ffff7fc07cf ld-musl-x86_64.so.1`__pthread_once_full [inlined] __pthread_once_full(control=0x00007fffb873dd40, init=(libstdc++.so.6`__once_proxy)) at pthread_once.c:22:3
frame #11: 0x00007ffff7fc07ba ld-musl-x86_64.so.1`__pthread_once_full(control=0x00007fffb873dd40, init=(libstdc++.so.6`__once_proxy)) at pthread_once.c:11:12
frame #12: 0x00007ffff7fc086c ld-musl-x86_64.so.1`__pthread_once(control=<unavailable>, init=<unavailable>) at pthread_once.c:47:9
frame #13: 0x00007fffe632f137 liblldb.so.21.0git`__gthread_once(__once=0x00007fffb873dd40, __func=(libstdc++.so.6`__once_proxy)) at gthr-default.h:713:12
frame #14: 0x00007fffe63312d2 liblldb.so.21.0git`void std::call_once<lldb_private::plugin::dwarf::SymbolFileDWARF::GetDwpSymbolFile()::$_0>(__once=0x00007fffb873dd40, __f=0x00007fffbadc0230) at mutex:916:21
frame #15: 0x00007fffe632c9fd liblldb.so.21.0git`void llvm::call_once<lldb_private::plugin::dwarf::SymbolFileDWARF::GetDwpSymbolFile()::$_0>(flag=0x00007fffb873dd40, F=0x00007fffbadc0230) at Threading.h:88:5
frame #16: 0x00007fffe6322315 liblldb.so.21.0git`lldb_private::plugin::dwarf::SymbolFileDWARF::GetDwpSymbolFile(this=0x00007fffb873dcc0) at SymbolFileDWARF.cpp:4219:3
frame #17: 0x00007fffe64058c8 liblldb.so.21.0git`lldb_private::plugin::dwarf::ManualDWARFIndex::Index(this=0x00007fff8f382910) at ManualDWARFIndex.cpp:47:44
frame #18: 0x00007fffe6391b25 liblldb.so.21.0git`lldb_private::plugin::dwarf::ManualDWARFIndex::Preload(this=0x00007fff8f382910) at ManualDWARFIndex.h:31:29
frame #19: 0x00007fffe6324568 liblldb.so.21.0git`lldb_private::plugin::dwarf::SymbolFileDWARF::PreloadSymbols(this=0x00007fffb873dcc0) at SymbolFileDWARF.cpp:2266:12
frame #20: 0x00007fffe5869d82 liblldb.so.21.0git`lldb_private::Module::PreloadSymbols(this=0x00007fff8cbceb10) at Module.cpp:1324:13
frame #21: 0x00007fffe5c20ed1 liblldb.so.21.0git`lldb_private::Target::GetOrCreateModule(this=0x00007fffe45be000, orig_module_spec=0x00007fffbadc11a0, notify=false, error_ptr=0x0000000000000000) at Target.cpp:2499:22
frame #22: 0x00007fffe5c2e0f6 liblldb.so.21.0git`lldb_private::Target::SetExecutableModule(std::shared_ptr<lldb_private::Module>&, lldb_private::LoadDependentFiles)::$_0::operator()(this=0x00007fffba987c90, dependent_file_spec=FileSpec @ 0x00007fffbadc1350) const at Target.cpp:1640:13
frame #23: 0x00007fffe5c2dfbb liblldb.so.21.0git`void std::__invoke_impl<void, lldb_private::Target::SetExecutableModule(std::shared_ptr<lldb_private::Module>&, lldb_private::LoadDependentFiles)::$_0&, lldb_private::FileSpec&>((null)=__invoke_other @ 0x00007fffbadc137f, __f=0x00007fffba987c90, __args=0x00007fffba987cb0) at invoke.h:61:14
frame #24: 0x00007fffe5c2df5d liblldb.so.21.0git`std::__invoke_result<lldb_private::Target::SetExecutableModule(std::shared_ptr<lldb_private::Module>&, lldb_private::LoadDependentFiles)::$_0&, lldb_private::FileSpec&>::type std::__invoke<lldb_private::Target::SetExecutableModule(std::shared_ptr<lldb_private::Module>&, lldb_private::LoadDependentFiles)::$_0&, lldb_private::FileSpec&>(__fn=0x00007fffba987c90, __args=0x00007fffba987cb0) at invoke.h:96:14
frame #25: 0x00007fffe5c2df1a liblldb.so.21.0git`void std::_Bind<lldb_private::Target::SetExecutableModule(std::shared_ptr<lldb_private::Module>&, lldb_private::LoadDependentFiles)::$_0 (lldb_private::FileSpec)>::__call<void, 0ul>(this=0x00007fffba987c90, __args=0x00007fffbadc1447, (null)=_Index_tuple<0UL> @ 0x00007fffbadc1406) at functional:513:11
frame #26: 0x00007fffe5c2deb3 liblldb.so.21.0git`void std::_Bind<lldb_private::Target::SetExecutableModule(std::shared_ptr<lldb_private::Module>&, lldb_private::LoadDependentFiles)::$_0 (lldb_private::FileSpec)>::operator()<void>(this=0x00007fffba987c90) at functional:598:17
frame #27: 0x00007fffe5c2de75 liblldb.so.21.0git`void std::__invoke_impl<void, std::_Bind<lldb_private::Target::SetExecutableModule(std::shared_ptr<lldb_private::Module>&, lldb_private::LoadDependentFiles)::$_0 (lldb_private::FileSpec)>&>((null)=__invoke_other @ 0x00007fffbadc146f, __f=0x00007fffba987c90) at invoke.h:61:14
frame #28: 0x00007fffe5c2de35 liblldb.so.21.0git`std::enable_if<is_invocable_r_v<void, std::_Bind<lldb_private::Target::SetExecutableModule(std::shared_ptr<lldb_private::Module>&, lldb_private::LoadDependentFiles)::$_0 (lldb_private::FileSpec)>&>, void>::type std::__invoke_r<void, std::_Bind<lldb_private::Target::SetExecutableModule(std::shared_ptr<lldb_private::Module>&, lldb_private::LoadDependentFiles)::$_0 (lldb_private::FileSpec)>&>(__fn=0x00007fffba987c90) at invoke.h:111:2
frame #29: 0x00007fffe5c2dcfd liblldb.so.21.0git`std::_Function_handler<void (), std::_Bind<lldb_private::Target::SetExecutableModule(std::shared_ptr<lldb_private::Module>&, lldb_private::LoadDependentFiles)::$_0 (lldb_private::FileSpec)>>::_M_invoke(__functor=0x00007fffba988b28) at std_function.h:290:9
frame #30: 0x00007fffe5a3734e liblldb.so.21.0git`std::function<void ()>::operator()(this=0x00007fffba988b28) const at std_function.h:591:9
frame #31: 0x00007fffe5aef635 liblldb.so.21.0git`void std::__invoke_impl<void, std::function<void ()>>((null)=__invoke_other @ 0x00007fffbadc14ef, __f=0x00007fffba988b28) at invoke.h:61:14
frame #32: 0x00007fffe5aef5f5 liblldb.so.21.0git`std::__invoke_result<std::function<void ()>>::type std::__invoke<std::function<void ()>>(__fn=0x00007fffba988b28) at invoke.h:96:14
frame #33: 0x00007fffe5aef5cd liblldb.so.21.0git`void std::thread::_Invoker<std::tuple<std::function<void ()>>>::_M_invoke<0ul>(this=0x00007fffba988b28, (null)=_Index_tuple<0UL> @ 0x00007fffbadc152f) at std_thread.h:301:13
frame #34: 0x00007fffe5aef575 liblldb.so.21.0git`std::thread::_Invoker<std::tuple<std::function<void ()>>>::operator()(this=0x00007fffba988b28) at std_thread.h:308:11
frame #35: 0x00007fffe5aef53c liblldb.so.21.0git`std::__future_base::_Task_setter<std::unique_ptr<std::__future_base::_Result<void>, std::__future_base::_Result_base::_Deleter>, std::thread::_Invoker<std::tuple<std::function<void ()>>>, void>::operator()(this=0x00007fffbadc1998) const at future:1439:6
frame #36: 0x00007fffe5aef460 liblldb.so.21.0git`std::unique_ptr<std::__future_base::_Result<void>, std::__future_base::_Result_base::_Deleter> std::__invoke_impl<std::unique_ptr<std::__future_base::_Result<void>, std::__future_base::_Result_base::_Deleter>, std::__future_base::_Task_setter<std::unique_ptr<std::__future_base::_Result<void>, std::__future_base::_Result_base::_Deleter>, std::thread::_Invoker<std::tuple<std::function<void ()>>>, void>&>((null)=__invoke_other @ 0x00007fffbadc15b7, __f=0x00007fffbadc1998) at invoke.h:61:14
frame #37: 0x00007fffe5aef3d9 liblldb.so.21.0git`std::enable_if<is_invocable_r_v<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter>, std::__future_base::_Task_setter<std::unique_ptr<std::__future_base::_Result<void>, std::__future_base::_Result_base::_Deleter>, std::thread::_Invoker<std::tuple<std::function<void ()>>>, void>&>, std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter>>::type std::__invoke_r<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter>, std::__future_base::_Task_setter<std::unique_ptr<std::__future_base::_Result<void>, std::__future_base::_Result_base::_Deleter>, std::thread::_Invoker<std::tuple<std::function<void ()>>>, void>&>(__fn=0x00007fffbadc1998) at invoke.h:114:9
frame #38: 0x00007fffe5aef2f0 liblldb.so.21.0git`std::_Function_handler<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter> (), std::__future_base::_Task_setter<std::unique_ptr<std::__future_base::_Result<void>, std::__future_base::_Result_base::_Deleter>, std::thread::_Invoker<std::tuple<std::function<void ()>>>, void>>::_M_invoke(__functor=0x00007fffbadc1998) at std_function.h:290:9
frame #39: 0x00007fffe5ad59c1 liblldb.so.21.0git`std::function<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter> ()>::operator()(this=0x00007fffbadc1998) const at std_function.h:591:9
frame #40: 0x00007fffe5ad573a liblldb.so.21.0git`std::__future_base::_State_baseV2::_M_do_set(this=0x00007fffba988b00, __f=0x00007fffbadc1998, __did_set=0x00007fffbadc1957) at future:596:27
frame #42: 0x00007fffe5ad58ed liblldb.so.21.0git`std::__invoke_result<void (std::__future_base::_State_baseV2::*)(std::function<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter> ()>*, bool*), std::__future_base::_State_baseV2*, std::function<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter> ()>*, bool*>::type std::__invoke<void (std::__future_base::_State_baseV2::*)(std::function<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter> ()>*, bool*), std::__future_base::_State_baseV2*, std::function<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter> ()>*, bool*>(__fn=0x00007fffbadc1940, __args=0x00007fffbadc1938, __args=0x00007fffbadc1930, __args=0x00007fffbadc1928) at invoke.h:96:14
frame #43: 0x00007fffe5ad58b4 liblldb.so.21.0git`void std::call_once<void (std::__future_base::_State_baseV2::*)(std::function<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter> ()>*, bool*), std::__future_base::_State_baseV2*, std::function<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter> ()>*, bool*>(this=0x00007fffbadc1888)(std::function<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter> ()>*, bool*), std::__future_base::_State_baseV2*&&, std::function<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter> ()>*&&, bool*&&)::'lambda'()::operator()() const at mutex:909:4
frame #44: 0x00007fffe5ad5884 liblldb.so.21.0git`std::once_flag::_Prepare_execution::_Prepare_execution<void std::call_once<void (std::__future_base::_State_baseV2::*)(std::function<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter> ()>*, bool*), std::__future_base::_State_baseV2*, std::function<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter> ()>*, bool*>(std::once_flag&, void (std::__future_base::_State_baseV2::*&&)(std::function<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter> ()>*, bool*), std::__future_base::_State_baseV2*&&, std::function<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter> ()>*&&, bool*&&)::'lambda'()>(this=0x00007fffbadc17b7)(std::function<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter> ()>*, bool*))::'lambda'()::operator()() const at mutex:845:21
frame #45: 0x00007fffe5ad583e liblldb.so.21.0git`std::once_flag::_Prepare_execution::_Prepare_execution<void std::call_once<void (std::__future_base::_State_baseV2::*)(std::function<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter> ()>*, bool*), std::__future_base::_State_baseV2*, std::function<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter> ()>*, bool*>(std::once_flag&, void (std::__future_base::_State_baseV2::*&&)(std::function<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter> ()>*, bool*), std::__future_base::_State_baseV2*&&, std::function<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter> ()>*&&, bool*&&)::'lambda'()>(void (std::__future_base::_State_baseV2::*&)(std::function<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter> ()>*, bool*))::'lambda'()::__invoke() at mutex:845:16
frame #46: 0x00007ffff7fc07cf ld-musl-x86_64.so.1`__pthread_once_full [inlined] __pthread_once_full(control=0x00007fffba988b18, init=(libstdc++.so.6`__once_proxy)) at pthread_once.c:22:3
frame #47: 0x00007ffff7fc07ba ld-musl-x86_64.so.1`__pthread_once_full(control=0x00007fffba988b18, init=(libstdc++.so.6`__once_proxy)) at pthread_once.c:11:12
frame #48: 0x00007ffff7fc086c ld-musl-x86_64.so.1`__pthread_once(control=<unavailable>, init=<unavailable>) at pthread_once.c:47:9
frame #49: 0x00007fffe5acf397 liblldb.so.21.0git`__gthread_once(__once=0x00007fffba988b18, __func=(libstdc++.so.6`__once_proxy)) at gthr-default.h:713:12
frame #50: 0x00007fffe5ad56a6 liblldb.so.21.0git`void std::call_once<void (std::__future_base::_State_baseV2::*)(std::function<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter> ()>*, bool*), std::__future_base::_State_baseV2*, std::function<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter> ()>*, bool*>(__once=0x00007fffba988b18, __f=0x00007fffbadc1940, __args=0x00007fffbadc1938, __args=0x00007fffbadc1930, __args=0x00007fffbadc1928) at mutex:916:21
frame #51: 0x00007fffe5ad54f5 liblldb.so.21.0git`std::__future_base::_State_baseV2::_M_set_result(this=0x00007fffba988b00, __res=function<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter> ()> @ 0x00007fffbadc1998, __ignore_failure=true) at future:435:2
frame #52: 0x00007fffe5af075c liblldb.so.21.0git`std::__future_base::_Deferred_state<std::thread::_Invoker<std::tuple<std::function<void ()>>>, void>::_M_complete_async(this=0x00007fffba988b00) at future:1719:9
frame #53: 0x00007fffe5ad6aba liblldb.so.21.0git`std::__future_base::_State_baseV2::wait(this=0x00007fffba988b00) at future:357:2
frame #54: 0x00007fffe5af0d1a liblldb.so.21.0git`std::__basic_future<void>::wait(this=0x00007fffbacb3180) const at future:723:19
frame #55: 0x00007fffe5af0ce5 liblldb.so.21.0git`std::shared_future<void> llvm::ThreadPoolInterface::asyncImpl<void>(this=0x00007fffbacb3180)>, llvm::ThreadPoolTaskGroup*)::'lambda'()::operator()() const at ThreadPool.h:115:38
frame #56: 0x00007fffe5af0cc5 liblldb.so.21.0git`void std::__invoke_impl<void, std::shared_future<void> llvm::ThreadPoolInterface::asyncImpl<void>(std::function<void ()>, llvm::ThreadPoolTaskGroup*)::'lambda'()&>((null)=__invoke_other @ 0x00007fffbadc1a9f, __f=0x00007fffbacb3180) at invoke.h:61:14
frame #57: 0x00007fffe5af0c85 liblldb.so.21.0git`std::enable_if<is_invocable_r_v<void, std::shared_future<void> llvm::ThreadPoolInterface::asyncImpl<void>(std::function<void ()>, llvm::ThreadPoolTaskGroup*)::'lambda'()&>, void>::type std::__invoke_r<void, std::shared_future<void> llvm::ThreadPoolInterface::asyncImpl<void>(std::function<void ()>, llvm::ThreadPoolTaskGroup*)::'lambda'()&>(__fn=0x00007fffbacb3180) at invoke.h:111:2
frame #58: 0x00007fffe5af0b0d liblldb.so.21.0git`std::_Function_handler<void (), std::shared_future<void> llvm::ThreadPoolInterface::asyncImpl<void>(std::function<void ()>, llvm::ThreadPoolTaskGroup*)::'lambda'()>::_M_invoke(__functor=0x00007fffbadc1bd0) at std_function.h:290:9
frame #59: 0x00007fffe5a3734e liblldb.so.21.0git`std::function<void ()>::operator()(this=0x00007fffbadc1bd0) const at std_function.h:591:9
frame #60: 0x00007fffe65b1253 liblldb.so.21.0git`llvm::StdThreadPool::processTasks(this=0x00007fffe47ff570, WaitingForGroup=0x00007fffbadc1ef8) at ThreadPool.cpp:100:5
frame #61: 0x00007fffe65b18ff liblldb.so.21.0git`llvm::StdThreadPool::wait(this=0x00007fffe47ff570, Group=0x00007fffbadc1ef8) at ThreadPool.cpp:165:3
frame #62: 0x00007fffe5c34db9 liblldb.so.21.0git`llvm::ThreadPoolTaskGroup::wait(this=0x00007fffbadc1ef8) at ThreadPool.h:282:22
frame #63: 0x00007fffe640631e liblldb.so.21.0git`_ZZN12lldb_private6plugin5dwarf16ManualDWARFIndex5IndexEvENK3$_0clIZNS2_5IndexEvE3$_1EEDaOT_(this=0x00007fffbadc1ed0, fn=0x00007fffbadc1ea8) at ManualDWARFIndex.cpp:111:16
frame #64: 0x00007fffe6405df5 liblldb.so.21.0git`lldb_private::plugin::dwarf::ManualDWARFIndex::Index(this=0x00007fff8f382190) at ManualDWARFIndex.cpp:122:3
frame #65: 0x00007fffe6391b25 liblldb.so.21.0git`lldb_private::plugin::dwarf::ManualDWARFIndex::Preload(this=0x00007fff8f382190) at ManualDWARFIndex.h:31:29
frame #66: 0x00007fffe6324568 liblldb.so.21.0git`lldb_private::plugin::dwarf::SymbolFileDWARF::PreloadSymbols(this=0x00007fffb73bfce0) at SymbolFileDWARF.cpp:2266:12
frame #67: 0x00007fffe5869d82 liblldb.so.21.0git`lldb_private::Module::PreloadSymbols(this=0x00007fff8cd12320) at Module.cpp:1324:13
frame #68: 0x00007fffe5c20ed1 liblldb.so.21.0git`lldb_private::Target::GetOrCreateModule(this=0x00007fffe45be000, orig_module_spec=0x00007fffbadc2c60, notify=false, error_ptr=0x0000000000000000) at Target.cpp:2499:22
frame #69: 0x00007fffe5c2e0f6 liblldb.so.21.0git`lldb_private::Target::SetExecutableModule(std::shared_ptr<lldb_private::Module>&, lldb_private::LoadDependentFiles)::$_0::operator()(this=0x00007fffba987b90, dependent_file_spec=FileSpec @ 0x00007fffbadc2e10) const at Target.cpp:1640:13
frame #70: 0x00007fffe5c2dfbb liblldb.so.21.0git`void std::__invoke_impl<void, lldb_private::Target::SetExecutableModule(std::shared_ptr<lldb_private::Module>&, lldb_private::LoadDependentFiles)::$_0&, lldb_private::FileSpec&>((null)=__invoke_other @ 0x00007fffbadc2e3f, __f=0x00007fffba987b90, __args=0x00007fffba987bb0) at invoke.h:61:14
frame #71: 0x00007fffe5c2df5d liblldb.so.21.0git`std::__invoke_result<lldb_private::Target::SetExecutableModule(std::shared_ptr<lldb_private::Module>&, lldb_private::LoadDependentFiles)::$_0&, lldb_private::FileSpec&>::type std::__invoke<lldb_private::Target::SetExecutableModule(std::shared_ptr<lldb_private::Module>&, lldb_private::LoadDependentFiles)::$_0&, lldb_private::FileSpec&>(__fn=0x00007fffba987b90, __args=0x00007fffba987bb0) at invoke.h:96:14
frame #72: 0x00007fffe5c2df1a liblldb.so.21.0git`void std::_Bind<lldb_private::Target::SetExecutableModule(std::shared_ptr<lldb_private::Module>&, lldb_private::LoadDependentFiles)::$_0 (lldb_private::FileSpec)>::__call<void, 0ul>(this=0x00007fffba987b90, __args=0x00007fffbadc2f07, (null)=_Index_tuple<0UL> @ 0x00007fffbadc2ec6) at functional:513:11
frame #73: 0x00007fffe5c2deb3 liblldb.so.21.0git`void std::_Bind<lldb_private::Target::SetExecutableModule(std::shared_ptr<lldb_private::Module>&, lldb_private::LoadDependentFiles)::$_0 (lldb_private::FileSpec)>::operator()<void>(this=0x00007fffba987b90) at functional:598:17
frame #74: 0x00007fffe5c2de75 liblldb.so.21.0git`void std::__invoke_impl<void, std::_Bind<lldb_private::Target::SetExecutableModule(std::shared_ptr<lldb_private::Module>&, lldb_private::LoadDependentFiles)::$_0 (lldb_private::FileSpec)>&>((null)=__invoke_other @ 0x00007fffbadc2f2f, __f=0x00007fffba987b90) at invoke.h:61:14
frame #75: 0x00007fffe5c2de35 liblldb.so.21.0git`std::enable_if<is_invocable_r_v<void, std::_Bind<lldb_private::Target::SetExecutableModule(std::shared_ptr<lldb_private::Module>&, lldb_private::LoadDependentFiles)::$_0 (lldb_private::FileSpec)>&>, void>::type std::__invoke_r<void, std::_Bind<lldb_private::Target::SetExecutableModule(std::shared_ptr<lldb_private::Module>&, lldb_private::LoadDependentFiles)::$_0 (lldb_private::FileSpec)>&>(__fn=0x00007fffba987b90) at invoke.h:111:2
frame #76: 0x00007fffe5c2dcfd liblldb.so.21.0git`std::_Function_handler<void (), std::_Bind<lldb_private::Target::SetExecutableModule(std::shared_ptr<lldb_private::Module>&, lldb_private::LoadDependentFiles)::$_0 (lldb_private::FileSpec)>>::_M_invoke(__functor=0x00007fffba988828) at std_function.h:290:9
frame #77: 0x00007fffe5a3734e liblldb.so.21.0git`std::function<void ()>::operator()(this=0x00007fffba988828) const at std_function.h:591:9
frame #78: 0x00007fffe5aef635 liblldb.so.21.0git`void std::__invoke_impl<void, std::function<void ()>>((null)=__invoke_other @ 0x00007fffbadc2faf, __f=0x00007fffba988828) at invoke.h:61:14
frame #79: 0x00007fffe5aef5f5 liblldb.so.21.0git`std::__invoke_result<std::function<void ()>>::type std::__invoke<std::function<void ()>>(__fn=0x00007fffba988828) at invoke.h:96:14
frame #80: 0x00007fffe5aef5cd liblldb.so.21.0git`void std::thread::_Invoker<std::tuple<std::function<void ()>>>::_M_invoke<0ul>(this=0x00007fffba988828, (null)=_Index_tuple<0UL> @ 0x00007fffbadc2fef) at std_thread.h:301:13
frame #81: 0x00007fffe5aef575 liblldb.so.21.0git`std::thread::_Invoker<std::tuple<std::function<void ()>>>::operator()(this=0x00007fffba988828) at std_thread.h:308:11
frame #82: 0x00007fffe5aef53c liblldb.so.21.0git`std::__future_base::_Task_setter<std::unique_ptr<std::__future_base::_Result<void>, std::__future_base::_Result_base::_Deleter>, std::thread::_Invoker<std::tuple<std::function<void ()>>>, void>::operator()(this=0x00007fffbadc3458) const at future:1439:6
frame #83: 0x00007fffe5aef460 liblldb.so.21.0git`std::unique_ptr<std::__future_base::_Result<void>, std::__future_base::_Result_base::_Deleter> std::__invoke_impl<std::unique_ptr<std::__future_base::_Result<void>, std::__future_base::_Result_base::_Deleter>, std::__future_base::_Task_setter<std::unique_ptr<std::__future_base::_Result<void>, std::__future_base::_Result_base::_Deleter>, std::thread::_Invoker<std::tuple<std::function<void ()>>>, void>&>((null)=__invoke_other @ 0x00007fffbadc3077, __f=0x00007fffbadc3458) at invoke.h:61:14
frame #84: 0x00007fffe5aef3d9 liblldb.so.21.0git`std::enable_if<is_invocable_r_v<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter>, std::__future_base::_Task_setter<std::unique_ptr<std::__future_base::_Result<void>, std::__future_base::_Result_base::_Deleter>, std::thread::_Invoker<std::tuple<std::function<void ()>>>, void>&>, std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter>>::type std::__invoke_r<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter>, std::__future_base::_Task_setter<std::unique_ptr<std::__future_base::_Result<void>, std::__future_base::_Result_base::_Deleter>, std::thread::_Invoker<std::tuple<std::function<void ()>>>, void>&>(__fn=0x00007fffbadc3458) at invoke.h:114:9
frame #85: 0x00007fffe5aef2f0 liblldb.so.21.0git`std::_Function_handler<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter> (), std::__future_base::_Task_setter<std::unique_ptr<std::__future_base::_Result<void>, std::__future_base::_Result_base::_Deleter>, std::thread::_Invoker<std::tuple<std::function<void ()>>>, void>>::_M_invoke(__functor=0x00007fffbadc3458) at std_function.h:290:9
frame #86: 0x00007fffe5ad59c1 liblldb.so.21.0git`std::function<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter> ()>::operator()(this=0x00007fffbadc3458) const at std_function.h:591:9
frame #87: 0x00007fffe5ad573a liblldb.so.21.0git`std::__future_base::_State_baseV2::_M_do_set(this=0x00007fffba988800, __f=0x00007fffbadc3458, __did_set=0x00007fffbadc3417) at future:596:27
frame #89: 0x00007fffe5ad58ed liblldb.so.21.0git`std::__invoke_result<void (std::__future_base::_State_baseV2::*)(std::function<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter> ()>*, bool*), std::__future_base::_State_baseV2*, std::function<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter> ()>*, bool*>::type std::__invoke<void (std::__future_base::_State_baseV2::*)(std::function<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter> ()>*, bool*), std::__future_base::_State_baseV2*, std::function<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter> ()>*, bool*>(__fn=0x00007fffbadc3400, __args=0x00007fffbadc33f8, __args=0x00007fffbadc33f0, __args=0x00007fffbadc33e8) at invoke.h:96:14
frame #90: 0x00007fffe5ad58b4 liblldb.so.21.0git`void std::call_once<void (std::__future_base::_State_baseV2::*)(std::function<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter> ()>*, bool*), std::__future_base::_State_baseV2*, std::function<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter> ()>*, bool*>(this=0x00007fffbadc3348)(std::function<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter> ()>*, bool*), std::__future_base::_State_baseV2*&&, std::function<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter> ()>*&&, bool*&&)::'lambda'()::operator()() const at mutex:909:4
frame #91: 0x00007fffe5ad5884 liblldb.so.21.0git`std::once_flag::_Prepare_execution::_Prepare_execution<void std::call_once<void (std::__future_base::_State_baseV2::*)(std::function<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter> ()>*, bool*), std::__future_base::_State_baseV2*, std::function<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter> ()>*, bool*>(std::once_flag&, void (std::__future_base::_State_baseV2::*&&)(std::function<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter> ()>*, bool*), std::__future_base::_State_baseV2*&&, std::function<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter> ()>*&&, bool*&&)::'lambda'()>(this=0x00007fffbadc3277)(std::function<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter> ()>*, bool*))::'lambda'()::operator()() const at mutex:845:21
frame #92: 0x00007fffe5ad583e liblldb.so.21.0git`std::once_flag::_Prepare_execution::_Prepare_execution<void std::call_once<void (std::__future_base::_State_baseV2::*)(std::function<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter> ()>*, bool*), std::__future_base::_State_baseV2*, std::function<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter> ()>*, bool*>(std::once_flag&, void (std::__future_base::_State_baseV2::*&&)(std::function<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter> ()>*, bool*), std::__future_base::_State_baseV2*&&, std::function<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter> ()>*&&, bool*&&)::'lambda'()>(void (std::__future_base::_State_baseV2::*&)(std::function<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter> ()>*, bool*))::'lambda'()::__invoke() at mutex:845:16
frame #93: 0x00007ffff7fc07cf ld-musl-x86_64.so.1`__pthread_once_full [inlined] __pthread_once_full(control=0x00007fffba988818, init=(libstdc++.so.6`__once_proxy)) at pthread_once.c:22:3
frame #94: 0x00007ffff7fc07ba ld-musl-x86_64.so.1`__pthread_once_full(control=0x00007fffba988818, init=(libstdc++.so.6`__once_proxy)) at pthread_once.c:11:12
frame #95: 0x00007ffff7fc086c ld-musl-x86_64.so.1`__pthread_once(control=<unavailable>, init=<unavailable>) at pthread_once.c:47:9
frame #96: 0x00007fffe5acf397 liblldb.so.21.0git`__gthread_once(__once=0x00007fffba988818, __func=(libstdc++.so.6`__once_proxy)) at gthr-default.h:713:12
frame #97: 0x00007fffe5ad56a6 liblldb.so.21.0git`void std::call_once<void (std::__future_base::_State_baseV2::*)(std::function<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter> ()>*, bool*), std::__future_base::_State_baseV2*, std::function<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter> ()>*, bool*>(__once=0x00007fffba988818, __f=0x00007fffbadc3400, __args=0x00007fffbadc33f8, __args=0x00007fffbadc33f0, __args=0x00007fffbadc33e8) at mutex:916:21
frame #98: 0x00007fffe5ad54f5 liblldb.so.21.0git`std::__future_base::_State_baseV2::_M_set_result(this=0x00007fffba988800, __res=function<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter> ()> @ 0x00007fffbadc3458, __ignore_failure=true) at future:435:2
frame #99: 0x00007fffe5af075c liblldb.so.21.0git`std::__future_base::_Deferred_state<std::thread::_Invoker<std::tuple<std::function<void ()>>>, void>::_M_complete_async(this=0x00007fffba988800) at future:1719:9
frame #100: 0x00007fffe5ad6aba liblldb.so.21.0git`std::__future_base::_State_baseV2::wait(this=0x00007fffba988800) at future:357:2
frame #101: 0x00007fffe5af0d1a liblldb.so.21.0git`std::__basic_future<void>::wait(this=0x00007fffbacb3080) const at future:723:19
frame #102: 0x00007fffe5af0ce5 liblldb.so.21.0git`std::shared_future<void> llvm::ThreadPoolInterface::asyncImpl<void>(this=0x00007fffbacb3080)>, llvm::ThreadPoolTaskGroup*)::'lambda'()::operator()() const at ThreadPool.h:115:38
frame #103: 0x00007fffe5af0cc5 liblldb.so.21.0git`void std::__invoke_impl<void, std::shared_future<void> llvm::ThreadPoolInterface::asyncImpl<void>(std::function<void ()>, llvm::ThreadPoolTaskGroup*)::'lambda'()&>((null)=__invoke_other @ 0x00007fffbadc355f, __f=0x00007fffbacb3080) at invoke.h:61:14
frame #104: 0x00007fffe5af0c85 liblldb.so.21.0git`std::enable_if<is_invocable_r_v<void, std::shared_future<void> llvm::ThreadPoolInterface::asyncImpl<void>(std::function<void ()>, llvm::ThreadPoolTaskGroup*)::'lambda'()&>, void>::type std::__invoke_r<void, std::shared_future<void> llvm::ThreadPoolInterface::asyncImpl<void>(std::function<void ()>, llvm::ThreadPoolTaskGroup*)::'lambda'()&>(__fn=0x00007fffbacb3080) at invoke.h:111:2
frame #105: 0x00007fffe5af0b0d liblldb.so.21.0git`std::_Function_handler<void (), std::shared_future<void> llvm::ThreadPoolInterface::asyncImpl<void>(std::function<void ()>, llvm::ThreadPoolTaskGroup*)::'lambda'()>::_M_invoke(__functor=0x00007fffbadc3690) at std_function.h:290:9
frame #106: 0x00007fffe5a3734e liblldb.so.21.0git`std::function<void ()>::operator()(this=0x00007fffbadc3690) const at std_function.h:591:9
frame #107: 0x00007fffe65b1253 liblldb.so.21.0git`llvm::StdThreadPool::processTasks(this=0x00007fffe47ff570, WaitingForGroup=0x00007fffbadc39b8) at ThreadPool.cpp:100:5
frame #108: 0x00007fffe65b18ff liblldb.so.21.0git`llvm::StdThreadPool::wait(this=0x00007fffe47ff570, Group=0x00007fffbadc39b8) at ThreadPool.cpp:165:3
frame #109: 0x00007fffe5c34db9 liblldb.so.21.0git`llvm::ThreadPoolTaskGroup::wait(this=0x00007fffbadc39b8) at ThreadPool.h:282:22
frame #110: 0x00007fffe640631e liblldb.so.21.0git`_ZZN12lldb_private6plugin5dwarf16ManualDWARFIndex5IndexEvENK3$_0clIZNS2_5IndexEvE3$_1EEDaOT_(this=0x00007fffbadc3990, fn=0x00007fffbadc3968) at ManualDWARFIndex.cpp:111:16
frame #111: 0x00007fffe6405df5 liblldb.so.21.0git`lldb_private::plugin::dwarf::ManualDWARFIndex::Index(this=0x00007fffac9e4660) at ManualDWARFIndex.cpp:122:3
frame #112: 0x00007fffe6391b25 liblldb.so.21.0git`lldb_private::plugin::dwarf::ManualDWARFIndex::Preload(this=0x00007fffac9e4660) at ManualDWARFIndex.h:31:29
frame #113: 0x00007fffe6324568 liblldb.so.21.0git`lldb_private::plugin::dwarf::SymbolFileDWARF::PreloadSymbols(this=0x00007fffb7325cc0) at SymbolFileDWARF.cpp:2266:12
frame #114: 0x00007fffe5869d82 liblldb.so.21.0git`lldb_private::Module::PreloadSymbols(this=0x00007fffa91ea290) at Module.cpp:1324:13

full stack trace (frame #822)

command ran (cwd: /.../chromium-137.0.7151.119/out/bld):

/.../chromium-137.0.7151.119/out/bld> /.../llvm-project/llvm/build_lldb/bin/lldb -- /.../llvm-project/llvm/build_lldb/bin/lldb chrome

lldb built with:

cmake -B build_lldb -G Ninja -DLLVM_ENABLE_PROJECTS="clang;lldb" -DLLDB_EXPORT_ALL_SYMBOLS=1 -DCMAKE_BUILD_TYPE=Debug -DLLDB_INCLUDE_TESTS="OFF"

I don't know what a fix would look like:

  • I don't know where the 6848 bytes are used (which variables)
  • I don't know why there is recursion (when the order of .so names is not the same every time I rerun it)
  • I don't know what an .so file contains, or if it's the right thing to print (nor what the code finds in them, perhaps it's a dependency chain)

Metadata

Metadata

Assignees

No one assigned

    Labels

    crashPrefer [crash-on-valid] or [crash-on-invalid]lldb

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions