-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
double free or corruption (out)
in teb_local_planner
when -mf16c
optimization flag is used
#557
Comments
这是来自QQ邮箱的自动回复邮件。你好,我已经收到你的邮件,尽快处理。
|
When Debug is used instead of RelWithDebInfo the program is stopped by some Eigen data alignment assert (still clang, still -mf16c). This might be the root cause of the double free in release mode:
I don't know if it is a Eigen issue or g2o... |
Do you have the same flags on g2o and TEB? |
I am compiling TEB from source with all compilation flags set at project level, so I think it does apply to Eigen, g2o and other libraries as well. The g2o library provided by the |
The flags then apply to the headers of g2o but not to the libraries/binaries of g2o from the ROS package.
There have been issues reported in the past caused by different compilation flags.
… Am 20.12.2021 um 00:57 schrieb Vincent Richard ***@***.***>:
I am compiling TEB from source with all compilation flags set at project level, so I think it does apply to Eigen, g2o and other libraries as well. The g2o library provided by the ros-melodic-libg2o package.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you commented.
|
I have tried to uninstall |
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 14 days. |
Hi
I have encountered a
double free or corruption (out)
while usingteb_local_planner
. The error has been reported on theteb_local_planner
github page here, but it seems the error might be caused by g2o library. The problem arises when-mf16c
flag is used (which is brought by-march=native
). When using clang the crash occurs immediately on startup (with gcc the bug is still there but more difficult to trigger).Here I reported the valgrind dump below (crash on program startup with clang++ and
-mf16c
flag). The crash seems not to be related toteb_local_planner
but looks more like a g2o or Eigen library issue:I am not familiar with the g2o internal implementation. Does this rings any bell to you?
The text was updated successfully, but these errors were encountered: