Skip to content

Asyncio looping during simultaneously socket read/write and reconnection #76196

Closed

Description

@andr-04
mannequin
BPO 32015
Nosy @asvetlov, @1st1, @andr-04
PRs
  • bpo-32015: Asyncio looping during simultaneously socket read/write an… #4386
  • [3.6] bpo-32015: Asyncio looping during simultaneously socket read/write an… (GH-4386) #4393
  • Files
  • raise.py: Bug reproducing with reading
  • 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 2017-11-14.09:19:51.753>
    created_at = <Date 2017-11-13.12:39:18.530>
    labels = ['type-bug', '3.7', 'expert-asyncio']
    title = 'Asyncio looping during simultaneously socket read/write and reconnection'
    updated_at = <Date 2017-11-14.10:14:58.147>
    user = 'https://github.com/andr-04'

    bugs.python.org fields:

    activity = <Date 2017-11-14.10:14:58.147>
    actor = 'asvetlov'
    assignee = 'none'
    closed = True
    closed_date = <Date 2017-11-14.09:19:51.753>
    closer = 'asvetlov'
    components = ['asyncio']
    creation = <Date 2017-11-13.12:39:18.530>
    creator = 'andr04'
    dependencies = []
    files = ['47262']
    hgrepos = []
    issue_num = 32015
    keywords = ['patch']
    message_count = 3.0
    messages = ['306154', '306192', '306196']
    nosy_count = 3.0
    nosy_names = ['asvetlov', 'yselivanov', 'andr04']
    pr_nums = ['4386', '4393']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue32015'
    versions = ['Python 3.6', 'Python 3.7']

    Activity

    1. andr-04 commented on Nov 13, 2017

      andr-04mannequin
      MannequinAuthor

      The bug is happened when the async reading/writing interrupted by other async method which reconnects the socket. The closed socket calls the appropriate handler in the loop due to cannot be removed due to wrong fileno of socket.

    2. added
      3.8 (EOL)
      3.7 (EOL)
      type-bug
      on Nov 13, 2017
    3. changed the title [-]Asyncio cycling during simultaneously socket read/write and reconnection[/-] [+]Asyncio looping during simultaneously socket read/write and reconnection[/+] on Nov 13, 2017
    4. asvetlov commented on Nov 14, 2017

      @asvetlov
      Contributor

      New changeset e1d62e0 by Andrew Svetlov (Andrey Egorov) in branch 'master':
      bpo-32015: Asyncio looping during simultaneously socket read/write an… (bpo-4386)
      e1d62e0

    5. asvetlov commented on Nov 14, 2017

      @asvetlov
      Contributor

      New changeset cc0961c by Andrew Svetlov in branch '3.6':
      [3.6] bpo-32015: Asyncio looping during simultaneously socket read/write an… (GH-4386) (bpo-4393)
      cc0961c

    6. transferred this issue fromon Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.7 (EOL)topic-asynciotype-bug

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions