On 21/09/2025 20:44, William Bader wrote:
 >Anyway I was able to repro consistently when doing a full test run, and was 
able to pass or skip always with the attached.

The patch works for me.

 >> The smallest number that passed for me was 108336
 >>   "(ulimit -v $(($vm+108336)) && fold 2>err >/dev/full)"
 >Over 100MiB ?
 >I wonder why the other ulimits in other tests OK?

Could the 100MB be loading the CentOS 7 locale data?
-rw-r--r-- 1 root root 106176928 Jul 18  2022 /usr/lib/locale/locale-archive
Maybe calling the library functions that fold needs to avoid breaking multibyte 
characters have a side-effect of loading the locale data.
My CentOS 7 server has glibc-2.17-326.el7_9.x86_64

Maybe, though the error was from sh before fold was even executed.
Also there was a call previously to determine the limit with `fold /dev/null`.
Maybe the local-archive is being loaded in parallel and it's a racy thing
(we did see it only fail with the full test run).
Wnyay good data points if we every hit issues with this in future.

thanks,
Padraig

Reply via email to