[ATTN MAINTAINER] python

Corinna Vinschen corinna-cygwin@cygwin.com
Tue Mar 3 22:32:00 GMT 2015


On Mar  3 21:51, Achim Gratz wrote:
> Achim Gratz writes:
> > While building maxima I've come across a consistent SEGV crash of python
> > on both architectures. To reproduce, change into the doc/info dirextory
> > and run
> >
> > $ sh ./extract_categories.sh maxima
> >
> > The crash seems to relate to the number of lines in the program (thare
> > are about 20000 lines and it does not crash with just 5000).  The same
> > program works without problems on Linux.  It creates and deletes a lot
> > of variables, so the SEGV might be related to either the GC or memory
> > allocation in Python.
> 
> Increasing the stack reserve size of the python executable to 0x400000
> on 32bit and 0x800000 on 64bit avoids the SEGV.  I'm not sure if this
> indicates an error in Python itself or simply a too restricted
> configuration.

Maybe it just needs a really big stack? 


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-apps/attachments/20150303/c04cd9d9/attachment.sig>


More information about the Cygwin-apps mailing list