unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* bug#59984: segfault in list-ref
@ 2022-12-12  4:10 Christopher Lam
  2022-12-12  6:25 ` Jean Abou Samra
  0 siblings, 1 reply; 2+ messages in thread
From: Christopher Lam @ 2022-12-12  4:10 UTC (permalink / raw)
  To: 59984

[-- Attachment #1: Type: text/plain, Size: 770 bytes --]

Hi guile dev team

Here's a glaring segfault in guile 3.0.8

GNU Guile 3.0.8
Copyright (C) 1995-2021 Free Software Foundation, Inc.

Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'.
This program is free software, and you are welcome to redistribute it
under certain conditions; type `,show c' for details.

Enter `,help' for help.
scheme@(guile-user)>
scheme@(guile-user)> (define lst (iota 20))
scheme@(guile-user)> (list-ref lst 1)
$1 = 1
scheme@(guile-user)> (list-ref lst 1.5)
ice-9/boot-9.scm:1685:16: In procedure raise-exception:
Wrong type (expecting exact integer): 1.5

Entering a new prompt.  Type `,bt' for a backtrace or `,q' to continue.
scheme@(guile-user) [1]>

scheme@(guile-user)> (list-ref lst -1)
Segmentation fault (core dumped)

[-- Attachment #2: Type: text/html, Size: 971 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#59984: segfault in list-ref
  2022-12-12  4:10 bug#59984: segfault in list-ref Christopher Lam
@ 2022-12-12  6:25 ` Jean Abou Samra
  0 siblings, 0 replies; 2+ messages in thread
From: Jean Abou Samra @ 2022-12-12  6:25 UTC (permalink / raw)
  To: Christopher Lam, 59984-close


[-- Attachment #1.1: Type: text/plain, Size: 258 bytes --]

Le 12/12/2022 à 05:10, Christopher Lam a écrit :
>
> Hi guile dev team
>
> Here's a glaring segfault in guile 3.0.8


This is a duplicate of 
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=59874, which is already 
fixed in master.

Best,
Jean

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 236 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-12-12  6:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-12  4:10 bug#59984: segfault in list-ref Christopher Lam
2022-12-12  6:25 ` Jean Abou Samra

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).