Skip to content

Segmentation fault (Invalid permissions for mapped object [0x7fb67bc9f550]) #19

@yxwang99

Description

@yxwang99
Stack trace (most recent call last):
#10   Object "", at 0xffffffffffffffff, in 
#9    Object "/home/wyx/Code_ws/PredRecon/Planner/Code/devel/lib/exploration_manager/exploration_node", at 0x55d3a080f68d, in _start
#8    Source "../csu/libc-start.c", line 308, in __libc_start_main [0x7fb7655cc082]
#7    Object "/home/wyx/Code_ws/PredRecon/Planner/Code/devel/lib/exploration_manager/exploration_node", at 0x55d3a080d781, in main
#6    Object "/opt/ros/noetic/lib/libroscpp.so", at 0x7fb7bc46a60e, in ros::spin()
#5    Object "/opt/ros/noetic/lib/libroscpp.so", at 0x7fb7bc48243e, in ros::SingleThreadedSpinner::spin(ros::CallbackQueue*)
#4    Object "/opt/ros/noetic/lib/libroscpp.so", at 0x7fb7bc42ed72, in ros::CallbackQueue::callAvailable(ros::WallDuration)
#3    Object "/opt/ros/noetic/lib/libroscpp.so", at 0x7fb7bc42d301, in ros::CallbackQueue::callOneCB(ros::CallbackQueue::TLS*)
#2    Object "/opt/ros/noetic/lib/libroscpp.so", at 0x7fb7bc40b8a7, in ros::TimerManager<ros::Time, ros::Duration, ros::TimerEvent>::TimerQueueCallback::call()
#1    Object "/home/wyx/Code_ws/PredRecon/Planner/Code/devel/lib/libplan_env.so", at 0x7fb7bc56dc96, in fast_planner::MapROS::visCallback(ros::TimerEvent const&)
#0    Object "/home/wyx/Code_ws/PredRecon/Planner/Code/devel/lib/libplan_env.so", at 0x7fb7bc56d583, in fast_planner::MapROS::publishMapAll()
Segmentation fault (Invalid permissions for mapped object [0x7fb67bc9f550])
[exploration_node-1] process has died [pid 69427, exit code -11, cmd /home/wyx/Code_ws/PredRecon/Planner/Code/devel/lib/exploration_manager/exploration_node /odom_world:=/airsim_node/drone_1/odom_local_enu /map_ros/pose:=/airsim_node/drone_1/odom_local_enu /map_ros/depth:=/airsim_node/drone_1/front_center/DepthPerspective /map_ros/cloud:=/cloud __name:=exploration_node __log:=/home/wyx/.ros/log/5c5483fa-679f-11f0-9ca5-7374f92164cf/exploration_node-1.log].
log file: /home/wyx/.ros/log/5c5483fa-679f-11f0-9ca5-7374f92164cf/exploration_node-1*.log

I met this problem when I was running the recon.launch. This may be caused by line 1637 in map_ros.cpp.
if (map_->md_->occupancy_buffer_[map_->toAddress(x, y, z)] > map_->mp_->min_occupancy_log_)
Could you please help me to solve that?

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