Skip to content

Possible race condition between signal catching and signal.signal #87572

@pitrou

Description

@pitrou
BPO 43406
Nosy @pitrou, @vstinner, @miss-islington
PRs
  • bpo-43406: Fix possible race condition where PyErr_CheckSignals tries to execute a non-Python signal handler #24756
  • [3.9] bpo-43406: Fix possible race condition where PyErr_CheckSignals tries to execute a non-Python signal handler (GH-24756) #24761
  • [3.8] bpo-43406: Fix possible race condition where PyErr_CheckSignals tries to execute a non-Python signal handler (GH-24756) #24762
  • bpo-43356: Allow passing a signal number to interrupt_main() #24755
  • bpo-43406: Fix test_signal.test_stress_modifying_handlers() #24815
  • [3.8] bpo-43406: Fix test_signal.test_stress_modifying_handlers() (GH-24815) #24816
  • [3.9] bpo-43406: Fix test_signal.test_stress_modifying_handlers() (GH-24815) #24817
  • 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 2021-03-10.14:30:05.963>
    created_at = <Date 2021-03-04.21:31:08.922>
    labels = ['interpreter-core', 'type-bug', '3.8', '3.9', '3.10', 'library']
    title = 'Possible race condition between signal catching and signal.signal'
    updated_at = <Date 2021-03-10.15:11:06.044>
    user = 'https://github.com/pitrou'

    bugs.python.org fields:

    activity = <Date 2021-03-10.15:11:06.044>
    actor = 'vstinner'
    assignee = 'none'
    closed = True
    closed_date = <Date 2021-03-10.14:30:05.963>
    closer = 'vstinner'
    components = ['Interpreter Core', 'Library (Lib)']
    creation = <Date 2021-03-04.21:31:08.922>
    creator = 'pitrou'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 43406
    keywords = ['patch']
    message_count = 10.0
    messages = ['388131', '388132', '388150', '388202', '388203', '388429', '388431', '388435', '388437', '388438']
    nosy_count = 4.0
    nosy_names = ['pitrou', 'vstinner', 'neologix', 'miss-islington']
    pr_nums = ['24756', '24761', '24762', '24755', '24815', '24816', '24817']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue43406'
    versions = ['Python 3.8', 'Python 3.9', 'Python 3.10']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.10only security fixes3.8 (EOL)end of life3.9 (EOL)end of lifeinterpreter-core(Objects, Python, Grammar, and Parser dirs)stdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions