Skip to content

代码运行时,eigen变量内存管理错误 #77

@Lec1ercW

Description

@Lec1ercW

编译没有问题,在运行的时候,出现了Eigen变量内存管理的错误,报错如下
exploration_node: /usr/include/eigen3/Eigen/src/Core/DenseStorage.h:128: Eigen::internal::plain_array<T, Size, MatrixOrArrayOptions, 32>::plain_array() [with T = double; int Size = 4; int MatrixOrArrayOptions = 0]: Assertion `(internal::UIntPtr(eigen_unaligned_array_assert_workaround_gcc47(array)) & (31)) == 0 && "this assertion is explained here: " "http://eigen.tuxfamily.org/dox-devel/group__TopicUnalignedArrayAssert.html" " **** READ THIS WEB PAGE !!! ***"' failed.
Stack trace (most recent call last):
#12 Object "[0xffffffffffffffff]", at 0xffffffffffffffff, in
#11 Object "/home/feynman/Github_project/FUEL/catkin_ws/devel/lib/exploration_manager/exploration_node", at 0x555869e18159, in _start
#10 Object "/lib/x86_64-linux-gnu/libc.so.6", at 0x7fdba3821c86, in __libc_start_main
#9 Object "/home/feynman/Github_project/FUEL/catkin_ws/devel/lib/exploration_manager/exploration_node", at 0x555869e17ebf, in main
#8 Object "/home/feynman/Github_project/FUEL/catkin_ws/devel/lib/exploration_manager/exploration_node", at 0x555869e1f652, in fast_planner::FastExplorationFSM::init(ros::NodeHandle&)
#7 Object "/home/feynman/Github_project/FUEL/catkin_ws/devel/lib/exploration_manager/exploration_node", at 0x555869e2c224, in fast_planner::FastExplorationManager::initialize(ros::NodeHandle&)
#6 Object "/home/feynman/Github_project/FUEL/catkin_ws/devel/lib/libplan_manage.so", at 0x7fdba7011b1b, in fast_planner::FastPlannerManager::initPlanModules(ros::NodeHandle&)
#5 Object "/home/feynman/Github_project/FUEL/catkin_ws/devel/lib/libplan_env.so", at 0x7fdba5c4f933, in fast_planner::SDFMap::initMap(ros::NodeHandle&)
#4 Object "/home/feynman/Github_project/FUEL/catkin_ws/devel/lib/libplan_env.so", at 0x7fdba5c6e4a7, in fast_planner::MapROS::MapROS()
#3 Object "/lib/x86_64-linux-gnu/libc.so.6", at 0x7fdba3830471, in __assert_fail
#2 Object "/lib/x86_64-linux-gnu/libc.so.6", at 0x7fdba38303f9, in
#1 Object "/lib/x86_64-linux-gnu/libc.so.6", at 0x7fdba38407f0, in abort
#0 Object "/lib/x86_64-linux-gnu/libc.so.6", at 0x7fdba383ee87, in gsignal
Aborted (Signal sent by tkill() 10522 1000)
[ WARN] [1721187014.921622392]: [Traj server]: init...
[exploration_node-1] process has died [pid 10522, exit code -6, cmd /home/feynman/Github_project/FUEL/catkin_ws/devel/lib/exploration_manager/exploration_node /odom_world:=/state_ukf/odom /map_ros/pose:=/pcl_render_node/sensor_pose /map_ros/depth:=/pcl_render_node/depth /map_ros/cloud:=/pcl_render_node/cloud __name:=exploration_node __log:=/home/feynman/.ros/log/dc31ae9a-43ec-11ef-8f48-04e8b9f166c0/exploration_node-1.log].
log file: /home/feynman/.ros/log/dc31ae9a-43ec-11ef-8f48-04e8b9f166c0/exploration_node-1
.log

出现此错误后,rviz地图中没有边界显示,可以设置2dnavgoal,但无人机不会有任何动作

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions