[issue6366] rare assertion failure in test_multiprocessing

Antoine Pitrou report at bugs.python.org
Mon Jun 29 15:27:06 CEST 2009


New submission from Antoine Pitrou <pitrou at free.fr>:

Just got the following non-reproducible failure in test_multiprocessing
on py3k. Python was compiled in non-debug mode so I assume the strange
failure message is a multiprocessing feature?

8e25dcc:       refcount=1
    <queue.Queue object at 0x8e25dcc>
  8e25f6c:       refcount=1
    <threading._Event object at 0x8e25f6c>
  8e3774c:       refcount=1
    <queue.Queue object at 0x8e3774c>
  8e377ac:       refcount=1
    <threading._Event object at 0x8e377ac>
  b785a08c:       refcount=2
    <multiprocessing.pool.Pool object at 0xb785a08c>
  8e25dcc:       refcount=1
    <queue.Queue object at 0x8e25dcc>
  8e25f6c:       refcount=1
    <threading._Event object at 0x8e25f6c>
  8e3774c:       refcount=1
    <queue.Queue object at 0x8e3774c>
  8e377ac:       refcount=1
    <threading._Event object at 0x8e377ac>
  b785a08c:       refcount=2
    <multiprocessing.pool.Pool object at 0xb785a08c>
test test_multiprocessing failed -- Traceback (most recent call last):
  File "/home/antoine/py3k/__svn__/Lib/test/test_multiprocessing.py",
line 1070, in test_number_of_objects
    self.assertEqual(refs, EXPECTED_NUMBER)
AssertionError: 5 != 1

----------
assignee: jnoller
components: Library (Lib)
messages: 89832
nosy: jnoller, pitrou
priority: normal
severity: normal
stage: needs patch
status: open
title: rare assertion failure in test_multiprocessing
type: crash
versions: Python 3.2

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6366>
_______________________________________


More information about the Python-bugs-list mailing list