From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,ad82824cd0d4ed74 X-Google-Attributes: gidfee84,public X-Google-Thread: fa0ae,ad82824cd0d4ed74 X-Google-Attributes: gidfa0ae,public From: oberman@icaen.llnl.gov Subject: RE: perl 4.036pl19 dumps core under OSF/1... Date: 1995/10/04 Message-ID: <44ucob$7rq@lll-winken.llnl.gov>#1/1 X-Deja-AN: 117020711 references: <44se4f$3o5@hermes.synopsys.com> organization: Lawrence Livermore National Laboratory newsgroups: comp.lang.perl.misc,comp.unix.osf.osf1 In Article <44se4f$3o5@hermes.synopsys.com> holland@synopsys.com (Rich Holland) writes: >I built perl-4.036 under Digital Unix v3.0 and v3.2 using DEC's compiler with >the -g flag. 'perl -v' returns: > > $RCSfile: perl.c,v $$Revision: 4.0.1.8 $$Date: 1993/02/05 19:39:30 $ > Patch level: 36 > >The following script causes it to seg fault: [script deleted] >It runs fine on other platforms. The offending line as reported by >'dbx perl core' is: > > signal Segmentation fault at [hfetch:76 +0x18,0x12006fe10] > hash = *key + 128 * key[1] + 128 * key[klen-1]; /* assuming klen > 0 */ > >Has anyone seen this before, or know of a patch that'll fix it? Yes, I get the same thing. You could take this to comp.lang.perl, but V4 is obsolete and I'd recommend that you upgrade to V5.001m. It runs just fine on the Alpha and does not have a problem with the code segment you included. Perl5 also has many significant enhancements which make it worth going to, regardless! R. Kevin Oberman Energy Sciences Network (ESnet) National Energy Research Supercomputer Center (NERSC) Lawrence Livermore National Laboratory (LLNL) Internet: koberman@llnl.gov +1 510-422-6955