Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

Re: Segfault with Devel::Size

by Anonymous Monk
on Aug 22, 2013 at 10:20 UTC ( #1050503=note: print w/replies, xml ) Need Help??

in reply to Segfault with Devel::Size

use Devel::Peek; Dump( $evilscalar );

Also report Devel::Size version, upgrade if yours is old

Replies are listed 'Best First'.
Re^2: Segfault with Devel::Size
by wanna_code_perl (Pilgrim) on Aug 22, 2013 at 11:01 UTC

    Dump produces something like this on values that core dump with size() (the Scalar::Util here is due to me including it for more testing since my first post. Others have come from core pragmas such as warnings):

    SV = IV(0x15fe438) at 0x15fe448 REFCNT = 2 FLAGS = (ROK) RV = 0x15cfc58 SV = PVMG(0x15b8c50) at 0x15cfc58 REFCNT = 2 FLAGS = (POK,pPOK,SCREAM,VALID,OUR,EVALED) COP_LOW = 253 COP_HIGH = 268 PV = 0x1581bc0 "$VERSION"\0 CUR = 8 LEN = 16 OURSTASH = 0x15c94e8 "Scalar::Util" RARE = 12 PREVIOUS = 0 USEFUL = 253

    I'm using Devel::Size 0.79, which is the latest on CPAN (including development releases).

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1050503]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2017-08-16 17:37 GMT
Find Nodes?
    Voting Booth?
    Who is your favorite scientist and why?

    Results (271 votes). Check out past polls.