Skip to content

issubclass segfaults on objects with weird __getattr__ #74755

Description

@DanielLepage
BPO 30570
Nosy @gpshead, @db3l, @cfbolz, @bitdancer, @ambv, @serhiy-storchaka, @nicoddemus, @DimitrisJim, @mlouielu, @pablogsal, @miss-islington, @sweeneyde, @iritkatriel
PRs
  • bpo-30570: fix an issubclass infinite recursion crash #29017
  • bpo-30570: Use Py_EnterRecursiveCall() in issubclass() #29048
  • [3.10] bpo-30570: Use Py_EnterRecursiveCall() in issubclass() (GH-29048) #29175
  • [3.9] bpo-30570: Use Py_EnterRecursiveCall() in issubclass() (GH-29048) #29178
  • bpo-30570: Fix segfault on buildbots caused by stack overflow from recursion in tests #29258
  • [3.10] bpo-30570: Fix segfault on buildbots caused by stack overflow from recursion in tests (GH-29258) #29414
  • [3.9] bpo-30570: Fix segfault on buildbots caused by stack overflow from recursion in tests (GH-29258) #29415
  • Files
  • segfault.crash: Crash Log
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = 'https://github.com/gpshead'
    closed_at = <Date 2021-11-04.20:53:21.931>
    created_at = <Date 2017-06-05.00:25:34.296>
    labels = ['interpreter-core', '3.10', '3.9', 'type-crash', '3.11']
    title = 'issubclass segfaults on objects with weird __getattr__'
    updated_at = <Date 2021-11-15.05:42:14.836>
    user = 'https://bugs.python.org/DanielLepage'

    bugs.python.org fields:

    activity = <Date 2021-11-15.05:42:14.836>
    actor = 'Dennis Sweeney'
    assignee = 'gregory.p.smith'
    closed = True
    closed_date = <Date 2021-11-04.20:53:21.931>
    closer = 'lukasz.langa'
    components = ['Interpreter Core']
    creation = <Date 2017-06-05.00:25:34.296>
    creator = 'Daniel Lepage'
    dependencies = []
    files = ['46924']
    hgrepos = []
    issue_num = 30570
    keywords = ['patch']
    message_count = 22.0
    messages = ['295150', '295151', '295152', '295153', '295179', '295181', '401381', '404151', '404152', '404157', '404158', '404829', '404831', '405144', '405173', '405750', '405753', '405754', '405755', '406328', '406330', '406340']
    nosy_count = 14.0
    nosy_names = ['gregory.p.smith', 'db3l', 'Carl.Friedrich.Bolz', 'r.david.murray', 'lukasz.langa', 'serhiy.storchaka', 'Bruno Oliveira', 'Daniel Lepage', 'Jim Fasarakis-Hilliard', 'louielu', 'pablogsal', 'miss-islington', 'Dennis Sweeney', 'iritkatriel']
    pr_nums = ['29017', '29048', '29175', '29178', '29258', '29414', '29415']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'crash'
    url = 'https://bugs.python.org/issue30570'
    versions = ['Python 3.9', 'Python 3.10', 'Python 3.11']

    Activity

    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    Labels

    3.10 (EOL)end of life3.11only security fixes3.9 (EOL)end of lifeinterpreter-core(Objects, Python, Grammar, and Parser dirs)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