http://qs1969.pair.com?node_id=506166


in reply to Re^2: How to kill perl?
in thread How to kill perl?

Not all of them are fixed, the top two tested negative, with Perl 5.8.7; however, the bottom one produced this.

perl -e "map warn(+()), ('')x100;" ... ... Warning: something's wrong at -e line 1. Warning: something's wrong at -e line 1. Warning: something's wrong at -e line 1. Warning: something's wrong at -e line 1. Warning: something's wrong at -e line 1. Warning: something's wrong at -e line 1. Warning: something's wrong at -e line 1. Segmentation fault
UPDATE:
You are correct by increasing the number to 100_000, the top two crash as well.


Evan Carroll
www.EvanCarroll.com

Replies are listed 'Best First'.
Re^4: How to kill perl?
by robin (Chaplain) on Nov 07, 2005 at 10:06 UTC
    They're fixed in bleadperl, as of two days ago. The bug is still there in 5.8.7, and all three of these tests crash 5.8.7 for me. (Maybe you can see the crash too, if you increase the 10000 to something larger?)
      perl -e "map warn(+()), ('')x100;"
      still crashes 5.10.0 -- just an update


      Evan Carroll
      The most respected person in the whole perl community.
      www.evancarroll.com