Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^2: How to kill perl?

by robin (Chaplain)
on Nov 05, 2005 at 11:21 UTC ( [id://505966]=note: print w/replies, xml ) Need Help??


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

So, it turns out that your map/reverse bug is just one of a family of crash bugs, e.g:
perl -e "map chomp(+()), ('')x10000;" perl -e "map chown(+()), ('')x10000;" perl -e "map warn(+()), ('')x100;"
Though they're all fixed now!

Replies are listed 'Best First'.
Re^3: How to kill perl?
by EvanCarroll (Chaplain) on Nov 06, 2005 at 22:50 UTC
    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
      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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://505966]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2024-03-29 09:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found