Closed huangxiao2008 closed 4 years ago
Thank you for your interest in running Apollo on Xavier. However, AArch64 support of Apollo is still WIP currently, and PRs are welcome to run Apollo on platforms other than x86_64.
The stack printed in reverse by gdb, hoping Apollo be runnable soon~~~
__match_mode=__match_mode@entry=std::__detail::_Executor<__gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::__cxx11::sub_match<__gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::regex_traits<char>, true>::_Match_mode::_Exact, __i=1) at /usr/include/c++/5/bits/regex_executor.tcc:390
har>, (std::detail::_RegexExecutorPolicy)0, true>(__gnu_cxx::normal_iterator<char const, std::cxx11::basic_string<char, std::char_traits
from /usr/local/libtorch_gpu/lib/libtorch_cpu.so
from /usr/local/libtorch_gpu/lib/libtorch_cpu.so
from /apollo/bazel-bin/modules/perception/onboard/component/../../../../_solib_local/libmodules_Sperception_Slidar_Slib_Sdetection_Slidar_Upoint_Upillars_Slibpoint_Upillars.so
from /apollo/bazel-bin/modules/perception/onboard/component/../../../../_solib_local/libmodules_Sperception_Slidar_Slib_Sdetection_Slidar_Upoint_Upillars_Slibpoint_Upillars.so
from /apollo/bazel-bin/modules/perception/onboard/component/../../../../_solib_local/libmodules_Sperception_Slidar_Slib_Sdetection_Slidar_Upoint_Upillars_Slibpoint_Upillars_Udetection.so
from /apollo/bazel-bin/modules/perception/onboard/component/../../../../_solib_local/libmodules_Sperception_Slidar_Sapp_Sliblidar_Uobstacle_Udetection.so
from /apollo/bazel-bin/modules/perception/onboard/component/../../../../_solib_local/libmodules_Sperception_Sonboard_Scomponent_Slibdetection_Ucomponent.so
from /apollo/bazel-bin/modules/perception/onboard/component/../../../../_solib_local/libmodules_Sperception_Sonboard_Scomponent_Slibdetection_Ucomponent.so
Currently, I run Apollo on Xavier with lgsvl.
After modifying some SSE2 code by sse2neon, I could successfully compile apollo on master branch.
However, when running Perception module by
mainboard -d /apollo/modules/perception/production/dag/dag_streaming_perception_lgsvl.dag
crash happens, and it seems to be running into an infinite recursive function. with part of the stack like this:
`#0 std::detail::_Executor<__gnu_cxx::normal_iterator<char const, std::cxx11::basic_string<char, std::char_traits, std::allocator > >, std::allocator<std:: cxx11::sub_match<__gnu_cxx::__normal_iterator<char const, std::cxx11::basic_string<char, std::char_traits, std::allocator > > > >, std:: cxx11::regex_traits, true>::_M_dfs (
this=this@entry=0x7fffffcbb0,
match_mode=__match_mode@entry=std::detail::_Executor<gnu_cxx::__normal_iterator<char const*, std::cxx11::basic_string<char, std::char_traits, std::allocator > >, std::allocator<std::cxx11::sub_match<__gnu_cxx::normal_iterator<char const*, std::cxx11::basic_string<char, std::char_traits, std::allocator > > > >, std:: cxx11::regex_traits, true>::_Match_mode::_Exact, __i=-9214364837600034816) at /usr/include/c++/5/bits/regex_executor.tcc:200
1 0x0000007fb55dbc58 in std::detail::_Executor<__gnu_cxx::normal_iterator<char const, std::cxx11::basic_string<char, std::char_traits, std::allocator > >, std::allocator<std:: cxx11::sub_match<__gnu_cxx::__normal_iterator<char const, std::cxx11::basic_string<char, std::char_traits, std::allocator > > > >, std:: cxx11::regex_traits, true>::_M_dfs (this=this@entry=0x7fffffcbb0,
2 0x0000007fb55dbf68 in std::detail::_Executor<__gnu_cxx::normal_iterator<char const, std::cxx11::basic_string<char, std::char_traits, std::allocator > >, std::allocator<std:: cxx11::sub_match<__gnu_cxx::__normal_iterator<char const, std::cxx11::basic_string<char, std::char_traits, std::allocator > > > >, std:: cxx11::regex_traits, true>::_M_dfs (this=this@entry=0x7fffffcbb0,
3 0x0000007fb55dbc58 in std::detail::_Executor<__gnu_cxx::normal_iterator<char const, std::cxx11::basic_string<char, std::char_traits, std::allocator > >, std::allocator<std:: cxx11::sub_match<__gnu_cxx::__normal_iterator<char const, std::cxx11::basic_string<char, std::char_traits, std::allocator > > > >, std:: cxx11::regex_traits, true>::_M_dfs (this=this@entry=0x7fffffcbb0,
4 0x0000007fb55dbf68 in std::detail::_Executor<__gnu_cxx::normal_iterator<char const, std::cxx11::basic_string<char, std::char_traits, std::allocator > >, std::allocator<std:: cxx11::sub_match<__gnu_cxx::__normal_iterator<char const, std::cxx11::basic_string<char, std::char_traits, std::allocator > > > >, std:: cxx11::regex_traits, true>::_M_dfs (this=this@entry=0x7fffffcbb0,
5 0x0000007fb55dbc58 in std::detail::_Executor<__gnu_cxx::normal_iterator<char const, std::cxx11::basic_string<char, std::char_traits, std::allocator > >, std::allocator<std:: cxx11::sub_match<__gnu_cxx::__normal_iterator<char const, std::cxx11::basic_string<char, std::char_traits, std::allocator > > > >, std:: cxx11::regex_traits, true>::_M_dfs (this=this@entry=0x7fffffcbb0,
6 0x0000007fb55dbf68 in std::detail::_Executor<__gnu_cxx::normal_iterator<char const, std::cxx11::basic_string<char, std::char_traits, std::allocator > >, std::allocator<std:: cxx11::sub_match<__gnu_cxx::__normal_iterator<char const, std::cxx11::basic_string<char, std::char_traits, std::allocator > > > >, std:: cxx11::regex_traits, true>::_M_dfs (this=this@entry=0x7fffffcbb0,
7 0x0000007fb55dbc58 in std::detail::_Executor<__gnu_cxx::normal_iterator<char const, std::cxx11::basic_string<char, std::char_traits, std::allocator > >, std::allocator<std:: cxx11::sub_match<__gnu_cxx::__normal_iterator<char const, std::cxx11::basic_string<char, std::char_traits, std::allocator > > > >, std:: cxx11::regex_traits, true>::_M_dfs (this=this@entry=0x7fffffcbb0,
ue>::_Match_mode::_Exact, __i=1) at /usr/include/c++/5/bits/regex_executor.tcc:390
8 0x0000007fb55dbf68 in std::detail::_Executor<__gnu_cxx::normal_iterator<char const, std::cxx11::basic_string<char, std::char_traits, std::allocator > >, std::allocator<std:: cxx11::sub_match<__gnu_cxx::__normal_iterator<char const, std::cxx11::basic_string<char, std::char_traits, std::allocator > > > >, std:: cxx11::regex_traits, true>::_M_dfs (this=this@entry=0x7fffffcbb0,
9 0x0000007fb55dbc58 in std::detail::_Executor<__gnu_cxx::normal_iterator<char const, std::cxx11::basic_string<char, std::char_traits, std::allocator > >, std::allocator<std:: cxx11::sub_match<__gnu_cxx::__normal_iterator<char const, std::cxx11::basic_string<char, std::char_traits, std::allocator > > > >, std:: cxx11::regex_traits, true>::_M_dfs (this=this@entry=0x7fffffcbb0,
10 0x0000007fb55dbf68 in std::detail::_Executor<__gnu_cxx::normal_iterator<char const, std::cxx11::basic_string<char, std::char_traits, std::allocator > >, std::allocator<std:: cxx11::sub_match<__gnu_cxx::__normal_iterator<char const, std::cxx11::basic_string<char, std::char_traits, std::allocator > > > >, std:: cxx11::regex_traits, true>::_M_dfs (this=this@entry=0x7fffffcbb0,
So, what's wrong and could anyone solve the problem?