[issue25807] test_multiprocessing_fork.test_mymanager fails and hangs

2015-12-09 Thread SilentGhost

SilentGhost added the comment:

Hm, after doing "make clean" and rebuilding anew I'm not able to reproduce the 
bug myself. I guess I just had a stale version of the module still hanging 
around. Sorry for the mistaken report.

--
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25807] test_multiprocessing_fork.test_mymanager fails and hangs

2015-12-08 Thread Toby Tobkin

Toby Tobkin added the comment:

Do you have more information on the environment you're running tests on? I did 
not reproduce the crash by running the tests on a stock Ubuntu 14 64-bit.

--
nosy: +tobytobkin

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25807] test_multiprocessing_fork.test_mymanager fails and hangs

2015-12-05 Thread SilentGhost

New submission from SilentGhost:

When running either of the test_multiprocessing_fork, 
test_multiprocessing_spawn or test_multiprocessing_forkserver I get error in 
test_mymanager that leads to hanging. Here is the fragment:

test_mymanager (test.test_multiprocessing_fork.WithManagerTestMyManager) ... 
Unhandled exception in thread started by >
Traceback (most recent call last):
  File "cpython/Lib/multiprocessing/managers.py", line 235, in serve_client
(methodname, type(obj), exposed)
AttributeError: method '_h' of  
object is not in exposed={'g', 'f'}

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "cpython/Lib/multiprocessing/managers.py", line 258, in serve_client
fallback_func = self.fallback_mapping[methodname]
KeyError: '_h'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "cpython/Lib/multiprocessing/managers.py", line 195, in handle_request
result = func(c, *args, **kwds)
  File "cpython/Lib/multiprocessing/managers.py", line 386, in accept_connection
  File "cpython/Lib/multiprocessing/managers.py", line 264, in serve_client
msg = ('#TRACEBACK', format_exc())
  File "cpython/Lib/traceback.py", line 163, in format_exc
return "".join(format_exception(*sys.exc_info(), limit=limit, chain=chain))
  File "cpython/Lib/traceback.py", line 117, in format_exception
type(value), value, tb, limit=limit).format(chain=chain))
  File "cpython/Lib/traceback.py", line 474, in __init__
capture_locals=capture_locals)
  File "cpython/Lib/traceback.py", line 358, in extract
f.line
  File "cpython/Lib/traceback.py", line 282, in line
self._line = linecache.getline(self.filename, self.lineno).strip()
  File "cpython/Lib/linecache.py", line 16, in getline
lines = getlines(filename, module_globals)
  File "cpython/Lib/linecache.py", line 47, in getlines
return updatecache(filename, module_globals)
  File "cpython/Lib/linecache.py", line 137, in updatecache
lines = fp.readlines()
  File "cpython/Lib/codecs.py", line 321, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xaa in position 4096: 
invalid start byte

This UnicodeDecodeError repeats couple more times and then everything stops. It 
doesn't seem to matter how the tests run, either directly or as part of a test 
suite.

--
components: Library (Lib), Tests
messages: 255953
nosy: SilentGhost, jnoller, sbt
priority: normal
severity: normal
status: open
title: test_multiprocessing_fork.test_mymanager fails and hangs
type: behavior
versions: Python 3.6

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com