Skip to content

python: Modules/gcmodule.c:379: visit_decref: Assertion `((gc)->gc.gc_refs >> (1)) != 0' failed. #64725

@vstinner

Description

@vstinner
BPO 20526
Nosy @pitrou, @vstinner, @larryhastings, @ned-deily, @serhiy-storchaka
PRs
  • bpo-20526: Fix PyThreadState_Clear(): don't decref frame #19120
  • [3.8] bpo-20526: Fix PyThreadState_Clear(): don't decref frame (GH-19120) #19136
  • [3.7] bpo-20526: Fix PyThreadState_Clear(): don't decref frame (GH-19120) (GH-19136) #19137
  • Files
  • asyncio_gc.py
  • threading_shutdown_interrupted.py
  • revert_19466.patch
  • 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 = <Date 2020-03-24.16:58:23.930>
    created_at = <Date 2014-02-06.09:14:02.239>
    labels = ['interpreter-core', '3.7', '3.8', '3.9', 'type-crash']
    title = "python: Modules/gcmodule.c:379: visit_decref: Assertion `((gc)->gc.gc_refs >> (1)) != 0' failed."
    updated_at = <Date 2020-03-24.17:01:40.129>
    user = 'https://github.com/vstinner'

    bugs.python.org fields:

    activity = <Date 2020-03-24.17:01:40.129>
    actor = 'vstinner'
    assignee = 'none'
    closed = True
    closed_date = <Date 2020-03-24.16:58:23.930>
    closer = 'vstinner'
    components = ['Interpreter Core']
    creation = <Date 2014-02-06.09:14:02.239>
    creator = 'vstinner'
    dependencies = []
    files = ['33939', '34053', '34056']
    hgrepos = []
    issue_num = 20526
    keywords = ['patch']
    message_count = 30.0
    messages = ['210368', '210982', '210999', '211007', '211013', '211046', '211047', '211049', '211050', '211070', '211146', '211150', '211153', '213793', '214858', '214859', '214863', '214866', '214867', '214887', '214890', '214894', '364851', '364878', '364879', '364935', '364938', '364943', '364944', '364945']
    nosy_count = 9.0
    nosy_names = ['pitrou', 'vstinner', 'larry', 'ned.deily', 'Arfrever', 'neologix', 'python-dev', 'serhiy.storchaka', 'sebastien.renard']
    pr_nums = ['19120', '19136', '19137']
    priority = 'high'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'crash'
    url = 'https://bugs.python.org/issue20526'
    versions = ['Python 3.7', 'Python 3.8', 'Python 3.9']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.7 (EOL)end of life3.8 (EOL)end of life3.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