GNU bug report logs - #59874
Segfault from string-ref with negative 'k'

Previous Next

Package: guile;

Reported by: rose gibson <birdswinter <at> tutanota.com>

Date: Wed, 7 Dec 2022 09:19:01 UTC

Severity: normal

Done: Jean Abou Samra <jean <at> abou-samra.fr>

Bug is archived. No further changes may be made.

Full log


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

From: rose gibson <birdswinter <at> tutanota.com>
To: "\"Guile Bug Reports\"" <bug-guile <at> gnu.org>
Subject: Segfault from string-ref with negative 'k'
Date: Wed, 7 Dec 2022 08:50:09 +0100 (CET)
hi,

i noticed that if i, on my system, run "guile" from a shell and then type into the command prompt that appears,

(string-ref "a string" -1)

guile appears to hang for a few seconds or so, and then prints the message "Segmentation fault (core dumped)".

i'm not really sure if this report is worth anything, it might just be some glitch in my distribution's build or something else unreproducable and weird, idk.  but i thought i would say something.  just in case.

this is with guile 3.0.8 on arch linux.  i didn't do anything special with respect to building guile myself or anything like that, it was (i'm pretty sure) just installed from the repositories.

i'm definitely curious what's up if anyone ever bothers to take the time figuring it out.

thanks :)




This bug report was last modified 2 years and 162 days ago.

Previous Next


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