2012-04-27 22:39:23 |
Al Stone |
bug |
|
|
added bug |
2012-04-27 22:39:23 |
Al Stone |
attachment added |
|
python code showing the error https://bugs.launchpad.net/bugs/990162/+attachment/3110646/+files/small.py |
|
2012-04-27 22:40:35 |
Al Stone |
attachment added |
|
possible patch for armhf https://bugs.launchpad.net/ubuntu/+source/python-greenlet/+bug/990162/+attachment/3110650/+files/armv7-stack-save |
|
2012-04-27 23:17:27 |
Al Stone |
bug watch added |
|
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=670680 |
|
2012-04-27 23:17:27 |
Al Stone |
bug task added |
|
python-greenlet (Debian) |
|
2012-04-27 23:18:57 |
Al Stone |
bug task added |
|
keystone |
|
2012-04-28 00:22:27 |
Bug Watch Updater |
python-greenlet (Debian): status |
Unknown |
Confirmed |
|
2012-04-30 16:24:51 |
Launchpad Janitor |
python-greenlet (Ubuntu): status |
New |
Confirmed |
|
2012-04-30 16:25:58 |
Jason Hobbs |
bug |
|
|
added subscriber Jason Hobbs |
2012-04-30 18:29:28 |
Robie Basak |
bug |
|
|
added subscriber Robie Basak |
2012-05-05 17:45:29 |
Joseph Heck |
keystone: status |
New |
Triaged |
|
2012-06-07 16:22:37 |
Joseph Heck |
keystone: importance |
Undecided |
Low |
|
2012-07-16 16:36:03 |
Robie Basak |
bug task added |
|
eilt |
|
2012-07-16 16:36:48 |
Robie Basak |
nominated for series |
|
Ubuntu Precise |
|
2012-07-16 17:27:17 |
Adam Conrad |
bug task added |
|
python-greenlet (Ubuntu Precise) |
|
2012-07-17 08:53:55 |
Robie Basak |
python-greenlet (Ubuntu Precise): milestone |
|
ubuntu-12.04.1 |
|
2012-07-17 09:31:29 |
Robie Basak |
eilt: importance |
Undecided |
High |
|
2012-07-17 09:31:32 |
Robie Basak |
eilt: status |
New |
Triaged |
|
2012-07-17 16:30:44 |
Robie Basak |
python-greenlet (Ubuntu): status |
Confirmed |
Fix Released |
|
2012-07-17 16:30:49 |
Robie Basak |
python-greenlet (Ubuntu Precise): status |
New |
Triaged |
|
2012-07-17 16:31:56 |
Robie Basak |
python-greenlet (Ubuntu Precise): status |
Triaged |
In Progress |
|
2012-07-17 16:32:22 |
Robie Basak |
python-greenlet (Ubuntu Precise): assignee |
|
Al Stone (ahs3) |
|
2012-07-17 17:25:36 |
Robie Basak |
python-greenlet (Ubuntu Precise): assignee |
Al Stone (ahs3) |
Chuck Short (zulcss) |
|
2012-07-18 20:38:49 |
Chuck Short |
summary |
armhf version is unusable -- task switches will cause sigsegv's |
[SRU] armhf version is unusable -- task switches will cause sigsegv's |
|
2012-07-18 20:44:53 |
Chuck Short |
description |
Please ignore the data about which packages and such are installed. I had to report this problem on a machine different from the on that actually has the error. The machine with the error is an ARMv7 ArmadaXP SoC from Marvell. This report was created on an x86 system. Regardless, the ARMv7 system was using the latest armhf bits from Precise.
Using a very small bit of python (attached as small.py), the problem is easily shown. Task switching does not retain the correct stack information to allow the switching to occur reliably.
I would recommend first upgrading this package to at least the 0.3.3 version in Debian unstable; upstream is even newer, with even more ARM fixes. If the 0.3.3 package was being used, the test suite would have run and this error would have been seen immediately. The current 0.3.1 package does NOT run the test suite at all.
I've attached a patch (also submitted to upstream) that may help (at least, with 0.3.3, it will); it's not my best work, unfortunately, but I really needed to get this working. The patch attached does two things:
-- Add -fomit-frame-pointer to the build so that r7 can be saved.
-- Pulls in the latest version of platform/switch_arm32_gcc.h from upstream, and then adds more registers to the ones being saved.
With this patch, 0.3.3 builds and passes the complete test suite on armhf.
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: python-greenlet 0.3.1-1ubuntu5
ProcVersionSignature: Ubuntu 3.2.0-23.36-generic 3.2.14
Uname: Linux 3.2.0-23-generic x86_64
NonfreeKernelModules: fglrx
ApportVersion: 2.0.1-0ubuntu5
Architecture: amd64
Date: Fri Apr 27 16:24:54 2012
ProcEnviron:
TERM=xterm
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: python-greenlet
UpgradeStatus: Upgraded to precise on 2012-01-09 (109 days ago) |
Impact:
In some certain cases, python-greenlet segfaults on armhf cpus running 12.04. This affects glance from running properly on ARM.
[ Test Case ]
1. Install python-greenlet on a board running an armhf cpu.
2. Run the script in the attachment called "python code showing the error".
3. See the python script cause a segfault.
[ Regression Potental ]
None, this bug has been fixed upstream and has already been fixed in Quantal. There has been no side affects of this patch. |
|
2012-07-18 20:46:19 |
Chuck Short |
attachment added |
|
Debdiff https://bugs.launchpad.net/ubuntu/+source/python-greenlet/+bug/990162/+attachment/3227644/+files/debdiff |
|
2012-07-18 20:46:33 |
Chuck Short |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2012-07-18 21:31:20 |
Adam Conrad |
python-greenlet (Ubuntu Precise): status |
In Progress |
Fix Committed |
|
2012-07-18 21:31:25 |
Adam Conrad |
bug |
|
|
added subscriber SRU Verification |
2012-07-18 21:31:32 |
Adam Conrad |
tags |
amd64 apport-bug precise |
amd64 apport-bug precise verification-needed |
|
2012-07-18 21:42:06 |
Launchpad Janitor |
branch linked |
|
lp:~ubuntu-branches/ubuntu/precise/python-greenlet/precise-proposed |
|
2012-07-19 13:43:41 |
James Page |
python-greenlet (Ubuntu Precise): importance |
Undecided |
High |
|
2012-07-19 13:43:45 |
James Page |
python-greenlet (Ubuntu): importance |
Undecided |
High |
|
2012-07-20 12:39:11 |
Ante Karamatić |
tags |
amd64 apport-bug precise verification-needed |
amd64 apport-bug precise verification-done |
|
2012-07-25 23:23:24 |
Launchpad Janitor |
python-greenlet (Ubuntu Precise): status |
Fix Committed |
Fix Released |
|
2012-09-10 13:28:41 |
Bug Watch Updater |
python-greenlet (Debian): status |
Confirmed |
Fix Released |
|
2014-06-03 14:40:46 |
Jason Hobbs |
removed subscriber Jason Hobbs |
|
|
|
2014-09-21 17:42:51 |
Morgan Fainberg |
keystone: status |
Triaged |
Invalid |
|