GNU bug report logs - #79483
Segmentation fault: set-car! in compiled code

Previous Next

Package: guile;

Reported by: Владимир ВНИИАЭС <var-vniiaes <at> mail.ru>

Date: Sun, 21 Sep 2025 21:52:01 UTC

Severity: normal

Full log


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

From: <tomas <at> tuxteam.de>
To: Владимир ВНИИАЭС
 <var-vniiaes <at> mail.ru>
Cc: 79483 <at> debbugs.gnu.org
Subject: Re: bug#79483: Segmentation fault: set-car! in compiled code
Date: Mon, 22 Sep 2025 06:35:18 +0200
[Message part 1 (text/plain, inline)]
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
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified today.

Previous Next


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