PID check failed. RNG must be re-initialized after fork(). Hint: Try Random.atfork()
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
Undecided
|
Vincent Ladeuil |
Bug Description
Test failure on FreeBSD8, see:
FailedConsole Output
View as plain text
Skipping 2,430 KB.. Full Log
FAIL: bzrlib.
-------
_StringException: Text attachment: log
------------
2315.754 failed to load system host keys: [Errno 2] No such file or directory: '/tmp/testbzr-
2315.754 failed to load bzr host keys: [Errno 2] No such file or directory: '/tmp/testbzr-
2315.755 creating config directory: '/tmp/testbzr-
DEBUG starting thread (client mode): 0x2a7994d0L
INFO Connected (version 2.0, client paramiko_1.7.6)
ERROR Unknown exception: PID check failed. RNG must be re-initialized after fork(). Hint: Try Random.atfork()
ERROR Traceback (most recent call last):
ERROR File "/usr/local/
ERROR self._send_
ERROR File "/usr/local/
ERROR m.add_bytes(
ERROR File "/usr/local/
ERROR randpool_data = self.randpool.
ERROR File "/usr/local/
ERROR return self.__rng.read(N)
ERROR File "/usr/local/
ERROR return self._singleton
ERROR File "/usr/local/
ERROR return _UserFriendlyRN
ERROR File "/usr/local/
ERROR self._check_pid()
ERROR File "/usr/local/
ERROR raise AssertionError("PID check failed. RNG must be re-initialized after fork(). Hint: Try Random.atfork()")
ERROR AssertionError: PID check failed. RNG must be re-initialized after fork(). Hint: Try Random.atfork()
ERROR
------------
Text attachment: traceback
------------
Traceback (most recent call last):
File "/home/
return fn(*args)
File "/home/
testMethod()
File "/usr/home/
t.mkdir('foo')
File "/usr/home/
self.
File "/usr/home/
return self._client.
File "/usr/home/
result, protocol = self.call_
File "/usr/home/
method, args, expect_
File "/usr/home/
readv_
File "/usr/home/
encoder.
File "/usr/home/
self.
File "/usr/home/
self.flush()
File "/usr/home/
self.
File "/usr/home/
self.
File "/usr/home/
self.
File "/usr/home/
self.
File "/usr/home/
'--
File "/usr/home/
t = self._connect(
File "/usr/home/
t.start_
File "/usr/local/
raise e
AssertionError: PID check failed. RNG must be re-initialized after fork(). Hint: Try Random.atfork()
Related branches
- Vincent Ladeuil: Approve
-
Diff: 31 lines (+4/-4)2 files modifiedbzrlib/lazy_regex.py (+3/-3)
doc/en/release-notes/bzr-2.7.txt (+1/-1)
Changed in bzr: | |
status: | New → Confirmed |
tags: | added: babune |
Changed in bzr: | |
assignee: | nobody → Vincent Ladeuil (vila) |
Changed in bzr: | |
status: | Confirmed → In Progress |
Changed in bzr: | |
milestone: | none → 2.2b3 |
status: | In Progress → Fix Released |
I'm not using bzr but I found out that downgrading to pycrypto 2.0.1 does the trick