jsk-ros-pkg / jsk_aerial_robot

The platfrom for aerial robot (e.g. general multirotor, hydrus, di, dragon, etc)
http://www.jsk.t.u-tokyo.ac.jp/index-j.html
34 stars 34 forks source link

free(): double free detected in tcache 2 #491

Closed fanshi14 closed 3 years ago

fanshi14 commented 3 years ago

Dear All,

I wonder if anyone has ever meet this error when launching Hydrus simulation?

free(): double free detected in tcache 2

image

(I Googled, but could not find direct reason with ROS.)

System: Ubuntu 18.04 / ROS Melodic Build succeeded without errors. Tested branch: new master; 1.2.0 (both are same problem)

I attached the terminate output here.

Thanks in adavance!

tongtybj commented 3 years ago
fanshi14 commented 3 years ago

After using gdb and googled the output, I found the reason is because of gcc version. When I reset gcc version and rebuild, it goes well.

Thank you very much @tongtybj !