From luke-tier@ey m@ili@g off uiow@@edu  Mon Jun 18 03:25:56 2018
From: luke-tier@ey m@ili@g off uiow@@edu (luke-tier@ey m@ili@g off uiow@@edu)
Date: Sun, 17 Jun 2018 20:25:56 -0500 (CDT)
Subject: [Rd] A recent commit breaks embedded application on Windows
In-Reply-To: <EE0A066A-6E82-4E1D-8110-A2D7EBA17121@gmail.com>
References: <EE0A066A-6E82-4E1D-8110-A2D7EBA17121@gmail.com>
Message-ID: <alpine.DEB.2.20.1806172025280.2999@luke-Latitude-7480>

Thanks for the report. Fixed in R-devel and R-patched.

Best,

luke

On Sun, 17 Jun 2018, Randy Lai wrote:

> A line was added to call `R_SetParams ` in the function `R_SetWin32` 4 days ago.
> https://github.com/wch/r-source/blob/2370eca96267e29a69396ef53a52ff5d6f60c65b/src/gnuwin32/system.c#L780
> However, `R_SetParams` actually calls `R_SetWin32`.
> https://github.com/wch/r-source/blob/30f7698e19fe1d2ce8fe53d85cd6cfad21fc8bb0/src/main/startup.c#L284
>
> So it results in a stack overflow.
>
> Related commit by Luke
> https://github.com/wch/r-source/commit/2370eca96267e29a69396ef53a52ff5d6f60c65b#diff-8fa3e687488dfa88a74cb15899cf26e1
>
>

-- 
Luke Tierney
Ralph E. Wareham Professor of Mathematical Sciences
University of Iowa                  Phone:             319-335-3386
Department of Statistics and        Fax:               319-335-3017
    Actuarial Science
241 Schaeffer Hall                  email:   luke-tierney at uiowa.edu
Iowa City, IA 52242                 WWW:  http://www.stat.uiowa.edu



[Rd] A recent commit breaks embedded application on Windows
luke-tier@ey m@ili@g off uiow@@edu