Skip to content

co_extra_freefuncs is stored thread locally and can lead to crashes #74789

@DinoV

Description

@DinoV
BPO 30604
Nosy @brettcannon, @vstinner, @ned-deily, @DinoV, @serhiy-storchaka, @1st1, @Mariatta, @jeethu
PRs
  • bpo-30604: Move co_extra_freefuncs to interpreter state to avoid crashes in threads #2015
  • bpo-30604: clean up co_extra support #2144
  • [3.6] bpo-30604: Fix __PyCodeExtraState_Get() prototype #2152
  • bpo-30604: Skip CoExtra tests if ctypes is missing #2356
  • [3.6] bpo-30604: Skip CoExtra tests if ctypes is missing (#2356) #2358
  • bpo-30704, bpo-30604: Fix memleak in code_dealloc() #2455
  • [3.6] bpo-30704, bpo-30604: Fix memleak in code_dealloc() (#2455) #2456
  • 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/DinoV'
    closed_at = <Date 2017-06-23.13:26:09.274>
    created_at = <Date 2017-06-08.21:37:03.405>
    labels = ['interpreter-core', '3.7', 'type-crash']
    title = 'co_extra_freefuncs is stored thread locally and can lead to crashes'
    updated_at = <Date 2018-01-17.02:43:32.298>
    user = 'https://github.com/DinoV'

    bugs.python.org fields:

    activity = <Date 2018-01-17.02:43:32.298>
    actor = 'jeethu'
    assignee = 'dino.viehland'
    closed = True
    closed_date = <Date 2017-06-23.13:26:09.274>
    closer = 'vstinner'
    components = ['Interpreter Core']
    creation = <Date 2017-06-08.21:37:03.405>
    creator = 'dino.viehland'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 30604
    keywords = ['patch']
    message_count = 21.0
    messages = ['295467', '295477', '295489', '295835', '295845', '295868', '296301', '296588', '296595', '296596', '296597', '296599', '296607', '296709', '296718', '296719', '297076', '297078', '297079', '297082', '297938']
    nosy_count = 8.0
    nosy_names = ['brett.cannon', 'vstinner', 'ned.deily', 'dino.viehland', 'serhiy.storchaka', 'yselivanov', 'Mariatta', 'jeethu']
    pr_nums = ['2015', '2144', '2152', '2356', '2358', '2455', '2456']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'crash'
    url = 'https://bugs.python.org/issue30604'
    versions = ['Python 3.6', 'Python 3.7']

    Metadata

    Metadata

    Assignees

    Labels

    3.7 (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