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

2025-06-02 Thread Olivier Dion
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 ...)) #

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

2022-07-20 Thread Ricardo Wurmus
Hi, I got Guile to segfault in srfi-37. Here’s a Guile script: --8<---cut here---start->8--- #!/run/current-system/profile/bin/guile \ --no-auto-compile !# (use-modules (srfi srfi-1) (srfi srfi-37) (ice-9 match)) (define %options (list (option '("greet") #