← Back to team overview

maria-developers team mailing list archive

Re: MTR fails on undefined {cpus} array in My/SysInfo.pm on armhf and armel

 

Hi, Otto,

On May 26, Otto Kekäläinen wrote:
> 
> Kernel upgrade seems plausible root cause to Perl not getting the cpu
> data in the same way as before.
> 
> Even if the root cause is in the kernel/Perl library, as immediate
> mitigation I will try to test some way to wrap the cpus array check in
> code that gracefully degrades if cpus is not found.

You've missed that graceful degradation is already there, by design.

If you'll simply try to wrap the failing function mtr will fail later
anyway.

I've got an idea, could it be that your /proc/cpuinfo is *empty* ?
If not, could you share it, please?

Regards,
Sergei
VP of MariaDB Server Engineering
and security@xxxxxxxxxxx


Follow ups

References