GNU bug report logs - #16060
Attempt to mutate a literal pair results in segfault (master)

Previous Next

Package: guile;

Reported by: Pieter Slabbert <blob626 <at> gmail.com>

Date: Thu, 5 Dec 2013 19:41:02 UTC

Severity: wishlist

Full log


View this message in rfc822 format

From: Pieter Slabbert <blob626 <at> gmail.com>
To: 16060 <at> debbugs.gnu.org
Subject: bug#16060: segfault when loading file
Date: Thu, 05 Dec 2013 21:39:22 +0200
HI

When I try to load a file which contains
 (set-car! '(0 . ()) 1)

Guile segfaults .
if I enter the same thing into the interpreter it works fine.

I tried the same thing in chibi and it complained about try to mutate
an immutable pair. Fixed it in my code but the segfault made it a lot 
harder to find

I installed guile from git. Version gives me 2.1.0.526-7f710
Running Ubuntu 13.10
Processor: Intel Atom N450

Steps to reproduce:

$ echo "(set-car! '(0 . ()) 1)" > test.scm
$ guile
> (load "test.scm")
segfault

Thanks
Pieter




This bug report was last modified 1 year and 331 days ago.

Previous Next


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