Pt-deadlock stopped working with 'Use of uninitialized value $query_text'

Suddenly (possibly after upgrade)
my percone-deadlock logger returns

Error getting SHOW ENGINE INNODB STATUS: Use of uninitialized value $query_text in substitution (s///) at /usr/bin/pt-deadlock-logger line 4949.

percona-toolkit/noble,now 3.2.1-1 all [installed]
MariaDB 10.11.11

the line 4949 seams fine:

4949 $query_text =~ s/\s+$//;
4950 $query_text =~ s/\s+/ /g;

Hi @poltpolt,
Please search our public bugs tracker for a similar issue. If you don’t find anything, please open a new issue. Include a repeatable test case so our developers can reproduce the issue to fix the bug.

Did you upgrade MariaDB or did you upgrade Percona Toolkit? If you upgraded the toolkit, try downgrading to previous version. If it works on older version, please include that in your report.

downgrading is not as simple as the whole upgrade to Ubuntu Server 24.04 has been done.

Which upgrade did you perform?