pcl icon indicating copy to clipboard operation
pcl copied to clipboard

pcl::on_nurbs::FittingSurface::~FittingSurface() crash

Open sushilk-pcl opened this issue 1 year ago • 3 comments

We are trying to fit the bsp surface on region of mesh body. bellow are the function calls done from PCL and at the end of function it crash in the pcl::on_nurbs::FittingSurface::~FittingSurface()

::pcl::on_nurbs::FittingSurface::Parameter params; ::pcl::on_nurbs::NurbsDataSurface data; ::pcl::on_nurbs::FittingSurface::initNurbsPCABoundingBox(order, &data); ::pcl::on_nurbs::FittingSurface fit(&data, nurbs);

will provide more information in case if needed.

Which operating system do you use? Windows 11 Enterprise, OS Version 22631.3880.

Which PCL version do you use? How did you install it? pcl-1.14.1

Which compiler do you use? Microsoft Visual Studio 2022 LTSC 17.4.

Which PCL version do you use? How did you install it? pcl-1.14.1

partSvcD.dll!Eigen::internal::aligned_free(void * ptr) Line 208 C++ partSvcD.dll!Eigen::internal::conditional_aligned_free<1>(void * ptr) Line 260 C++ partSvcD.dll!Eigen::internal::conditional_aligned_delete_auto<double,1>(double * ptr, unsigned __int64 size) Line 447 C++ partSvcD.dll!Eigen::DenseStorage<double,-1,-1,-1,0>::~DenseStorage<double,-1,-1,-1,0>() Line 465 C++ partSvcD.dll!Eigen::PlainObjectBase<Eigen::Matrix<double,-1,-1,0,-1,-1>>::~PlainObjectBase<Eigen::Matrix<double,-1,-1,0,-1,-1>>() C++ partSvcD.dll!Eigen::Matrix<double,-1,-1,0,-1,-1>::~Matrix<double,-1,-1,0,-1,-1>() C++ partSvcD.dll!pcl::on_nurbs::NurbsSolve::~NurbsSolve() C++ partSvcD.dll!pcl::on_nurbs::FittingSurface::~FittingSurface() Line 110 C++

sushilk-pcl avatar Oct 02 '24 16:10 sushilk-pcl

How did you install PCL? How do you make your VS project - cmake? Manual setup of VS++ project?

larshg avatar Oct 02 '24 18:10 larshg

Please keep the info in the same issue instead of writing in both. You could have reopened the first one you made.

larshg avatar Oct 02 '24 18:10 larshg

@sushilk-pcl Are you going to answer the questions from Lars' comment? Otherwise I will close this issue because there is currently not enough information to give a solution to your problem.

mvieth avatar Oct 17 '24 08:10 mvieth

Closing due to no response. My best guess would be that you are not using CMake and are therefore missing some compiler flags that CMake would automatically set correctly.

mvieth avatar Oct 27 '24 13:10 mvieth

We took the precompiled libs from toolkit and integrated it directly. Should we change this process?

sushilk-pcl avatar Feb 18 '25 06:02 sushilk-pcl

any suggestion on this

sushilk-pcl avatar Feb 20 '25 08:02 sushilk-pcl

Have you enabled AVX in your project?

larshg avatar Feb 20 '25 11:02 larshg