codelldb icon indicating copy to clipboard operation
codelldb copied to clipboard

"Received invalid thread id in stack trace request."

Open HolyBlackCat opened this issue 3 years ago • 1 comments

OS: Xubuntu 21.10 VSCode version: 1.63.2 CodeLLDB version: v1.6.10 Compiler: Clang 13 (Ubuntu clang version 13.0.0-2) Debuggee: x86_64-pc-linux-gnu (C++)

I'm getting this crash while stepping through my code, but it's hard to create a minimal example.

Verbose log
configuration: {
  name: 'Debug (lldb)',
  type: 'lldb',
  request: 'launch',
  program: '${workspaceRoot}/bin/imp-re',
  cwd: '${workspaceRoot}/bin',
  __configurationTarget: 5,
  relativePathBase: '/media/holyblackcat/Beta/Projects/C++/UGJ59'
}
liblldb: /home/holyblackcat/.vscode/extensions/vadimcn.vscode-lldb-1.6.10/lldb/lib/liblldb.so
environment: {}
params: { evaluateForHovers: true, commandCompletions: true }
Listening on port 43807
[2022-01-11T21:16:57.786Z DEBUG codelldb] New debug session
INFO(Python) 00:16:58 formatters: Initializing
INFO(Python) 00:16:58 formatters.rust: Initializing
[2022-01-11T21:16:58.085Z DEBUG codelldb::dap_codec] --> {"command":"initialize","arguments":{"clientID":"vscode","clientName":"Visual Studio Code","adapterID":"lldb","pathFormat":"path","linesStartAt1":true,"columnsStartAt1":true,"supportsVariableType":true,"supportsVariablePaging":true,"supportsRunInTerminalRequest":true,"locale":"ru","supportsProgressReporting":true,"supportsInvalidatedEvent":true,"supportsMemoryReferences":true},"type":"request","seq":1}
[2022-01-11T21:16:58.085Z DEBUG codelldb::dap_codec]  {"command":"launch","arguments":{"name":"Debug (lldb)","type":"lldb","request":"launch","program":"/media/holyblackcat/Beta/Projects/C++/UGJ59/bin/imp-re","cwd":"/media/holyblackcat/Beta/Projects/C++/UGJ59/bin","__configurationTarget":5,"relativePathBase":"/media/holyblackcat/Beta/Projects/C++/UGJ59","_adapterSettings":{"displayFormat":"auto","showDisassembly":"auto","dereferencePointers":true,"suppressMissingSourceFiles":true,"evaluationTimeout":5,"consoleMode":"commands","sourceLanguages":null,"terminalPromptClear":null,"evaluateForHovers":true,"commandCompletions":true,"reproducer":false},"__sessionId":"6b85d614-e548-45a4-94d9-31692d69865b"},"type":"request","seq":2}
[2022-01-11T21:16:58.091Z DEBUG codelldb::dap_codec]  {"command":"setBreakpoints","arguments":{"source":{"name":"world.cpp","path":"/media/holyblackcat/Beta/Projects/C++/UGJ59/src/game/states/world.cpp"},"lines":[54],"breakpoints":[{"line":54}],"sourceModified":false},"type":"request","seq":3}
[2022-01-11T21:16:58.204Z DEBUG codelldb::debug_session] Debug event: 0x55671b6c0c20 Event: broadcaster = 0x55671b7e0958 (lldb.target), type = 0x00000001 (breakpoint-changed), data = {}
[2022-01-11T21:16:58.204Z DEBUG codelldb::dap_codec]  {"command":"variables","arguments":{"variablesReference":1095},"type":"request","seq":103}
[2022-01-11T21:17:16.372Z DEBUG codelldb::dap_codec]  {"command":"stepOut","arguments":{"threadId":28332},"type":"request","seq":104}
[2022-01-11T21:17:17.136Z DEBUG codelldb::dap_codec]  {"command":"threads","type":"request","seq":105}
[2022-01-11T21:17:17.144Z DEBUG codelldb::dap_codec]  {"command":"stackTrace","arguments":{"threadId":28332,"startFrame":0,"levels":1},"type":"request","seq":106}
[2022-01-11T21:17:17.147Z DEBUG codelldb::dap_codec] )&, Math::Vector::vec >(std::__invoke_other, States::World::World()::'lambda'(Math::Vector::vec)&, Math::Vector::vec&&)","source":{"name":"invoke.h","path":"/usr/include/c++/11/bits/invoke.h"}}],"totalFrames":24}}
[2022-01-11T21:17:17.572Z DEBUG codelldb::dap_codec] --> {"command":"stackTrace","arguments":{"threadId":28332,"startFrame":1,"levels":19},"type":"request","seq":107}
[2022-01-11T21:17:17.572Z DEBUG codelldb::dap_codec] )&, Math::Vector::vec >, unsigned long>::type std::__invoke_r)&, Math::Vector::vec >(States::World::World()::'lambda'(Math::Vector::vec)&, Math::Vector::vec&&)","source":{"name":"invoke.h","path":"/usr/include/c++/11/bits/invoke.h"}},{"column":9,"id":1077,"line":291,"name":"std::_Function_handler), States::World::World()::'lambda'(Math::Vector::vec)>::_M_invoke(std::_Any_data const&, Math::Vector::vec&&)","source":{"name":"std_function.h","path":"/usr/include/c++/11/bits/std_function.h"}},{"column":9,"id":1078,"line":560,"name":"std::function)>::operator()(Math::Vector::vec) const","source":{"name":"std_function.h","path":"/usr/include/c++/11/bits/std_function.h"}},{"column":59,"id":1079,"line":155,"name":"GameUtils::TilesToEdges::Convert(GameUtils::TilesToEdges::Params const&)","source":{"name":"tiles_to_edges.cpp","path":"/media/holyblackcat/Beta/Projects/C++/UGJ59/src/gameutils/tiles_to_edges.cpp"}},{"column":13,"id":1080,"line":54,"name":"States::World::World()","source":{"name":"world.cpp","path":"/media/holyblackcat/Beta/Projects/C++/UGJ59/src/game/states/world.cpp"}},{"column":54,"id":1081,"line":145,"name":"Poly::Storage<:base refl::polymorphic::impl::data::basedata>::PolyStorageData>::Low::Unique Poly::Storage<:base refl::polymorphic::impl::data::basedata>::PolyStorageData>::Low::Unique::make<:world>()","source":{"name":"poly_storage.h","path":"/media/holyblackcat/Beta/Projects/C++/UGJ59/src/utils/poly_storage.h"}},{"column":37,"id":1082,"line":236,"name":"Poly::Storage<:base refl::polymorphic::impl::data::basedata>::PolyStorageData>::Low Poly::Storage<:base refl::polymorphic::impl::data::basedata>::PolyStorageData>::Low::make<:world>(States::World**)","source":{"name":"poly_storage.h","path":"/media/holyblackcat/Beta/Projects/C++/UGJ59/src/utils/poly_storage.h"}},{"column":55,"id":1083,"line":287,"name":"Poly::Storage<:base refl::polymorphic::impl::data::basedata>::PolyStorageData>::Storage<:world void>(Poly::derived_tag<:world>)","source":{"name":"poly_storage.h","path":"/media/holyblackcat/Beta/Projects/C++/UGJ59/src/utils/poly_storage.h"}},{"column":91,"id":1084,"line":223,"name":"void Refl::Polymorphic::impl::Data::BaseData<:base>::RegisterClass<:world>()::'lambda'()::operator()() const","source":{"name":"poly_storage_support.h","path":"/media/holyblackcat/Beta/Projects/C++/UGJ59/src/reflection/poly_storage_support.h"}},{"column":63,"id":1085,"line":223,"name":"void Refl::Polymorphic::impl::Data::BaseData<:base>::RegisterClass<:world>()::'lambda'()::__invoke()","source":{"name":"poly_storage_support.h","path":"/media/holyblackcat/Beta/Projects/C++/UGJ59/src/reflection/poly_storage_support.h"}},{"column":32,"id":1086,"line":258,"name":"Refl::Polymorphic::impl::Data::BaseData<:base>::ConstructFromIndex(unsigned long)","source":{"name":"poly_storage_support.h","path":"/media/holyblackcat/Beta/Projects/C++/UGJ59/src/reflection/poly_storage_support.h"}},{"column":28,"id":1087,"line":299,"name":"Poly::Storage<:base refl::polymorphic::impl::data::basedata>::PolyStorageData> Refl::Polymorphic::impl::Data::ConstructFromIndex<:base>(unsigned long)","source":{"name":"poly_storage_support.h","path":"/media/holyblackcat/Beta/Projects/C++/UGJ59/src/reflection/poly_storage_support.h"}},{"column":20,"id":1088,"line":426,"name":"Poly::Storage<:base refl::polymorphic::impl::data::basedata>::PolyStorageData> Refl::Polymorphic::ConstructFromIndex<:base>(unsigned long)","source":{"name":"poly_storage_support.h","path":"/media/holyblackcat/Beta/Projects/C++/UGJ59/src/reflection/poly_storage_support.h"}},{"column":20,"id":1089,"line":434,"name":"Poly::Storage<:base refl::polymorphic::impl::data::basedata>::PolyStorageData> Refl::Polymorphic::ConstructFromName<:base>(char const*)","source":{"name":"poly_storage_support.h","path":"/media/holyblackcat/Beta/Projects/C++/UGJ59/src/reflection/poly_storage_support.h"}},{"column":20,"id":1090,"line":438,"name":"Poly::Storage<:base refl::polymorphic::impl::data::basedata>::PolyStorageData> Refl::Polymorphic::ConstructFromName<:base>(std::__cxx11::basic_string, std::allocator > const&)","source":{"name":"poly_storage_support.h","path":"/media/holyblackcat/Beta/Projects/C++/UGJ59/src/reflection/poly_storage_support.h"}},{"column":26,"id":1091,"line":484,"name":"Refl::Interface_Polymorphic<:storage refl::polymorphic::impl::data::basedata>::PolyStorageData> >::FromString(Poly::Storage<:base refl::polymorphic::impl::data::basedata>::PolyStorageData>&, Stream::Input&, Refl::FromStringOptions const&, Refl::impl::DefaultState<:fromstringoptions>) const","source":{"name":"poly_storage_support.h","path":"/media/holyblackcat/Beta/Projects/C++/UGJ59/src/reflection/poly_storage_support.h"}},{"column":34,"id":1092,"line":286,"name":"void Refl::Shorthands::FromString<:storage refl::polymorphic::impl::data::basedata>::PolyStorageData> >(Poly::Storage<:base refl::polymorphic::impl::data::basedata>::PolyStorageData>&, Refl::Shorthands::InputStreamWrapper, Refl::FromStringOptions const&)","source":{"name":"interface_basic.h","path":"/media/holyblackcat/Beta/Projects/C++/UGJ59/src/reflection/interface_basic.h"}},{"column":13,"id":1093,"line":63,"name":"GameUtils::State::Manager<:base>::SetState(std::basic_string_view >)","source":{"name":"state.h","path":"/media/holyblackcat/Beta/Projects/C++/UGJ59/src/gameutils/state.h"}},{"column":23,"id":1094,"line":111,"name":"Application::Init()","source":{"name":"main.cpp","path":"/media/holyblackcat/Beta/Projects/C++/UGJ59/src/game/main.cpp"}}],"totalFrames":24}}
[2022-01-11T21:17:17.611Z DEBUG codelldb::dap_codec] --> {"command":"scopes","arguments":{"frameId":1056},"type":"request","seq":108}
[2022-01-11T21:17:17.611Z DEBUG codelldb::dap_codec]  {"command":"variables","arguments":{"variablesReference":1095},"type":"request","seq":109}
[2022-01-11T21:17:17.616Z DEBUG codelldb::dap_codec]  &&","value":"{...}","variablesReference":1102}]}}
[2022-01-11T21:17:17.931Z DEBUG codelldb::dap_codec] --> {"command":"stepOut","arguments":{"threadId":28332},"type":"request","seq":110}
[2022-01-11T21:17:17.939Z DEBUG codelldb::dap_codec]  {"command":"threads","type":"request","seq":111}
[2022-01-11T21:17:17.942Z DEBUG codelldb::dap_codec]  {"command":"threads","type":"request","seq":112}
[2022-01-11T21:17:17.959Z DEBUG codelldb::dap_codec]  {"command":"stackTrace","arguments":{"threadId":28332,"startFrame":0,"levels":1},"type":"request","seq":113}
[2022-01-11T21:17:17.963Z DEBUG codelldb::dap_codec] )&, Math::Vector::vec >, unsigned long>::type std::__invoke_r)&, Math::Vector::vec >(States::World::World()::'lambda'(Math::Vector::vec)&, Math::Vector::vec&&)","source":{"name":"invoke.h","path":"/usr/include/c++/11/bits/invoke.h"}}],"totalFrames":23}}
[2022-01-11T21:17:18.371Z DEBUG codelldb::dap_codec] --> {"command":"scopes","arguments":{"frameId":1056},"type":"request","seq":114}
[2022-01-11T21:17:18.371Z DEBUG codelldb::dap_codec]  {"command":"variables","arguments":{"variablesReference":1095},"type":"request","seq":115}
[2022-01-11T21:17:18.375Z DEBUG codelldb::dap_codec]  &&","value":"{...}","variablesReference":1102}]}}
[2022-01-11T21:17:18.390Z DEBUG codelldb::dap_codec] --> {"command":"stackTrace","arguments":{"threadId":28332,"startFrame":1,"levels":19},"type":"request","seq":116}
[2022-01-11T21:17:18.391Z DEBUG codelldb::dap_codec] ), States::World::World()::'lambda'(Math::Vector::vec)>::_M_invoke(std::_Any_data const&, Math::Vector::vec&&)","source":{"name":"std_function.h","path":"/usr/include/c++/11/bits/std_function.h"}},{"column":9,"id":1077,"line":560,"name":"std::function)>::operator()(Math::Vector::vec) const","source":{"name":"std_function.h","path":"/usr/include/c++/11/bits/std_function.h"}},{"column":59,"id":1078,"line":155,"name":"GameUtils::TilesToEdges::Convert(GameUtils::TilesToEdges::Params const&)","source":{"name":"tiles_to_edges.cpp","path":"/media/holyblackcat/Beta/Projects/C++/UGJ59/src/gameutils/tiles_to_edges.cpp"}},{"column":13,"id":1079,"line":54,"name":"States::World::World()","source":{"name":"world.cpp","path":"/media/holyblackcat/Beta/Projects/C++/UGJ59/src/game/states/world.cpp"}},{"column":54,"id":1080,"line":145,"name":"Poly::Storage<:base refl::polymorphic::impl::data::basedata>::PolyStorageData>::Low::Unique Poly::Storage<:base refl::polymorphic::impl::data::basedata>::PolyStorageData>::Low::Unique::make<:world>()","source":{"name":"poly_storage.h","path":"/media/holyblackcat/Beta/Projects/C++/UGJ59/src/utils/poly_storage.h"}},{"column":37,"id":1081,"line":236,"name":"Poly::Storage<:base refl::polymorphic::impl::data::basedata>::PolyStorageData>::Low Poly::Storage<:base refl::polymorphic::impl::data::basedata>::PolyStorageData>::Low::make<:world>(States::World**)","source":{"name":"poly_storage.h","path":"/media/holyblackcat/Beta/Projects/C++/UGJ59/src/utils/poly_storage.h"}},{"column":55,"id":1082,"line":287,"name":"Poly::Storage<:base refl::polymorphic::impl::data::basedata>::PolyStorageData>::Storage<:world void>(Poly::derived_tag<:world>)","source":{"name":"poly_storage.h","path":"/media/holyblackcat/Beta/Projects/C++/UGJ59/src/utils/poly_storage.h"}},{"column":91,"id":1083,"line":223,"name":"void Refl::Polymorphic::impl::Data::BaseData<:base>::RegisterClass<:world>()::'lambda'()::operator()() const","source":{"name":"poly_storage_support.h","path":"/media/holyblackcat/Beta/Projects/C++/UGJ59/src/reflection/poly_storage_support.h"}},{"column":63,"id":1084,"line":223,"name":"void Refl::Polymorphic::impl::Data::BaseData<:base>::RegisterClass<:world>()::'lambda'()::__invoke()","source":{"name":"poly_storage_support.h","path":"/media/holyblackcat/Beta/Projects/C++/UGJ59/src/reflection/poly_storage_support.h"}},{"column":32,"id":1085,"line":258,"name":"Refl::Polymorphic::impl::Data::BaseData<:base>::ConstructFromIndex(unsigned long)","source":{"name":"poly_storage_support.h","path":"/media/holyblackcat/Beta/Projects/C++/UGJ59/src/reflection/poly_storage_support.h"}},{"column":28,"id":1086,"line":299,"name":"Poly::Storage<:base refl::polymorphic::impl::data::basedata>::PolyStorageData> Refl::Polymorphic::impl::Data::ConstructFromIndex<:base>(unsigned long)","source":{"name":"poly_storage_support.h","path":"/media/holyblackcat/Beta/Projects/C++/UGJ59/src/reflection/poly_storage_support.h"}},{"column":20,"id":1087,"line":426,"name":"Poly::Storage<:base refl::polymorphic::impl::data::basedata>::PolyStorageData> Refl::Polymorphic::ConstructFromIndex<:base>(unsigned long)","source":{"name":"poly_storage_support.h","path":"/media/holyblackcat/Beta/Projects/C++/UGJ59/src/reflection/poly_storage_support.h"}},{"column":20,"id":1088,"line":434,"name":"Poly::Storage<:base refl::polymorphic::impl::data::basedata>::PolyStorageData> Refl::Polymorphic::ConstructFromName<:base>(char const*)","source":{"name":"poly_storage_support.h","path":"/media/holyblackcat/Beta/Projects/C++/UGJ59/src/reflection/poly_storage_support.h"}},{"column":20,"id":1089,"line":438,"name":"Poly::Storage<:base refl::polymorphic::impl::data::basedata>::PolyStorageData> Refl::Polymorphic::ConstructFromName<:base>(std::__cxx11::basic_string, std::allocator > const&)","source":{"name":"poly_storage_support.h","path":"/media/holyblackcat/Beta/Projects/C++/UGJ59/src/reflection/poly_storage_support.h"}},{"column":26,"id":1090,"line":484,"name":"Refl::Interface_Polymorphic<:storage refl::polymorphic::impl::data::basedata>::PolyStorageData> >::FromString(Poly::Storage<:base refl::polymorphic::impl::data::basedata>::PolyStorageData>&, Stream::Input&, Refl::FromStringOptions const&, Refl::impl::DefaultState<:fromstringoptions>) const","source":{"name":"poly_storage_support.h","path":"/media/holyblackcat/Beta/Projects/C++/UGJ59/src/reflection/poly_storage_support.h"}},{"column":34,"id":1091,"line":286,"name":"void Refl::Shorthands::FromString<:storage refl::polymorphic::impl::data::basedata>::PolyStorageData> >(Poly::Storage<:base refl::polymorphic::impl::data::basedata>::PolyStorageData>&, Refl::Shorthands::InputStreamWrapper, Refl::FromStringOptions const&)","source":{"name":"interface_basic.h","path":"/media/holyblackcat/Beta/Projects/C++/UGJ59/src/reflection/interface_basic.h"}},{"column":13,"id":1092,"line":63,"name":"GameUtils::State::Manager<:base>::SetState(std::basic_string_view >)","source":{"name":"state.h","path":"/media/holyblackcat/Beta/Projects/C++/UGJ59/src/gameutils/state.h"}},{"column":23,"id":1093,"line":111,"name":"Application::Init()","source":{"name":"main.cpp","path":"/media/holyblackcat/Beta/Projects/C++/UGJ59/src/game/main.cpp"}},{"column":9,"id":1094,"line":118,"name":"main","source":{"name":"main.cpp","path":"/media/holyblackcat/Beta/Projects/C++/UGJ59/src/game/main.cpp"}}],"totalFrames":23}}
[2022-01-11T21:17:18.411Z DEBUG codelldb::dap_codec] --> {"command":"stepOut","arguments":{"threadId":28332},"type":"request","seq":117}
[2022-01-11T21:17:18.417Z DEBUG codelldb::dap_codec]  {"command":"threads","type":"request","seq":118}
[2022-01-11T21:17:18.424Z DEBUG codelldb::dap_codec]  {"command":"stackTrace","arguments":{"threadId":28332,"startFrame":0,"levels":1},"type":"request","seq":119}
[2022-01-11T21:17:18.428Z DEBUG codelldb::dap_codec] ), States::World::World()::'lambda'(Math::Vector::vec)>::_M_invoke(std::_Any_data const&, Math::Vector::vec&&)","source":{"name":"std_function.h","path":"/usr/include/c++/11/bits/std_function.h"}}],"totalFrames":22}}
[2022-01-11T21:17:18.852Z DEBUG codelldb::dap_codec] --> {"command":"stackTrace","arguments":{"threadId":28332,"startFrame":1,"levels":19},"type":"request","seq":120}
[2022-01-11T21:17:18.852Z DEBUG codelldb::dap_codec] )>::operator()(Math::Vector::vec) const","source":{"name":"std_function.h","path":"/usr/include/c++/11/bits/std_function.h"}},{"column":59,"id":1077,"line":155,"name":"GameUtils::TilesToEdges::Convert(GameUtils::TilesToEdges::Params const&)","source":{"name":"tiles_to_edges.cpp","path":"/media/holyblackcat/Beta/Projects/C++/UGJ59/src/gameutils/tiles_to_edges.cpp"}},{"column":13,"id":1078,"line":54,"name":"States::World::World()","source":{"name":"world.cpp","path":"/media/holyblackcat/Beta/Projects/C++/UGJ59/src/game/states/world.cpp"}},{"column":54,"id":1079,"line":145,"name":"Poly::Storage<:base refl::polymorphic::impl::data::basedata>::PolyStorageData>::Low::Unique Poly::Storage<:base refl::polymorphic::impl::data::basedata>::PolyStorageData>::Low::Unique::make<:world>()","source":{"name":"poly_storage.h","path":"/media/holyblackcat/Beta/Projects/C++/UGJ59/src/utils/poly_storage.h"}},{"column":37,"id":1080,"line":236,"name":"Poly::Storage<:base refl::polymorphic::impl::data::basedata>::PolyStorageData>::Low Poly::Storage<:base refl::polymorphic::impl::data::basedata>::PolyStorageData>::Low::make<:world>(States::World**)","source":{"name":"poly_storage.h","path":"/media/holyblackcat/Beta/Projects/C++/UGJ59/src/utils/poly_storage.h"}},{"column":55,"id":1081,"line":287,"name":"Poly::Storage<:base refl::polymorphic::impl::data::basedata>::PolyStorageData>::Storage<:world void>(Poly::derived_tag<:world>)","source":{"name":"poly_storage.h","path":"/media/holyblackcat/Beta/Projects/C++/UGJ59/src/utils/poly_storage.h"}},{"column":91,"id":1082,"line":223,"name":"void Refl::Polymorphic::impl::Data::BaseData<:base>::RegisterClass<:world>()::'lambda'()::operator()() const","source":{"name":"poly_storage_support.h","path":"/media/holyblackcat/Beta/Projects/C++/UGJ59/src/reflection/poly_storage_support.h"}},{"column":63,"id":1083,"line":223,"name":"void Refl::Polymorphic::impl::Data::BaseData<:base>::RegisterClass<:world>()::'lambda'()::__invoke()","source":{"name":"poly_storage_support.h","path":"/media/holyblackcat/Beta/Projects/C++/UGJ59/src/reflection/poly_storage_support.h"}},{"column":32,"id":1084,"line":258,"name":"Refl::Polymorphic::impl::Data::BaseData<:base>::ConstructFromIndex(unsigned long)","source":{"name":"poly_storage_support.h","path":"/media/holyblackcat/Beta/Projects/C++/UGJ59/src/reflection/poly_storage_support.h"}},{"column":28,"id":1085,"line":299,"name":"Poly::Storage<:base refl::polymorphic::impl::data::basedata>::PolyStorageData> Refl::Polymorphic::impl::Data::ConstructFromIndex<:base>(unsigned long)","source":{"name":"poly_storage_support.h","path":"/media/holyblackcat/Beta/Projects/C++/UGJ59/src/reflection/poly_storage_support.h"}},{"column":20,"id":1086,"line":426,"name":"Poly::Storage<:base refl::polymorphic::impl::data::basedata>::PolyStorageData> Refl::Polymorphic::ConstructFromIndex<:base>(unsigned long)","source":{"name":"poly_storage_support.h","path":"/media/holyblackcat/Beta/Projects/C++/UGJ59/src/reflection/poly_storage_support.h"}},{"column":20,"id":1087,"line":434,"name":"Poly::Storage<:base refl::polymorphic::impl::data::basedata>::PolyStorageData> Refl::Polymorphic::ConstructFromName<:base>(char const*)","source":{"name":"poly_storage_support.h","path":"/media/holyblackcat/Beta/Projects/C++/UGJ59/src/reflection/poly_storage_support.h"}},{"column":20,"id":1088,"line":438,"name":"Poly::Storage<:base refl::polymorphic::impl::data::basedata>::PolyStorageData> Refl::Polymorphic::ConstructFromName<:base>(std::__cxx11::basic_string, std::allocator > const&)","source":{"name":"poly_storage_support.h","path":"/media/holyblackcat/Beta/Projects/C++/UGJ59/src/reflection/poly_storage_support.h"}},{"column":26,"id":1089,"line":484,"name":"Refl::Interface_Polymorphic<:storage refl::polymorphic::impl::data::basedata>::PolyStorageData> >::FromString(Poly::Storage<:base refl::polymorphic::impl::data::basedata>::PolyStorageData>&, Stream::Input&, Refl::FromStringOptions const&, Refl::impl::DefaultState<:fromstringoptions>) const","source":{"name":"poly_storage_support.h","path":"/media/holyblackcat/Beta/Projects/C++/UGJ59/src/reflection/poly_storage_support.h"}},{"column":34,"id":1090,"line":286,"name":"void Refl::Shorthands::FromString<:storage refl::polymorphic::impl::data::basedata>::PolyStorageData> >(Poly::Storage<:base refl::polymorphic::impl::data::basedata>::PolyStorageData>&, Refl::Shorthands::InputStreamWrapper, Refl::FromStringOptions const&)","source":{"name":"interface_basic.h","path":"/media/holyblackcat/Beta/Projects/C++/UGJ59/src/reflection/interface_basic.h"}},{"column":13,"id":1091,"line":63,"name":"GameUtils::State::Manager<:base>::SetState(std::basic_string_view >)","source":{"name":"state.h","path":"/media/holyblackcat/Beta/Projects/C++/UGJ59/src/gameutils/state.h"}},{"column":23,"id":1092,"line":111,"name":"Application::Init()","source":{"name":"main.cpp","path":"/media/holyblackcat/Beta/Projects/C++/UGJ59/src/game/main.cpp"}},{"column":9,"id":1093,"line":118,"name":"main","source":{"name":"main.cpp","path":"/media/holyblackcat/Beta/Projects/C++/UGJ59/src/game/main.cpp"}},{"column":0,"id":1094,"line":29,"name":"__libc_start_call_main","presentationHint":"subtle","source":{"name":"@__libc_start_call_main","sourceReference":1000}}],"totalFrames":22}}
[2022-01-11T21:17:18.897Z DEBUG codelldb::dap_codec] --> {"command":"scopes","arguments":{"frameId":1056},"type":"request","seq":121}
[2022-01-11T21:17:18.898Z DEBUG codelldb::dap_codec]  {"command":"variables","arguments":{"variablesReference":1095},"type":"request","seq":122}
[2022-01-11T21:17:18.902Z DEBUG codelldb::dap_codec]  >, unsigned long>","value":"0","variablesReference":0},{"evaluateName":"__functor","memoryReference":"0x7FFFFFFFCCD8","name":"__functor","type":"const std::_Any_data &","value":"{...}","variablesReference":1104},{"evaluateName":"__args","memoryReference":"0x7FFFFFFFCCD0","name":"__args","type":"Math::vec &&","value":"{...}","variablesReference":1102}]}}
[2022-01-11T21:17:18.939Z DEBUG codelldb::dap_codec] --> {"command":"stepOut","arguments":{"threadId":28332},"type":"request","seq":123}
[2022-01-11T21:17:18.946Z DEBUG codelldb::dap_codec]  {"command":"threads","type":"request","seq":124}
[2022-01-11T21:17:18.949Z DEBUG codelldb::dap_codec]  {"command":"threads","type":"request","seq":125}
[2022-01-11T21:17:18.968Z DEBUG codelldb::dap_codec]  {"command":"stackTrace","arguments":{"threadId":28332,"startFrame":0,"levels":1},"type":"request","seq":126}
[2022-01-11T21:17:18.977Z DEBUG codelldb::dap_codec] )>::operator()(Math::Vector::vec) const","source":{"name":"std_function.h","path":"/usr/include/c++/11/bits/std_function.h"}}],"totalFrames":21}}
[2022-01-11T21:17:19.385Z DEBUG codelldb::dap_codec] --> {"command":"scopes","arguments":{"frameId":1056},"type":"request","seq":127}
[2022-01-11T21:17:19.385Z DEBUG codelldb::dap_codec]  {"command":"variables","arguments":{"variablesReference":1095},"type":"request","seq":128}
[2022-01-11T21:17:19.390Z DEBUG codelldb::dap_codec] )> *","value":"{_M_invoker:0x00000000003894b0}","variablesReference":1105},{"evaluateName":"__args","memoryReference":"0x7FFFFFFFCD18","name":"__args","type":"Math::vec","value":"{...}","variablesReference":1102}]}}
[2022-01-11T21:17:19.400Z DEBUG codelldb::dap_codec] --> {"command":"stepOut","arguments":{"threadId":28332},"type":"request","seq":129}
[2022-01-11T21:17:19.405Z DEBUG codelldb::dap_codec]  {"command":"stackTrace","arguments":{"threadId":28332,"startFrame":1,"levels":19},"type":"request","seq":130}
[2022-01-11T21:17:19.406Z ERROR codelldb::debug_session] Received invalid thread id in stack trace request.
[2022-01-11T21:17:19.406Z ERROR codelldb::debug_session] Internal debugger error: Invalid thread id.
[2022-01-11T21:17:19.406Z DEBUG codelldb::dap_codec] 
   2: 
   3: 
   4: 
   5: 
   6: 
   7: 
   8: 
   9: 
  10: 
  11: 
  12: 
  13: 
  14: 
  15: 
  16: 
  17: 
  18: 
  19: 
  20: 
  21: 
  22: 
  23: 
  24: clone
```
Debug adapter exit code=255, signal=null.

HolyBlackCat avatar Jan 11 '22 21:01 HolyBlackCat

"invalid thread id" is a non-fatal error, not a direct cause of the crash. See also #581

vadimcn avatar Mar 13 '22 21:03 vadimcn