Problem with SBCL pprint
Robert Goldman <[email protected]> Fri, 27 Mar 2026 15:30:55 -0500
| Newsgroups | gmane.lisp.steel-bank.general |
|---|---|
| Message-ID | <[email protected]> |
--===============0514760638092234954== Content-Type: multipart/alternative; boundary="=_MailMate_6241C9C1-3B81-4D1B-B815-7177FB3B1D94_=" --=_MailMate_6241C9C1-3B81-4D1B-B815-7177FB3B1D94_= Content-Type: text/plain; format=flowed; markup=markdown Still working on my error. I have found a minimum case, and it's available here: https://github.com/rpgoldman/pddl-tools/pull/24 This merge request gives instructions for replication. In summary, it's just `sbcl --load "do-test.lisp"` There's a relatively small file that is read and then pprinted. This causes a stack overflow on SBCL. On Allegro, it prints fine. There appears to be some sort of spurious proliferation of stack frames, which may indicate an actual bug in SBCL (or there's something standards-variant that Allegro and CCL do differently). I would never bet on my having found a bug in SBCL versus making some obscure mistake, though! --=_MailMate_6241C9C1-3B81-4D1B-B815-7177FB3B1D94_= 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">Still working on my error. I have found a minimum case, = and it's available here:</p> <p dir=3D"auto"><a href=3D"https://github.com/rpgoldman/pddl-tools/pull/2= 4" style=3D"color: #3983C4;">https://github.com/rpgoldman/pddl-tools/pull= /24</a></p> <p dir=3D"auto">This merge request gives instructions for replication. I= n summary, it's just <code style=3D"margin: 0 0; padding: 0 0.25em; borde= r-radius: 3px; background-color: #F7F7F7;">sbcl --load "do-test.lisp= "</code></p> <p dir=3D"auto">There's a relatively small file that is read and then ppr= inted. This causes a stack overflow on SBCL. On Allegro, it prints fine= =2E There appears to be some sort of spurious proliferation of stack fra= mes, which may indicate an actual bug in SBCL (or there's something stand= ards-variant that Allegro and CCL do differently).</p> <p dir=3D"auto">I would never bet on my having found a bug in SBCL versus= making some obscure mistake, though!</p> </div> </div> </body> </html> --=_MailMate_6241C9C1-3B81-4D1B-B815-7177FB3B1D94_=-- --===============0514760638092234954== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============0514760638092234954== 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 --===============0514760638092234954==--