You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use ApproximateProgressiveMorphologicalFilter, but I have a Segmentation Fault at line 128 of approximate_progressive_morphological_filter.hpp
127 Eigen::MatrixXf A (rows, cols);
128 A.setConstant (std::numeric_limits<float>::quiet_NaN ());
During the execution of the code, I cout rows and cols :
rows : 94
cols : 166
Here is the valgrind logs :
==3515== Process terminating with default action of signal 11 (SIGSEGV)
==3515== General Protection Fault
==3515== at 0x52C2DC0: _mm256_store_ps (avxintrin.h:854)
==3515== by 0x52C2DC0: pstore<float, __vector(8) float> (PacketMath.h:243)
==3515== by 0x52C2DC0: pstoret<float, __vector(8) float, 32> (GenericPacketMath.h:486)
==3515== by 0x52C2DC0: assignPacket<32, __vector(8) float> (AssignmentFunctors.h:28)
==3515== by 0x52C2DC0: assignPacket<32, 32, __vector(8) float> (AssignEvaluator.h:598)
==3515== by 0x52C2DC0: run (AssignEvaluator.h:386)
==3515== by 0x52C2DC0: call_dense_assignment_loop<Eigen::Matrix<float, -1, -1>, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op, Eigen::Matrix<float, -1, -1> >, Eigen::internal::assign_op > (AssignEvaluator.h:653)
==3515== by 0x52C2DC0: run (AssignEvaluator.h:790)
==3515== by 0x52C2DC0: void Eigen::internal::call_assignment_no_alias<Eigen::Matrix<float, -1, -1, 0, -1, -1>, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op, Eigen::Matrix<float, -1, -1, 0, -1, -1> >, Eigen::internal::assign_op >(Eigen::Matrix<float, -1, -1, 0, -1, -1>&, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op, Eigen::Matrix<float, -1, -1, 0, -1, -1> > const&, Eigen::internal::assign_op const&) (AssignEvaluator.h:747)
==3515== by 0x6E9C613: call_assignment<Eigen::Matrix<float, -1, -1>, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op, Eigen::Matrix<float, -1, -1> >, Eigen::internal::assign_op > (AssignEvaluator.h:712)
==3515== by 0x6E9C613: call_assignment<Eigen::Matrix<float, -1, -1>, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op, Eigen::Matrix<float, -1, -1> > > (AssignEvaluator.h:693)
==3515== by 0x6E9C613: _set<Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op, Eigen::Matrix<float, -1, -1> > > (PlainObjectBase.h:682)
==3515== by 0x6E9C613: operator=<Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op, Eigen::Matrix<float, -1, -1> > > (Matrix.h:225)
==3515== by 0x6E9C613: setConstant (CwiseNullaryOp.h:338)
==3515== by 0x6E9C613: pcl::ApproximateProgressiveMorphologicalFilterpcl::PointXYZ::extract(std::vector<int, std::allocator >&) (approximate_progressive_morphological_filter.hpp:128)
Anyone can help ?
The text was updated successfully, but these errors were encountered:
Environment
Description
I'm trying to use ApproximateProgressiveMorphologicalFilter, but I have a Segmentation Fault at line 128 of approximate_progressive_morphological_filter.hpp
During the execution of the code, I cout rows and cols :
Here is the valgrind logs :
==3515== Process terminating with default action of signal 11 (SIGSEGV)
==3515== General Protection Fault
==3515== at 0x52C2DC0: _mm256_store_ps (avxintrin.h:854)
==3515== by 0x52C2DC0: pstore<float, __vector(8) float> (PacketMath.h:243)
==3515== by 0x52C2DC0: pstoret<float, __vector(8) float, 32> (GenericPacketMath.h:486)
==3515== by 0x52C2DC0: assignPacket<32, __vector(8) float> (AssignmentFunctors.h:28)
==3515== by 0x52C2DC0: assignPacket<32, 32, __vector(8) float> (AssignEvaluator.h:598)
==3515== by 0x52C2DC0: run (AssignEvaluator.h:386)
==3515== by 0x52C2DC0: call_dense_assignment_loop<Eigen::Matrix<float, -1, -1>, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op, Eigen::Matrix<float, -1, -1> >, Eigen::internal::assign_op > (AssignEvaluator.h:653)
==3515== by 0x52C2DC0: run (AssignEvaluator.h:790)
==3515== by 0x52C2DC0: void Eigen::internal::call_assignment_no_alias<Eigen::Matrix<float, -1, -1, 0, -1, -1>, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op, Eigen::Matrix<float, -1, -1, 0, -1, -1> >, Eigen::internal::assign_op >(Eigen::Matrix<float, -1, -1, 0, -1, -1>&, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op, Eigen::Matrix<float, -1, -1, 0, -1, -1> > const&, Eigen::internal::assign_op const&) (AssignEvaluator.h:747)
==3515== by 0x6E9C613: call_assignment<Eigen::Matrix<float, -1, -1>, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op, Eigen::Matrix<float, -1, -1> >, Eigen::internal::assign_op > (AssignEvaluator.h:712)
==3515== by 0x6E9C613: call_assignment<Eigen::Matrix<float, -1, -1>, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op, Eigen::Matrix<float, -1, -1> > > (AssignEvaluator.h:693)
==3515== by 0x6E9C613: _set<Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op, Eigen::Matrix<float, -1, -1> > > (PlainObjectBase.h:682)
==3515== by 0x6E9C613: operator=<Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op, Eigen::Matrix<float, -1, -1> > > (Matrix.h:225)
==3515== by 0x6E9C613: setConstant (CwiseNullaryOp.h:338)
==3515== by 0x6E9C613: pcl::ApproximateProgressiveMorphologicalFilterpcl::PointXYZ::extract(std::vector<int, std::allocator >&) (approximate_progressive_morphological_filter.hpp:128)
Anyone can help ?
The text was updated successfully, but these errors were encountered: