Package: stress-ng Version: 0.07.24-1 Severity: normal I am using stress-ng to build a larger automated stress-testing tool. Therefore, I don't need the "info" prefixes in the generated logfile, so I tried using --log-brief to remove those.
By defualt, the logfile works fine: $ stress-ng --timeout 1s --cpu 0 --log-file t 2> /dev/null; cat t stress-ng: info: [9100] dispatching hogs: 4 cpu stress-ng: info: [9100] cache allocate: default cache size: 3072K stress-ng: info: [9100] successful run completed in 1.05s But then breaks completely when --log-brief is enabled: $ stress-ng --timeout 1s --cpu 0 --log-brief --log-file t 2> /dev/null; cat t stress-ng: stress-ng: stress-ng: Weird output - looks like some memory corruption or something... A. -- System Information: Debian Release: 9.0 APT prefers testing APT policy: (500, 'testing'), (1, 'unstable') Architecture: amd64 (x86_64) Foreign Architectures: armhf Kernel: Linux 4.9.0-1-amd64 (SMP w/4 CPU cores) Locale: LANG=fr_CA.UTF-8, LC_CTYPE=fr_CA.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) Versions of packages stress-ng depends on: ii libaio1 0.3.110-3 ii libapparmor1 2.11.0-2 ii libbsd0 0.8.3-1 ii libc6 2.24-9 ii libsctp1 1.0.17+dfsg-1+b1 ii zlib1g 1:1.2.8.dfsg-5 stress-ng recommends no packages. stress-ng suggests no packages. -- no debconf information