<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=windows-1252">
<META content="MSHTML 6.00.2900.2604" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Verdana size=2>Hello Experts,</FONT></DIV>
<DIV><FONT face=Verdana size=2> I tried
python -4.2.1 on a HP-UX 11.11 PA machine. I was able to </FONT></DIV>
<DIV><FONT face=Verdana size=2>python. Gmake passes, gmake test results in
error. </FONT><FONT face=Verdana size=2>The python reported </FONT></DIV>
<DIV><FONT face=Verdana size=2>that test_pty fails,when running this
</FONT><FONT face=Verdana size=2>test alone.</FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Verdana size=2>Can anyone help to find why core dumps at running
the <STRONG>test_subprocess.py</STRONG> test.</FONT></DIV>
<DIV><FONT face=Verdana size=2>Also how can I solve it?</FONT></DIV>
<DIV><FONT face=Verdana size=2>Have anyone faced the same problem
earlier.</FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Verdana size=2>The details are given below;</FONT></DIV>
<DIV><FONT face=Verdana size=2># <STRONG>../../python
test_pty.py<BR></STRONG>Calling master_open()<BR>Got master_fd '3', slave_name
'/dev/pts/0'<BR>Calling slave_open('/dev/pts/0')<BR>Got slave_fd
'4'<BR>Traceback (most recent call last):<BR> File "test_pty.py", line 58,
in ?<BR> test_basic_pty()<BR> File "test_pty.py", line
29, in test_basic_pty<BR> if not
os.isatty(slave_fd):<BR> File "test_pty.py", line 50, in
handle_sig<BR> raise TestFailed, "isatty
hung"<BR>test.test_support.TestFailed: isatty hung<BR>#</FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Verdana size=2># <STRONG>../../python
test_subprocess.py<BR></STRONG>test_args_string (__main__.ProcessTestCase) ...
ok<BR>test_call_kwargs (__main__.ProcessTestCase) ... ok<BR>test_call_seq
(__main__.ProcessTestCase) ... ok<BR>test_call_string (__main__.ProcessTestCase)
... ok<BR>test_communicate (__main__.ProcessTestCase) ...
ok<BR>test_communicate_pipe_buf (__main__.ProcessTestCase) ...
ok<BR>test_communicate_returns (__main__.ProcessTestCase) ... ok<BR>test_cwd
(__main__.ProcessTestCase) ... ok<BR>test_env (__main__.ProcessTestCase) ...
ok<BR>test_exceptions (__main__.ProcessTestCase) ... ok<BR>test_executable
(__main__.ProcessTestCase) ... ok<BR>test_invalid_args
(__main__.ProcessTestCase) ... ok<BR>test_invalid_bufsize
(__main__.ProcessTestCase) ... ok<BR>test_list2cmdline
(__main__.ProcessTestCase) ... ok<BR>test_no_leaking (__main__.ProcessTestCase)
... ok<BR>test_poll (__main__.ProcessTestCase) ... ok<BR>test_preexec
(__main__.ProcessTestCase) ... ok<BR>test_run_abort (__main__.ProcessTestCase)
... ok<BR>test_shell_sequence (__main__.ProcessTestCase) ...
ok<BR>test_shell_string (__main__.ProcessTestCase) ... ok<BR>test_stderr_filedes
(__main__.ProcessTestCase) ... ok<BR>test_stderr_fileobj
(__main__.ProcessTestCase) ... ok<BR>test_stderr_none (__main__.ProcessTestCase)
... ok<BR>test_stderr_pipe (__main__.ProcessTestCase) ...
ok<BR>test_stdin_filedes (__main__.ProcessTestCase) ... ok<BR>test_stdin_fileobj
(__main__.ProcessTestCase) ... ok<BR>test_stdin_none (__main__.ProcessTestCase)
... ok<BR>test_stdin_pipe (__main__.ProcessTestCase) ...
ok<BR>test_stdout_filedes (__main__.ProcessTestCase) ...
ok<BR>test_stdout_fileobj (__main__.ProcessTestCase) ...
ok<BR> <STRONG>this bit of output is from a test of stdout in
a different process ...</STRONG><BR>test_stdout_none (__main__.ProcessTestCase)
... ok<BR>test_stdout_pipe (__main__.ProcessTestCase) ...
ok<BR>test_stdout_stderr_file (__main__.ProcessTestCase) ...
ok<BR>test_stdout_stderr_pipe (__main__.ProcessTestCase) ...
ok<BR>test_universal_newlines (__main__.ProcessTestCase) ...
ok<BR>test_universal_newlines_communicate (__main__.ProcessTestCase) ...
ok<BR>test_wait (__main__.ProcessTestCase) ...
ok<BR>test_writes_before_communicate (__main__.ProcessTestCase) ...
ok</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Verdana
size=2>----------------------------------------------------------------------<BR>Ran
38 tests in 8.171s<BR></FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Verdana size=2>Analysing the core file through GDB;</FONT></DIV>
<DIV><FONT face=Verdana size=2># gdb ../../python core<BR>HP gdb 4.5 for PA-RISC
1.1 or 2.0 (narrow), HP-UX 11.00<BR>and target
hppa1.1-hp-hpux11.00.<BR>Copyright 1986 - 2001 Free Software Foundation,
Inc.<BR>Hewlett-Packard Wildebeest 4.5 (based on GDB) is covered by the<BR>GNU
General Public License. Type "show copying" to see the conditions to<BR>change
it and/or distribute copies. Type "show warranty" for
warranty/support.<BR>..<BR>Core was generated by `python'.<BR>Program terminated
with signal 6, Aborted.<BR>#0 0xc020bad0 in kill+0x10 () from
/usr/lib/libc.2<BR>(gdb) bt<BR>#0 0xc020bad0 in kill+0x10 () from
/usr/lib/libc.2<BR>#1 0xc01a655c in raise+0x24 () from
/usr/lib/libc.2<BR>#2 0xc01e69a8 in abort_C+0x160 () from
/usr/lib/libc.2<BR>#3 0xc01e6a04 in abort+0x1c () from
/usr/lib/libc.2<BR>#4 0xffbe4 in posix_abort (self=0x40029098, noargs=0x0)
at ./Modules/posixmodule.c:7158<BR>#5 0xc9b7c in PyEval_EvalFrame
(f=0x40028e54) at Python/ceval.c:3531<BR>#6 0xc01a655c in raise+0x24 ()
from /usr/lib/libc.2<BR>#7 0x475b0 in freechildren (n=0x0) at
Parser/node.c:131<BR>(gdb)<BR></FONT></DIV>
<DIV><FONT face=Verdana size=2><STRONG>Build Environment;</STRONG></FONT></DIV>
<DIV><FONT face=Verdana size=2>GCC - gcc version 3.4.3</FONT></DIV>
<DIV><FONT face=Verdana size=2>HP-UX omega B.11.11 U 9000/800 </FONT></DIV>
<DIV><FONT face=Verdana size=2>./configure --prefix=/opt/iexpress/python
--disable-ipv6 --with-signal-module --with-threads</FONT></DIV>
<DIV><FONT face=Verdana size=2>Earlier, I faced problem while gmake, and make
changes as per the following link;</FONT></DIV>
<DIV><FONT face=Verdana size=2> </FONT><A
href="https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1071597&group_id=5470"><FONT
face=Verdana
size=2>https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1071597&group_id=5470</FONT></A></DIV>
<DIV><FONT face=Verdana size=2>And I was able to build Python
succesfully.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Verdana size=2>Also, the overall result of tests
are;</FONT></DIV>
<DIV><FONT face=Verdana size=2>250 tests OK.<BR>1 test
failed:<BR> test_pty<BR>39 tests
skipped:<BR> test_aepack test_al test_applesingle test_bsddb
test_bsddb185<BR> test_bsddb3 test_bz2 test_cd test_cl
test_codecmaps_cn<BR> test_codecmaps_hk test_codecmaps_jp
test_codecmaps_kr<BR> test_codecmaps_tw test_curses test_dl
test_gdbm test_gl<BR> test_imgfile test_largefile
test_linuxaudiodev test_locale<BR> test_macfs test_macostools
test_nis test_normalization<BR> test_ossaudiodev test_pep277
test_plistlib test_scriptpackages<BR> test_socket_ssl
test_socketserver test_sunaudiodev test_tcl<BR> test_timeout
test_urllib2net test_urllibnet test_winreg<BR>
test_winsound<BR>2 skips unexpected on hp-ux11:<BR> test_tcl
test_bz2<BR>gmake: *** [test] Error 1<BR></FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV></BODY></HTML>