← Back to team overview

touch-packages team mailing list archive

[Bug 1397741] [NEW] Python 3.4.0 forking error with /dev/urandom causes errors in several libraries

 

Public bug reported:

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.

** Affects: python3.4 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to python3.4 in Ubuntu.
https://bugs.launchpad.net/bugs/1397741

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

Status in python3.4 package in Ubuntu:
  New

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 manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python3.4/+bug/1397741/+subscriptions


Follow ups

References