[ros-users] [PCL]: seg fault in convertCloudToArray
Dejan Pangercic
dejan.pangercic at gmail.com
Tue Aug 3 17:17:53 UTC 2010
Hi Radu,
our mighty Lorenz found the problem, namely, since the definition of
the convertCloudToArray function is actually in the
src/pcl/kdtree/kdtree_flann.hpp file (so templated) not the pcl, but
the target executable (pairwise_incremental_registration) had to be
compilled with ROS_BUILD_TYPE set to "Debug". Now I have the debug
symbols and can further investigate what is actually causing the
actual seg. fault.
cheers, d.
On Tue, Aug 3, 2010 at 5:35 PM, Brian Gerkey <gerkey at willowgarage.com> wrote:
> On Tue, Aug 3, 2010 at 8:28 AM, Dejan Pangercic
> <dejan.pangercic at gmail.com> wrote:
>> Yes, I changed ROS_BUILD_TYPE to "Debug", ran "make clean, make" in
>> pcl and I still got no debugging symbols in the debugger.
>> And I am on point_cloud_perception trunk and I updated it today.
>
> hi Dejan,
>
> That's odd. Can you try 'make clean; make VERBOSE=1' and verify that
> the compile steps include '-g' and don't include any '-O' flags?
>
> Btw, changing the ROS_BUILD_TYPE should cause everything to rebuild on
> 'make', so your initial 'make clean' was unnecessary.
>
> brian.
> _______________________________________________
> ros-users mailing list
> ros-users at code.ros.org
> https://code.ros.org/mailman/listinfo/ros-users
>
--
MSc. Dejan Pangercic
PhD Student/Researcher
Intelligent Autonomous Systems Group
Technische Universität München
Telephone: +49 (89) 289-26908
E-Mail: dejan.pangercic at cs.tum.edu
WWW: http://ias.cs.tum.edu/people/pangercic
More information about the ros-users
mailing list