[Stackless] Windows 2.7.6 stability

Kristján Valur Jónsson kristjan at ccpgames.com
Wed Feb 5 14:09:36 CET 2014


Ok, I have a proposed patch in a branch on
https://bitbucket.org/krisvale/stackless-scratch

The idea is to move the flags from the PyTypeObject into the PyMappingMethods structure, which is unlikely to be extended by third party apps.
This runs the stackless testsuite.

K

From: stackless-bounces at stackless.com [mailto:stackless-bounces at stackless.com] On Behalf Of lars van Gemerden
Sent: 5. febrúar 2014 12:17
To: The Stackless Python Mailing List
Subject: Re: [Stackless] Windows 2.7.6 stability

I would like to see better PySide compatibility, since my code relies on stackless and PySide.

The crashes have become less though since maybe a year ago; maybe some improvements on the PySide?

I am using stackless python 2.7.5.

CL

On Wed, Feb 5, 2014 at 9:55 AM, Kristján Valur Jónsson <kristjan at ccpgames.com<mailto:kristjan at ccpgames.com>> wrote:
At one point I had a patch going in stackless, which changed the way we extended PyHeapType, IIRC.
I think this is the way to go, make sure we stay compatible.

> -----Original Message-----
> From: stackless-bounces at stackless.com<mailto:stackless-bounces at stackless.com> [mailto:stackless-<mailto:stackless->
> bounces at stackless.com<mailto:bounces at stackless.com>] On Behalf Of Richard Tew
> Sent: 4. febrúar 2014 20:11
> To: The Stackless Python Mailing List
> Subject: Re: [Stackless] Windows 2.7.6 stability
>
> Well, I think Christian was deep into it, and trying to get the PySide people to
> do a compatibility patch or something.  Last I recall, from several months ago.
>
> It is indeed a pity we can't say we're compatible with all Python extensions,
> and it would be good to get it fixed.
>
> Cheers,
> Richard.
>
> On 2/4/14, Kristján Valur Jónsson <kristjan at ccpgames.com<mailto:kristjan at ccpgames.com>> wrote:
> > This is so annoying.  Time for another stab at this problem, perhaps?
> >
> >> -----Original Message-----
> >> From: stackless-bounces at stackless.com<mailto:stackless-bounces at stackless.com> [mailto:stackless-<mailto:stackless->
> >> bounces at stackless.com<mailto:bounces at stackless.com>] On Behalf Of Richard Tew
> >> Sent: 3. febrúar 2014 18:53
> >> To: The Stackless Python Mailing List
> >> Subject: Re: [Stackless] Windows 2.7.6 stability
> >>
> >> No, thanks for the suggestion.  But this is definitely PySide and
> >> it's modification of the base object type that stackless also modifies.
> >>
> >> Cheers,
> >> Richard.
> >>
> >> On 2/4/14, Anselm Kruis <a.kruis at science-computing.de<mailto:a.kruis at science-computing.de>> wrote:
> >> > Could it be related to the PGO optimised build?
> >> > As far as I know, the mainline python installer is build without PGO.
> >> > Our installer is build with PGO optimisation.
> >> >
> >> > Another question: can you try our 2.7.5 build? It is PGO optimized too.
> >> >
> >> > Cheers
> >> >    Anselm
> >> >
> >> >
> >> > Am 03.02.2014 12<tel:03.02.2014%2012>:13, schrieb Kristján Valur Jónsson:
> >> >> Hi.
> >> >> Do you get this only with the installed version?
> >> >> Could you try replacing it with your own build?  If so, could you
> >> >> go into the source code and disable stack spilling ?
> >> >> You have to nerf the macro CSTACK_SAVE_NOW.
> >> >>
> >> >> I saw some mysterious crashes recently in a live build in Shanghai
> >> >> that went away when I disabled this.
> >> >>
> >> >> K
> >> >>
> >> >>> -----Original Message-----
> >> >>> From: stackless-bounces at stackless.com<mailto:stackless-bounces at stackless.com> [mailto:stackless-<mailto:stackless->
> >> >>> bounces at stackless.com<mailto:bounces at stackless.com>] On Behalf Of Richard Tew
> >> >>> Sent: 3. febrúar 2014 03:04
> >> >>> To: stackless at stackless.com<mailto:stackless at stackless.com>
> >> >>> Subject: [Stackless] Windows 2.7.6 stability
> >> >>>
> >> >>> Hi,
> >> >>>
> >> >>> I've got the installer we provide for 2.7.6, on Windows.  And
> >> >>> I've been getting lots of non-crashing premature exits:
> >> >>>
> >> >>> SystemError: unknown opcode
> >> >>> XXX lineno: 314, opcode: 0
> >> >>>
> >> >>> It's not consistently reproducible using running the same code,
> >> >>> but can be sometimes, and I'm not using any Stackless features.
> >> >>>
> >> >>> If I take the mainline python repo and sync to v2.7.6 and
> >> >>> generate a dll, and put it in c:\python27, all the problems go away.
> >> >>>
> >> >>> I thought it might be pyside 1.1.2 which I was using, but
> >> >>> upgraded that and the problem remained with pyside 1.2.1.  That's
> >> >>> the only external dependency my code uses.
> >> >>>
> >> >>> Anyone else using this installer?
> >> >>>
> >> >>> Cheers,
> >> >>> Richard.
> >> >>>
> >> >>> _______________________________________________
> >> >>> Stackless mailing list
> >> >>> Stackless at stackless.com<mailto:Stackless at stackless.com>
> >> >>> http://www.stackless.com/mailman/listinfo/stackless
> >> >>
> >> >>
> >> >>
> >> >> _______________________________________________
> >> >> Stackless mailing list
> >> >> Stackless at stackless.com<mailto:Stackless at stackless.com>
> >> >> http://www.stackless.com/mailman/listinfo/stackless
> >> >>
> >> >
> >> > --
> >> >   Dipl. Phys. Anselm Kruis                       science + computing ag
> >> >   Senior Solution Architect                      Ingolstädter Str. 22
> >> >   email A.Kruis at science-computing.de<mailto:A.Kruis at science-computing.de>             80807 München, Germany
> >> >   phone +49 89 356386 874<tel:%2B49%2089%20356386%20874>  fax 737
> >> > www.science-computing.de<http://www.science-computing.de>
> >> > --
> >> > Vorstandsvorsitzender/Chairman of the board of management:
> >> > Gerd-Lothar Leonhart
> >> > Vorstand/Board of Management:
> >> > Dr. Bernd Finkbeiner, Michael Heinrichs, Dr. Arno Steitz, Dr.
> >> > Ingrid Zech Vorsitzender des Aufsichtsrats/ Chairman of the
> >> > Supervisory
> >> > Board:
> >> > Philippe Miltin
> >> > Sitz/Registered Office: Tuebingen
> >> > Registergericht/Registration Court: Stuttgart
> >> > Registernummer/Commercial Register No.: HRB 382196
> >> >
> >> >
> >> > _______________________________________________
> >> > Stackless mailing list
> >> > Stackless at stackless.com<mailto:Stackless at stackless.com>
> >> > http://www.stackless.com/mailman/listinfo/stackless
> >> >
> >>
> >> _______________________________________________
> >> Stackless mailing list
> >> Stackless at stackless.com<mailto:Stackless at stackless.com>
> >> http://www.stackless.com/mailman/listinfo/stackless
> >
> >
> >
> > _______________________________________________
> > Stackless mailing list
> > Stackless at stackless.com<mailto:Stackless at stackless.com>
> > http://www.stackless.com/mailman/listinfo/stackless
> >
>
> _______________________________________________
> Stackless mailing list
> Stackless at stackless.com<mailto:Stackless at stackless.com>
> http://www.stackless.com/mailman/listinfo/stackless



_______________________________________________
Stackless mailing list
Stackless at stackless.com<mailto:Stackless at stackless.com>
http://www.stackless.com/mailman/listinfo/stackless



--
====================================
Lars van Gemerden
lars at rational-it.com<mailto:lars at rational-it.com>
+31 6 26 88 55 39
====================================
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.stackless.com/pipermail/stackless/attachments/20140205/bf1d4da8/attachment-0001.html>


More information about the Stackless mailing list