<!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>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 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>&nbsp;</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>&nbsp;</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>&nbsp; File "test_pty.py", line 58, 
in ?<BR>&nbsp;&nbsp;&nbsp; test_basic_pty()<BR>&nbsp; File "test_pty.py", line 
29, in test_basic_pty<BR>&nbsp;&nbsp;&nbsp; if not 
os.isatty(slave_fd):<BR>&nbsp; File "test_pty.py", line 50, in 
handle_sig<BR>&nbsp;&nbsp;&nbsp; raise TestFailed, "isatty 
hung"<BR>test.test_support.TestFailed: isatty hung<BR>#</FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT>&nbsp;</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>&nbsp;&nbsp;&nbsp; <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>&nbsp;</DIV>
<DIV><FONT face=Verdana 
size=2>----------------------------------------------------------------------<BR>Ran 
38 tests in 8.171s<BR></FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT>&nbsp;</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&nbsp; 0xc020bad0 in kill+0x10 () from 
/usr/lib/libc.2<BR>(gdb) bt<BR>#0&nbsp; 0xc020bad0 in kill+0x10 () from 
/usr/lib/libc.2<BR>#1&nbsp; 0xc01a655c in raise+0x24 () from 
/usr/lib/libc.2<BR>#2&nbsp; 0xc01e69a8 in abort_C+0x160 () from 
/usr/lib/libc.2<BR>#3&nbsp; 0xc01e6a04 in abort+0x1c () from 
/usr/lib/libc.2<BR>#4&nbsp; 0xffbe4 in posix_abort (self=0x40029098, noargs=0x0) 
at ./Modules/posixmodule.c:7158<BR>#5&nbsp; 0xc9b7c in PyEval_EvalFrame 
(f=0x40028e54) at Python/ceval.c:3531<BR>#6&nbsp; 0xc01a655c in raise+0x24 () 
from /usr/lib/libc.2<BR>#7&nbsp; 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>&nbsp;&nbsp; </FONT><A 
href="https://sourceforge.net/tracker/?func=detail&amp;atid=105470&amp;aid=1071597&amp;group_id=5470"><FONT 
face=Verdana 
size=2>https://sourceforge.net/tracker/?func=detail&amp;atid=105470&amp;aid=1071597&amp;group_id=5470</FONT></A></DIV>
<DIV><FONT face=Verdana size=2>And I was able to build Python 
succesfully.</FONT></DIV>
<DIV>&nbsp;</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>&nbsp;&nbsp;&nbsp; test_pty<BR>39 tests 
skipped:<BR>&nbsp;&nbsp;&nbsp; test_aepack test_al test_applesingle test_bsddb 
test_bsddb185<BR>&nbsp;&nbsp;&nbsp; test_bsddb3 test_bz2 test_cd test_cl 
test_codecmaps_cn<BR>&nbsp;&nbsp;&nbsp; test_codecmaps_hk test_codecmaps_jp 
test_codecmaps_kr<BR>&nbsp;&nbsp;&nbsp; test_codecmaps_tw test_curses test_dl 
test_gdbm test_gl<BR>&nbsp;&nbsp;&nbsp; test_imgfile test_largefile 
test_linuxaudiodev test_locale<BR>&nbsp;&nbsp;&nbsp; test_macfs test_macostools 
test_nis test_normalization<BR>&nbsp;&nbsp;&nbsp; test_ossaudiodev test_pep277 
test_plistlib test_scriptpackages<BR>&nbsp;&nbsp;&nbsp; test_socket_ssl 
test_socketserver test_sunaudiodev test_tcl<BR>&nbsp;&nbsp;&nbsp; test_timeout 
test_urllib2net test_urllibnet test_winreg<BR>&nbsp;&nbsp;&nbsp; 
test_winsound<BR>2 skips unexpected on hp-ux11:<BR>&nbsp;&nbsp;&nbsp; test_tcl 
test_bz2<BR>gmake: *** [test] Error 1<BR></FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT>&nbsp;</DIV></BODY></HTML>