bug#56665: Segfault in SRFI-37 when raising ERROR in ARGS-FOLD
Olivier Dion <[email protected]> Mon, 02 Jun 2025 09:02:11 -0400
| Newsgroups | gmane.lisp.guile.bugs |
|---|---|
| Message-ID | <87plfms3e4.fsf@laura> |
Hi,
I don't have a fix for you, but for what it is worth, it is possible to
avoid the segfault by wrapping the `args-fold` form with a
`with-exception-handle` with `#:unwind? #t` like so:
(with-exception-handler
(lambda (exn)
(raise-exception exn))
(lambda ()
(args-fold ...))
#:unwind? #t)
--
Olivier Dion
oldiob.ca