Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: How to kill perl?

by sauoq (Abbot)
on Nov 04, 2005 at 23:34 UTC ( #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? | Other CB clients
Other Users?
Others romping around the Monastery: (7)
As of 2022-12-03 18:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?