classification
Title: rare assertion failure in test_multiprocessing
Type: crash Stage: needs patch
Components: Library (Lib) Versions: Python 3.2
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: jnoller Nosy List: jnoller, pitrou (2)
Priority: normal Keywords

Created on 2009-06-29 13:27 by pitrou, last changed 2009-06-29 13:27 by pitrou.

Messages (1)
msg89832 - (view) Author: Antoine Pitrou (pitrou) Date: 2009-06-29 13:27
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
History
Date User Action Args
2009-06-29 13:27:04pitroucreate