Python 3.4.0 forking error with /dev/urandom causes errors in several libraries

Bug #1397741 reported by William Kral
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python3.4 (Ubuntu)
New
Undecided
Unassigned

Bug Description

Description: Ubuntu 14.04.1 LTS
Release: 14.04

python3:
  Installed: 3.4.0-0ubuntu2
  Candidate: 3.4.0-0ubuntu2
  Version table:
 *** 3.4.0-0ubuntu2 0
        500 http://archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
        100 /var/lib/dpkg/status

Personally I found this to be a problem with pytest-xdist and celery but it shows up just by using multiprocessing.

After fork a file descriptor is held for /dev/urandom and all calls to os.urandom() in the child process fail.

Details of the bug are here: http://bugs.python.org/issue18747

I'd like the latest version of python: 3.4.2 to be available in 14.04 LTS either as the default for python3 or available as a specific point release.

The issue is already fixed in the latest versions of python 3.4, I'm not sure if it's made it into 3.4.1 or 3.4.2 but if the package is updated it makes sense for it to be at the latest.

Thank you.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.