Activity log for bug #1367907

Date Who What changed Old value New value Message
2014-09-10 20:07:09 Clark Boylan bug added bug
2014-09-10 20:08:13 Clark Boylan bug watch added http://bugs.python.org/issue21435
2014-09-10 20:08:13 Clark Boylan bug task added python
2014-09-10 20:09:05 Doug Hellmann bug added subscriber Doug Hellmann
2014-09-10 20:10:56 Clark Boylan description Trusty's python3.4 package is affected by python bug http://bugs.python.org/issue21435. This bug was fixed in http://hg.python.org/cpython/rev/64ba3f2de99c. Trusty should pull this fix into the python3.4 package. Note this definitely affects some python projects. `git clone https://git.openstack.org/openstack/oslo.messaging && cd oslo.messaging && tox -repy34` will segfault due to this bug. With previous versions of python unaffected by this bug there is no segfaulting. Now for details: $ lsb_release -rd Description: Ubuntu 14.04.1 LTS Release: 14.04 $ apt-cache policy python3.4 python3.4: Installed: 3.4.0-2ubuntu1 Candidate: 3.4.0-2ubuntu1 Version table: *** 3.4.0-2ubuntu1 0 500 http://us.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages 100 /var/lib/dpkg/status Trusty's python3.4 package is affected by python bug http://bugs.python.org/issue21435. This bug was fixed in http://hg.python.org/cpython/rev/64ba3f2de99c. Trusty should pull this fix into the python3.4 package. Note this definitely affects some python projects. `git clone https://git.openstack.org/openstack/oslo.messaging && cd oslo.messaging && edit tox.ini file, copy py33 target and rename to py34 && tox -repy34` will segfault due to this bug. With previous versions of python unaffected by this bug there is no segfaulting. Now for details: $ lsb_release -rd Description: Ubuntu 14.04.1 LTS Release: 14.04 $ apt-cache policy python3.4 python3.4:   Installed: 3.4.0-2ubuntu1   Candidate: 3.4.0-2ubuntu1   Version table:  *** 3.4.0-2ubuntu1 0         500 http://us.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages         100 /var/lib/dpkg/status
2014-09-10 20:11:37 Clark Boylan bug task added oslo.messaging
2014-09-10 20:12:16 Doug Hellmann oslo.messaging: assignee Clark Boylan (cboylan)
2014-09-10 23:42:43 Clark Boylan description Trusty's python3.4 package is affected by python bug http://bugs.python.org/issue21435. This bug was fixed in http://hg.python.org/cpython/rev/64ba3f2de99c. Trusty should pull this fix into the python3.4 package. Note this definitely affects some python projects. `git clone https://git.openstack.org/openstack/oslo.messaging && cd oslo.messaging && edit tox.ini file, copy py33 target and rename to py34 && tox -repy34` will segfault due to this bug. With previous versions of python unaffected by this bug there is no segfaulting. Now for details: $ lsb_release -rd Description: Ubuntu 14.04.1 LTS Release: 14.04 $ apt-cache policy python3.4 python3.4:   Installed: 3.4.0-2ubuntu1   Candidate: 3.4.0-2ubuntu1   Version table:  *** 3.4.0-2ubuntu1 0         500 http://us.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages         100 /var/lib/dpkg/status Trusty's python3.4 package is affected by python bug http://bugs.python.org/issue21435. This bug was fixed in http://hg.python.org/cpython/rev/64ba3f2de99c. Trusty should pull this fix into the python3.4 package. Note this definitely affects some python projects. `git clone https://git.openstack.org/openstack/oslo.messaging && cd oslo.messaging && edit tox.ini file, copy py33 target and rename to py34 && tox -repy34` will segfault due to this bug. With previous versions of python unaffected by this bug there is no segfaulting. Now for details, broken using: $ lsb_release -rd Description: Ubuntu 14.04.1 LTS Release: 14.04 $ apt-cache policy python3.4 python3.4:   Installed: 3.4.0-2ubuntu1   Candidate: 3.4.0-2ubuntu1   Version table:  *** 3.4.0-2ubuntu1 0         500 http://us.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages         100 /var/lib/dpkg/status If I install the following python3.4 packages for Unicorn on Trusty this bug is corrected. The Unicorn packages here on lp for python3.4 are python3.4.1 which includes the bug fix for this bug. libpython3.4_3.4.1-10ubuntu1_amd64.deb libpython3.4-dev_3.4.1-10ubuntu1_amd64.deb libpython3.4-stdlib_3.4.1-10ubuntu1_amd64.deb python3.4-dbg_3.4.1-10ubuntu1_amd64.deb python3.4-minimal_3.4.1-10ubuntu1_amd64.deb libpython3.4-dbg_3.4.1-10ubuntu1_amd64.deb libpython3.4-minimal_3.4.1-10ubuntu1_amd64.deb python3.4_3.4.1-10ubuntu1_amd64.deb python3.4-dev_3.4.1-10ubuntu1_amd64.deb Note I installed the -dbg packages too just in case I needed to use gdb but that wasn't necessary as the test case works with these newer versions of python. $ apt-cache policy python3.4 python3.4: Installed: 3.4.1-10ubuntu1 Candidate: 3.4.1-10ubuntu1 Version table: *** 3.4.1-10ubuntu1 0 100 /var/lib/dpkg/status 3.4.0-2ubuntu1 0 500 http://az2.clouds.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages [Impact] This python bug can cause python processes that tickle it to segfault python. This means there could be a significant number of python packages that are broken when run under this interpreter. The fix for this bug should be backported to avoid seemingly random and hard to debug segfaults from happening when users use python. Unicorn's 3.4.1 packages fix this bug by including the patch at http://hg.python.org/cpython/rev/64ba3f2de99c. [Test Case] There is a test case detailed in the upstream bug http://bugs.python.org/issue21435, though I have been doing the following instead: git clone https://git.openstack.org/openstack/oslo.messaging cd oslo.messaging git fetch https://review.openstack.org/openstack/oslo.messaging refs/changes/90/118790/2 && git checkout FETCH_HEAD tox -repy34 # This should end with segfaulting test runners. Note if you don't have tox installed you will need to install version 1.7.2 or greater. `sudo pip install tox==1.7.2` will do this. [Regression Potential] The patch in question is small. If we go straight to python 3.4.1 the diff will be larger but that isn't necessary to fix this particular issue. The biggest regression potential would be that the garbage collector is newly broken by the this bug fix. Considering that the garbage collector is already broken and this patch comes with test cases to check it is less broken the risk of regression here is less than the pain of dealing with this bug.
2014-09-11 00:00:48 Bug Watch Updater python: status Unknown Fix Released
2014-09-22 14:13:04 Barry Warsaw python3.4 (Ubuntu): status New In Progress
2014-09-22 14:13:07 Barry Warsaw python3.4 (Ubuntu): importance Undecided High
2014-09-22 14:13:10 Barry Warsaw python3.4 (Ubuntu): assignee Barry Warsaw (barry)
2014-09-23 17:21:54 falsetru bug added subscriber falsetru
2014-10-08 10:15:54 Matthias Klose nominated for series Ubuntu Trusty
2014-10-08 10:15:54 Matthias Klose bug task added python3.4 (Ubuntu Trusty)
2014-10-08 10:16:32 Matthias Klose python3.4 (Ubuntu Trusty): status New Triaged
2014-10-08 10:16:57 Matthias Klose python3.4 (Ubuntu): status In Progress Fix Released
2014-10-17 17:00:14 Adam Gandelman bug added subscriber Ubuntu Stable Release Updates Team
2014-12-03 13:24:36 Mehdi Abaakouk oslo.messaging: status New Invalid
2015-07-17 20:35:16 Steve Langasek python3.4 (Ubuntu Trusty): status Triaged Fix Committed
2015-07-17 20:35:18 Steve Langasek bug added subscriber SRU Verification
2015-07-17 20:35:24 Steve Langasek tags verification-needed
2015-07-17 22:57:09 Clark Boylan tags verification-needed verification-done
2015-09-14 21:25:38 Barry Warsaw python3.4 (Ubuntu Trusty): status Fix Committed In Progress