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
segfault, if @njit is removed #9546
Comments
@TheTesla thank you for submitting this. It's a bit unusual that removing the |
here is the backtrace:
|
I tried to comment back in the
|
I also tried the following, which was fine, so basically this would indicate that Numba is involved in this segfault. This happens in both cases, with the decorator activate and with the decorator commented out.
|
@TheTesla I would recommend to try to address the warnings and failed compilation in order to work out what is wrong here. |
@TheTesla I debugged this with
Looks like this might be a Numba bug in typed-list.. |
Reusing the variable name makes the segfault: https://github.com/TheTesla/xyzcad/blob/debugsegfault/debugsegfault.py |
That could make sense, the error:
does indicate some issue resolving a phi node, so perhaps this is down to variable name re-use? It seems odd however that this would segfault instead of failing to compile. |
I get segmentation fault, if I remove the
@njit
decorator from my function:TheTesla/xyzcad@e847494
Maybe there is a problem in handling numba datatypes in plain python or in the conversion of datatypes between numba and python.
reproduce
tlt
python3 -m pip install -r requirements.txt
python3 demo.py
@njit
in line 550system
The text was updated successfully, but these errors were encountered: