Closed ilham-bintang closed 4 years ago
Fix regarding this issue: #34
Thank you for your detailed information. As far as I investigated, this segmention fault is caused by pybind11 v2.3.0. To avoid this fault, please build ngtpy from source with pybind11 v2.4.0 or older than equal v2.2.4. Ngtpys of pypi from v1.7.6 to v1.7.9 have the same problem. Another option is using ngt python ctypes bindings.
I have released a ngt python package to resolve this issue.
I did not know this exactly pytorch issue or ngt issue. I also submit this issue in pytorch https://github.com/pytorch/pytorch/issues/26405#issue-495238678
π Bug
I can import pytorch properly
After import other library (ngtpy, flair, or other), it raised segfault core dump
If I swap the import (ngtpy first), it will raised
free(): invalid pointer
.I did not know what happened. I use ngt (https://github.com/yahoojapan/NGT)
To Reproduce
Steps to reproduce the behavior:
Expected behavior
can import properly
Environment
Additional context
I inspect it using gdb, and the backtrace output: