Skip to content

moveit_ros_benchmarks in MoveIt 1.1.7 segmentation fault #3037

@bonedoz

Description

@bonedoz

Description

I followed the MoveIt benchmarking tutorial for Noetic step by step to learn about the benchmarking tool, but I got an error when running the benchmarks by launchin​g demo_panda.launch containing the moveit_run_benchmark node. I later traced the error using GDB, and the error seems to be caused by a std::vector access out of bounds in the call to moveit_ros_benchmarks::BenchmarkExecutor::runBenchmarks. For comparison, I followed the benchmarking tutorial on Melodic (with MoveIt 1.0.8 installed ) and did the same thing and it worked without problems and benchmarking ran successfully. So is this an error caused by some bug in MoveIt 1.1.7?

Your environment

  • ROS Distro: Noetic
  • OS Version: Ubuntu 20.04 (kernel 5.11.0-40-generic)
  • Binary build
  • MoveIt 1.1.7

Steps to reproduce

roslaunch moveit_ros_benchmarks demo_panda.launch

Expected behaviour

generate benchmark log files

Actual behaviour

Thread 1 "moveit_run_benc" received signal SIGSEGV, Segmentation fault.
0x00007ffff7f81674 in std::operator+<char, std::char_traits<char>, std::allocator<char> > (__lhs=__lhs@entry=0x7ffff7fb3e05 "path_", 
    __rhs=<error reading variable: Cannot access memory at address 0x8>)
    at /usr/include/c++/9/bits/char_traits.h:335

Backtrace or Console output

https://gist.github.com/bonedoz/436084dfc89fc7ede4cc20866f4d448e

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions