Mtrace on 22.04

The ubuntu 22.04 LTS, mtrace program debugging tool, cannot be used normally on this version. According to the methods in the man manual, the problem of memory leaks in the program cannot be detected. The experiment was conducted, After the log path was set by MALLOC_TRACE , the corresponding log file will not be generated. How to sovle this problem?

this is a documentation page to point to the right ways of getting help, it has explicitly been created to prevent users from asking random support questions or reporting bugs in this forum.

you found a bug in a tool, please report it to launchpad by using:

ubuntu-bug libc-devtools

and follow the interactive instructions this gives you …

The Finding Help topic details where you can get support for Ubuntu.