| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:b618ffa8-296a-52ec-df73-9005311c2e52 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EC60:A70A9:1E3DE08:27D5A58:6B022F5B |
| html-safe-nonce | d5efcaf7cf7a3264c1b10d489d56715011033b73c2693ffe389ac6961edd30b7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQzYwOkE3MEE5OjFFM0RFMDg6MjdENUE1ODo2QjAyMkY1QiIsInZpc2l0b3JfaWQiOiIxODE0NDcyNTk1OTk1NzY2NjE5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | e83d3244732fea9fa3c1728d4f363d649cd4d292eeb26babcbb233ab87d92a03 |
| hovercard-subject-tag | issue:3172080363 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/issues_fragments/issue_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/135893/issue_layout |
| twitter:image | https://opengraph.githubassets.com/a08a74b53ea800921ea8cf6a490230e91f6b978116f6c768fd99c89451493621/python/cpython/issues/135893 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a08a74b53ea800921ea8cf6a490230e91f6b978116f6c768fd99c89451493621/python/cpython/issues/135893 |
| og:image:alt | Bug report Bug description: On python 3.13 (Fedora), importing ctypes results in the following output from lsfd: python3 893377 daandemeyer mem r-x--- REG 0:37 0 304862113 /usr/lib64/libffi.so.8.1.... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | daandemeyer |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| 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 | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
| Skip to content | https://github.com/python/cpython/issues/135893#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fissues%2F135893 |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fissues%2F135893 |
| 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=python%2Fcpython |
| Reload | https://github.com/python/cpython/issues/135893 |
| Reload | https://github.com/python/cpython/issues/135893 |
| Reload | https://github.com/python/cpython/issues/135893 |
| python | https://github.com/python |
| cpython | https://github.com/python/cpython |
| Code | https://github.com/python/cpython |
| Issues5k+ (5k+) | https://github.com/python/cpython/issues |
| Pull requests2.4k (2.4k) | https://github.com/python/cpython/pulls |
| Actions | https://github.com/python/cpython/actions |
| Projects | https://github.com/python/cpython/projects |
| Security and quality | https://github.com/python/cpython/security |
| Insights | https://github.com/python/cpython/insights |
| https://github.com/python/cpython |
| New issue | https://github.com/login?return_to=https://github.com/python/cpython/issues/135893 |
| New issue | https://github.com/login?return_to=https://github.com/python/cpython/issues/135893 |
| Importing ctypes results in extra open libffi file descriptor since 3.14 | https://github.com/python/cpython/issues/135893#top |
| extension-modulesC modules in the Modules dir | https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22extension-modules%22 |
| topic-ctypes | https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22topic-ctypes%22 |
| type-bugAn unexpected behavior, bug, or error | https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-bug%22 |
| https://github.com/daandemeyer |
| daandemeyer | https://github.com/daandemeyer |
| on Jun 24, 2025 | https://github.com/python/cpython/issues/135893#issue-3172080363 |
| https://github.com/systemd/mkosi | https://github.com/systemd/mkosi |
| gh-135893: Lazily initialize the libffi allocator in ctypes #161844 | https://github.com/python/cpython/pull/161844 |
| [3.15] gh-135893: Lazily initialize the libffi allocator in ctypes (GH-161844) #161975 | https://github.com/python/cpython/pull/161975 |
| [3.14] gh-135893: Lazily initialize the libffi allocator in ctypes (GH-161844) #161976 | https://github.com/python/cpython/pull/161976 |
| Next | https://github.com/python/cpython/issues/135893?timeline_page=1 |
| daandemeyer | https://github.com/daandemeyer |
| type-bugAn unexpected behavior, bug, or error | https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-bug%22 |
| on Jun 24, 2025 | https://github.com/python/cpython/issues/135893#event-18295398082 |
| picnixz | https://github.com/picnixz |
| topic-ctypes | https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22topic-ctypes%22 |
| extension-modulesC modules in the Modules dir | https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22extension-modules%22 |
| on Jun 24, 2025 | https://github.com/python/cpython/issues/135893#event-18295651604 |
| https://github.com/behrmann |
| behrmann | https://github.com/behrmann |
| on Jun 24, 2025 | https://github.com/python/cpython/issues/135893#issuecomment-3001118635 |
| https://github.com/vstinner |
| vstinner | https://github.com/vstinner |
| on Jun 24, 2025 | https://github.com/python/cpython/issues/135893#issuecomment-3001173337 |
| 04d4aac | https://github.com/python/cpython/commit/04d4aacaacbe26146e9b5ff6b0043f86f3c543d4 |
| gh-128485 | https://github.com/python/cpython/issues/128485 |
| @kumaraditya303 | https://github.com/kumaraditya303 |
| https://github.com/vstinner |
| vstinner | https://github.com/vstinner |
| on Jun 24, 2025 | https://github.com/python/cpython/issues/135893#issuecomment-3001175749 |
| https://github.com/systemd/mkosi | https://github.com/systemd/mkosi |
| https://github.com/daandemeyer |
| daandemeyer | https://github.com/daandemeyer |
| on Jun 25, 2025 | https://github.com/python/cpython/issues/135893#issuecomment-3003795627 |
| https://github.com/systemd/mkosi | https://github.com/systemd/mkosi |
| https://github.com/daandemeyer |
| daandemeyer | https://github.com/daandemeyer |
| on Jun 25, 2025 | https://github.com/python/cpython/issues/135893#issuecomment-3004087538 |
| https://github.com/vstinner |
| vstinner | https://github.com/vstinner |
| on Jun 25, 2025 | https://github.com/python/cpython/issues/135893#issuecomment-3004132904 |
| https://github.com/daandemeyer |
| daandemeyer | https://github.com/daandemeyer |
| on Jun 25, 2025 | https://github.com/python/cpython/issues/135893#issuecomment-3004140272 |
| @behrmann | https://github.com/behrmann |
| https://github.com/kumaraditya303 |
| kumaraditya303 | https://github.com/kumaraditya303 |
| on Jun 25, 2025 | https://github.com/python/cpython/issues/135893#issuecomment-3004287190 |
| daandemeyer | https://github.com/daandemeyer |
| on Jun 25, 2025 | https://github.com/python/cpython/issues/135893#event-18314163682 |
| sandbox: Work around extra file descriptor opened by importing ctypes… | https://github.com/daandemeyer/mkosi/commit/68b3ecc5b9812f1de825bb2611467c0d32f9529c |
| 68b3ecc | https://github.com/daandemeyer/mkosi/commit/68b3ecc5b9812f1de825bb2611467c0d32f9529c |
| https://github.com/vstinner |
| vstinner | https://github.com/vstinner |
| on Jun 25, 2025 | https://github.com/python/cpython/issues/135893#issuecomment-3004401665 |
| https://github.com/kumaraditya303 |
| kumaraditya303 | https://github.com/kumaraditya303 |
| on Jun 25, 2025 | https://github.com/python/cpython/issues/135893#issuecomment-3004436656 |
| https://github.com/daandemeyer |
| daandemeyer | https://github.com/daandemeyer |
| on Jun 25, 2025 | https://github.com/python/cpython/issues/135893#issuecomment-3004481384 |
| daandemeyer | https://github.com/daandemeyer |
| on Jun 25, 2025 | https://github.com/python/cpython/issues/135893#event-18315363318 |
| sandbox: Work around extra file descriptor opened by importing ctypes… | https://github.com/daandemeyer/mkosi/commit/694c8d2721cd6d1081caf39641f615aa81d5f8a0 |
| 694c8d2 | https://github.com/daandemeyer/mkosi/commit/694c8d2721cd6d1081caf39641f615aa81d5f8a0 |
| https://github.com/behrmann |
| behrmann | https://github.com/behrmann |
| on Jun 25, 2025 | https://github.com/python/cpython/issues/135893#issuecomment-3004643210 |
| @kumaraditya303 | https://github.com/kumaraditya303 |
| https://github.com/kumaraditya303 |
| kumaraditya303 | https://github.com/kumaraditya303 |
| on Jun 25, 2025 | https://github.com/python/cpython/issues/135893#issuecomment-3004657760 |
| https://github.com/behrmann |
| behrmann | https://github.com/behrmann |
| on Jun 25, 2025 | https://github.com/python/cpython/issues/135893#issuecomment-3004720844 |
| @vstinner | https://github.com/vstinner |
| https://github.com/behrmann |
| behrmann | https://github.com/behrmann |
| on Jun 25, 2025 | https://github.com/python/cpython/issues/135893#issuecomment-3004772215 |
| https://github.com/behrmann |
| behrmann | https://github.com/behrmann |
| on Jun 25, 2025 | https://github.com/python/cpython/issues/135893#issuecomment-3005012872 |
| Ubuntu | https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1108097 |
| Arch | https://gitlab.archlinux.org/archlinux/packaging/packages/libffi/-/blob/2586f930ba581f2df5152c18f71634be2825fea0/PKGBUILD#L32 |
| Fedora for 3.4.4 | https://src.fedoraproject.org/rpms/libffi/c/6d176a7c520b417352b2341bc68f8242b0c3f6c3?branch=rawhide |
| libffi/libffi@9ba5592 | https://github.com/libffi/libffi/commit/9ba559217bea0803263a9a9a0bafcf9203606f5b |
| @bluca | https://github.com/bluca |
| libffi/libffi@9ba5592 | https://github.com/libffi/libffi/commit/9ba559217bea0803263a9a9a0bafcf9203606f5b |
| https://github.com/bluca |
| bluca | https://github.com/bluca |
| on Jun 25, 2025 | https://github.com/python/cpython/issues/135893#issuecomment-3005013186 |
| libffi/libffi@9ba5592 | https://github.com/libffi/libffi/commit/9ba559217bea0803263a9a9a0bafcf9203606f5b |
| https://github.com/daandemeyer |
| daandemeyer | https://github.com/daandemeyer |
| on Jun 26, 2025 | https://github.com/python/cpython/issues/135893#issuecomment-3007760946 |
| libffi/libffi#926 | https://github.com/libffi/libffi/pull/926 |
| https://github.com/vstinner |
| vstinner | https://github.com/vstinner |
| on Jun 19, 2026 | https://github.com/python/cpython/issues/135893#issuecomment-4750179910 |
| libffi/libffi#926 | https://github.com/libffi/libffi/pull/926 |
| libffi/libffi@6067118 | https://github.com/libffi/libffi/commit/60671187688ae3b295ab0e1dd77a8d6dd7a805a2 |
| ZeroIntensity | https://github.com/ZeroIntensity |
| [macOS x86_64, python >= 3.14] Process hangs when importing ctypes from embedded interpreter in a x86_64 macOS executable with enabled hardened runtime #160627 | https://github.com/python/cpython/issues/160627 |
| on Nov 12, 2026 | https://github.com/python/cpython/issues/135893#event-35862437715 |
| https://github.com/ZeroIntensity |
| ZeroIntensity | https://github.com/ZeroIntensity |
| on Nov 12, 2026 | https://github.com/python/cpython/issues/135893#issuecomment-6812271785 |
| #161844 | https://github.com/python/cpython/pull/161844 |
| ZeroIntensity | https://github.com/ZeroIntensity |
| on Nov 14, 2026 | https://github.com/python/cpython/issues/135893#event-36099944552 |
| gh-135893: Lazily initialize the libffi allocator in ctypes (GH-161844) | https://github.com/python/cpython/commit/9b633f55e1124697372caaec319a3b7583531a74 |
| gh-135893 | https://github.com/python/cpython/issues/135893 |
| GH-161844 | https://github.com/python/cpython/pull/161844 |
| 9b633f5 | https://github.com/python/cpython/commit/9b633f55e1124697372caaec319a3b7583531a74 |
| ZeroIntensity | https://github.com/ZeroIntensity |
| completed | https://github.com/python/cpython/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted |
| on Nov 14, 2026 | https://github.com/python/cpython/issues/135893#event-36099987983 |
| ZeroIntensity | https://github.com/ZeroIntensity |
| on Nov 14, 2026 | https://github.com/python/cpython/issues/135893#event-36101470213 |
| [3.15] gh-135893: Lazily initialize the libffi allocator in ctypes (G… | https://github.com/python/cpython/commit/e57a9891990d9191cd19394c3c03db65b5be042b |
| gh-135893 | https://github.com/python/cpython/issues/135893 |
| G… | https://github.com/python/cpython/pull/161844 |
| e57a989 | https://github.com/python/cpython/commit/e57a9891990d9191cd19394c3c03db65b5be042b |
| [3.14] gh-135893: Lazily initialize the libffi allocator in ctypes (G… | https://github.com/python/cpython/commit/ca73314c422fd1303f2152634dba91e2e2e2a7df |
| gh-135893 | https://github.com/python/cpython/issues/135893 |
| G… | https://github.com/python/cpython/pull/161844 |
| ca73314 | https://github.com/python/cpython/commit/ca73314c422fd1303f2152634dba91e2e2e2a7df |
| Sign up for free | https://github.com/signup?return_to=https://github.com/python/cpython/issues/135893 |
| Sign in to comment | https://github.com/login?return_to=https://github.com/python/cpython/issues/135893 |
| extension-modulesC modules in the Modules dir | https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22extension-modules%22 |
| topic-ctypes | https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22topic-ctypes%22 |
| type-bugAn unexpected behavior, bug, or error | https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-bug%22 |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |