Skip to content

Thread Safe Py_AddPendingCall #48543

@kristjanvalur

Description

@kristjanvalur
BPO 4293
Nosy @amauryfa, @mdickinson, @pitrou, @kristjanvalur, @tiran
Files
  • pendingalls.patch
  • pendingalls.patch: version 3 of the patch
  • pendingalls.patch: avoid deadlocks on the main thread only.
  • pendingalls.patch: new complete patch, checks for NULL pending_lock
  • pendingalls.patch: new version that doesn't assume signals on the main thread
  • xmlrpc.patch: Some fixes suggested by Amaury
  • testcapi.patch: test cases for Py_AddPendingCall()
  • testcapi.patch: testing the asynchronous notify, with suggested changes
  • pendingalls.patch: full patch including revised documentation
  • 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 2009-01-20.12:02:07.568>
    created_at = <Date 2008-11-10.11:36:34.958>
    labels = ['interpreter-core', 'type-crash']
    title = 'Thread Safe Py_AddPendingCall'
    updated_at = <Date 2009-01-20.12:02:07.567>
    user = 'https://github.com/kristjanvalur'

    bugs.python.org fields:

    activity = <Date 2009-01-20.12:02:07.567>
    actor = 'mark.dickinson'
    assignee = 'none'
    closed = True
    closed_date = <Date 2009-01-20.12:02:07.568>
    closer = 'mark.dickinson'
    components = ['Interpreter Core']
    creation = <Date 2008-11-10.11:36:34.958>
    creator = 'kristjan.jonsson'
    dependencies = []
    files = ['11978', '12008', '12031', '12032', '12035', '12594', '12596', '12619', '12624']
    hgrepos = []
    issue_num = 4293
    keywords = ['patch']
    message_count = 32.0
    messages = ['75691', '75692', '75693', '75700', '75782', '75783', '75872', '75963', '75966', '75970', '75977', '79113', '79119', '79128', '79132', '79142', '79147', '79151', '79152', '79241', '79255', '79269', '79270', '79290', '79504', '79507', '79511', '79658', '79975', '79982', '80091', '80250']
    nosy_count = 5.0
    nosy_names = ['amaury.forgeotdarc', 'mark.dickinson', 'pitrou', 'kristjan.jonsson', 'christian.heimes']
    pr_nums = []
    priority = 'normal'
    resolution = 'accepted'
    stage = 'patch review'
    status = 'closed'
    superseder = None
    type = 'crash'
    url = 'https://bugs.python.org/issue4293'
    versions = ['Python 3.1', 'Python 2.7']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      interpreter-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