PCL Viewer Memory Error

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

PCL Viewer Memory Error

rshanor
Hi all,

When I try to visualize a .pcd through the command line using a command such as "pcl_viewer i3.pcd"

I get the following error:
Loading i3.pcd *** Error in `pcl_viewer': malloc(): memory corruption (fast): 0x0000000001c98630 ***

I know it is not a problem with the pcd file, as I can visualize it using a simple script. Any ideas?
Reply | Threaded
Open this post in threaded view
|

Re: PCL Viewer Memory Error

Sérgio Agostinho
Hey, 

Can you upload the file please? :)

Cheers

_______________________________________________
[hidden email] / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users
Reply | Threaded
Open this post in threaded view
|

Re: PCL Viewer Memory Error

rshanor
Here is the one I was first trying:

i2.pcd

Also just tried with the file from this tutorial and got the same error: http://pointclouds.org/documentation/tutorials/extract_indices.php#extract-indices 
Reply | Threaded
Open this post in threaded view
|

Re: PCL Viewer Memory Error

VictorLamoine
Administrator
Hello,

I can load and visualize this point cloud without any problem using pcl_viewer.
What is your OS? What is your PCL version? (if compiled, which compiler)

Bye
Reply | Threaded
Open this post in threaded view
|

Re: PCL Viewer Memory Error

rshanor
I am on Ubuntu 14.04 and PCL 1.7

It is also worth noting that pcl_viewer used to work on my machine
Reply | Threaded
Open this post in threaded view
|

Re: PCL Viewer Memory Error

VictorLamoine
Administrator
sudo apt-get install --purge --reinstall libpcl-all-dev

Tell us if it happens again.
Any change in your hardware recently? Removed graphic card?
Reply | Threaded
Open this post in threaded view
|

Re: PCL Viewer Memory Error

rshanor
Hey Victor,

Sorry for the delay. I now get a new error: Loading test2.pcd pcl_viewer: symbol lookup error: pcl_viewer: undefined symbol: _ZNK3pcl13visualization13PCLVisualizer16cameraFileLoadedEv

No new hardware changes, although I have been updating video card drivers / openCL and such.
Reply | Threaded
Open this post in threaded view
|

Re: PCL Viewer Memory Error

VictorLamoine
Administrator
The symbol for pcl::visualization::PCLVisualizer::cameraFileLoaded() const seems to be missing, weird because there has been no change in that function from a long time.

Are you using the provided binary file or compiling a custom C++ file?