Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test_multiprocessing hangs in TestZZZNumberOfObjects after unittest traceback patch #51563

Closed
kristjanvalur mannequin opened this issue Nov 13, 2009 · 3 comments
Closed
Labels
tests Tests in the Lib/test dir type-bug An unexpected behavior, bug, or error

Comments

@kristjanvalur
Copy link
Mannequin

kristjanvalur mannequin commented Nov 13, 2009

BPO 7314
Nosy @kristjanvalur, @bitdancer
Superseder
  • bpo-7318: multiprocessing should not wait endlessly
  • 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-11-17.10:53:28.517>
    created_at = <Date 2009-11-13.16:52:53.267>
    labels = ['type-bug', 'tests']
    title = 'test_multiprocessing hangs in TestZZZNumberOfObjects after unittest traceback patch'
    updated_at = <Date 2009-11-17.10:53:28.515>
    user = 'https://github.com/kristjanvalur'

    bugs.python.org fields:

    activity = <Date 2009-11-17.10:53:28.515>
    actor = 'kristjan.jonsson'
    assignee = 'none'
    closed = True
    closed_date = <Date 2009-11-17.10:53:28.517>
    closer = 'kristjan.jonsson'
    components = ['Tests']
    creation = <Date 2009-11-13.16:52:53.267>
    creator = 'kristjan.jonsson'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 7314
    keywords = ['buildbot']
    message_count = 3.0
    messages = ['95186', '95191', '95378']
    nosy_count = 2.0
    nosy_names = ['kristjan.jonsson', 'r.david.murray']
    pr_nums = []
    priority = 'high'
    resolution = 'duplicate'
    stage = None
    status = 'closed'
    superseder = '7318'
    type = 'behavior'
    url = 'https://bugs.python.org/issue7314'
    versions = ['Python 3.2']

    @kristjanvalur
    Copy link
    Mannequin Author

    kristjanvalur mannequin commented Nov 13, 2009

    Running a debug python from the py3k branch on my windows 7 machine, 64
    bit, test_multiprocessing hangs in the _TestZZZNumberOfObjects test.

    I don't know this module, but I did a little digging:
    The main process is in the gc.collec() causing some manager object to
    call a _decref() method, which is initiating a socket connection to a
    child process (I presume.) This is spinning endlessly because the
    connection is constantly refused.

    The child processes don't have any sockets open (according to the
    resource monitor) and when I look at the state they are in, the are
    stuck waiting for a ReadFile to succeed. The python traceback appears
    to be (innermost first, line numbers approximate:)
    queues.py:349
    pool.py:45
    process.py:83
    process.py:215
    forking.py:326

    @kristjanvalur kristjanvalur mannequin added tests Tests in the Lib/test dir type-bug An unexpected behavior, bug, or error labels Nov 13, 2009
    @bitdancer
    Copy link
    Member

    See bpo-7060.

    @bitdancer bitdancer changed the title test_multiprocessing hangs on Windows 7 64 bit test_multiprocessing hangs in TestZZZNumberOfObjects after unittest traceback patch Nov 13, 2009
    @kristjanvalur
    Copy link
    Mannequin Author

    kristjanvalur mannequin commented Nov 17, 2009

    Ok, I'm closing this as a duplicate.

    @kristjanvalur kristjanvalur mannequin closed this as completed Nov 17, 2009
    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    tests Tests in the Lib/test dir type-bug An unexpected behavior, bug, or error
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant