Assertion `px != 0' failed

  • 错误信息
/usr/include/boost/smart_ptr/shared_ptr.hpp:646: typename boost::detail::sp_dereference<t>::type boost::shared_ptr<t>::operator*() const [with T = pcl::PointCloud<pcl::pointxyz>; typename boost::detail::sp_dereference<t>::type = pcl::PointCloud<pcl::pointxyz>&]: Assertion `px != 0' failed. Aborted (core dumped)

Assertion 'px != 0' failed. means that you're using a boost::shared_ptr before it's initialized somewhere.

原文地址:https://www.cnblogs.com/ChrisCoder/p/10078353.html