Title: _testcapi.set_nomemoy(0) will raise fatal error when --with-pydebug --with-trace-refs · Issue #138688 · python/cpython · GitHub
Open Graph Title: _testcapi.set_nomemoy(0) will raise fatal error when --with-pydebug --with-trace-refs · Issue #138688 · python/cpython
X Title: _testcapi.set_nomemoy(0) will raise fatal error when --with-pydebug --with-trace-refs · Issue #138688 · python/cpython
Description: Bug report Bug description: ./configure --with-pydebug --with-trace-refs make -j16 ./python more can check #138491 cc @ZeroIntensity import _testcapi _testcapi.set_nomeory(0) Python 3.15.0a0 (heads/main:5edfe55acf2, Sep 9 2025, 09:49:31)...
Open Graph Description: Bug report Bug description: ./configure --with-pydebug --with-trace-refs make -j16 ./python more can check #138491 cc @ZeroIntensity import _testcapi _testcapi.set_nomeory(0) Python 3.15.0a0 (heads...
X Description: Bug report Bug description: ./configure --with-pydebug --with-trace-refs make -j16 ./python more can check #138491 cc @ZeroIntensity import _testcapi _testcapi.set_nomeory(0) Python 3.15.0a0 (heads...
Opengraph URL: https://github.com/python/cpython/issues/138688
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"_testcapi.set_nomemoy(0) will raise fatal error when --with-pydebug --with-trace-refs","articleBody":"# Bug report\n\n### Bug description:\n\n```cli\n./configure --with-pydebug --with-trace-refs\nmake -j16\n./python\n```\n\nmore can check https://github.com/python/cpython/pull/138491 cc @ZeroIntensity \n\n```python\nimport _testcapi\n_testcapi.set_nomeory(0)\n```\n\n```bt\nPython 3.15.0a0 (heads/main:5edfe55acf2, Sep 9 2025, 09:49:31) [GCC 11.5.0 20240719 (Red Hat 11.5.0-5)] on linux\nType \"help\", \"copyright\", \"credits\" or \"license\" for more information.\n^[[A\u003e\u003e\u003e import _testcapi\nKeyboardInterrupt\n\nimport _testcapi\n_testcapi.set_nomemory(0)\nFatal Python error: _PyRefchain_Trace: _Py_hashtable_set() memory allocation failed\nPython runtime state: initialized\n\nCurrent thread 0x0000ffffa2ca8020 [python] (most recent call first):\nFile \"/home/hyi/cpython/Lib/_pyrepl/console.py\", line 182 in runcode\nFile \"/home/hyi/cpython/Lib/_pyrepl/console.py\", line 239 in runsource\nFile \"/home/hyi/cpython/Lib/code.py\", line 324 in push\nFile \"/home/hyi/cpython/Lib/_pyrepl/simple_interact.py\", line 151 in run_multiline_interactive_console\nFile \"/home/hyi/cpython/Lib/_pyrepl/main.py\", line 58 in interactive_console\n\nExtension modules: _testcapi (total: 1)\nAborted\n```\n\n### CPython versions tested on:\n\nCPython main branch\n\n### Operating systems tested on:\n\nOther","author":{"url":"https://github.com/yihong0618","@type":"Person","name":"yihong0618"},"datePublished":"2025-09-09T02:01:25.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/138688/cpython/issues/138688"}
| 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:a8db6bd5-9d74-47da-58b6-c5bfc11609f7 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9944:1B38B1:2D36D4A:3B18343:696B705F |
| html-safe-nonce | f910a3d9000dbb4c432153db41094c68511c37b73649d51b9701b657206bd75f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5OTQ0OjFCMzhCMToyRDM2RDRBOjNCMTgzNDM6Njk2QjcwNUYiLCJ2aXNpdG9yX2lkIjoiNTQwOTAxOTUwMjk2NTUxODQzMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 52014877c8f025f7a094ff562d287bfccef2e15449ab27e093f910adc3352169 |
| hovercard-subject-tag | issue:3396269969 |
| 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/138688/issue_layout |
| twitter:image | https://opengraph.githubassets.com/30a8035026024c32c223a21ac53ddaf5812170a995e67161de8ab82512a64032/python/cpython/issues/138688 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/30a8035026024c32c223a21ac53ddaf5812170a995e67161de8ab82512a64032/python/cpython/issues/138688 |
| og:image:alt | Bug report Bug description: ./configure --with-pydebug --with-trace-refs make -j16 ./python more can check #138491 cc @ZeroIntensity import _testcapi _testcapi.set_nomeory(0) Python 3.15.0a0 (heads... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | yihong0618 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| 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 | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width