GNU bug report logs - #56665
Segfault in SRFI-37 when raising ERROR in ARGS-FOLD.

Previous Next

Package: guile;

Reported by: Ricardo Wurmus <rekado <at> elephly.net>

Date: Wed, 20 Jul 2022 14:45:01 UTC

Severity: normal

Full log


Message #8 received at 56665 <at> debbugs.gnu.org (full text, mbox):

From: Olivier Dion <olivier.dion <at> polymtl.ca>
To: 56665 <at> debbugs.gnu.org
Subject: bug#56665: Segfault in SRFI-37 when raising ERROR in ARGS-FOLD
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





This bug report was last modified 11 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.