udacity / SFND_Lidar_Obstacle_Detection

374 stars 523 forks source link

Segmentation fault when launching environment application (Ubuntu 22.04) #56

Open cr0mwell opened 5 months ago

cr0mwell commented 5 months ago

Running ./environment app results in segmentation fault. gbd debugging showed the problem on line 90 of environment.cpp file: viewer->spinOnce (); Further googling showed that the problem has been solved by PCL developers in further releases. The recommendation is to build PCL from the source. Worked for me.

wambitz commented 3 weeks ago

Running ./environment app results in segmentation fault. gbd debugging showed the problem on line 90 of environment.cpp file: viewer->spinOnce (); Further googling showed that the problem has been solved by PCL developers in further releases. The recommendation is to build PCL from the source. Worked for me.

I had the same issue, I had to create a container with Ubuntu 20.04 and everything worked fine.

With Ubuntu 22.04 I was able to walkaround it using viewer->spin() instead, it throws a bunch of warnings but it works.

I also built it from source and on Ubuntu 22.04 and that completely fixed the issue.