Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segmentation fault after closing odometry test window or view high-res point clouds window #17

Closed
matlabbe opened this issue May 26, 2015 · 4 comments

Comments

@matlabbe
Copy link
Member

From @GoogleCodeExporter on May 26, 2015 18:56

What steps will reproduce the problem?
1. Open RTAB-Map
2. Edit->Preferences->Odometry
3. Click "Test odometry"
4. Press numbers 1->4 on the keyboard to change the point cloud's color
5. Close the dialog, will result with a "segmentation fault"

It is a strange bug, because if we don't change the color of the point cloud, 
the dialog closes without problems. Looking in the code, it seems that when the 
dialog is closing, PCLVisualizer::removeAllPointClouds() is called and crashes 
into it.  


Original issue reported on code.google.com by matla...@gmail.com on 27 Feb 2014 at 4:25

Copied from original issue: matlabbe/rtabmap#5

@matlabbe
Copy link
Member Author

From @GoogleCodeExporter on May 26, 2015 18:56

Note that this not happens with the "3D map" view in the main window. Here we 
can change color without any crash when closing the application... In all 
cases, the CloudViewer class is used.

Original comment by matla...@gmail.com on 27 Feb 2014 at 4:27

@matlabbe
Copy link
Member Author

From @GoogleCodeExporter on May 26, 2015 18:56

Reproducted under Ubuntu 12.04 64 bits Hydro PCL, with the database viewer 
(Edit->view 3D clouds).

Original comment by matla...@gmail.com on 2 Oct 2014 at 5:30

@matlabbe
Copy link
Member Author

From @GoogleCodeExporter on May 26, 2015 18:56

[DEBUG] (2014-10-02 13:26:08.605) CloudViewer.cpp:100::~CloudViewer() 
Segmentation fault (core dumped)

Original comment by matla...@gmail.com on 2 Oct 2014 at 5:31

@matlabbe
Copy link
Member Author

From @GoogleCodeExporter on May 26, 2015 18:56

Found a workaround (r1826) to avoid segmentation faults. The data included
in the created window are cleared, but the window itself is not destroyed, only
when its parent is deleted -> here the MainWindow. It seems that child
CloudViewer windows don't crash when deleted on application exit.

Original comment by matla...@gmail.com on 2 Oct 2014 at 7:35

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant