Closed fasiha closed 6 years ago
this is on osx it seems? (judging from the python startup message.)
i cannot reproduce on linux:
$ ipython
[Python 3.6.3, IPython 6.3.0, sys.prefix ~/.virtualenvs/tmp-5254c794d5a5619a]
>>> import plyvel
>>>
Do you really want to exit ([y]/n)?
$
does this also happen with plain python
?
bump
bump
not sure what you think you're doing, but you're just adding noise, @evandrix
I also experienced the error "Attempt to free invalid pointer" using Jupyter Lab on Mac when importing the Plyvel library. However, the workaround was to move the import statement and database accessor function into a separate .py file and simply import that file into the notebook and call your functions as needed.
When I install plyvel and IPython in a fresh virtualenv (Python 3.6.4), I encounter an unexpected memory-related error when closing IPython that I don't see when I use plain Python, specifically,
src/tcmalloc.cc:331] Attempt to free invalid pointer 0x7fcce28480f0
.For example, creating a fresh virtualenv, installing the two packages, and just importing plyvel in IPython shows the warning, while the same import in Python seems fine:
pip freeze
says I haveplyvel==1.0.4
andipython==6.2.1
(and all their dependencies). Note that I don't encounter any problems using plyvel, just, when I close IPython after working with plyvel I see this error and not knowing why is causing me mild heartburn. Thanks, I love plyvel!