Title: wx segfault · Issue #11582 · matplotlib/matplotlib · GitHub
Open Graph Title: wx segfault · Issue #11582 · matplotlib/matplotlib
X Title: wx segfault · Issue #11582 · matplotlib/matplotlib
Description: The following script (opening two figures, and triggering a figure quit via the keyboard shortcut on a timer 1 second after the second figure is drawn) segfaults when used with the wx{,agg} backend. It works as expected (closing the seco...
Open Graph Description: The following script (opening two figures, and triggering a figure quit via the keyboard shortcut on a timer 1 second after the second figure is drawn) segfaults when used with the wx{,agg} backend...
X Description: The following script (opening two figures, and triggering a figure quit via the keyboard shortcut on a timer 1 second after the second figure is drawn) segfaults when used with the wx{,agg} backend...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/11582
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"wx segfault","articleBody":"The following script (opening two figures, and triggering a figure quit via the keyboard shortcut on a timer 1 second after the second figure is drawn) segfaults when used with the wx{,agg} backend. It works as expected (closing the second figure after 1s) e.g. other backends.\r\n\r\n```\r\nfrom pylab import *\r\n\r\nplt.figure()\r\n\r\nfig = plt.figure()\r\ntimer = fig.canvas.new_timer(1000)\r\ntimer.add_callback(fig.canvas.key_press_event, \"q\")\r\nfig.canvas.mpl_connect(\"draw_event\", lambda event: timer.start())\r\nplt.show()\r\n```\r\n\r\nInterestingly, commenting out the first `plt.figure()` (which seemingly plays no role...) removes the segfault.\r\n\r\nNoted while working on the tests for #11581.\r\nMatplotlib master on Py3.6/Arch Linux.","author":{"url":"https://github.com/anntzer","@type":"Person","name":"anntzer"},"datePublished":"2018-07-05T23:12:16.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/11582/matplotlib/issues/11582"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:2fa290fa-351b-4e04-af80-9d2badd42725 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CD42:321E68:31BC718:476CB45:6A567FB7 |
| html-safe-nonce | 08611cee5154ac64033fa954938012ef3b61472684287c84e21707697f8098ca |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRDQyOjMyMUU2ODozMUJDNzE4OjQ3NkNCNDU6NkE1NjdGQjciLCJ2aXNpdG9yX2lkIjoiODE5MjY5MDA3MDY4OTg0MTA3OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | d8e85859f0f4ea45619919777975ac6eac96bf4236e9540521aff438bf793e8d |
| hovercard-subject-tag | issue:338754808 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/matplotlib/matplotlib/11582/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b68f407a7a8e227f470d6d246f754b2fcb16763ad1a364f5711112c1eb36e40e/matplotlib/matplotlib/issues/11582 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b68f407a7a8e227f470d6d246f754b2fcb16763ad1a364f5711112c1eb36e40e/matplotlib/matplotlib/issues/11582 |
| og:image:alt | The following script (opening two figures, and triggering a figure quit via the keyboard shortcut on a timer 1 second after the second figure is drawn) segfaults when used with the wx{,agg} backend... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | anntzer |
| hostname | github.com |
| expected-hostname | github.com |
| None | 19b5ee9431dcfce15ab4b001d626e4e3a6ba1acb7be814813a52bbebd9a86ef5 |
| turbo-cache-control | no-preview |
| go-import | github.com/matplotlib/matplotlib git https://github.com/matplotlib/matplotlib.git |
| octolytics-dimension-user_id | 215947 |
| octolytics-dimension-user_login | matplotlib |
| octolytics-dimension-repository_id | 1385122 |
| octolytics-dimension-repository_nwo | matplotlib/matplotlib |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1385122 |
| octolytics-dimension-repository_network_root_nwo | matplotlib/matplotlib |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | fc131753d059926755b1ab26f13a2c96a692f5d7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width