Skip to content

Main process got stuck calling is_machine_arm on Linux #6207

@sean-mcmanus

Description

@sean-mcmanus

I don't know a repro yet. But I was using the PlatformIO Arduino-Blink project on Ubuntu 20 (WSL).

cpptools is stuck due to the call stack below...

libpthread.so.0!__libc_read(size_t nbytes, void * buf, int fd) (\build\glibc-YYA7BZ\glibc-2.31\sysdeps\unix\sysv\linux\read.c:26)
libpthread.so.0!__libc_read(int fd, void * buf, size_t nbytes) (\build\glibc-YYA7BZ\glibc-2.31\sysdeps\unix\sysv\linux\read.c:24)
exec_command_and_get_output(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, unsigned int) (Unknown Source:0)
is_machine_arm() (Unknown Source:0)
get_intellisense_mode(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >) (Unknown Source:0)
configuration::default_config() (Unknown Source:0)
std::__shared_count<(__gnu_cxx::_Lock_policy)2>::__shared_count<cpp_properties, std::allocator<cpp_properties>>(cpp_properties*&, std::_Sp_alloc_shared_tag<std::allocator<cpp_properties> >) (Unknown Source:0)
vscode::message_handler::cpptools_didChangeCppProperties(vscode::C_Cpp_ConfigurationParams) (Unknown Source:0)
vscode::message_handler::dispatch(vscode::vscode_client_message&&, vscode::vscode_server_message&, vscode::message_handler::msg_proc_thread_token) (Unknown Source:0)
vscode::message_handler::handle_message(vscode::vscode_client_message&&, vscode::message_handler::msg_proc_thread_token) (Unknown Source:0)
std::thread::_State_impl<std::thread::_Invoker<std::tuple<vscode::message_handler::main_loop()::$_3> > >::_M_run() (Unknown Source:0)
execute_native_thread_routine (Unknown Source:0)
libpthread.so.0!start_thread(void * arg) (\build\glibc-YYA7BZ\glibc-2.31\nptl\pthread_create.c:477)
libc.so.6!clone() (\build\glibc-YYA7BZ\glibc-2.31\sysdeps\unix\sysv\linux\x86_64\clone.S:95)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Language ServicebugfixedCheck the Milestone for the release in which the fix is or will be available.regressionA bug that didn't exist in a previous release

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions