Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^4: Debugging perl crash

by vsespb (Chaplain)
on Jun 30, 2014 at 17:36 UTC ( [id://1091755]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Debugging perl crash
in thread Debugging perl crash

I think I reproduced it. It's as simple as:
$ perl 4.pl Segmentation fault (core dumped) $ cat 4.pl #!/usr/bin/env perl use strict; use warnings; use Data::Dumper; unless (fork()) { my $sz = 2048*1024*1024; my $sc = "x" x $sz; exit(0); } wait(); print Dumper { a => 42}; exit();

(note that $sz should be adjusted to take almost all free memory)
Now I need verify again which versions are affected and report to either FreeBSD team or Perl Porters. I'll update my post.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (7)
As of 2024-04-18 14:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found