Skip to content
Back to formatted view

Raw Message

Message-ID: <20200625150621.3854a233@Tarkus>
Date: 2020-06-25T12:06:21Z
From: Ivan Krylov
Subject: R 4.0.1-4.0.2 built with Intel Composer 19.0-19.1.1, error in "make check" on CentOS 7.7
In-Reply-To: <70478914-CEB6-4C5A-A7FF-3DB213D449DE@rutgers.edu>

On Wed, 24 Jun 2020 18:56:06 +0000
Ryan Novosielski <novosirj at rutgers.edu> wrote:

On my machine, getOption('expressions') is 5000 and the example from
the test correctly stops with length(traceback()) == 2500. (And the
simpler example of f <- function() f(); f() stops with
length(traceback()) == 5000).

> Traceback:

<...>

> 2718: foo()

This (traceback() being more than 2500 entries long) seems to imply
that the stack size check is somehow skipped. (Perhaps optimized away?)
The evaluation depth limit is checked in src/main/eval.c, line 705 [*],
followed by stack size check. Can you attach the debugger and take a
look at the values of R_EvalDepth and R_Expressions while executing the
text? What about R_CStackStart and R_CStackLimit? What is the stack
size limit (ulimit -s?) on the machine running this test?

-- 
Best regards,
Ivan

[*]
https://github.com/wch/r-source/blob/8d7ac4699fba640d030703fa010b66bf26054cbd/src/main/eval.c#L705

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 228 bytes
Desc: ???????????????? ?????????????? OpenPGP
URL: <https://stat.ethz.ch/pipermail/r-devel/attachments/20200625/2fe9360d/attachment.sig>