[Bug 1058884] Re: Race condition in py_compile corrupts pyc files
Brian Murray
brian at ubuntu.com
Fri Aug 30 00:14:39 UTC 2013
I went through a few crashes with EOFErrors on them on errors.ubuntu.com
today and did not find any with the python packages from -proposed in
their dependencies. I did this by checking the individual instances of
all the "web_link"s below.
lsb.json: "function": "/usr/bin/lsb_release:EOFError:/usr/bin/lsb_release at 26",
lsb.json- "package": "lsb-release",
lsb.json- "web_link": "https://errors.ubuntu.com/problem/18b4f75d870cd066460324c37154f11285d298f5"
--
lsb.json: "function": "/usr/bin/lsb_release:EOFError:/usr/bin/lsb_release at 20:/usr/lib/python2.7/optparse.py at 90:/usr/lib/python2.7/gettext.py at 49",
lsb.json- "package": "lsb-release",
lsb.json- "web_link": "https://errors.ubuntu.com/problem/16c54c3a70159920d5ab9ae1383f49eb631b76f2"
--
lsb.json: "function": "/usr/bin/lsb_release:EOFError:/usr/bin/lsb_release at 22:/usr/lib/python3.3/subprocess.py at 345:/usr/lib/python3.3/traceback.py at 3:/usr/lib/python3.3/linecache.py at 10:_find_and_load:_find_and_load_unlocked:_check_name_wrapper:load_module:load_module:module_for_loader_wrapper:_load_module:get_code",
lsb.json- "package": "lsb-release",
lsb.json- "web_link": "https://errors.ubuntu.com/problem/f6936f5fd60998c7f615667ec7989d4b159543ee"
--
ubuntuone-control-panel.json: "function": "/usr/bin/ubuntuone-control-panel-qt:EOFError:/usr/bin/ubuntuone-control-panel-qt at 29:/usr/lib/python2.7/dist-packages/ubuntuone-control-panel/ubuntuone/controlpanel/gui/qt/main/__init__.py at 24:/usr/lib/python2.7/dist-packages/ubuntuone-control-panel/ubuntuone/controlpanel/gui/qt/gui.py at 27:/usr/lib/python2.7/dist-packages/ubuntuone-control-panel/ubuntuone/controlpanel/gui/qt/ui/mainwindow_ui.py at 53:/usr/lib/python2.7/dist-packages/ubuntuone-control-panel/ubuntuone/controlpanel/gui/qt/controlpanel.py at 46:/usr/lib/python2.7/dist-packages/ubuntuone-control-panel/ubuntuone/controlpanel/gui/qt/ui/controlpanel_ui.py at 221:/usr/lib/python2.7/dist-packages/ubuntuone-control-panel/ubuntuone/controlpanel/gui/qt/devices.py at 34:/usr/lib/python2.7/dist-packages/ubuntuone-control-panel/ubuntuone/controlpanel/gui/qt/ui/devices_ui.py at 71:/usr/lib/python2.7/dist-packages/ubuntuone-control-panel/ubuntuone/controlpanel/gui/qt/device.py at 37:/usr/lib/python2.7/dist-packages/ubuntuone-control-panel/ubuntuone/controlpanel/gui/qt/ui/device_ui.py at 47",
ubuntuone-control-panel.json- "package": "ubuntuone-control-panel-qt",
ubuntuone-control-panel.json- "web_link": "https://errors.ubuntu.com/problem/0b65999c4a087ea0e6fd5c586a38e32a95a4a30d"
--
unattended-upgrades.json: "function": "/usr/bin/unattended-upgrade:EOFError:/usr/bin/unattended-upgrade at 46",
unattended-upgrades.json- "package": "unattended-upgrades",
unattended-upgrades.json- "web_link": "https://errors.ubuntu.com/problem/819751911a6c78ec3743746b501da978004aa424"
--
unattended-upgrades.json: "function": "/usr/share/unattended-upgrades/unattended-upgrade-shutdown:EOFError:/usr/share/unattended-upgrades/unattended-upgrade-shutdown at 40",
unattended-upgrades.json- "package": "unattended-upgrades",
unattended-upgrades.json- "web_link": "https://errors.ubuntu.com/problem/cc0ec656f55a79db561c64a36116cea90600547e"
--
unattended-upgrades.json: "function": "/usr/share/unattended-upgrades/unattended-upgrade-shutdown:EOFError:/usr/share/unattended-upgrades/unattended-upgrade-shutdown at 34:_find_and_load:_find_and_load_unlocked:_check_name_wrapper:load_module:load_module:module_for_loader_wrapper:_load_module:get_code",
unattended-upgrades.json- "package": "unattended-upgrades",
unattended-upgrades.json- "web_link": "https://errors.ubuntu.com/problem/606dc6afc54b80ab6700fd7e5e1e25fca71b705b"
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to python2.7 in Ubuntu.
https://bugs.launchpad.net/bugs/1058884
Title:
Race condition in py_compile corrupts pyc files
Status in “python2.7” package in Ubuntu:
Fix Released
Status in “python3.2” package in Ubuntu:
Invalid
Status in “python3.3” package in Ubuntu:
Fix Released
Status in “python2.7” source package in Precise:
Fix Committed
Status in “python3.2” source package in Precise:
Fix Committed
Status in “python3.3” source package in Precise:
Invalid
Status in “python2.7” source package in Quantal:
Fix Committed
Status in “python3.2” source package in Quantal:
Fix Committed
Status in “python3.3” source package in Quantal:
Invalid
Status in “python2.7” source package in Raring:
Fix Committed
Status in “python3.2” source package in Raring:
Invalid
Status in “python3.3” source package in Raring:
Fix Committed
Status in “python2.7” source package in Saucy:
Fix Released
Status in “python3.2” source package in Saucy:
Invalid
Status in “python3.3” source package in Saucy:
Fix Released
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/do-release-upgrade", line 8, in <module>
from DistUpgrade.DistUpgradeVersion import VERSION
EOFError: EOF read where not expected
ProblemType: Crash
DistroRelease: Ubuntu 12.10
Package: ubuntu-release-upgrader-core 1:0.181
ProcVersionSignature: Ubuntu 3.5.0-16.25-generic 3.5.4
Uname: Linux 3.5.0-16-generic x86_64
NonfreeKernelModules: fglrx
ApportVersion: 2.5.3-0ubuntu1
Architecture: amd64
Date: Sat Sep 29 15:11:46 2012
ExecutablePath: /usr/bin/do-release-upgrade
InterpreterPath: /usr/bin/python3.2mu
PackageArchitecture: all
ProcCmdline: /usr/bin/python3 /usr/lib/ubuntu-release-upgrader/check-new-release -q
ProcEnviron:
TERM=linux
PATH=(custom, no user)
PythonArgs: ['/usr/lib/ubuntu-release-upgrader/check-new-release', '-q']
SourcePackage: ubuntu-release-upgrader
Title: do-release-upgrade crashed with EOFError in /usr/lib/ubuntu-release-upgrader/check-new-release: EOF read where not expected
Traceback:
Traceback (most recent call last):
File "/usr/lib/ubuntu-release-upgrader/check-new-release", line 8, in <module>
from DistUpgrade.DistUpgradeVersion import VERSION
EOFError: EOF read where not expected
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:
VarLogDistupgradeAptclonesystemstate.tar.gz: Error: command ['cat', '/var/log/dist-upgrade/apt-clone_system_state.tar.gz'] failed with exit code 1: cat: /var/log/dist-upgrade/apt-clone_system_state.tar.gz: No such file or directory
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python2.7/+bug/1058884/+subscriptions
More information about the foundations-bugs
mailing list