[Bug 1446974] Re: python-greenlet coredump on Power8 LE guest

2015-09-15 Thread Tony Breeds
Version 0.4.9 should work on ppc64le. Upgrading the ubuntu package 0.4.9 to that OR including: https://github.com/python-greenlet/greenlet/commit/9ad99fb5b9db916ca81bd3f5717c67e20384f7e0 ; and https://github.com/python-greenlet/greenlet/commit/4d0c450852a2b0cf6307cf6ca53dcdeea357cd48 should

[Bug 1446974] Re: python-greenlet coredump on Power8 LE guest

2015-09-15 Thread Hang Liu
The patch fixed the problem, I just got the environment to verify it. Thanks! -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to python-greenlet in Ubuntu. https://bugs.launchpad.net/bugs/1446974 Title: python-greenlet coredump on

[Bug 1446974] Re: python-greenlet coredump on Power8 LE guest

2015-07-16 Thread Tony Breeds
The Ubuntu package contains a patch from Uli that does the STACK_MAGIC change (and more). Rebuilding the python-greenlet package with -O1 passes the (greenlet) test suite. but nova (in my case nova-manage) still SEGVs -- You received this bug notification because you are a member of Ubuntu

[Bug 1446974] Re: python-greenlet coredump on Power8 LE guest

2015-06-05 Thread Michael Ellerman
Does this fix it for you? diff --git a/platform/switch_ppc64_linux.h b/platform/switch_ppc64_linux.h index ee40f67..e94c41c 100644 --- a/platform/switch_ppc64_linux.h +++ b/platform/switch_ppc64_linux.h @@ -40,7 +40,7 @@ #ifdef SLP_EVAL -#define STACK_MAGIC 6 +#define STACK_MAGIC 4 /*

[Bug 1446974] Re: python-greenlet coredump on Power8 LE guest

2015-04-22 Thread Hang Liu
** Attachment added: core.zip https://bugs.launchpad.net/ubuntu/+source/python-greenlet/+bug/1446974/+attachment/4381061/+files/core.zip -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to python-greenlet in Ubuntu.

[Bug 1446974] Re: python-greenlet coredump on Power8 LE guest

2015-04-22 Thread Hang Liu
build/lib.linux-ppc64le-2.7/greenlet.so ** Attachment added: greenlet.so https://bugs.launchpad.net/ubuntu/+source/python-greenlet/+bug/1446974/+attachment/4381063/+files/greenlet.so -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to

[Bug 1446974] Re: python-greenlet coredump on Power8 LE guest

2015-04-22 Thread Hang Liu
But if I change compiling option to -O0, it report the below compiling error: In file included from slp_platformselect.h:16:0, from greenlet.c:400: platform/switch_ppc64_linux.h: In function ‘slp_switch’: platform/switch_ppc64_linux.h:81:1: error: 31 cannot be used in asm

[Bug 1446974] Re: python-greenlet coredump on Power8 LE guest

2015-04-22 Thread Hang Liu
The problem disappear when change compiling option to -O1 ( default is -O2) powerpc64le-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O1 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack- protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -c

[Bug 1446974] Re: python-greenlet coredump on Power8 LE guest

2015-04-22 Thread Robie Basak
Thank you for taking the time to report this bug and helping to make Ubuntu better. I think this is likely to be another instance of https://github.com /python-greenlet/greenlet/issues/66. I think the best way to fix this is to implement slp_switch in assembly, at least one at a time as each