Subject: bug#79483: Segmentation fault: set-car! in compiled code

From: <[email-masked]>
Date: Mon, 22 Sep 2025 06:35:18 +0200

On Mon, Sep 22, 2025 at 12:50:57AM +0300, var-vniiaes--- via Bug reports for GUILE, GNU's Ubiquitous Extension Language wrote:
> 
> Hello,
>  
> Execution of   (set-car! '(0) 1)   *in compiled code*  leads to segfault:

First of all: you shouldn't be doing that :)

You are mutating a constant. I don't know what the Scheme specification says
to it (if at all).

The other question is whether Guile should/could catch that and signal an
error instead.

Cheers
-- 
t