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

Fix mac build, OpenCV4 compatibility, fix use-after-free causing memory corruption #177

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

shenberg
Copy link

I tested this out on Ubuntu 18.04 as well
OSX consistently crashes in the pangolin viewer because the connectivity graph is corrupted on frame publish. This, in turn, is because when marginalizing a frame, the EFFrame is freed and then used for updating the connectivity graph. This caused the connectivity graph to be accessed with invalid keys (target->frameID overwritten). However, std::map creates elements on access so invalid edges would be created instead of decrementing counts of existing edges.

@dawnos
Copy link

dawnos commented Nov 17, 2019

Thank a lot! It help!

@whubaichuan
Copy link

@shenberg @dawnos nogui=1: disable gui (good for performance) is a choice if you don't neet the GUI visularization.

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

Successfully merging this pull request may close these issues.

3 participants