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
numpy throws munmap_chunk(): invalid pointer when freeing its cache #14102
Comments
@siddharth-singh-mindtickle what is the code you are running? My first reaction is to think there is either something specfic to what you do, or something wrong with the setup itself. |
Nothing fancy, just reading a json, processing in pandas and saving it, tried two ways, once by using to_save next by loop, but I still have the issue,
|
@siddharth-singh-mindtickle just found this again. Can you make sure to give a full example? (please try to make it minimal, i.e. if you do not need to put up a big txt to load, that would be better). It will be impossible for anyone here to debug numpy unless we can reproduce the issue, and we may have to just close it then unfortunately. |
no follow-up for 2.5 years, so I'll close this |
The Python code in a Docker container running Ubuntu bionic with Python 3.7.3 throws munmap_chunk(): invalid pointer(), I used memory profiling to monitor the amount of memory used and its at max 160MB, the Docker container has 1024MB assigned to it.
Through GDB I received the following backtrace which points to numpy free cache snippets in the source code.
Relevant Source Code at Numpy
https://github.com/numpy/numpy/blob/master/numpy/core/src/multiarray/alloc.c 264, 104(deallocation called)
https://github.com/numpy/numpy/blob/master/numpy/core/src/multiarray/arrayobject.c 533, 520 cache free operations
Error message:
Numpy/Python version information:
PYTHON : 3.7.3
numpy: 1.16.4
A Much more detailed Trace from a Stretch Distro Base
podlogs.txt
The text was updated successfully, but these errors were encountered: