Skip to content

hebiros_node: Segmentation fault (core dumped) #65

@josephcoombe

Description

@josephcoombe

On occasion, the hebiros_node is crashing with a Segmentation fault (core dumped) message.
I'd never encountered this before the latest update (v1.3).

I think it happens when:
a) ROS node A registers group foo with the hebiros_node
b) ROS node A throws an error during execution and exits abruptly
c) ROS node B registers group foo (again) with the hebiros_node
d) ROS node B attempts to execute a TrajectoryAction

Will update if I get more info

joseph@joseph-Aspire-VN7-591G:~$ rosrun hebiros hebiros_node 
Broadcasting on:
  192.168.1.255
[ INFO] [1521489218.670748971]: Parameters:
[ INFO] [1521489218.670793966]: /hebiros/node_frequency=200
[ INFO] [1521489218.670805335]: /hebiros/action_frequency=200
[ INFO] [1521489218.670814601]: /hebiros/feedback_frequency=100
[ INFO] [1521489218.670826844]: /hebiros/command_lifetime=100
[ INFO] [1521489250.646090737]: Created group [hebi_3dof_arm]:
[ INFO] [1521489250.646119193]: /hebi_3dof_arm/HEBI/Base
[ INFO] [1521489250.646131900]: /hebi_3dof_arm/HEBI/Shoulder
[ INFO] [1521489250.646144489]: /hebi_3dof_arm/HEBI/Elbow
[ INFO] [1521489304.539883354]: Group [hebi_3dof_arm]: Executing trajectory
[ INFO] [1521489307.545037776]: Group [hebi_3dof_arm]: Finished executing trajectory
[ INFO] [1521489307.549675697]: Group [hebi_3dof_arm]: Executing trajectory
[ INFO] [1521489309.554783396]: Group [hebi_3dof_arm]: Finished executing trajectory
[ INFO] [1521489332.719634798]: Group [hebi_3dof_arm]: Executing trajectory
[ INFO] [1521489335.724706581]: Group [hebi_3dof_arm]: Finished executing trajectory
[ INFO] [1521489335.729589202]: Group [hebi_3dof_arm]: Executing trajectory
[ INFO] [1521489337.729713607]: Group [hebi_3dof_arm]: Finished executing trajectory
[ WARN] [1521489733.994416457]: Group [hebi_3dof_arm] already exists
[ INFO] [1521489837.034575456]: Group [hebi_3dof_arm]: Executing trajectory
[ INFO] [1521489840.034710116]: Group [hebi_3dof_arm]: Finished executing trajectory
[ INFO] [1521489840.044660348]: Group [hebi_3dof_arm]: Executing trajectory
[ INFO] [1521489846.044797342]: Group [hebi_3dof_arm]: Finished executing trajectory
Segmentation fault (core dumped)
joseph@joseph-Aspire-VN7-591G:~$ 

Update 2018-03-21

Sending a TrajectoryGoal with only 1 waypoint will crash the hebiros_node and generate a Segmentation fault (Core dumped) message.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions