#47 problems with eval in perldl

critical
closed-wont-fix
nobody
core (120)
4
2003-03-19
2002-10-25
No

Try the following on 2.3.4 (latest CVS too) under perl
5.6.1:
% perldl
perldl> eval 'print &$a'
<buzz buzz buzz forever -- at least it's interruptible>

How about this:
% perldl
perldl> $a = \&undefined_function;
perldl> eval 'print &$a'
Segmentation fault (core dumped)

This is a problem with perldl -- perl doesn't reproduce the
problem:
% perl -e '$a = \&foo; eval '\''print &$a;'\'\;
%

Discussion

  • Craig DeForest

    Craig DeForest - 2003-03-19

    Logged In: YES
    user_id=20200

    This isn't reproducible with perl 5.8 and should go away
    with time.
    Unless someone else reports it, I don't want to fix it.

     
  • Craig DeForest

    Craig DeForest - 2003-03-19
    • status: open --> closed-wont-fix
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks