cartographer_ros icon indicating copy to clipboard operation
cartographer_ros copied to clipboard

Error when running demo bag: Solver::Options::num_linear_solver_threads > 0

Open yannsean opened this issue 2 years ago • 1 comments

When I am running:

wget -P ~/Downloads https://storage.googleapis.com/cartographer-public-data/bags/backpack_2d/cartographer_paper_deutsches_museum.bag
roslaunch cartographer_ros demo_backpack_2d.launch bag_filename:=${HOME}/Downloads/cartographer_paper_deutsches_museum.bag

An error happened like:

[ERROR] [1658593076.583869820, 1454419921.754643296]: E0724 00:17:56.000000  5959 solver.cc:507] Terminating: Invalid configuration. Solver::Options::num_linear_solver_threads = -1. Violated constraint: Solver::Options::num_linear_solver_threads > 0
double free or corruption (out)
[cartographer_node-3] process has died [pid 5959, exit code -6, cmd /home/ubuntu/ros_test/cartograph_ws/install_isolated/lib/cartographer_ros/cartographer_node -configuration_directory /home/ubuntu/ros_test/cartograph_ws/install_isolated/share/cartographer_ros/configuration_files -configuration_basename backpack_3d.lua points2_1:=horizontal_laser_3d points2_2:=vertical_laser_3d __name:=cartographer_node __log:=/home/ubuntu/.ros/log/00c5e418-0aa3-11ed-9b61-e45f014ca385/cartographer_node-3.log].
log file: /home/ubuntu/.ros/log/00c5e418-0aa3-11ed-9b61-e45f014ca385/cartographer_node-3*.log

I am usin ROS melodic. How can I fix it?

yannsean avatar Jul 23 '22 16:07 yannsean

I meet the same error with ROS kinetic and can't find the solution. Have you solved it?

1uxxx avatar Dec 13 '22 06:12 1uxxx