Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: How to kill perl?

by sauoq (Abbot)
on Nov 04, 2005 at 23:34 UTC ( [id://505908]=note: print w/replies, xml ) Need Help??


in reply to How to kill perl?

Similar to your second one...

$ echo -e 'foo\n' | perl -e'print sort{*a=$b,0} <>' *** glibc detected *** malloc(): memory corruption: 0x0812dcdc *** Aborted

-sauoq
"My two cents aren't worth a dime.";

Replies are listed 'Best First'.
Re^2: How to kill perl?
by ioannis (Abbot) on Nov 07, 2005 at 02:54 UTC
    I could claim that gnu malloc(3) was able to prevent the segfault. Here it is choosing a graceful abort to the crash.
    $ export MALLOC_CHECK_=2 $ perl -e 'print sort{*a=$b,0} <>' a b Aborted

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (6)
As of 2024-04-19 10:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found