From: holland@synopsys.com (Rich Holland)
Subject: perl 4.036pl19 dumps core under OSF/1...
Date: 1995/10/03 [thread overview]
Message-ID: <44se4f$3o5@hermes.synopsys.com> (raw)
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:
#!/usr/local/bin/perl
$var=1;
if ( $var =~ s/^@// ) {
printf "true\n";
}
printf "done\n";
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?
--
Rich Holland UNIX System Administrator, Porting Center
vox: (415) 694-4155 Synopsys, Inc. Building C
fax: (415) 965-8637 700 E. Middlefield Rd, Mountain View, CA 94043-4033
char*p="char*p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);}
next reply other threads:[~1995-10-03 4:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1995-10-03 4:00 Rich Holland [this message]
1995-10-04 4:00 ` perl 4.036pl19 dumps core under OSF/1 oberman
1995-10-10 4:00 ` Sergey Zhuk
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox