Debian Bug report logs - #670680
armhf sigsegv's on task switch

version graph

Package: src:python-greenlet; Maintainer for src:python-greenlet is Laszlo Boszormenyi (GCS) <gcs@debian.org>;

Reported by: Al Stone <ahs3@debian.org>

Date: Fri, 27 Apr 2012 22:57:01 UTC

Severity: important

Tags: patch, upstream

Fixed in version python-greenlet/0.4.0-1

Done: "Laszlo Boszormenyi (GCS)" <gcs@debian.hu>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Örjan Persson <orange@fobie.net>:
Bug#670680; Package src:python-greenlet. (Fri, 27 Apr 2012 22:57:04 GMT) (full text, mbox, link).


Acknowledgement sent to Al Stone <ahs3@debian.org>:
New Bug report received and forwarded. Copy sent to Örjan Persson <orange@fobie.net>. (Fri, 27 Apr 2012 22:57:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Al Stone <ahs3@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: armhf sigsegv's on task switch
Date: Fri, 27 Apr 2012 16:54:48 -0600
[Message part 1 (text/plain, inline)]
Source: python-greenlet
Severity: important
Tags: upstream patch

The 0.3.1 version of python-greenlet does not seem to behave on
armhf.  The following code will show the problem:

from greenlet import greenlet

def test1():
	print 12
	gr2.switch()
	print 34

def test2():
	print 56
	gr1.switch()
	print 78

print 'Correct answer is:'
print '12'
print '56'
print '34'

print 'Actual answer is:'
gr1 = greenlet(test1)
gr2 = greenlet(test2)
gr1.switch()


However, the 0.3.3 version will not compile, either.  So, the attached
patch (sorry, not my best work ever ... I'm in a hurry) does two things:
(1) add -fomit-frame-pointer to the compile so that r7 can actually be
saved, and (2) changes platform/switch_arm32_gcc.h to incorporate the
latest upstream changes (which were insufficient) and be more conversative
in what gets saved on task switch.  With the changes, 0.3.3 builds on
armhf and passes the test suite with no errors.
[armv7-stack-save (text/x-diff, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Örjan Persson <orange@fobie.net>:
Bug#670680; Package src:python-greenlet. (Sat, 01 Sep 2012 12:48:02 GMT) (full text, mbox, link).


Acknowledgement sent to "Laszlo Boszormenyi (GCS)" <gcs@debian.hu>:
Extra info received and forwarded to list. Copy sent to Örjan Persson <orange@fobie.net>. (Sat, 01 Sep 2012 12:48:03 GMT) (full text, mbox, link).


Message #10 received at 670680@bugs.debian.org (full text, mbox, reply):

From: "Laszlo Boszormenyi (GCS)" <gcs@debian.hu>
To: Al Stone <ahs3@debian.org>
Cc: 670680@bugs.debian.org
Subject: test python-greenlet/0.4.0-1 on armhf
Date: Sat, 01 Sep 2012 12:43:18 +0000
Hi Al,

I plan to take over python-greenlet and upload a new upstream release.
Can you please check if 0.4.0-1 [1] fixes this bug for you?

Thanks,
Laszlo/GCS
[1] dget -xu http://www.barcikacomp.hu/gcs/python-greenlet_0.4.0-1.dsc




Reply sent to "Laszlo Boszormenyi (GCS)" <gcs@debian.hu>:
You have taken responsibility. (Fri, 07 Sep 2012 21:18:08 GMT) (full text, mbox, link).


Notification sent to Al Stone <ahs3@debian.org>:
Bug acknowledged by developer. (Fri, 07 Sep 2012 21:18:08 GMT) (full text, mbox, link).


Message #15 received at 670680-done@bugs.debian.org (full text, mbox, reply):

From: "Laszlo Boszormenyi (GCS)" <gcs@debian.hu>
To: 670680-done@bugs.debian.org
Subject: python-greenlet/0.4.0-1 fixes sigsegv on armhf task switch
Date: Fri, 07 Sep 2012 21:14:27 +0000
Package: python-greenlet
Version: 0.4.0-1
thanks

Reporter confirms that new upstream release fixed this issue.




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Mon, 11 Feb 2013 07:26:33 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Jan 14 04:49:49 2018; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.