-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
New issue
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
VoxelGrid::filter crash in VS2017 #1949
Comments
this seems somewhat related to pcl::copyPointCloud and smart pointers i also get a crash with that when not using filter |
Can you provide a self contained final stripped down example? |
The sample code i gave in the first post is a minimal example of a crash |
What is |
Ah forgot to replace that. Its a typedef to pcl::PointNormal |
Can you provide full source code and input data for reproduce this problem? I will test it. |
The second code snippet should be enough @UnaNancyOwen. It's self contained. |
I tried it, but it ran successfully. It didn't crash on my environment. |
@UnaNancyOwen as mentioned in the first post i use: Visual Studio 2017 in x64 with Debug. That's also the only configuration i'm crashing with. I am using pcl 1.8.1 rc2, Binaries were download here from github releases |
@feliwir Sorry, my question was insufficient. https://docs.microsoft.com/en-us/visualstudio/install/update-visual-studio Please check the C++ compiler version of Visual Studio 2017.
Or, Please tell me the IDE version of Visual Studio 2017.
|
Here is my version:
|
@feliwir I updated Visual Studio to the same version as you. And I was retry it, but it works successfully. |
It's been almost a week since the last ping. I propose ignore this for now and move with the release. @feliwir if you have any more feedback to provide, now it's definitely the time, otherwise this will be moved to another release milestone. |
@SergioRAgostinho I think that's fine. We should release 1.8.1. |
@feliwir We change milestone of this issue to pcl-1.9.0 in order to release PCL 1.8.1. |
I'm closing this for now. I have the impression it might be another manifestation of incorrect SSE flags being passed between the compiled PCL and the downstream target. |
Hey, PCL 1.8.1rc2 is crashing for me with VS2017 Win64 Debug. It doesn't happen in Release
The crash seems to occur in filter.h when the output_temp variable goes out of scope:
When diving deeper into the code it seems that std::free is crashing somewhere in Memory.h
The code to reproduce this issue is the following:
Maybe someone can test that code and confirm that it crashes in the same configuration. Thanks
The text was updated successfully, but these errors were encountered: