Re: make test segfaults with "--enable-shared" on Python 2.3.3
From: Andrew MacIntyre (andymac_at_bullseye.apana.org.au)
Date: 12/29/03
- Next message: Andrew MacIntyre: "Re: 2.3 list reverse() bug?"
- Previous message: Alan Gauld: "Re: True standard Windows app in Python?"
- In reply to: Berthold Hoellmann: "Re: make test segfaults with "--enable-shared" on Python 2.3.3"
- Next in thread: Berthold Höllmann: "Re: make test segfaults with "--enable-shared" on Python 2.3.3"
- Reply: Berthold Höllmann: "Re: make test segfaults with "--enable-shared" on Python 2.3.3"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 29 Dec 2003 10:16:37 +1100 (EST) To: Berthold Hoellmann <bhoel@web.de>
On Sun, 28 Dec 2003, Berthold Hoellmann wrote:
> > When I use
> >
> > ./configure --with-thread --with-fpectl --with-signal-module \
> > --with-pymalloc --enable-shared --with-cxx=g++
> >
> > make test
> >
> > on 2.3.3 I get
> >
> > ...
> > test_queue
> > test_quopri
> > test_random
> > test_re
> > make: *** [test] Speicherzugriffsfehler (Speicherauszug erstellt)
>
> Everything works fine if I remove the "--enable-shared" flag from
> configure.
You don't mention what platform you are seeing this on. The output of a
verbose test run (python Lib/test/regrtest.py -v test_re), preferably with
error messages translated to English, may help diagnose the issue.
I know that there are platforms where the amount of stack space available
to a threaded process is not easily controlled, and recent versions of gcc
are creating much larger stack frames than earlier versions. The sre
module in 2.3.x (and earlier) is recursive and thus sensitive to stack
space availability. A core dump is a likely indicator of this. Read the
Modules/_sre.c source file for more info. sre in 2.4 will be
significantly improved in this regard.
FYI, since 2.3 PyMalloc is a default option so you don't need
--with-pymalloc, and most recent Linux and BSD systems will default to
building with --with-thread and --with-signal-module.
--
Andrew I MacIntyre "These thoughts are mine alone..."
E-mail: andymac@bullseye.apana.org.au (pref) | Snail: PO Box 370
andymac@pcug.org.au (alt) | Belconnen ACT 2616
Web: http://www.andymac.org/ | Australia
- Next message: Andrew MacIntyre: "Re: 2.3 list reverse() bug?"
- Previous message: Alan Gauld: "Re: True standard Windows app in Python?"
- In reply to: Berthold Hoellmann: "Re: make test segfaults with "--enable-shared" on Python 2.3.3"
- Next in thread: Berthold Höllmann: "Re: make test segfaults with "--enable-shared" on Python 2.3.3"
- Reply: Berthold Höllmann: "Re: make test segfaults with "--enable-shared" on Python 2.3.3"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|