Skip to content

_sock_connect_cb can be called twice resulting in InvalidStateError #69779

@thehesiod

Description

@thehesiod
mannequin
BPO 25593
Nosy @gvanrossum, @asvetlov, @1st1, @thehesiod
Files
  • asyncio_invalid_state_bt.txt: Backtrace of my InvalidStateError exception
  • Issue25593_repro_client.py: Repro client script (requires server script)
  • Issue25593_repro_server.py: Server repro script
  • test_app.py
  • run_once_testfix_for_Issue25593.patch: Run loop._ready callback loops at start of _run_once
  • Issue25593_fix.patch: Patch submission for using stop flag
  • issue25593_revised.patch
  • issue25593_revised_2.patch
  • issue25593_revised_3.patch
  • issue25593_revised_4.patch
  • issue25593_revised_5.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 = 'https://github.com/gvanrossum'
    closed_at = <Date 2015-11-19.21:35:54.971>
    created_at = <Date 2015-11-10.07:16:34.030>
    labels = ['type-bug', 'expert-asyncio']
    title = '_sock_connect_cb can be called twice resulting in InvalidStateError'
    updated_at = <Date 2016-02-10.22:39:48.267>
    user = 'https://github.com/thehesiod'

    bugs.python.org fields:

    activity = <Date 2016-02-10.22:39:48.267>
    actor = 'vstinner'
    assignee = 'gvanrossum'
    closed = True
    closed_date = <Date 2015-11-19.21:35:54.971>
    closer = 'gvanrossum'
    components = ['asyncio']
    creation = <Date 2015-11-10.07:16:34.030>
    creator = 'thehesiod'
    dependencies = []
    files = ['41015', '41016', '41017', '41018', '41019', '41059', '41080', '41082', '41084', '41086', '41087']
    hgrepos = []
    issue_num = 25593
    keywords = ['patch']
    message_count = 50.0
    messages = ['254433', '254462', '254484', '254488', '254495', '254496', '254497', '254498', '254500', '254501', '254502', '254503', '254504', '254505', '254506', '254507', '254508', '254509', '254510', '254512', '254513', '254514', '254518', '254535', '254536', '254538', '254544', '254551', '254775', '254779', '254781', '254783', '254786', '254910', '254913', '254914', '254921', '254923', '254924', '254925', '254926', '254930', '254933', '254934', '254936', '254937', '259971', '259972', '260027', '260042']
    nosy_count = 6.0
    nosy_names = ['gvanrossum', 'asvetlov', 'python-dev', 'yselivanov', 'thehesiod', 'Justin Mayfield']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = None
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue25593'
    versions = ['Python 3.4', 'Python 3.5', 'Python 3.6']

    Metadata

    Metadata

    Assignees

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions