On Slackware 14, there is one test failure:

FAIL: tests/dd/no-allocate

One of the error messages is:
dd: memory exhausted by input buffer of size 31457280 bytes (30 MiB)

But the machine should really have enough memory available:

$ ulimit -a
core file size          (blocks, -c) 0
data seg size           (kbytes, -d) unlimited
scheduling priority             (-e) 0
file size               (blocks, -f) unlimited
pending signals                 (-i) 7891
max locked memory       (kbytes, -l) 64
max memory size         (kbytes, -m) unlimited
open files                      (-n) 1024
pipe size            (512 bytes, -p) 8
POSIX message queues     (bytes, -q) 819200
real-time priority              (-r) 0
stack size              (kbytes, -s) 8192
cpu time               (seconds, -t) unlimited
max user processes              (-u) 7891
virtual memory          (kbytes, -v) unlimited
file locks                      (-x) unlimited

$ free
             total       used       free     shared    buffers     cached
Mem:       1012760     480060     532700          0      52048     348152
-/+ buffers/cache:      79860     932900
Swap:            0          0          0

==========================================================
   GNU coreutils 9.10.289-a8598: ./tests/test-suite.log
==========================================================

# TOTAL: 732
# PASS:  593
# SKIP:  138
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0

System information (uname -a): Linux 3.2.29 #2 SMP Mon Sep 17 14:19:22 CDT 2012 x86_64 AMD Ryzen 5 PRO 5650U with Radeon Graphics AuthenticAMD
Distribution information (/etc/os-release):
NAME=Slackware
VERSION="14.0"
ID=slackware
VERSION_ID=14.0
PRETTY_NAME="Slackware 14.0"
ANSI_COLOR="0;34"
CPE_NAME="cpe:/o:slackware:slackware_linux:14.0"
HOME_URL="http://slackware.com/";

.. contents:: :depth: 2

FAIL: tests/dd/no-allocate
==========================

