Race condition in py_compile corrupts pyc files
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python2.7 (Ubuntu) |
Fix Released
|
High
|
Barry Warsaw | ||
Precise |
Won't Fix
|
High
|
Barry Warsaw | ||
Quantal |
Won't Fix
|
High
|
Barry Warsaw | ||
Raring |
Won't Fix
|
High
|
Barry Warsaw | ||
Saucy |
Fix Released
|
High
|
Barry Warsaw | ||
python3.2 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Precise |
Won't Fix
|
High
|
Barry Warsaw | ||
Quantal |
Won't Fix
|
High
|
Barry Warsaw | ||
Raring |
Invalid
|
Undecided
|
Unassigned | ||
Saucy |
Invalid
|
Undecided
|
Unassigned | ||
python3.3 (Ubuntu) |
Fix Released
|
High
|
Barry Warsaw | ||
Precise |
Invalid
|
Undecided
|
Unassigned | ||
Quantal |
Invalid
|
Undecided
|
Unassigned | ||
Raring |
Won't Fix
|
High
|
Barry Warsaw | ||
Saucy |
Fix Released
|
High
|
Barry Warsaw |
Bug Description
yeay for automatic bug reporting!
this is happening pretty regular, I have no idea what's triggering it, a cron job maybe?
if I run it manually, it get:
~$ sudo do-release-upgrade
Traceback (most recent call last):
File "/usr/bin/
from DistUpgrade.
EOFError: EOF read where not expected
ProblemType: Crash
DistroRelease: Ubuntu 12.10
Package: ubuntu-
ProcVersionSign
Uname: Linux 3.5.0-16-generic x86_64
NonfreeKernelMo
ApportVersion: 2.5.3-0ubuntu1
Architecture: amd64
Date: Sat Sep 29 15:11:46 2012
ExecutablePath: /usr/bin/
InterpreterPath: /usr/bin/
PackageArchitec
ProcCmdline: /usr/bin/python3 /usr/lib/
ProcEnviron:
TERM=linux
PATH=(custom, no user)
PythonArgs: ['/usr/
SourcePackage: ubuntu-
Title: do-release-upgrade crashed with EOFError in /usr/lib/
Traceback:
Traceback (most recent call last):
File "/usr/lib/
from DistUpgrade.
EOFError: EOF read where not expected
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:
VarLogDistupgra
Related branches
tags: | removed: need-duplicate-check |
Changed in ubuntu-release-upgrader (Ubuntu): | |
importance: | Undecided → Medium |
information type: | Private → Public |
Changed in ubuntu-release-upgrader (Ubuntu): | |
assignee: | nobody → Barry Warsaw (barry) |
importance: | Low → High |
status: | Triaged → In Progress |
affects: | ubuntu-release-upgrader (Ubuntu) → python2.7 (Ubuntu) |
Changed in python2.7 (Ubuntu): | |
assignee: | Barry Warsaw (barry) → nobody |
Changed in python3.3 (Ubuntu): | |
status: | New → In Progress |
importance: | Undecided → High |
Changed in python2.7 (Ubuntu): | |
assignee: | nobody → Barry Warsaw (barry) |
Changed in python3.3 (Ubuntu): | |
assignee: | nobody → Barry Warsaw (barry) |
summary: |
- do-release-upgrade crashed with EOFError in /usr/lib/ubuntu-release- - upgrader/check-new-release: EOF read where not expected + Race condition in py_compile corrupts pyc files |
Changed in python3.2 (Ubuntu Raring): | |
status: | New → Invalid |
Changed in python3.2 (Ubuntu Saucy): | |
status: | New → Invalid |
Changed in python3.3 (Ubuntu Precise): | |
status: | New → Invalid |
Changed in python2.7 (Ubuntu Precise): | |
assignee: | nobody → Barry Warsaw (barry) |
Changed in python2.7 (Ubuntu Raring): | |
assignee: | nobody → Barry Warsaw (barry) |
Changed in python3.2 (Ubuntu Precise): | |
assignee: | nobody → Barry Warsaw (barry) |
Changed in python3.3 (Ubuntu Raring): | |
assignee: | nobody → Barry Warsaw (barry) |
Changed in python2.7 (Ubuntu Raring): | |
status: | Confirmed → In Progress |
Changed in python2.7 (Ubuntu Quantal): | |
assignee: | nobody → Barry Warsaw (barry) |
importance: | Undecided → High |
status: | New → In Progress |
Changed in python2.7 (Ubuntu Precise): | |
importance: | Undecided → High |
status: | Confirmed → In Progress |
Changed in python2.7 (Ubuntu Raring): | |
importance: | Undecided → High |
Changed in python3.2 (Ubuntu Quantal): | |
assignee: | nobody → Barry Warsaw (barry) |
status: | New → In Progress |
Changed in python3.2 (Ubuntu Precise): | |
importance: | Undecided → High |
status: | Confirmed → In Progress |
Changed in python3.2 (Ubuntu Quantal): | |
importance: | Undecided → High |
Changed in python3.3 (Ubuntu Quantal): | |
assignee: | nobody → Barry Warsaw (barry) |
importance: | Undecided → High |
status: | New → In Progress |
Changed in python3.3 (Ubuntu Raring): | |
importance: | Undecided → High |
status: | Confirmed → In Progress |
Changed in python3.3 (Ubuntu Quantal): | |
assignee: | Barry Warsaw (barry) → nobody |
importance: | High → Undecided |
status: | In Progress → Invalid |
tags: | removed: verification-failed |
Changed in python3.2 (Ubuntu Raring): | |
status: | Invalid → Fix Released |
Changed in python3.2 (Ubuntu Saucy): | |
status: | Invalid → Fix Released |
Changed in python3.3 (Ubuntu Precise): | |
status: | Invalid → Fix Released |
Changed in python3.3 (Ubuntu Quantal): | |
status: | Invalid → Fix Released |
Changed in python3.2 (Ubuntu Raring): | |
status: | Fix Released → Invalid |
Changed in python3.2 (Ubuntu Saucy): | |
status: | Fix Released → Invalid |
Changed in python3.3 (Ubuntu Precise): | |
status: | Fix Released → Invalid |
Changed in python3.3 (Ubuntu Quantal): | |
status: | Fix Released → Invalid |
I wonder if something is wrong with /usr/lib/ python3/ dist-packages/ DistUpgrade/ DistUpgradeVers ion.py on your system. The md5sum for it should be 5f632f7debefec8 464862c418ee0f3 ae. Could you verify the md5sum and if it is incorrect please reinstall the package python3- distupgrade? Thanks in advance.