René's URL Explorer Experiment


Title: [Bug]: Segmentation fault on macOS when using matplotlib.pyplot.ion() in IPython · Issue #27808 · matplotlib/matplotlib · GitHub

Open Graph Title: [Bug]: Segmentation fault on macOS when using matplotlib.pyplot.ion() in IPython · Issue #27808 · matplotlib/matplotlib

X Title: [Bug]: Segmentation fault on macOS when using matplotlib.pyplot.ion() in IPython · Issue #27808 · matplotlib/matplotlib

Description: Bug summary When using matplotlib.pyplot.ion() in an instance of IPython, after around 15-30 minutes the IPython instance will exit and "Segmentation fault 11" is printed in the terminal. This occurs with or without additional code execu...

Open Graph Description: Bug summary When using matplotlib.pyplot.ion() in an instance of IPython, after around 15-30 minutes the IPython instance will exit and "Segmentation fault 11" is printed in the terminal. This occu...

X Description: Bug summary When using matplotlib.pyplot.ion() in an instance of IPython, after around 15-30 minutes the IPython instance will exit and "Segmentation fault 11" is printed in the terminal....

Opengraph URL: https://github.com/matplotlib/matplotlib/issues/27808

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Bug]: Segmentation fault on macOS when using matplotlib.pyplot.ion() in IPython","articleBody":"### Bug summary\r\n\r\nWhen using matplotlib.pyplot.ion() in an instance of IPython, after around 15-30 minutes the IPython instance will exit and \"Segmentation fault 11\" is printed in the terminal. This occurs with or without additional code execution or interaction with the terminal, and seems to simply happen after some amount of time.\r\n\r\n### Code for reproduction\r\n\r\n```python\r\nimport matplotlib.pyplot as plt\r\n\r\nplt.ion()\r\n```\r\n\r\n\r\n### Actual outcome\r\n\r\n```\r\nIn [1]: import matplotlib.pyplot as plt\r\n\r\nIn [2]: plt.ion()\r\nOut[2]: \u003ccontextlib.ExitStack at 0x102af0b50\u003e\r\n\r\nIn [3]: Segmentation fault: 11\r\n```\r\n\r\nTo be clear, IPython does not immediately segfault, it happens after upward of 15 minutes of being idle (or being used).\r\n\r\n### Expected outcome\r\n\r\nI would expect the terminal to remain open indefinitely.\r\n\r\n### Additional information\r\n\r\nI have reproduced this bug with both:\r\n`Python 3.11.7, IPython 8.21.0, matplotlib 3.8.3`\r\nand \r\n`Python 3.9.18, IPython 8.18.1, matplotlib 3.8.2`\r\n\r\nBoth versions of Python were installed using homebrew.\r\n\r\n- I do not recall this happening with the previous version of Sonoma I was using (14.3).\r\n- I am using an M1 MacBook Pro.\r\n- I have tried uninstalling and reinstalling matplotlib, which made no difference.\r\n- My IPython instances that have not used `plt.ion()` do not experience this behaviour and will remain open indefinitely.\r\n\r\n### Operating system\r\n\r\nmacOS Sonoma 14.3.1\r\n\r\n### Matplotlib Version\r\n\r\n3.8.3\r\n\r\n### Matplotlib Backend\r\n\r\nMacOSX\r\n\r\n### Python version\r\n\r\n3.11.7\r\n\r\n### Jupyter version\r\n\r\n_No response_\r\n\r\n### Installation\r\n\r\npip","author":{"url":"https://github.com/mphanderson","@type":"Person","name":"mphanderson"},"datePublished":"2024-02-21T18:44:29.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":7},"url":"https://github.com/27808/matplotlib/issues/27808"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:14d82871-8130-846f-ae34-eb5ecf1182dd
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idAE38:2496BF:542BAB:750DD5:696A7669
html-safe-noncedb994b0f9e364d8b710d63bfafa592fa0183163d832467c42e6c8a61cd433da5
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRTM4OjI0OTZCRjo1NDJCQUI6NzUwREQ1OjY5NkE3NjY5IiwidmlzaXRvcl9pZCI6IjM0MDMyNjYwMDkwNDcxMzU4NDkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac812fca2735d785892fffc1f7e988fac812065cea994c7bd27399126d5d2c0f0e
hovercard-subject-tagissue:2147457683
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/matplotlib/matplotlib/27808/issue_layout
twitter:imagehttps://opengraph.githubassets.com/3cd87c698fad289e6c87b1462ebd4642c2f563fddf02f1a0ac2f1ffc7bad6c5d/matplotlib/matplotlib/issues/27808
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/3cd87c698fad289e6c87b1462ebd4642c2f563fddf02f1a0ac2f1ffc7bad6c5d/matplotlib/matplotlib/issues/27808
og:image:altBug summary When using matplotlib.pyplot.ion() in an instance of IPython, after around 15-30 minutes the IPython instance will exit and "Segmentation fault 11" is printed in the terminal. This occu...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemphanderson
hostnamegithub.com
expected-hostnamegithub.com
Nonecfa223d62d272274e0b68350b4bd7741f3ca7498b8c4b8b1bc1e6deabbdbc09d
turbo-cache-controlno-preview
go-importgithub.com/matplotlib/matplotlib git https://github.com/matplotlib/matplotlib.git
octolytics-dimension-user_id215947
octolytics-dimension-user_loginmatplotlib
octolytics-dimension-repository_id1385122
octolytics-dimension-repository_nwomatplotlib/matplotlib
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1385122
octolytics-dimension-repository_network_root_nwomatplotlib/matplotlib
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release6a0b6893c221f98f607598e939299fdf5763435d
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/matplotlib/matplotlib/issues/27808#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmatplotlib%2Fmatplotlib%2Fissues%2F27808
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmatplotlib%2Fmatplotlib%2Fissues%2F27808
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=matplotlib%2Fmatplotlib
Reloadhttps://github.com/matplotlib/matplotlib/issues/27808
Reloadhttps://github.com/matplotlib/matplotlib/issues/27808
Reloadhttps://github.com/matplotlib/matplotlib/issues/27808
matplotlib https://github.com/matplotlib
matplotlibhttps://github.com/matplotlib/matplotlib
Please reload this pagehttps://github.com/matplotlib/matplotlib/issues/27808
Notifications https://github.com/login?return_to=%2Fmatplotlib%2Fmatplotlib
Fork 8.2k https://github.com/login?return_to=%2Fmatplotlib%2Fmatplotlib
Star 22.2k https://github.com/login?return_to=%2Fmatplotlib%2Fmatplotlib
Code https://github.com/matplotlib/matplotlib
Issues 1.1k https://github.com/matplotlib/matplotlib/issues
Pull requests 402 https://github.com/matplotlib/matplotlib/pulls
Actions https://github.com/matplotlib/matplotlib/actions
Projects 2 https://github.com/matplotlib/matplotlib/projects
Wiki https://github.com/matplotlib/matplotlib/wiki
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/matplotlib/matplotlib/security
Please reload this pagehttps://github.com/matplotlib/matplotlib/issues/27808
Insights https://github.com/matplotlib/matplotlib/pulse
Code https://github.com/matplotlib/matplotlib
Issues https://github.com/matplotlib/matplotlib/issues
Pull requests https://github.com/matplotlib/matplotlib/pulls
Actions https://github.com/matplotlib/matplotlib/actions
Projects https://github.com/matplotlib/matplotlib/projects
Wiki https://github.com/matplotlib/matplotlib/wiki
Security https://github.com/matplotlib/matplotlib/security
Insights https://github.com/matplotlib/matplotlib/pulse
New issuehttps://github.com/login?return_to=https://github.com/matplotlib/matplotlib/issues/27808
New issuehttps://github.com/login?return_to=https://github.com/matplotlib/matplotlib/issues/27808
[Bug]: Segmentation fault on macOS when using matplotlib.pyplot.ion() in IPythonhttps://github.com/matplotlib/matplotlib/issues/27808#top
OS: Applehttps://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22OS%3A%20Apple%22
https://github.com/mphanderson
https://github.com/mphanderson
mphandersonhttps://github.com/mphanderson
on Feb 21, 2024https://github.com/matplotlib/matplotlib/issues/27808#issue-2147457683
OS: Applehttps://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22OS%3A%20Apple%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.