We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
系统:ubuntu18.04 CPU:AMD Ryzen9 5950x 显卡:NVIDIA RTX 2060 显卡驱动:470
Describe the bug (mainboard: external/eigen/Eigen/src/Core/DenseStorage.h:128: Eigen::internal::plain_array<T, Size, MatrixOrArrayOptions, 32>::plain_array() [with T = double; int Size = 16; int MatrixOrArrayOptions = 0]: Assertion `(internal::UIntPtr(eigen_unaligned_array_assert_workaround_gcc47(array)) & (31)) == 0 && "this assertion is explained here: " "http://eigen.tuxfamily.org/dox-devel/group__TopicUnalignedArrayAssert.html" " **** READ THIS WEB PAGE !!! ****"' failed.)
最后定位到下图modules/perception/camera_detection_single_stage/detector/smoke/postprocess.cc,这个文件中make_shared的对象中存在Eigen的EIGEN_MAKE_ALIGNED_OPERATOR_NEW声明,造成忽略了对象中重载的operate new。
将
base::ObjectPtr obj = std::make_shared<base::Object>();
改为如下,解决问题
base::ObjectPtr obj (new base::Object());
疑惑 为什么camera_detection_multi_stage中,同样的逻辑处理位置,使用的是new。camera_detection_single_stage的问题是偶然的吗?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
系统:ubuntu18.04
CPU:AMD Ryzen9 5950x
显卡:NVIDIA RTX 2060
显卡驱动:470
Describe the bug
![2024-05-24_18-57](https://private-user-images.githubusercontent.com/112046175/333565436-71c2de9b-2188-4738-8a27-af3627133910.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjA1OTQ0MzEsIm5iZiI6MTcyMDU5NDEzMSwicGF0aCI6Ii8xMTIwNDYxNzUvMzMzNTY1NDM2LTcxYzJkZTliLTIxODgtNDczOC04YTI3LWFmMzYyNzEzMzkxMC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNzEwJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDcxMFQwNjQ4NTFaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1mZjFiNDA1NGVjYzk1OTZiOGY3OTFlYjgwODBlN2VjYmNjNTEyOTQzMjRhNmYzN2E1NmQ3YjkwYWFmNzVhNDFlJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.dpi_rtk9fni_AJ_sG3Weya3SW3B9OXS4hHftA2GX4iQ)
(mainboard: external/eigen/Eigen/src/Core/DenseStorage.h:128: Eigen::internal::plain_array<T, Size, MatrixOrArrayOptions, 32>::plain_array() [with T = double; int Size = 16; int MatrixOrArrayOptions = 0]: Assertion `(internal::UIntPtr(eigen_unaligned_array_assert_workaround_gcc47(array)) & (31)) == 0 && "this assertion is explained here: " "http://eigen.tuxfamily.org/dox-devel/group__TopicUnalignedArrayAssert.html" " **** READ THIS WEB PAGE !!! ****"' failed.)
最后定位到下图modules/perception/camera_detection_single_stage/detector/smoke/postprocess.cc,这个文件中make_shared的对象中存在Eigen的EIGEN_MAKE_ALIGNED_OPERATOR_NEW声明,造成忽略了对象中重载的operate new。
将
改为如下,解决问题
疑惑
![image](https://private-user-images.githubusercontent.com/112046175/333569271-96bfdcd8-ea43-4459-b362-2cc6a72763fa.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjA1OTQ0MzEsIm5iZiI6MTcyMDU5NDEzMSwicGF0aCI6Ii8xMTIwNDYxNzUvMzMzNTY5MjcxLTk2YmZkY2Q4LWVhNDMtNDQ1OS1iMzYyLTJjYzZhNzI3NjNmYS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNzEwJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDcxMFQwNjQ4NTFaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT05Y2JjZjQ0NzBmZmJjZmE5ZWQ0YjZkZjMxNmY3N2FjOWJhY2U3OWZiNjYzYWUxNmYyNmQ3YWJiMjA2OGIxNzU4JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.Bg8IWxJLOFA7RZ03ao1ZaAMK3V0G72x6tuGp0Wa-reQ)
为什么camera_detection_multi_stage中,同样的逻辑处理位置,使用的是new。camera_detection_single_stage的问题是偶然的吗?
The text was updated successfully, but these errors were encountered: