{"action":"opened","issue":{"url":"https://api.github.com/repos/matplotlib/matplotlib/issues/6572","repository_url":"https://api.github.com/repos/matplotlib/matplotlib","labels_url":"https://api.github.com/repos/matplotlib/matplotlib/issues/6572/labels{/name}","comments_url":"https://api.github.com/repos/matplotlib/matplotlib/issues/6572/comments","events_url":"https://api.github.com/repos/matplotlib/matplotlib/issues/6572/events","html_url":"https://github.com/matplotlib/matplotlib/issues/6572","id":159746463,"number":6572,"title":"segfault saving a high dpi png","user":{"login":"asmeurer","id":71486,"avatar_url":"https://avatars.githubusercontent.com/u/71486?v=3","gravatar_id":"","url":"https://api.github.com/users/asmeurer","html_url":"https://github.com/asmeurer","followers_url":"https://api.github.com/users/asmeurer/followers","following_url":"https://api.github.com/users/asmeurer/following{/other_user}","gists_url":"https://api.github.com/users/asmeurer/gists{/gist_id}","starred_url":"https://api.github.com/users/asmeurer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asmeurer/subscriptions","organizations_url":"https://api.github.com/users/asmeurer/orgs","repos_url":"https://api.github.com/users/asmeurer/repos","events_url":"https://api.github.com/users/asmeurer/events{/privacy}","received_events_url":"https://api.github.com/users/asmeurer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-06-11T00:35:44Z","updated_at":"2016-06-11T00:35:44Z","closed_at":null,"body":"To help us understand and resolve your issue please check that you have provided\r\nthe information below.\r\n\r\n- [x] Matplotlib version, Python version and Platform (Windows, OSX, Linux ...)\r\n\r\npython                    3.5.1                         0    defaults\r\nmatplotlib                1.5.1               np111py35_1    conda-forge\r\n\r\nMac OS X 10.11.6 (15G12a)\r\n\r\n- [x] How did you install Matplotlib and Python (pip, anaconda, from source ...)\r\n\r\nconda\r\n\r\n- [x] If possible please supply a [Short, Self Contained, Correct, Example](http://sscce.org/)\r\n      that demonstrates the issue i.e a small piece of code which reproduces the issue\r\n      and can be run with out any other (or as few as possible) external dependencies.\r\n\r\nRun [this script](https://github.com/asmeurer/mpmath/blob/mandelbrot-testing/demo/mandelbrot.py).  It takes a few minutes to run. At the end, if run with `python -X faulthandler`, this is the traceback:\r\n\r\n```\r\nFatal Python error: Segmentation fault\r\n\r\nCurrent thread 0x00007fff7b53f000 (most recent call first):\r\n  File \"/Users/aaronmeurer/anaconda3/lib/python3.5/site-packages/matplotlib/backends/backend_agg.py\", line 93 in __init__\r\n  File \"/Users/aaronmeurer/anaconda3/lib/python3.5/site-packages/matplotlib/backends/backend_agg.py\", line 486 in get_renderer\r\n  File \"/Users/aaronmeurer/anaconda3/lib/python3.5/site-packages/matplotlib/backends/backend_agg.py\", line 469 in draw\r\n  File \"/Users/aaronmeurer/anaconda3/lib/python3.5/site-packages/matplotlib/backends/backend_agg.py\", line 527 in print_png\r\n  File \"/Users/aaronmeurer/anaconda3/lib/python3.5/site-packages/matplotlib/backend_bases.py\", line 2232 in print_figure\r\n  File \"/Users/aaronmeurer/anaconda3/lib/python3.5/site-packages/matplotlib/figure.py\", line 1565 in savefig\r\n  File \"/Users/aaronmeurer/anaconda3/lib/python3.5/site-packages/matplotlib/pyplot.py\", line 688 in savefig\r\n  File \"/Users/aaronmeurer/anaconda3/lib/python3.5/site-packages/mpmath/visualization.py\", line 184 in cplot\r\n  File \"demo/mandelbrot.py\", line 48 in <module>\r\nSegmentation fault: 11\r\n```\r\n\r\n[Here's](https://gist.github.com/asmeurer/0be34a8762685ccb9664b4b8de480d57) the crash dump from OS X.\r\n\r\n- [x] If this is an image generation bug attach a screenshot demonstrating the issue.\r\n- [x] If this is a regression (Used to work in an earlier version of Matplotlib), please \r\n      note where it used to work.\r\n\r\nDidn't check.\r\n\r\nIf you change the DPI on the plot call (last line) to 1000, it runs fine. \r\n\r\nLet me know if there is anything else I can do to help here. "}}
{"actor":{"display_login":"asmeurer"}}