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
Double free or corruption on numba import w/ icc-rt #6471
Comments
Thanks for the report @ryan-chien, I've tried to reproduce but unfortunately cannot:
could you run python under |
Yes - can you please tell me how to run python under gdb? |
Hey Stuart - one of my coworkers suggested that I try removing Ubuntu packages to see if one was the issue. The answer is yes - numba with icc_rt imports fine if I do not install |
Hi @ryan-chien,
Sure. First off, this demonstrates
the above binds to the
Assuming the above test works fine, the following line should catch the problem with
if you could please share the output of the backtrace from that it'd be appreciated, feel free to redact paths as desired. Many thanks! |
Thanks for testing this, this could hint at library/symbol version problems, the |
OK! Thanks for the example I don't think I would have figured out how to use gdb. Here is the output of the backtrace:
|
Also if you don't mind - hoping to learn something about memory pointers. If ctypes.CDLL(None) points to the following memory address:
Then why does trying to free |
Ref: https://docs.python.org/3/library/ctypes.html#loading-shared-libraries
As a result
As a result, |
Thanks for this, this is a bit strange, it looks like it's following the right path to open the |
Maybe so. Looks like
|
Well, I think they are related in that
what happens? |
Thanks for all of the effort looking into this. I think we can close the issue if you cannot reproduce. From my side I don't need |
No problem, I think that confirms it's unlikely a Numba problem. Suggest reporting to ubuntu upstream. Will close as suggested. Thanks for your efforts in debugging this! |
Did you find a solution for this? |
Hey Stuart and Siu,
I began having build errors for numba-accelerated libraries yesterday. I think it may be related to icc-rt. For example:
no-icc-rt env (this works fine):
yes-icc-rt env (abort due to corruption):
Any thoughts would be helpful. Thanks!
This is on an Ubuntu 18.04 on Docker v19.03.13 using Hyper-V.
BR,
Ryan
The text was updated successfully, but these errors were encountered: