Skip to content

Double free or corruption (out) error #1450

Answered by enahon
enahon asked this question in Q&A
Discussion options

You must be logged in to vote

I have finally found a solution, following @thorstink's suggestion. PCL 1.13 uses -march=native by default, which causes conflicts if other dependencies also rely on Eigen but are being built with different flags.
To fix the issue, all dependencies need to be built with the same march setting. In my case I disabled it completely. For PCL, this is done by building from source with the following Cmake options:
-DPCL_ENABLE_AVX=OFF
-DPCL_ENABLE_SSE=OFF
-DPCL_ENABLE_MARCHNATIVE=OFF

Replies: 6 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@enahon
Comment options

Answer selected by enahon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants
Converted from issue

This discussion was converted from issue #1436 on February 08, 2023 13:46.