Subject: bug#59874: closed (Re: bug#59874: Segfault from string-ref with negative 'k')

From: [email-masked] (GNU bug Tracking System)
Date: Mon, 12 Dec 2022 06:27:02 +0000

Your bug report

#59874: Segfault from string-ref with negative 'k'

which was filed against the guile package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
59874: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=59874
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#59874: Segfault from string-ref with negative 'k'
From: Jean Abou Samra <[email-masked]>
To: [email-masked]
Date: Mon, 12 Dec 2022 07:26:35 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

(Closing since this has been fixed.)

Subject: Segfault from string-ref with negative 'k'
From: rose gibson <[email-masked]>
To: "\"Guile Bug Reports\"" <[email-masked]>
Date: Wed, 7 Dec 2022 08:50:09 +0100 (CET)
List-Id: <debbugs-submit.debbugs.gnu.org>

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 :)