Package: ltrace Version: 0.7.3-6+b1 Severity: serious Justification: unkown
Dear Maintainer, * What led up to the situation? Trying to debug a memory leak in an program on a BeagleBone Black board. * What exactly did you do (or not do) that was effective (or ineffective)? ltrace /bin/ls * What was the outcome of this action? Program hangs with the output __libc_start_main(0x413499, 1, 0xbef085c4, 0x421705PTRACE_SINGLESTEP: Input/output error 19723 couldn't continue when handling __libc_start_main (0x4131f0) at 0x4131f0 * What outcome did you expect instead? Something along the lines of strrchr("/bin/ls", '/') = "/ls" setlocale(LC_ALL, "") = "LC_CTYPE=en_US.UTF-8;LC_NUMERIC="... bindtextdomain("coreutils", "/usr/share/locale") = "/usr/share/locale" textdomain("coreutils") = "coreutils" __cxa_atexit(0x562304066f50, 0, 0x56230427a008, 0x7fffbadce9b4) = 0 isatty(1) = 1 getenv("QUOTING_STYLE") = nil getenv("COLUMNS") = nil * Further information This bug is known and a patch is documented in https://code.kodo.org.uk/dom/buildroot/commit/efee851c614926dd9ed0f49c4808a6d9b4f64eb0 You will also need https://github.com/openembedded/meta-openembedded/blob/master/meta-oe/recipes-devtools/ltrace/ltrace/0001-replace-readdir_r-with-readdir.patch to compile it against the latest glibc -- System Information: Debian Release: 9.4 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'testing'), (500, 'stable') Architecture: armhf (armv7l) Kernel: Linux 4.9.82-ti-r102 (SMP w/1 CPU core; PREEMPT) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=locale: Cannot set LC_ALL to default locale: No such file or directory UTF-8), LANGUAGE=en_US.UTF-8 (charmap=locale: Cannot set LC_ALL to default locale: No such file or directory UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages ltrace depends on: ii libc6 2.27-3 ii libelf1 0.168-1 ii libselinux1 2.6-3+b3 ltrace recommends no packages. ltrace suggests no packages. -- debconf information: perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LC_TIME = "sv_SE.UTF-8", LC_MONETARY = "sv_SE.UTF-8", LC_ADDRESS = "sv_SE.UTF-8", LC_TELEPHONE = "sv_SE.UTF-8", LC_NAME = "sv_SE.UTF-8", LC_MEASUREMENT = "sv_SE.UTF-8", LC_IDENTIFICATION = "sv_SE.UTF-8", LC_NUMERIC = "sv_SE.UTF-8", LC_PAPER = "sv_SE.UTF-8", LANG = "en_US.UTF-8" are supported and installed on your system. perl: warning: Falling back to a fallback locale ("en_US.UTF-8"). locale: Cannot set LC_ALL to default locale: No such file or directory