-
Notifications
You must be signed in to change notification settings - Fork 185
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 when using panel function of PyNGL #682
Comments
Two common causes:
Could one of these two conditions apply? |
No, I'm using the Julia from the downloads page on the website, and neither PyNGL nor any of the underlying NCL libraries make use of LLVM. |
Try pycall(ngl.generate_2d_array, PyObject, [180, 360], 5, 4, -5, 6)
pycall(ngl.generate_2d_array, PyObject, [180, 360], 4, 3, -4, 5) in case it is getting confused by Julia arrays (e.g. if it falsely assumes all NumPy arrays are row-major it will get confused by Julia column-major NumPy arrays). |
I tried that, and that doesn't work either. I went ahead and compiled PyNGL with debugging options, and it is segfaulting on the |
Not sure what could be causing it. Here's a sample script to produce it (on Linux, Julia 1.1.0):
And the stacktrace:
The same script in Python has no issues. I haven't had issues using any other PyNGL functions, but Ngl.panel causes Julia to crash every time.
The text was updated successfully, but these errors were encountered: