Skip to content

Updating _fields_ of a derived struct type yields a bad cif #62260

Closed
@laurialanko

Description

@laurialanko
BPO 18060
Nosy @amauryfa, @abalkin, @meadori, @websurfer5
PRs
  • bpo-18060: Updating _fields_ of a derived struct type yields a bad cif #13374
  • Files
  • t1.py: Test case
  • t2.py: test case uses PyCStructUnionType_update_stgdict() but not PyCStgDict_clone()
  • 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 = None
    closed_at = None
    created_at = <Date 2013-05-25.19:07:26.282>
    labels = ['ctypes', '3.7', '3.8', 'type-crash']
    title = 'Updating _fields_ of a derived struct type yields a bad cif'
    updated_at = <Date 2019-05-17.04:20:58.133>
    user = 'https://bugs.python.org/laurialanko'

    bugs.python.org fields:

    activity = <Date 2019-05-17.04:20:58.133>
    actor = 'Jeffrey.Kintscher'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['ctypes']
    creation = <Date 2013-05-25.19:07:26.282>
    creator = 'lauri.alanko'
    dependencies = []
    files = ['30369', '48332']
    hgrepos = []
    issue_num = 18060
    keywords = ['patch']
    message_count = 6.0
    messages = ['189992', '228414', '342505', '342520', '342532', '342676']
    nosy_count = 5.0
    nosy_names = ['amaury.forgeotdarc', 'belopolsky', 'meador.inge', 'lauri.alanko', 'Jeffrey.Kintscher']
    pr_nums = ['13374']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'crash'
    url = 'https://bugs.python.org/issue18060'
    versions = ['Python 3.4', 'Python 3.5', 'Python 3.7', 'Python 3.8']

    Linked PRs

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.11only security fixes3.12only security fixes3.13bugs and security fixestopic-ctypestype-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