[Python-Dev] Time for 2.3.3?

Andrew MacIntyre andymac at bullseye.apana.org.au
Fri Nov 21 16:39:34 EST 2003


On Fri, 21 Nov 2003, Barry Warsaw wrote:

> FWIW, I'm having much more problems with 2.3cvs on RH7.3.  test_re.py
> core dumps for me for instance.  I'm doing a fresh build --with-pydebug
> and will try to get more information.

sre in 2.3x is compiler sensitive - the stack frame size becomes critical
in how many sre recursions are supported, and a core dump is certain if
the sre recursion limit is more than the available stack space allows.

Threads support may be mixed in with this, as the size of the stack for
the primary or initial thread is what gets exercised by test_re.

On FreeBSD 4.x the stack size for this thread is fixed at 1MB (pthreads
implementation limitation, not OS limit).  gcc versions < 3.0 don't cause
problems with the default sre recursion limit of 10000, but later
versions do.

So I'd suggest trying a lower sre recursion limit to see whether this
helps.

--
Andrew I MacIntyre                     "These thoughts are mine alone..."
E-mail: andymac at bullseye.apana.org.au  (pref) | Snail: PO Box 370
        andymac at pcug.org.au             (alt) |        Belconnen  ACT  2616
Web:    http://www.andymac.org/               |        Australia



More information about the Python-Dev mailing list