-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Segmentation fault inside _backend_agg.so #7050
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
Comments
So I can't seem to reproduce this on the latest version of matplotlib, but since I still haven't identified how this was fixed I'm going to leave this open. It seems vaguely related to the discussion in this comment: #3626 (comment) @mdboom do you have any insight into this one? |
Also asked in gitter, what is |
Further down the stack:
|
It's creating an imshow plot (with an image of a slice through an unstructured mesh dataset), and then drawing lines on top of the image to mark the boundaries of the mesh cells using a |
Closing on the basis that it appears to be fixed in 2.0, but feel free to request a reopen if this is not the case. |
Maybe related: we are getting occasional segfaults running a plot script on our shipboard systems. The dmesg errors all look like this:
We have seen this with mpl 2.1.1, Python 3.6.5 (xubuntu 18.04) and with mpl 1.5.1, Python 2.7.12. |
I'm going to close this again. The original issue is fixed and the other reports are on unsupported versions. |
This came up in the context of the yt test suite. To reproduce it using the test script I've include here requires yt 3.3.1 or the latest development version of yt to be installed. We regularly trigger this during our test suite which uses matplotlib 1.5.1.
The stack trace I get back from the apple crash reporter consists only of calls to (including just the first three)
In addition, we were able to capture this in GDB and get a python traceback as well: https://gist.github.com/ngoldbaum/7538f71644ec4248b41d9d0d1f6bef34
Note that the seg fault does not happen every time you run the test script. I've been able to trigger it by running e.g. this bash for loop:
Finally, I tried updating matplotlib to 2.0b3 from the prerelease wheels on pypi, and that seems to have fixed it? I'm going to try running the test script 1000 times to see if I can reproduce on matplotlib 2.0b3, but if I can't then maybe this is already fixed upstream.
The text was updated successfully, but these errors were encountered: