[Python-bugs-list] test_popen2 fails (PR#145)
gpk@bell-labs.com
gpk@bell-labs.com
Fri, 3 Dec 1999 10:08:39 -0500 (EST)
Full_Name: Greg Kochanski
Version: 1.5.2
OS: Solaris 2.6
Submission from: h-135-104-33-130.research.bell-labs.com (135.104.33.130)
Using a two-processor Ultra-2 running Solaris 2.6 with current patches.
CC='cc -mt' ./configure --with-thread --with-solaris
change OPT in makefile from -O to -xO3
fiddle with Module/Setup
make
make test
After that, test_popen2 fails. All other tests succeed.
"test test_popen2 crashed -- exceptions.AssertionError : "
The same crash occurs when optimization is left alone.
A context diff between Module/Setup.in and Module/Setup follows:
*** Setup.in Wed Mar 24 14:03:56 1999
--- Setup Fri Dec 3 09:23:47 1999
***************
*** 112,118 ****
# modules are to be built as shared libraries (see above for more
# detail; also note that *static* reverses this effect):
! #*shared*
# GNU readline. Unlike previous Python incarnations, GNU readline is
# now incorporated in an optional module, configured in the Setup file
--- 112,118 ----
# modules are to be built as shared libraries (see above for more
# detail; also note that *static* reverses this effect):
! *shared*
# GNU readline. Unlike previous Python incarnations, GNU readline is
# now incorporated in an optional module, configured in the Setup file
***************
*** 158,164 ****
# Some more UNIX dependent modules -- off by default, since these
# are not supported by all UNIX systems:
! #nis nismodule.c # Sun yellow pages -- not everywhere
#termios termios.c # Steen Lumholt's termios module
#resource resource.c # Jeremy Hylton's rlimit interface
--- 158,164 ----
# Some more UNIX dependent modules -- off by default, since these
# are not supported by all UNIX systems:
! nis nismodule.c # Sun yellow pages -- not everywhere
#termios termios.c # Steen Lumholt's termios module
#resource resource.c # Jeremy Hylton's rlimit interface
***************
*** 167,174 ****
# These don't work for 64-bit platforms!!!
# These represent audio samples or images as strings:
! #audioop audioop.c # Operations on audio samples
! #imageop imageop.c # Operations on images
#rgbimg rgbimgmodule.c # Read SGI RGB image files (but coded portably)
--- 167,174 ----
# These don't work for 64-bit platforms!!!
# These represent audio samples or images as strings:
! audioop audioop.c # Operations on audio samples
! imageop imageop.c # Operations on images
#rgbimg rgbimgmodule.c # Read SGI RGB image files (but coded portably)
***************
*** 258,264 ****
# SunOS specific modules -- off by default:
! #sunaudiodev sunaudiodev.c
# George Neville-Neil's timing module:
--- 258,264 ----
# SunOS specific modules -- off by default:
! sunaudiodev sunaudiodev.c
# George Neville-Neil's timing module:
***************
*** 313,319 ****
# Lance Ellinghaus's modules:
! rotor rotormodule.c # enigma-inspired encryption
#syslog syslogmodule.c # syslog daemon interface
--- 313,319 ----
# Lance Ellinghaus's modules:
! #rotor rotormodule.c # enigma-inspired encryption
#syslog syslogmodule.c # syslog daemon interface
***************
*** 352,358 ****
# Anthony Baxter's gdbm module. GNU dbm(3) will require -lgdbm:
! #gdbm gdbmmodule.c -I/usr/local/include -L/usr/local/lib -lgdbm
# Berkeley DB interface.
--- 352,358 ----
# Anthony Baxter's gdbm module. GNU dbm(3) will require -lgdbm:
! gdbm gdbmmodule.c -I/usr/local/include -L/usr/local/lib -lgdbm
# Berkeley DB interface.
***************
*** 395,407 ****
# For Solaris with SunPro compiler (tested on Solaris 2.5 with SunPro C 4.2):
# (Without the compiler you don't have -lsunmath.)
! #fpectl fpectlmodule.c -R/opt/SUNWspro/lib -lsunmath -lm
# For other systems: see instructions in fpectlmodule.c.
#fpectl fpectlmodule.c ...
# Test module for fpectl. No extra libraries needed.
! #fpetest fpetestmodule.c
# Andrew Kuchling's zlib module.
# This require zlib 1.1.3 (or later).
--- 395,407 ----
# For Solaris with SunPro compiler (tested on Solaris 2.5 with SunPro C 4.2):
# (Without the compiler you don't have -lsunmath.)
! fpectl fpectlmodule.c -R/opt/SUNWspro/lib -lsunmath -lm
# For other systems: see instructions in fpectlmodule.c.
#fpectl fpectlmodule.c ...
# Test module for fpectl. No extra libraries needed.
! fpetest fpetestmodule.c
# Andrew Kuchling's zlib module.
# This require zlib 1.1.3 (or later).