-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
simple snippets got core dumped #348
Comments
Can you build in debug and try valgrind? That's typically pretty good at spotting things like memory corruption issues and initialized variables. |
@sjulier I haven't managed built which this repo contains commit g2o version, but with newest g2o clone from master branch, it's easy to reveal this bug. And currently still have no idea what's going on.. |
I don't have a machine in front of me to compile and test your code. valgrind will give a deep dive of what the code is doing. |
Hi, @jinfagang , I'm facing the same problem. Did you solve it? The code you mentioned here is like a 'textbook'. My problem comes from when i new a vertex or a edge like [g2o::VertexSE3Expmap *v = new g2o::VertexSE3Expmap();] which is defined in g2o, the whole project collapsed as SIGART no matter what is in your cpp. However, using custom vertex or edge is okay. Do you have any comments on this? Looking forward to generous help. |
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 14 days. |
This issue was closed because it has been stalled for 14 days with no activity. |
here is a simple program:
It compiles with linking to g2o, but when run, got this error:
Anybody know why?
The text was updated successfully, but these errors were encountered: