Closed HaisenbergPeng closed 2 years ago
Can't reproduce the error with v1.9
I can't easily build v1.8 with my environment, maybe someone else could try
The error is gone with pcl1.7 and pcl1.9. For building pcl1.8 with other versions, please refer to this blog
@HaisenbergPeng Can you run your program with valgrind or gdb (and do a backtrace)?
@HaisenbergPeng please try with pcl-1.12 as well. If it works, then this is a support request, and not a bug
@kunaltyagi yes, you are right, it is actually a support request.
The error is gone with pcl1.7 and pcl1.9. For building pcl1.8 with other versions, please refer to this blog
@mvieth sorry, I don't know how to debug with gdb. Could you kindly give an hint?
Closing this issue due to no response, and because there does not seem to be an issue in PCL (it works with PCL 1.7 and 1.9)
Error in `./test': free(): invalid pointer: 0x0000000002001b80 Context
Please look at the code below. if using PCL 1.8, the error 'invalid point' comes out. However, if I move the code in function 'fun()' inside 'main()' or use PCL 1.7 intead, the error is gone. Anyone can explain it? I suspect it is the issue related to the smart pointer destruction.
Your Environment (please complete the following information):