develooper Front page | perl.perl5.porters | Postings from March 2000

[ID 20000314.001] SEGV with eval "use ..." and method call

Thread Next
March 14, 2000 01:09
[ID 20000314.001] SEGV with eval "use ..." and method call
Message ID:
Sorry if this is a duplicate, I sent a similar report with perlbug
yesterday but didn't receive it back nor can I find it in the archive.
Maybe mail on that machine was misconfigured.

It's a long standing bug, the following code core dumps with
yesterday's repository perl.

perl -le '       
require "";
sub new { bless {}, shift;}   # OK if commented
open FH, "/etc/hosts" or die;
my $md5 = new MD5;            # OK if MD5->new
print "md5[$md5]\n";          # prints e.g. md5[MD5=HASH(0x80ee280)]
$md5->addfile(*FH);           # SEGV

zsh: segmentation fault (core dumped)

I have reported this long time ago (no bug ID), you can find the old
postings with this query:


Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About