Closed sjuxax closed 1 year ago
This was coming from system-installed CCTag not having the corresponding CCTAG_EIGEN_MEMORY_ALIGNMENT=ON
flag, so its CMake script was automatically adding -DEIGEN_MAX_ALIGN_BYTES=0 -DEIGEN_MAX_STATIC_ALIGN_BYTES=0
contrary to the AliceVision flag. Rebuilt with CCTag with an explicit -DCCTAG_EIGEN_MEMORY_ALIGNMENT=ON
, rebuilt AliceVision against new CCTag, no longer get crashes. Not sure why this wasn't getting set by default on CCTag build, but situation is resolved. Thanks.
When I build with
-DALICEVISION_USE_OPENCV=ON
, I reliably get this backtrace fromaliceVision_featureMatching
. This run was done withOMP_NUM_THREADS=1
for simplicity.Works fine when not built with OpenCV. It doesn't look like the crash occurs in OpenCV, but I rebuilt without Arch's default
-Wp,-D_GLIBCXX_ASSERTIONS
flag just in case, and doesn't seem to make any difference.Here's my
opencv_version
just in case something's relevant in there: