[Python-bugs-list] [Bug #131377] [HP-UX] Python chokes on pthread_mutex_init

noreply@sourceforge.net noreply@sourceforge.net
Wed, 07 Feb 2001 01:56:31 -0800


Bug #131377, was updated on 2001-Feb-07 01:56
Here is a current snapshot of the bug.

Project: Python
Category: Threads
Status: Open
Resolution: None
Bug Group: Platform-specific
Priority: 5
Submitted by: twallgram
Assigned to : nobody
Summary: [HP-UX] Python chokes on pthread_mutex_init

Details: Hello,
I need python 1.5.2 (only this version) on a HP-UX-System with threads. I
started configure with the --with-threads-Option. Then I did the
'make'-command (No problems during the compilation). Then I started make
test. See the output bellow:

# make test
        (cd Modules; make -f Makefile.pre Makefile)
`Makefile' is up to date.
making Makefile in subdirectory .
`Makefile' is up to date.
making Makefile in subdirectory Parser
`Makefile' is up to date.
making Makefile in subdirectory Objects
`Makefile' is up to date.
making Makefile in subdirectory Python
`Makefile' is up to date.
making Makefile in subdirectory Modules
        (rm -f Modules/hassignal; cd Modules; make hassignal)
        rm -f hassignal
        for i in threadmodule.o  regexmodule.o regexpr.o  pcremodule.o
pypcre.o  posixmodule.o  signalmodule.o  arraymodule.o  cmathmodule.o 
mathmodule.o  stropmodule.o  structmodule.o  timemodule.o  operator.o 
fcntlmodule.o  pwdmodule.o  grpmodule.o  selectmodule.o  socketmodule.o 
errnomodule.o  md5module.o md5c.o  shamodule.o  rotormodule.o  newmodule.o 
binascii.o  parsermodule.o  cStringIO.o  cPickle.o config.o getpath.o
main.o getbuildinfo.o; do \
                    if test "$i" = "signalmodule.o"; then \
                       echo yes >hassignal; break; \
                    fi; \
                done
        cd Parser ; make OPT="-g -O2" VERSION="1.5" \
                        prefix="/usr/local" exec_prefix="/usr/local" all
        cd Objects ; make OPT="-g -O2" VERSION="1.5" \
                        prefix="/usr/local" exec_prefix="/usr/local" all
        cd Python ; make OPT="-g -O2" VERSION="1.5" \
                        prefix="/usr/local" exec_prefix="/usr/local" all
        cd Modules ; make OPT="-g -O2" VERSION="1.5" \
                        prefix="/usr/local" exec_prefix="/usr/local" all
        if test ! -f libpython1.5.a; \
                then for i in Parser Objects Python Modules; do rm -f
$i/add2lib; done; true; \
                else true; fi
        for i in Parser Objects Python Modules; do \
                        (cd $i; make VERSION="1.5" add2lib); done
`add2lib' is up to date.
`add2lib' is up to date.
`add2lib' is up to date.
`add2lib' is up to date.
        rm -f ./Lib/test/*.py[co]
        PYTHONPATH= ./python ./Lib/test/regrtest.py 
pthread_mutex_init: Invalid argument
sh: 11423 Memory fault(coredump)
*** Error exit code 139 (ignored)
        PYTHONPATH= ./python ./Lib/test/regrtest.py 
pthread_mutex_init: Invalid argument
sh: 11425 Memory fault(coredump)
*** Error exit code 139

Stop.

I need python 1.5.2 for compiling Zope 2.0 (which only needs python in this
version with threads). It seems the same error as bug # 130029, but I can
submit a coredump. Can anybody help me? You can use this HP-UX-machine for
checking the compilation :-) 

bye Tom


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