Subject: | fatal error in pmat> largest -struct |
I got this:
Show quoted text
pmat> largest -struct
Can't locate object method "padnames" via package "Devel::MAT::SV::CODE" at /usr/local/lib/x86_64-linux-gnu/perl/5.20.2/Devel/MAT/Tool/Sizes.pm line 133.
Hacking in a stacktrace showing "$cv" gives:
Devel::MAT::SV::CODE=HASH(0x1cb07b8) at /usr/local/lib/x86_64-linux-gnu/perl/5.20.2/Devel/MAT/Tool/Sizes.pm line 133.
Devel::MAT::SV::CODE::structure_set(Devel::MAT::SV::CODE=HASH(0x1cb07b8)) called at /usr/local/lib/x86_64-linux-gnu/perl/5.20.2/Devel/MAT/Tool/Sizes.pm line 142
Devel::MAT::SV::structure_size(Devel::MAT::SV::CODE=HASH(0x1cb07b8)) called at /usr/local/lib/x86_64-linux-gnu/perl/5.20.2/Devel/MAT/Tool/Sizes.pm line 355
Devel::MAT::Tool::Sizes::_largest::run(Devel::MAT::Tool::Sizes::_largest=HASH(0x3404d08), HASH(0x11b7848)) called at /usr/local/lib/x86_64-linux-gnu/perl/5.20.2/Devel/MAT/Tool.pm line 145
Devel::MAT::Tool::run_cmd(Devel::MAT::Tool::Sizes::_largest=HASH(0x3404d08), "-struct") called at /usr/local/bin/pmat line 114
eval {...} called at /usr/local/bin/pmat line 108
Without looking too deeply, I suspect maybe it was supposed to be either padname() or padnames_av().
This is Devel-MAT-0.33 with (system) perl-5.20.2 on debian jessie.
Hugo