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 broken #47332

Closed
gpshead opened this issue Jun 11, 2008 · 3 comments
Closed

test_multiprocessing broken #47332

gpshead opened this issue Jun 11, 2008 · 3 comments
Labels
stdlib Python modules in the Lib dir type-bug An unexpected behavior, bug, or error

Comments

@gpshead
Copy link
Member

gpshead commented Jun 11, 2008

BPO 3082
Nosy @gpshead, @benjaminp
Dependencies
  • bpo-1683: Thread local storage and PyGILState_* mucked up by os.fork()
  • 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 2008-06-11.21:23:52.387>
    created_at = <Date 2008-06-11.21:14:21.979>
    labels = ['type-bug', 'library']
    title = 'test_multiprocessing broken'
    updated_at = <Date 2008-06-11.21:23:52.369>
    user = 'https://github.com/gpshead'

    bugs.python.org fields:

    activity = <Date 2008-06-11.21:23:52.369>
    actor = 'gregory.p.smith'
    assignee = 'none'
    closed = True
    closed_date = <Date 2008-06-11.21:23:52.387>
    closer = 'gregory.p.smith'
    components = ['Library (Lib)']
    creation = <Date 2008-06-11.21:14:21.979>
    creator = 'gregory.p.smith'
    dependencies = ['1683']
    files = []
    hgrepos = []
    issue_num = 3082
    keywords = []
    message_count = 3.0
    messages = ['68017', '68019', '68022']
    nosy_count = 2.0
    nosy_names = ['gregory.p.smith', 'benjamin.peterson']
    pr_nums = []
    priority = 'high'
    resolution = 'duplicate'
    stage = None
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue3082'
    versions = ['Python 2.6']

    @gpshead
    Copy link
    Member Author

    gpshead commented Jun 11, 2008

    Python 2.6a3+ (trunk:64150M, Jun 11 2008, 14:08:14)
    [GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)] on linux2
    Type "help", "copyright", "credits" or "license" for more information.

    % ./python Lib/test/test_multiprocessing.py
    Fatal Python error: Invalid thread state for this thread
    Traceback (most recent call last):
      File "Lib/test/test_multiprocessing.py", line 1791, in <module>
    main()
      File "Lib/test/test_multiprocessing.py", line 1788, in main
    test_main(unittest.TextTestRunner(verbosity=2).run)
      File "Lib/test/test_multiprocessing.py", line 1768, in test_main
    ManagerMixin.pool = ManagerMixin.manager.Pool(4)
      File
    "/home/greg/sandbox/python/trunk/Lib/multiprocessing/managers.py", line
    647, in temp
    token, exp = self._create(typeid, *args, **kwds)
      File
    "/home/greg/sandbox/python/trunk/Lib/multiprocessing/managers.py", line
    545, in _create
    conn = self._Client(self._address, authkey=self._authkey)
      File
    "/home/greg/sandbox/python/trunk/Lib/multiprocessing/connection.py",
    line 139, in Client
    answer_challenge(c, authkey)
      File
    "/home/greg/sandbox/python/trunk/Lib/multiprocessing/connection.py",
    line 380, in answer_challenge
    message = connection.recv_bytes(256)         # reject large message
    EOFError
    [50971 refs]

    This is on a single cpu i686 linux system.

    @gpshead gpshead added stdlib Python modules in the Lib dir type-bug An unexpected behavior, bug, or error labels Jun 11, 2008
    @benjaminp
    Copy link
    Contributor

    Are you running a debug build? Please see bpo-1683.

    @gpshead
    Copy link
    Member Author

    gpshead commented Jun 11, 2008

    ah yes that is indeed the same problem. marking this one as a dup.

    @gpshead gpshead closed this as completed Jun 11, 2008
    @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
    stdlib Python modules in the Lib dir type-bug An unexpected behavior, bug, or error
    Projects
    None yet
    Development

    No branches or pull requests

    2 participants