[comp.protocols.iso.dev-environ] pepsy bugs on Cray?

a2824ak@sunmanager.lrz-muenchen.de (Thomas Kaiser) (06/07/91)

Hello,

i tried the porting of isode-6.8 on a cray unicos 5.1 .

compilation was after a few syntax-problems done, but now i get a lot
of mysterious bugs, ex. Out of Memory from enc.c in pepsy.

I tried the peptest, but the first what happens, it gets a signal 
operand range error in line 1394 or 1390 or 1395.

It seems that there is a problem with pointer casting or destroyed 
memory, both in enc.c and dec.c, but i can't fix it.

Perhaps you can give me some hints:

with regards
Thomas Kaiser
Leibniz Computing Centre Munich


the traceback from dbx follows:
----------------------------------------------------------------------
operand range error [signal 11] in enc$c.en_etype at line 1394 in file enc.c
 1394   	if ((pe = num2prim(*(integer *) (parm + p->pe_ucode), CLASS(p), TAG(p))) == NULLPE)
(cdbx) where
    Currently stopped in en_etype at line 1394 in file enc.c
     1394   	if ((pe = num2prim(*(integer *) (parm + p->pe_ucode), CLASS(p), TAG(p))) == NULLPE)
--> en_etype was called by en_type at line 232 in "enc.c" (0p2405c) with:
      [ 1] parm                --> 8376749740011838720
      [ 2] p             97944 --> structur
      [ 3] mod          206422 --> structur
      [ 4] rpe          224040 --> 0
    en_type was called by en_seqof at line 932 in "enc.c" (0p10270c) with:
      [ 1] parm                --> 8376749740011838720
      [ 2] p             97944 --> structur
      [ 3] mod          206422 --> structur
      [ 4] rpe          221912 --> 0
    en_seqof was called by en_seq at line 616 in "enc.c" (0p5642c) with:
      [ 1] parm                --> 8376749740011838720
      [ 2] p             97940 --> structur
      [ 3] mod          206422 --> structur
      [ 4] rpe          221869 --> 0
    en_seq was called by en_type at line 258 in "enc.c" (0p2534a) with:
      [ 1] parm         223786 --> ""
      [ 2] p             97936 --> structur
      [ 3] mod          206422 --> structur
      [ 4] rpe          221800 --> 0
    en_type was called by en_obj at line 143 in "enc.c" (0p1624a) with:
      [ 1] parm         223786 --> ""
      [ 2] p             97932 --> structur
      [ 3] mod          206422 --> structur
      [ 4] rpe          221768 --> 0
    en_obj was called by enc_f at line 100 in "enc.c" (0p1457c) with:
      [ 1] parm         223786 --> ""
      [ 2] p             97932 --> structur
      [ 3] mod          206422 --> structur
      [ 4] rpe          221688 --> 0
    enc_f was called by en_type at line 326 in "enc.c" (0p3206c) with:
      [ 1] typ                 --> 42
      [ 2] mod          206422 --> structur
      [ 3] pe           221688 --> 0
      [ 4]                   1 --> 475265461518337
      [ 5]                     --> 0
      [ 6]                     --> 0
      [ 7] parm         223786 --> ""
    en_type was called by en_obj at line 143 in "enc.c" (0p1624a) with:
      [ 1] parm         223786 --> ""
      [ 2] p             91218 --> structur
      [ 3] mod          206404 --> structur
      [ 4] rpe          221656 --> 0
    en_obj was called by enc_f at line 100 in "enc.c" (0p1457c) with:
      [ 1] parm         223786 --> ""
      [ 2] p             91218 --> structur
      [ 3] mod          206404 --> structur
      [ 4] rpe          221621 --> 0
    enc_f was called by ed_tst at line 144 in "main.c" (0p54131a) with:
      [ 1] typ                 --> 41
      [ 2] mod          206404 --> structur
      [ 3] pe           221621 --> 0
      [ 4]                   1 --> 475265461518337
      [ 5]                     --> 0
      [ 6]                     --> 0
      [ 7] parm         223786 --> ""
    ed_tst was called by main at line 96 in "main.c" (0p53706c) with:
      [ 1] tynum               --> 53
    main was called by $START$ at line 0 (0p136d) with:
      [ 1] argc                --> 1
      [ 2] argv         221460 --> 221475
      [ 3]              221462 --> -9223372036854554333


--
-------------------------------------------------------------------------
Thomas Kaiser         Internet:	kaiser@sunmanager.lrz-muenchen.de
LRZ-Muenchen          X400:	C=DE;A=DBP;P=LRZ-MUENCHEN;OU=LRZ;S=Kaiser
-------------------------------------------------------------------------