** Description changed: - 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. + Impact: - 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. + In some certain cases, python-greenlet segfaults on armhf cpus running + 12.04. This affects glance from running properly on ARM. - 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. + [ Test Case ] - 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: + 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. - -- Add -fomit-frame-pointer to the build so that r7 can be saved. + [ Regression Potental ] - -- 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) + None, this bug has been fixed upstream and has already been fixed in + Quantal. There has been no side affects of this patch.
** Attachment added: "Debdiff" https://bugs.launchpad.net/ubuntu/+source/python-greenlet/+bug/990162/+attachment/3227644/+files/debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/990162 Title: [SRU] armhf version is unusable -- task switches will cause sigsegv's To manage notifications about this bug go to: https://bugs.launchpad.net/eilt/+bug/990162/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
