Skip to content
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

malloc() crash when running notebook_on_intrinsicdim_densityest_clustering #4

Open
muhrin opened this issue Apr 20, 2021 · 2 comments

Comments

@muhrin
Copy link
Contributor

muhrin commented Apr 20, 2021

I'm getting the following failure which crashes the notebook kernel when running notebook_on_intrinsicdim_densityest_clustering:

malloc(): invalid next size (unsorted)

This was on the latest commit at the time of writing (7003c6f).

The error occurs when the notebook is trying to run _data.compute_clustering_optimised(Z = 1.65, halo=False)

I presume the error lies somewhere in the C code. If you'd like a C traceback just let me know and I'll try and attach a debugger.

@muhrin
Copy link
Contributor Author

muhrin commented Apr 29, 2021

Hi, just wanted to check if there was any update on this?

@AldoGl
Copy link
Collaborator

AldoGl commented Apr 30, 2021

Hi @muhrin,

your error is very strange and we are not able to reproduce it on any of our computers (running either macOS and Linux).

It is probably due to an erroneous Cython code generationm, or to an erroneous compilation of the C code generated. Since we changed the Cython code a bit in the last weeks you could check whether the problem is still there now, and perhaps it would be best to try to install the package in a new Python environment first. If the problem is still there, it could be useful to check which compiler you are using.

Please give us further information if you are not able to fix this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants