I have updated my Ubuntu to 18.2 LTS.

As soon as I used this (pcl::io::loadPolygonFile("Vehicle.obj", polymesh);) code get crashed and give error as,
double free or corruption (out)
Over google, I found some issues related to this, and they seem to be fixed somewhere.
https://github.com/PointCloudLibrary/pcl/issues/2013 or https://github.com/PointCloudLibrary/pcl/issues/1889).

The errors say that memory, which was allocated, it is tried to free it twice.

Suggest me, if any code hack will solve this, or only tried with update PCL-1.9 library will solve this issue?

Thanks