Error loading URDF malloc:() memory corruption

91 views
Skip to first unread message

Minerva Vargas

unread,
Apr 20, 2016, 5:25:23 AM4/20/16
to MoveIt! Users
Hi,

I am new to MoveIt! I'm trying to load a URDF I generated from a XACRO file into moveit_setup_assistant. However, while loading the file the process aborts:

 [ INFO] [1461143745.638481523]: Loaded boxy_description robot model.
[ INFO] [1461143745.638655255]: Setting Param Server with Robot Description
[ INFO] [1461143745.660163773]: Robot semantic model successfully loaded.
[ INFO] [1461143745.660277967]: Setting Param Server with Robot Semantic Description
[ INFO] [1461143745.688028184]: Loading robot model 'boxy_description'...
[ INFO] [1461143745.688116985]: No root joint specified. Assuming fixed joint
*** Error in `/opt/ros/indigo/lib/moveit_setup_assistant/moveit_setup_assistant': malloc(): memory corruption: 0x00000000021ed6b0 ***
Aborted (core dumped)

Does anyone knnows what does this malloc(): memory corruption means? 

I can load other URDFs without problem.

Jackie Kay

unread,
Apr 20, 2016, 11:36:39 AM4/20/16
to Minerva Vargas, MoveIt! Users

Can you send the generated URDF so that we can reproduce the problem?

Do other ROS tools that use URDF give a similar error? e.g. "check_urdf (your urdf file)" is a good basic checks which is provided by the system package liburdfdom-dev.

The error message means that the program failed to allocate dynamic memory because the address is tried to allocate to became invalid. It's probably due to a memory error somewhere in MoveIt or the URDF parser.

Minerva Vargas

unread,
Apr 21, 2016, 2:48:00 AM4/21/16
to MoveIt! Users
Attached is the URDF

Thanks!
boxy_description.urdf

Minerva Vargas

unread,
May 12, 2016, 8:59:36 AM5/12/16
to MoveIt! Users
Aparently, the error was caused by the STL files I was using for the robot. 

The STLs made with Inventor 2016 generate some problems with MoveIt!, the easiest solution was  transformint the STL to STL using ctmconv, this changes the headers and footers of the files to something MoveIt! can work with. 


On Wednesday, April 20, 2016 at 11:25:23 AM UTC+2, Minerva Vargas wrote:
Reply all
Reply to author
Forward
0 new messages