For discussion of Alpine Linux development and developer support

1

[alpine-devel] heads up: guile downgraded in edge

William Pitcock
Details
Message ID
<CA+T2pCEDN_4ESDTzjYMXWoBB2516tJ9jLnKG4W4Q0C1RyrZZ1w@mail.gmail.com>
Sender timestamp
1508427673
DKIM signature
missing
Download raw message
Hi,

Guile 2.2 has a major regression which, when combined with it's
recursive-descent execution design, is fatal on Alpine systems due to
overflowing stack.  At first, we decided to expand the stack limit to
work around this problem, but it still overflowed with the expanded
stack on the s390x architecture.

We observed that many other distributions did not upgrade to Guile 2.2
yet, which leads us to believe that in some cases, it is even possible
to overflow the stack on glibc systems with 8MB stack limit.

Accordingly, we decided to downgrade to Guile 2.0.14 which does not
appear to have this regression.  The regression appears to be related
to suboptimal hashtable usage, but we did not investigate much further
after that point.

As such, if you have guile installed on your system, and you are
running edge, you will want to allow the downgrade by using "apk
upgrade --available" next time you upgrade your machine.

William


---
Unsubscribe:  alpine-devel+unsubscribe@lists.alpinelinux.org
Help:         alpine-devel+help@lists.alpinelinux.org
---
Natanael Copa
Details
Message ID
<20171024093046.3b528958@ncopa-desktop.copa.dup.pw>
In-Reply-To
<CA+T2pCEDN_4ESDTzjYMXWoBB2516tJ9jLnKG4W4Q0C1RyrZZ1w@mail.gmail.com> (view parent)
Sender timestamp
1508830246
DKIM signature
missing
Download raw message
On Thu, 19 Oct 2017 10:41:13 -0500
William Pitcock <nenolod@dereferenced.org> wrote:

> Hi,
> 
> Guile 2.2 has a major regression which, when combined with it's
> recursive-descent execution design, is fatal on Alpine systems due to
> overflowing stack.  At first, we decided to expand the stack limit to
> work around this problem, but it still overflowed with the expanded
> stack on the s390x architecture.
> 
> We observed that many other distributions did not upgrade to Guile 2.2
> yet, which leads us to believe that in some cases, it is even possible
> to overflow the stack on glibc systems with 8MB stack limit.
> 
> Accordingly, we decided to downgrade to Guile 2.0.14 which does not
> appear to have this regression.  The regression appears to be related
> to suboptimal hashtable usage, but we did not investigate much further
> after that point.
> 
> As such, if you have guile installed on your system, and you are
> running edge, you will want to allow the downgrade by using "apk
> upgrade --available" next time you upgrade your machine.


FYI. The issue was reported upstream but I have not got any response.

http://lists.gnu.org/archive/html/guile-devel/2017-09/msg00047.html

-nc


---
Unsubscribe:  alpine-devel+unsubscribe@lists.alpinelinux.org
Help:         alpine-devel+help@lists.alpinelinux.org
---