- 最近更换了内存条,突然就出现编译报错了
internal compiler error: Segmentation fault
,而且系统占用高时还会崩溃
[ 61%] [32m[1mLinking CXX executable /root/kuavo_ws/devel/.private/humanoid_interface_ros/lib/humanoid_interface_ros/humanoid_gait_command[0m
In file included from /usr/include/boost/weak_ptr.hpp:16,
from /opt/ros/noetic/lib/pkgconfig/../../include/ros/forwards.h:39,
from /opt/ros/noetic/lib/pkgconfig/../../include/ros/init.h:38,
from /root/kuavo_ws/src/humanoid-control/humanoid_interface_ros/src/HumanoidDdpMpcNode.cpp:30:
/usr/include/boost/smart_ptr/weak_ptr.hpp:37:5: internal compiler error: Segmentation fault
37 | }
| ^
-
因为之前一直用正常的,所以肯定怀疑和内存相关
-
参考这个 设置了unlimit参数,没有什么作用
-
最后是在bios里面将内存频率从3200Mhz降到2666MHz之后正常,应该是主板太旧了导致的
个人的情况不一样,仅供参考