Re: [ros-users] [PCL]: seg fault in convertCloudToArray

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Dejan Pangercic
Date:  
To: ros-users
New-Topics: Re: [ros-users] [PCL]: seg fault in convertCloudToArray
Subject: Re: [ros-users] [PCL]: seg fault in convertCloudToArray
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 <> wrote:
> On Tue, Aug 3, 2010 at 8:28 AM, Dejan Pangercic
> <> 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
>
> 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:
WWW: http://ias.cs.tum.edu/people/pangercic