ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I encountered similar error, "free(): invalid next size " and "../sysdeps/unix/sysv/linux/raise.c: No such file or directory.". I was running a peripheral init job and then do ROS init and some other job. The peripheral init job runs fine and the ROS init job also works fine. But when do them together it always report this error. finally I found this is a memory problem. in the malloc() I missed a * in sizeof() then the size of malloc memory is not correct. just for someone who in the same boat.

click to hide/show revision 2
No.2 Revision

I encountered similar error, "free():

free(): invalid next size " and "../sysdeps/unix/sysv/linux/raise.c: No such file or directory.".
directory.

I was running a peripheral init job and then do ROS init and some other job. The peripheral init job runs fine and the ROS init job also works fine. But when do them together it always report this error. finally I found this is a memory problem. in the malloc() I missed a * in sizeof() then the size of malloc memory is not correct. just for someone who in the same boat.