STORAGE-CONDITION: Binding stack
Robert Goldman <[email protected]> Wed, 25 Mar 2026 14:16:19 -0500
| Newsgroups | gmane.lisp.steel-bank.general |
|---|---|
| Message-ID | <[email protected]> |
--===============1859629723182401013==
Content-Type: multipart/alternative;
boundary="=_MailMate_32B811A5-7629-45AE-91E8-D6A5233D1A08_="
--=_MailMate_32B811A5-7629-45AE-91E8-D6A5233D1A08_=
Content-Type: text/plain; format=flowed; markup=markdown
I have a large test script which has been failing for me with this
error:
STORAGE-CONDITION: aborted for safety.
#<SB-KERNEL::BINDING-STACK-EXHAUSTED {7005C046B3}>
What's the appropriate method for addressing this problem?
`--control-stack-size` and `--dynamic-space-size` do not _appear_ to
affect this (I haven't been exhaustive in testing). Reading some old
traffic, it seems like the binding stack size can only be set when SBCL
is built. Is that correct?
Weirdly, this same code runs fine on both Clozure and Allegro Common
Lisp, and I usually think of SBCL as being the most optimized of the
available implementations. But I gather there's something quite
different about the way SBCL handles specials.
I guess I think the right answer is to rebuild SBCL for this purpose,
but wanted to ask, in case I am wrong.
--=_MailMate_32B811A5-7629-45AE-91E8-D6A5233D1A08_=
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE html>
<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/xhtml; charset=3Dutf-8"=
>
</head>
<body><div style=3D"font-family: sans-serif;"><div class=3D"markdown" sty=
le=3D"white-space: normal;">
<p dir=3D"auto">I have a large test script which has been failing for me =
with this error:</p>
<pre style=3D"margin-left: 15px; margin-right: 15px; padding: 5px; backgr=
ound-color: #F7F7F7; border-radius: 5px 5px 5px 5px; overflow-x: auto; ma=
x-width: 90vw;"><code style=3D"margin: 0 0; border-radius: 3px; backgroun=
d-color: #F7F7F7; padding: 0px;">STORAGE-CONDITION: aborted for safety. #=
<SB-KERNEL::BINDING-STACK-EXHAUSTED {7005C046B3}>
</code></pre>
<p dir=3D"auto">What's the appropriate method for addressing this problem=
? <code style=3D"margin: 0 0; padding: 0 0.25em; border-radius: 3px; bac=
kground-color: #F7F7F7;">--control-stack-size</code> and <code style=3D"m=
argin: 0 0; padding: 0 0.25em; border-radius: 3px; background-color: #F7F=
7F7;">--dynamic-space-size</code> do not <em>appear</em> to affect this (=
I haven't been exhaustive in testing). Reading some old traffic, it seem=
s like the binding stack size can only be set when SBCL is built. Is tha=
t correct?</p>
<p dir=3D"auto">Weirdly, this same code runs fine on both Clozure and All=
egro Common Lisp, and I usually think of SBCL as being the most optimized=
of the available implementations. But I gather there's something quite =
different about the way SBCL handles specials.</p>
<p dir=3D"auto">I guess I think the right answer is to rebuild SBCL for t=
his purpose, but wanted to ask, in case I am wrong.</p>
</div>
</div>
</body>
</html>
--=_MailMate_32B811A5-7629-45AE-91E8-D6A5233D1A08_=--
--===============1859629723182401013==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
--===============1859629723182401013==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
Sbcl-help mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sbcl-help
--===============1859629723182401013==--