memory corruption
get error in callback this is caused by the last line ... any ideas what is happening. I am using pcl 1.7.2 and ros indigo under ubuntu 14.04.
void cloud_cb (const sensor_msgs::PointCloud2ConstPtr& msg)
{
pcl::PointCloud<pcl::PointXYZRGBA> cloudxx;
pcl::fromROSMsg(*msg,cloudxx); // Convert ros msg cloud to pcl cloud
CloudConstPtr cloud(&cloudxx); // this line generates error
}
*** Error in `/home/richard/catkin_ws/devel/lib/testPCD/testPCD': double free or corruption (out): 0x00007ffd908a8c50 ***