++ initial_cwd_=/home/bruno/coreutils-9.10.289-a8598/build
+++ testdir_prefix_
+++ printf gt
++ pfx_=gt
+++ mktempd_ /home/bruno/coreutils-9.10.289-a8598/build gt-no-allocate.sh.XXXX
+++ case $# in
+++ destdir_=/home/bruno/coreutils-9.10.289-a8598/build
+++ template_=gt-no-allocate.sh.XXXX
+++ MAX_TRIES_=4
+++ case $destdir_ in
+++ destdir_slash_=/home/bruno/coreutils-9.10.289-a8598/build/
+++ case $template_ in
++++ unset TMPDIR
+++ d=/home/bruno/coreutils-9.10.289-a8598/build/gt-no-allocate.sh.tthV
+++ case $d in
+++ :
+++ test -d /home/bruno/coreutils-9.10.289-a8598/build/gt-no-allocate.sh.tthV
++++ ls -dgo /home/bruno/coreutils-9.10.289-a8598/build/gt-no-allocate.sh.tthV
+++ perms='drwx------ 2 4096 Apr 16 16:08 /home/bruno/coreutils-9.10.289-a8598/build/gt-no-allocate.sh.tthV'
+++ case $perms in
+++ :
+++ echo /home/bruno/coreutils-9.10.289-a8598/build/gt-no-allocate.sh.tthV
+++ return
++ test_dir_=/home/bruno/coreutils-9.10.289-a8598/build/gt-no-allocate.sh.tthV
++ cd /home/bruno/coreutils-9.10.289-a8598/build/gt-no-allocate.sh.tthV
++ case $srcdir in
++ srcdir=../..
++ builddir=..
++ export srcdir builddir
++ gl_init_sh_nl_='
'
++ IFS=' 	
'
++ for sig_ in 1 2 3 13 15
+++ expr 1 + 128
++ eval 'trap '\''Exit 129'\'' 1'
+++ trap 'Exit 129' 1
++ for sig_ in 1 2 3 13 15
+++ expr 2 + 128
++ eval 'trap '\''Exit 130'\'' 2'
+++ trap 'Exit 130' 2
++ for sig_ in 1 2 3 13 15
+++ expr 3 + 128
++ eval 'trap '\''Exit 131'\'' 3'
+++ trap 'Exit 131' 3
++ for sig_ in 1 2 3 13 15
+++ expr 13 + 128
++ eval 'trap '\''Exit 141'\'' 13'
+++ trap 'Exit 141' 13
++ for sig_ in 1 2 3 13 15
+++ expr 15 + 128
++ eval 'trap '\''Exit 143'\'' 15'
+++ trap 'Exit 143' 15
++ saved_IFS=' 	
'
++ IFS=:
++ new_PATH=
++ for dir in '$PATH'
++ IFS=' 	
'
++ case "$dir" in
++ test -d /home/bruno/coreutils-9.10.289-a8598/build/src/.
++ new_PATH=/home/bruno/coreutils-9.10.289-a8598/build/src
++ for dir in '$PATH'
++ IFS=' 	
'
++ case "$dir" in
++ test -d /usr/local/bin/.
++ new_PATH=/home/bruno/coreutils-9.10.289-a8598/build/src:/usr/local/bin
++ for dir in '$PATH'
++ IFS=' 	
'
++ case "$dir" in
++ test -d /usr/bin/.
++ new_PATH=/home/bruno/coreutils-9.10.289-a8598/build/src:/usr/local/bin:/usr/bin
++ for dir in '$PATH'
++ IFS=' 	
'
++ case "$dir" in
++ test -d /bin/.
++ new_PATH=/home/bruno/coreutils-9.10.289-a8598/build/src:/usr/local/bin:/usr/bin:/bin
++ for dir in '$PATH'
++ IFS=' 	
'
++ case "$dir" in
++ test -d /usr/lib64/kde4/libexec/.
++ new_PATH=/home/bruno/coreutils-9.10.289-a8598/build/src:/usr/local/bin:/usr/bin:/bin:/usr/lib64/kde4/libexec
++ for dir in '$PATH'
++ IFS=' 	
'
++ case "$dir" in
++ test -d /usr/lib64/qt/bin/.
++ new_PATH=/home/bruno/coreutils-9.10.289-a8598/build/src:/usr/local/bin:/usr/bin:/bin:/usr/lib64/kde4/libexec:/usr/lib64/qt/bin
++ for dir in '$PATH'
++ IFS=' 	
'
++ case "$dir" in
++ for dir in '$PATH'
++ IFS=' 	
'
++ case "$dir" in
++ test -d /sbin/.
++ new_PATH=/home/bruno/coreutils-9.10.289-a8598/build/src:/usr/local/bin:/usr/bin:/bin:/usr/lib64/kde4/libexec:/usr/lib64/qt/bin:/sbin
++ for dir in '$PATH'
++ IFS=' 	
'
++ case "$dir" in
++ test -d /usr/sbin/.
++ new_PATH=/home/bruno/coreutils-9.10.289-a8598/build/src:/usr/local/bin:/usr/bin:/bin:/usr/lib64/kde4/libexec:/usr/lib64/qt/bin:/sbin:/usr/sbin
++ IFS=' 	
'
++ PATH=/home/bruno/coreutils-9.10.289-a8598/build/src:/usr/local/bin:/usr/bin:/bin:/usr/lib64/kde4/libexec:/usr/lib64/qt/bin:/sbin:/usr/sbin
++ export PATH
++ trap remove_tmp_ EXIT
+ path_prepend_ ./src
+ test 1 '!=' 0
+ path_dir_=./src
+ case $path_dir_ in
+ abs_path_dir_=/home/bruno/coreutils-9.10.289-a8598/build/./src
+ case $abs_path_dir_ in
+ PATH=/home/bruno/coreutils-9.10.289-a8598/build/./src:/home/bruno/coreutils-9.10.289-a8598/build/src:/usr/local/bin:/usr/bin:/bin:/usr/lib64/kde4/libexec:/usr/lib64/qt/bin:/sbin:/usr/sbin
+ create_exe_shims_ /home/bruno/coreutils-9.10.289-a8598/build/./src
+ case $EXEEXT in
+ return 0
+ shift
+ test 0 '!=' 0
+ export PATH
+ print_ver_ dd
+ require_built_ dd
+ skip_=no
+ for i in '"$@"'
+ case " $built_programs " in
+ test no = yes
+ test yes = yes
+ local i
+ for i in '$*'
+ env dd --version
dd (coreutils) 9.10.289-a8598
Copyright (C) 2026 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Paul Rubin, David MacKenzie, and Stuart Kemp.
+ echo .
++ get_min_ulimit_v_ timeout 10 dd if=f of=f2 status=none
++ local v
++ local page_size
+++ getconf PAGESIZE
++ page_size=4096
++ page_size=4
+++ seq 5000 5000 50000
++ for v in '$( seq 5000 5000 50000 )'
++ ulimit_supported_ 5000 timeout 10 dd if=f of=f2 status=none
++ local v
++ v=5000
++ shift
+++ date +%s
++ local ulimit_start_=1776348491
++ ret=127
+++ date +%s
++ local ulimit_end_=1776348491
++ test 0 -ge 10
++ return 127
++ ret=127
++ test 127 = 77
++ test 127 = 0
++ for v in '$( seq 5000 5000 50000 )'
++ ulimit_supported_ 10000 timeout 10 dd if=f of=f2 status=none
++ local v
++ v=10000
++ shift
+++ date +%s
++ local ulimit_start_=1776348491
++ ret=0
+++ date +%s
++ local ulimit_end_=1776348491
++ test 0 -ge 10
++ return 0
++ ret=0
++ test 0 = 77
++ test 0 = 0
++ local prev_v
++ prev_v=10000
+++ seq 9000 -1000 1000
++ for v in '$( seq $(($prev_v-1000)) -1000 1000 )'
++ ulimit_supported_ 9000 timeout 10 dd if=f of=f2 status=none
++ local v
++ v=9000
++ shift
+++ date +%s
++ local ulimit_start_=1776348491
++ ret=0
+++ date +%s
++ local ulimit_end_=1776348491
++ test 0 -ge 10
++ return 0
++ ret=0
++ test 0 = 77
++ test 0 = 0
++ prev_v=9000
++ for v in '$( seq $(($prev_v-1000)) -1000 1000 )'
++ ulimit_supported_ 8000 timeout 10 dd if=f of=f2 status=none
++ local v
++ v=8000
++ shift
+++ date +%s
++ local ulimit_start_=1776348491
++ ret=127
+++ date +%s
++ local ulimit_end_=1776348491
++ test 0 -ge 10
++ return 127
++ ret=127
++ test 127 = 77
++ test 127 = 0
++ ret_v=9004
++ echo 9004
++ return 0
+ vm=9004
+ rm f f2
+ ulimit -v 9004
+ returns_ 1 dd if=/dev/null of=/dev/null bs=-1
dd: invalid number: '-1'
+ ulimit -v 9004
+ returns_ 1 dd if=/dev/null of=/dev/null bs=
dd: invalid number: ''
../tests/init.sh: xmalloc: make_cmd.c:100: cannot allocate 2 bytes (659456 bytes allocated)
+ fail=1
+ ulimit -v 9004
+ returns_ 1 dd if=/dev/null of=/dev/null bs=0
dd: invalid number: '0'
+ ulimit -v 9004
+ dd bs=30M count=0
0+0 records in
0+0 records out
0 bytes copied, 1.2986e-05 s, 0.0 kB/s
+ ulimit -v 9004
+ dd ibs=30M count=0
0+0 records in
0+0 records out
0 bytes copied, 1.569e-05 s, 0.0 kB/s
+ ulimit -v 9004
+ dd obs=30M count=0
0+0 records in
0+0 records out
0 bytes copied, 1.8306e-05 s, 0.0 kB/s
+ mkfifo tape
+ for file in ''\''in'\''' ''\''out'\'''
+ for buf in ''\''both'\''' ''\''in'\''' ''\''out'\'''
+ check_dd_seek_alloc in both
+ local file=in
+ local buf=both
+ test in = in
+ dd_file=if
+ dd_op=skip
+ test in = out
+ test both = in
+ test both = out
+ test both = both
+ dd_buf=bs
+ ulimit -v 13004
+ timeout 10 dd bs=30M skip=1 count=0 if=tape
+ timeout 10 dd count=1 if=/dev/zero of=tape
1+0 records in
1+0 records out
512 bytes copied, 3.5618e-05 s, 14.4 MB/s
dd: memory exhausted by input buffer of size 31457280 bytes (30 MiB)
+ local ret=1
+ test 1 = 124
+ wait
+ case "$file$buf" in
+ test 1 '!=' 0
+ for buf in ''\''both'\''' ''\''in'\''' ''\''out'\'''
+ check_dd_seek_alloc in in
+ local file=in
+ local buf=in
+ test in = in
+ dd_file=if
+ dd_op=skip
+ test in = out
+ test in = in
+ dd_buf=ibs
+ test in = out
+ test in = both
+ ulimit -v 13004
+ timeout 10 dd ibs=30M skip=1 count=0 if=tape
+ timeout 10 dd count=1 if=/dev/zero of=tape
1+0 records in
1+0 records out
512 bytes copied, 3.0208e-05 s, 16.9 MB/s
dd: memory exhausted by input buffer of size 31457280 bytes (30 MiB)
+ local ret=1
+ test 1 = 124
+ wait
+ case "$file$buf" in
+ test 1 '!=' 0
+ for buf in ''\''both'\''' ''\''in'\''' ''\''out'\'''
+ check_dd_seek_alloc in out
+ local file=in
+ local buf=out
+ test in = in
+ dd_file=if
+ dd_op=skip
+ test in = out
+ test out = in
+ test out = out
+ dd_buf=obs
+ test out = both
+ ulimit -v 13004
+ timeout 10 dd obs=30M skip=1 count=0 if=tape
+ timeout 10 dd count=1 if=/dev/zero of=tape
1+0 records in
1+0 records out
512 bytes copied, 4.1559e-05 s, 12.3 MB/s
0+0 records in
0+0 records out
0 bytes copied, 2.587e-05 s, 0.0 kB/s
+ local ret=0
+ test 0 = 124
+ wait
+ case "$file$buf" in
+ test 0 = 0
+ for file in ''\''in'\''' ''\''out'\'''
+ for buf in ''\''both'\''' ''\''in'\''' ''\''out'\'''
+ check_dd_seek_alloc out both
+ local file=out
+ local buf=both
+ test out = in
+ test out = out
+ dd_file=of
+ dd_op=seek
+ test both = in
+ test both = out
+ test both = both
+ dd_buf=bs
+ ulimit -v 13004
+ timeout 10 dd bs=30M seek=1 count=0 of=tape
+ timeout 10 dd count=1 if=/dev/zero of=tape
1+0 records in
1+0 records out
512 bytes copied, 3.8313e-05 s, 13.4 MB/s
dd: memory exhausted by input buffer of size 31457280 bytes (30 MiB)
+ local ret=1
+ test 1 = 124
+ wait
+ case "$file$buf" in
+ test 1 '!=' 0
+ for buf in ''\''both'\''' ''\''in'\''' ''\''out'\'''
+ check_dd_seek_alloc out in
+ local file=out
+ local buf=in
+ test out = in
+ test out = out
+ dd_file=of
+ dd_op=seek
+ test in = in
+ dd_buf=ibs
+ test in = out
+ test in = both
+ ulimit -v 13004
+ timeout 10 dd ibs=30M seek=1 count=0 of=tape
+ timeout 10 dd count=1 if=/dev/zero of=tape
1+0 records in
1+0 records out
512 bytes copied, 3.9004e-05 s, 13.1 MB/s
0+0 records in
0+0 records out
0 bytes copied, 1.9657e-05 s, 0.0 kB/s
+ local ret=0
+ test 0 = 124
+ wait
+ case "$file$buf" in
+ test 0 = 0
+ for buf in ''\''both'\''' ''\''in'\''' ''\''out'\'''
+ check_dd_seek_alloc out out
+ local file=out
+ local buf=out
+ test out = in
+ test out = out
+ dd_file=of
+ dd_op=seek
+ test out = in
+ test out = out
+ dd_buf=obs
+ test out = both
+ ulimit -v 13004
+ timeout 10 dd obs=30M seek=1 count=0 of=tape
+ timeout 10 dd count=1 if=/dev/zero of=tape
1+0 records in
1+0 records out
512 bytes copied, 3.5668e-05 s, 14.4 MB/s
dd: memory exhausted by output buffer of size 31457280 bytes (30 MiB)
+ local ret=1
+ test 1 = 124
+ wait
+ case "$file$buf" in
+ test 1 '!=' 0
+ Exit 1
+ set +e
+ exit 1
+ exit 1
+ remove_tmp_
+ __st=1
+ cleanup_
+ :
+ test '' = yes
+ cd /home/bruno/coreutils-9.10.289-a8598/build
+ chmod -R u+rwx /home/bruno/coreutils-9.10.289-a8598/build/gt-no-allocate.sh.tthV
+ rm -rf /home/bruno/coreutils-9.10.289-a8598/build/gt-no-allocate.sh.tthV
+ exit 1
FAIL tests/dd/no-allocate.sh (exit status: 1)

Reply via email to