Skip to content

pandas.show_versions causing malloc_error_break #13282

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

Closed
nparley opened this issue May 25, 2016 · 1 comment
Closed

pandas.show_versions causing malloc_error_break #13282

nparley opened this issue May 25, 2016 · 1 comment
Labels
Bug Compat pandas objects compatability with Numpy or Python functions
Milestone

Comments

@nparley
Copy link
Contributor

nparley commented May 25, 2016

If blosc is installed show_versions() will caused python to produce a malloc_error_break (double free) error on exiting. This can be seen in the travis runs under source activate pandas && ci/print_versions.py section but can also be easily replicated on Linux and Mac. The fix for this is to replace imp (which has been deprecated) with importlib. I will create and link a PR.

>>> import pandas
>>> pandas.show_versions()

INSTALLED VERSIONS
------------------
commit: e0a2e3bc51f9e178f72c44e6de06700ee0bf31c6
python: 2.7.11.final.0
python-bits: 64
OS: Darwin
OS-release: 15.5.0
machine: x86_64
processor: i386
byteorder: little
LC_ALL: None
LANG: en_GB.UTF-8

pandas: 0.18.1+66.ge0a2e3b
nose: 1.3.7
pip: 8.1.1
setuptools: 20.7.0
Cython: 0.24
numpy: 1.11.0
scipy: 0.17.0
statsmodels: None
xarray: None
IPython: 4.1.2
sphinx: None
patsy: None
dateutil: 2.5.2
pytz: 2016.3
blosc: 1.3.2
bottleneck: None
tables: None
numexpr: None
matplotlib: 1.5.1
openpyxl: None
xlrd: 0.9.4
xlwt: None
xlsxwriter: None
lxml: None
bs4: None
html5lib: None
httplib2: None
apiclient: None
sqlalchemy: None
pymysql: None
psycopg2: None
jinja2: 2.8
boto: None
pandas_datareader: None```

>>> 
python(1726,0x7fff77074000) malloc: *** error for object 0x102573a00: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
Abort trap: 6

@jreback
Copy link
Contributor

jreback commented May 25, 2016

excellent @nparley

@jreback jreback added Bug Compat pandas objects compatability with Numpy or Python functions labels May 25, 2016
@jreback jreback added this to the 0.18.2 milestone May 25, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Compat pandas objects compatability with Numpy or Python functions
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants