GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Crash in genericaliasobject.c when tuple_extend() fails under allocation failure · Issue #155053 · python/cpython Closed Closed Copy link Labels interpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)type-crashA hard crash of the interpreter, possibly with a core dumpA hard crash of the interpreter, possibly with a core dump DescriptionCrash reportWhat happened?While investigating allocation-failure paths in When However, if (j < 0) { Py_DECREF(subparams); Py_DECREF(subargs); return NULL; } As a result, ReproducerA debug build with import _testcapi from typing import TypeVarTuple Ts = TypeVarTuple("Ts") alias = dict[str, tuple[*Ts]] key = (int, str) _testcapi.set_nomemory(24, 25) try: alias[key] finally: _testcapi.remove_mem_hooks() The exact allocation index may vary between builds, so sweeping a range of indices is recommended. Observed resultASan reports: Root cause
The issue appears related to gh-148222, which removed the same Removing CPython versions tested on:CPython main branch Operating systems tested on:Linux Output from running 'python -VV' on the command line:Python 3.16.0a0 (heads/investigate-genericalias-oom-null-decref-dirty:7ce7f0bd851, Aug 1 2026) [GCC 13.3.0] Linked PRsActivity
MetadataMetadataAssigneesLabelsinterpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)type-crashA hard crash of the interpreter, possibly with a core dumpA hard crash of the interpreter, possibly with a core dump ProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402520 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |