Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
SIGSEGV fault in odm_meshing #659
So i'm trying to update ODM so it will actually work with 16.10+ starting with #644 .
To recreate, in a 16.10 clean build, clone ODM and pull #644. then apply the following patch: https://gist.github.com/dakotabenjamin/8f022ef281bfac869a45ab6b82d848f9
I think there's something wrong deleting things from memory but I'm not well-versed enough in how memory management works in c++ to figure this out.
it seems the error is happening in the destruction of the smart pointer to the pcl::Poisson object.
i saw that this is only used in OdmMeshing::createMesh. you could try to move the variable there and with that get around the smartpointer. after all there is no need for the object to be a member variable/smart pointer. also dynamic memory allocation isnt necessary here