Title: Refresh Screen Provided By `curses.wrapper` Causes Seg Fault (macOS, xcode 15 Apple supplied ncurses 6.0 breakage) · Issue #109617 · python/cpython · GitHub
Open Graph Title: Refresh Screen Provided By `curses.wrapper` Causes Seg Fault (macOS, xcode 15 Apple supplied ncurses 6.0 breakage) · Issue #109617 · python/cpython
X Title: Refresh Screen Provided By `curses.wrapper` Causes Seg Fault (macOS, xcode 15 Apple supplied ncurses 6.0 breakage) · Issue #109617 · python/cpython
Description: Crash report What happened? MacOS began pushing out updates to XCode Command Line Tools to install 15.0 recently. Upon updating I began having issues with curses. This happens with the Python provided by Apple. I'm not aware of the best ...
Open Graph Description: Crash report What happened? MacOS began pushing out updates to XCode Command Line Tools to install 15.0 recently. Upon updating I began having issues with curses. This happens with the Python provi...
X Description: Crash report What happened? MacOS began pushing out updates to XCode Command Line Tools to install 15.0 recently. Upon updating I began having issues with curses. This happens with the Python provi...
Opengraph URL: https://github.com/python/cpython/issues/109617
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Refresh Screen Provided By `curses.wrapper` Causes Seg Fault (macOS, xcode 15 Apple supplied ncurses 6.0 breakage)","articleBody":"# Crash report\n\n### What happened?\n\nMacOS began pushing out updates to XCode Command Line Tools to install 15.0 recently. Upon updating I began having issues with `curses`. This happens with the Python provided by Apple. I'm not aware of the best way to communicate this issue to Apple, hopefully someone here knows who to ping or is watching.\n\n\nSave the below as `curses-segfault.py`:\n\n```python\nimport curses\n\ndef main(stdscr):\n stdscr.refresh()\n\ncurses.wrapper(main)\n```\n\nRun the script in `zsh` in MacOS Terminal via:\n\n```zsh\n/usr/bin/python3 curses-segfault.py\n```\n\nAn easy way to see if you got the update is via the terminal by running:\n\n```zsh\nsoftwareupdate --history\n```\n\n### CPython versions tested on:\n\n3.9\n\n### Operating systems tested on:\n\nmacOS\n\n### Output from running 'python -VV' on the command line:\n\npython3 -VV Python 3.9.6 (default, Aug 11 2023, 19:44:49) [Clang 15.0.0 (clang-1500.0.40.1)]\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-111258\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/timway","@type":"Person","name":"timway"},"datePublished":"2023-09-20T15:33:40.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":33},"url":"https://github.com/109617/cpython/issues/109617"}
| 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:23e3ef5c-ebea-706f-9206-872426e33d48 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BD44:A2022:361ED83:4A95B71:6A4F3A08 |
| html-safe-nonce | 5b93533646c3d361720841a78c19e0ec70677d09b8b6165b7e1b51d1f9e94fae |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRDQ0OkEyMDIyOjM2MUVEODM6NEE5NUI3MTo2QTRGM0EwOCIsInZpc2l0b3JfaWQiOiI0NDc3MzA0NjE1MzAyMjgxNzM2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 9efccbfb7c77f76bd283cbd9a8a08bd0322ae9e126d328911eeae763c7330b5c |
| hovercard-subject-tag | issue:1905255278 |
| 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/python/cpython/109617/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f9823da14f99fdefbad369ec56048752e50c101c328f539f9068d3b8d357a87d/python/cpython/issues/109617 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f9823da14f99fdefbad369ec56048752e50c101c328f539f9068d3b8d357a87d/python/cpython/issues/109617 |
| og:image:alt | Crash report What happened? MacOS began pushing out updates to XCode Command Line Tools to install 15.0 recently. Upon updating I began having issues with curses. This happens with the Python provi... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | timway |
| hostname | github.com |
| expected-hostname | github.com |
| None | b92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| 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 | 4b249b445842943ed31549e027f57a8ade9881ed |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width