Subject: bug#56665: Segfault in SRFI-37 when raising ERROR in ARGS-FOLD

From: Olivier Dion <[email-masked]>
Date: Mon, 02 Jun 2025 09:02:11 -0400

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