This is the mail archive of the cygwin-apps mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [ATTN MAINTAINER] python


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

Attachment: pgpRfkx6A5BLx.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]