[Python-bugs-list] [Bug #129995] segfaults on AIX if configured with threads

noreply@sourceforge.net noreply@sourceforge.net
Wed, 24 Jan 2001 16:44:40 -0800


Bug #129995, was updated on 2001-Jan-24 16:44
Here is a current snapshot of the bug.

Project: Python
Category: Threads
Status: Open
Resolution: None
Bug Group: None
Priority: 5
Submitted by: bcollar
Assigned to : nobody
Summary: segfaults on AIX if configured with threads

Details: Hi. AIX 4.2.1. ran ./configure --without-gcc
--prefix=/development/utils. make CC=xlC OPT="-O2 -qmaxmem=4000". some of
the make output follows. Let me know if you need all of it.

if test ! -f ../Modules/hassignal;  then echo adding sigcheck.o; ar r
../libpython2.1.a sigcheck.o;  else echo leaving sigcheck.o out; fi
leaving sigcheck.o out
        touch add2lib
        if test -f hassignal;  then echo removing sigcheck.o intrcheck.o; 
ar d ../libpython2.1.a sigcheck.o intrcheck.o 2>/dev/null;  else echo
leaving sigcheck.o intrcheck.o in; fi
removing sigcheck.o intrcheck.o
make: 1254-004 The error code from the last command is 2.
make: 1254-005 Ignored error code 2 from last command.
        ar cr ../libpython2.1.a gcmodule.o  threadmodule.o  posixmodule.o 
_sre.o  signalmodule.o config.o getpath.o main.o getbuildinfo.o
        touch add2lib
        cd Modules; make OPT="-O2 -qmaxmem=4000" python.o
        xlC -O2 -qmaxmem=4000 -I./../Include -I.. -DHAVE_CONFIG_H -c
python.c
        expr `cat buildno` + 1 >buildno1
        mv -f buildno1 buildno
        xlC -c -O2 -qmaxmem=4000 -I. -DHAVE_CONFIG_H -DBUILD=`cat buildno` 
./Modules/getbuildinfo.c
        ar cr libpython2.1.a getbuildinfo.o
        ranlib libpython2.1.a
        true
        cd Modules;  make OPT="-O2 -qmaxmem=4000" VERSION="2.1" 
prefix="/development/utils/" exec_prefix="/development/utils/" 
LIBRARY=../libpython2.1.a link
        ./makexp_aix python.exp "" ../libpython2.1.a;  xlC 
-Wl,-bE:python.exp -lld python.o  ../libpython2.1.a   -ldl  -lpthreads -lm 
-o python 
        mv python ../python
        ./python ./setup.py build
pthread_mutex_init: Error 0
pthread_cond_init: Error 0
pthread_mutex_lock[1]: Error 0
make: 1254-059 The signal code from the last command is 11.


For detailed info, follow this link:
http://sourceforge.net/bugs/?func=detailbug&bug_id=129995&group_id=5470