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

malloc(): memory corruption #34

Closed
CydKnocking opened this issue Sep 3, 2019 · 3 comments
Closed

malloc(): memory corruption #34

CydKnocking opened this issue Sep 3, 2019 · 3 comments

Comments

@CydKnocking
Copy link

CydKnocking commented Sep 3, 2019

I've successfully installed g2o on Python 3.6.8 following the instructions.
But when I import g2o, the following error occurred:
>>> import g2o
malloc(): memory corruption
Aborted (core dumped)
and my python exits automatically.
I'm using Ubuntu 18.04.1 as a virtual machine on my computer. Is it an issue related to my system or just a bug in g2opy?

@CydKnocking
Copy link
Author

What's more, now I switched to Ubuntu 16.04.3 and successfully installed g2o on Python 3.5.2. However, an Segmentation fault occurred when I import g2o:
>>> import g2o
Segmentation fault (core dumped)
and python exits automatically again.
When I installed g2o at the last step in the instructions, there's the information shown in the terminal:
$ sudo python3.5 setup.py install
running install
copying ./lib/g2o.cpython-35m-x86_64-linux-gnu.so -> /usr/lib/python3/dist-packages
Is there something about python3 or python3.5? But there's no folder named dist-packages under python3.5...

@lookingz
Copy link

Try install package "libqglviewer-dev-qt4", then rebuild g2o and g2opy.

@CydKnocking
Copy link
Author

Try install package "libqglviewer-dev-qt4", then rebuild g2o and g2opy.

Thanks a lot. I got the wrong way to rebuild g2opy...

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

No branches or pull requests

2 participants