Comments (7)
Edit: It seems the culprit were AVX/SSE instructions. After I disabled them both on compilation it works!
from pcl.
Hi, the thing with SSE and AVX is that the options used when compiling PCL should match the options used for your own project, otherwise problems can occur. Usually, CMake takes care of this (unless you do not use CMake for building your own project, edit: or you manually change SSE/AVX options in your own CMakeLists.txt). Enabling PCL_NO_PRECOMPILE
also often makes these problems go away because more of PCL's code is compiled together with your own code, so SSE/AVX options are the same.
If you provide a backtrace, e.g. from gdb or valgrind, I can try to take a guess what exactly happens in your case.
from pcl.
@mvieth Will do. In another note: Could the problem we that I didnt compile eigen with AVX/SSE? I just installed via apt
from pcl.
@mvieth Will do. In another note: Could the problem we that I didnt compile eigen with AVX/SSE? I just installed via apt
Eigen is a header-only library, so there are no binaries installed. The classes and functions from Eigen are compiled when PCL and your own project are compiled.
from pcl.
Ok so I recompiled PCL in Debug mode with AVX and SSE on. And I am running my code in RelWithDebug. It doesnt seem to happen in Debug.
I think whats happening is that it tries to free the point_cloud data structure and somehow the filtering already consumes it? Sorry that I cant provide a more detailed trace
from pcl.
I think whats happening is that it tries to free the point_cloud data structure and somehow the filtering already consumes it? Sorry that I cant provide a more detailed trace
point_cloud_filtered
is filled by the outlier removal filter, and point_cloud
is only read from by the filter, so I don't think that's it.
Another thing: can you post your CMakeLists.txt? And run your program with valgrind? That might give us more information.
from pcl.
point_cloud is a scoped pcl that should be released when the functions returns.
from pcl.
Related Issues (20)
- [custom] error: macro "_mm512_srli_epi32" passed 3 arguments, but takes just 2 HOT 3
- There is a logic error in the code of the computeTransformation function in the gicp.hpp file when calculating the transformation matrix T HOT 5
- [convolution_3d.h] search :: the symbol on the left must be of a type HOT 4
- [visualize normal] Normals are displayed incorrectly HOT 19
- [=]] Provide a general summary of the issue HOT 1
- [custom] chatGPT code on pcl visualization : different behavior between pcl::visualization::PCLVisualizer::Ptr and pcl::visualization::PCLVisualizer HOT 2
- [custom] Does PCLVisualizer support to display vertical colorbar? HOT 1
- undefined reference to `KD_TREE<pcl::PointXYZINormal>::Nearest_Search(pcl::PointXYZINormal HOT 1
- Remove deprecated code for the 1.15.0 release HOT 3
- [field match]How to get whether a field is valid? HOT 4
- [icp] pcl::IterativeClosestPoint crash when encountering an invalid point in debug mode HOT 5
- [CorrespondenceEstimation] There may be something wrong with the annotation HOT 2
- [compile error] undefined reference to boost::filesystem HOT 3
- [pcl::normal] Why pcl::normal is designed to use 32 bytes? HOT 3
- [features] Fix ShapeContext3DEstimation
- [filters] Make `UniformSampling` inherit from `FilterIndices` instead of `Filter` HOT 1
- [compile with cuda] cmake cannot find cuda HOT 5
- [gpu::NormalEstimation] Error:out of memory HOT 6
- Within a new project, this compile process has a bug in two header files (type_traits.h and point_struct_traits.h). HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pcl.