caffe
caffe copied to clipboard
Abort when exit from ipython
I have compiled caffe successfully on mac os 10.13.3. but when I import caffe and then exit from ipython, it aborts unexceptedly, as well as other python REPL.
I haven't read caffe source code, but I think it might be a "memory leak".
➜ caffe git:(master) ✗ ipython
Python 2.7.14 (default, Feb 6 2018, 20:04:00)
Type "copyright", "credits" or "license" for more information.
IPython 5.5.0 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object', use 'object??' for extra details.
In [1]: import caffe
In [2]: exit
src/tcmalloc.cc:331] Attempt to free invalid pointer 0x7fa2ce11f600
[1] 4293 abort ipython
➜ caffe git:(master) ✗