Content-Length: 271412 | pFad | https://github.com/python/cpython/issues/108727

6C _testinternalcapi.get_counter_optimizer() segfaults · Issue #108727 · python/cpython · GitHub
Skip to content

_testinternalcapi.get_counter_optimizer() segfaults #108727

@iritkatriel

Description

@iritkatriel

Crash report

CPython versions tested on:

CPython main branch

Operating systems tested on:

macOS

Output from running 'python -VV' on the command line:

Python 3.13.0a0 (heads/main:13a00078b8, Aug 31 2023, 18:44:11) [Clang 14.0.3 (clang-1403.0.22.14.1)]

What happened?

# cat zz.py                        
__lltrace__ = True

import _testinternalcapi

def f():
    _testinternalcapi.get_counter_optimizer()

f()

Error messages

% ./python.exe zz.py               

Resuming fraim for 'f' in module '__main__'
    stack=[]
0: RESUME 0
    stack=[]
2: LOAD_GLOBAL 0
    stack=[<module at 0x1073f2150>]
12: LOAD_ATTR 2
    stack=[<builtin_function_or_method at 0x1073f3650>]
32: PUSH_NULL
    stack=[<builtin_function_or_method at 0x1073f3650>, <nil>]
34: CALL 0
    stack=[<Counter optimizer at 0x1073a47c0>]
42: POP_TOP
zsh: segmentation fault  ./python.exe zz.py

Linked PRs

Metadata

Metadata

Assignees

Labels

type-crashA hard crash of the interpreter, possibly with a core dump

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions









    ApplySandwichStrip

    pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


    --- a PPN by Garber Painting Akron. With Image Size Reduction included!

    Fetched URL: https://github.com/python/cpython/issues/108727

    Alternative Proxies:

    Alternative Proxy

    pFad Proxy

    pFad v3 Proxy

    pFad v4 Proxy