Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* perl 4.036pl19 dumps core under OSF/1...
@ 1995-10-03  4:00 Rich Holland
  1995-10-04  4:00 ` oberman
  0 siblings, 1 reply; 3+ messages in thread
From: Rich Holland @ 1995-10-03  4:00 UTC (permalink / 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);}



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1995-10-10  4:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-10-03  4:00 perl 4.036pl19 dumps core under OSF/1 Rich Holland
1995-10-04  4:00 ` oberman
1995-10-10  4:00   ` Sergey Zhuk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox