This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: test_nis test fails on TRU64 5.1
Type: Stage:
Components: Build Versions: Python 2.2
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: nnorwitz Nosy List: finnertyp, loewis, nnorwitz
Priority: normal Keywords:

Created on 2002-08-14 10:53 by finnertyp, last changed 2022-04-10 16:05 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
test_nis.out finnertyp, 2002-08-15 10:02 Output from ./python ./Lib/test/test_nis.py
Messages (8)
msg11934 - (view) Author: Patrick Finnerty (finnertyp) Date: 2002-08-14 10:53
Platform: TRU64 v5.1a

Ran configure with --with-dec-threads options. 
Also used --without-gcc although this has no impact on
test failure.

The ouput from ./python ./Lib/test/test_nis.py is large
so I've included it in an attached file rather than
pasted here.

The machine that Python is being built on is a NIS
server as well as client.

msg11935 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2002-08-15 09:01
Logged In: YES 
user_id=21627

There's no uploaded file!  You have to check the
checkbox labeled "Check to Upload & Attach File"
when you upload a file.

Please try again.

(This is a SourceForge annoyance that we can do
nothing about. :-( )
msg11936 - (view) Author: Patrick Finnerty (finnertyp) Date: 2002-08-15 10:02
Logged In: YES 
user_id=594846

Uploading the output file from ./python ./Lib/test/test_nis.py.
msg11937 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2002-08-15 11:05
Logged In: YES 
user_id=21627

This sounds like some serious memory corruption is going on.
Unfortunately, I can't spot a problem, so somebody with
access to such a system would need to debug it.

My first guess is that the type of the callback function is
incorrect. Can you please find out what signatures are
involved in yp_all(3)? On Solaris, the callback signature is
not declared in a header, but only documented in
yp_clnt(3NSL), as

                foreach(int instatus, char *inkey,
                int inkeylen, char *inval,
                int invallen, char *indata);
msg11938 - (view) Author: Patrick Finnerty (finnertyp) Date: 2002-08-15 13:06
Logged In: YES 
user_id=594846

On TRU64 this is doucmented as


       foreach(instatus, inkey, inkeylen, inval, invallen,
indata);
       int instatus;
       char *inkey;
       int inkeylen;
       char *inval;
       int invallen;
       char *indata;
msg11939 - (view) Author: Neal Norwitz (nnorwitz) * (Python committer) Date: 2002-12-15 01:49
Logged In: YES 
user_id=33168

I fixed a similar problem on Nov 4.  Can you test the latest
CVS versions from the head or for 2.2.2+?
msg11940 - (view) Author: Neal Norwitz (nnorwitz) * (Python committer) Date: 2003-02-07 22:14
Logged In: YES 
user_id=33168

Patrick, are you able to test if this has been fixed?
msg11941 - (view) Author: Neal Norwitz (nnorwitz) * (Python committer) Date: 2003-05-22 22:04
Logged In: YES 
user_id=33168

I believe this has been fixed.  If not, please open a new
bug report.
History
Date User Action Args
2022-04-10 16:05:35adminsetgithub: 37026
2002-08-14 10:53:48finnertypcreate