Subject: Guile 2.2.4 test-out-of-memory failure

From: "Chin,David" <[email-masked]>
Date: Mon, 17 Jun 2019 16:30:47 +0000

Built Guile 2.2.4 with gcc-4.8.1 and bdw-gc-8.0.4 on RHEL 6.5

Config:

    '--prefix=/mnt/HA/opt/guile/2.2.4' 'PKG_CONFIG_PATH=/mnt/HA/opt/bdw-gc/8.0.4/lib/pkgconfig'

"make check" generated the following (removed the compilation messages):

PASS: test-system-cmds
PASS: test-bad-identifiers
PASS: test-require-extension
PASS: test-guile-snarf
PASS: test-import-order
PASS: test-command-line-encoding
PASS: test-command-line-encoding2
PASS: test-language
error: interrupted by the user
PASS: test-guild-compile
PASS: test-num2integral
PASS: test-round
PASS: test-asmobs
PASS: test-ffi
PASS: test-foreign-object-scm
PASS: test-foreign-object-c
PASS: test-list
PASS: test-unwind
PASS: test-conversion
PASS: test-loose-ends
PASS: test-fast-slot-ref
PASS: test-mb-regexp
PASS: test-use-srfi
PASS: test-scm-c-read
PASS: test-scm-take-locale-symbol
PASS: test-scm-take-u8vector
PASS: test-scm-to-latin1-string
PASS: test-scm-values
PASS: test-scm-c-bind-keyword-arguments
PASS: test-srfi-4
PASS: test-extensions
PASS: test-with-guile-module
PASS: test-scm-with-guile
PASS: test-scm-spawn-thread
PASS: test-pthread-create
PASS: test-pthread-create-secondary
PASS: test-smob-mark
PASS: test-smob-mark-race
wrote `/mnt/HA/opt/src/guile-2.2.4/cache/guile/ccache/2.2-LE-8-3.A/mnt/HA/opt/src/guile-2.2.4/test-suite/standalone/test-stack-overflow.go'
allocate_stack failed: Cannot allocate memory
allocate_stack failed: Cannot allocate memory
allocate_stack failed: Cannot allocate memory
allocate_stack failed: Cannot allocate memory
allocate_stack failed: Cannot allocate memory
PASS: test-stack-overflow
wrote `/mnt/HA/opt/src/guile-2.2.4/cache/guile/ccache/2.2-LE-8-3.A/mnt/HA/opt/src/guile-2.2.4/test-suite/standalone/test-out-of-memory.go'
GC Warning: Failed to expand heap by 134348800 bytes
GC Warning: Failed to expand heap by 134217728 bytes
GC Warning: Out of Memory! Heap size: 1 MiB. Returning NULL!
error creating finalization thread: Resource temporarily unavailable
GC Warning: Failed to expand heap by 1000132608 bytes
GC Warning: Failed to expand heap by 1000001536 bytes
GC Warning: Out of Memory! Heap size: 1 MiB. Returning NULL!
mmap(PROT_NONE) failed
/bin/sh: line 5: 11840 Aborted                 top_srcdir="../.." srcdir="." builddir="." CHARSETALIASDIR="/mnt/HA/opt/src/guile-2.2.4/lib" GUILE_AUTO_COMPILE=0 "../../meta/build-env" ${dir}$tst
FAIL: test-out-of-memory
==================================
1 of 39 tests failed
Please report to [email-masked]
==================================

Using tcsh. "limit" reports:

cputime      6:00:00
filesize     unlimited
datasize     unlimited
stacksize    unlimited
coredumpsize 0 kbytes
memoryuse    unlimited
vmemoryuse   unlimited
descriptors  65536
memorylocked unlimited
maxproc      1024

--
David Chin, PhD    Sr. Sys. Admin, URCF, Drexel
[email-masked]               215.571.4335 (o)
For URCF support: [email-masked]
https://proteusmaster.urcf.drexel.edu/urcfwiki