[comp.lang.perl] perl-4.010 bug?

eay@psych.psy.uq.oz.au (Eric Young) (06/25/91)

The following core dumps because of line 138 in array.c
(*strp++)->str_pok &= ~SP_TEMP;
*strp is NULL.
I believe it is crashing in the subroutine call.

#!/usr/local/bin/perl
$a[1]=1;
&routine(@a);
sub routine { local(@a)=@_; }

I was using 
perl v 4.0.1.4  pl 10 on a sparc 2   sunOS 4.1.1
It does not coredump for
perl v 3.0.1.10 pl 44 on a sun 3/260 sunOS 4.1 

eric
---
Eric Young | Systems programmer - Psychology Dept. Queensland Uni.
ARNnet     | eay@psych.psy.uq.oz.au