[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#12465: closed (generalized-vector->list and shared

From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#12465: closed (generalized-vector->list and shared arrays)
Date: Fri, 02 Nov 2012 23:26:03 +0000

Your message dated Sat, 03 Nov 2012 00:22:17 +0100
with message-id <address@hidden>
and subject line Re: bug#12465: generalized-vector->list and shared arrays
has caused the debbugs.gnu.org bug report #12465,
regarding generalized-vector->list and shared arrays
to be marked as done.

(If you believe you have received this mail in error, please contact

12465: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=12465
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: generalized-vector->list and shared arrays Date: Tue, 18 Sep 2012 16:15:36 +0200
There's a bug with generalized-vector->list and shared arrays. I have seen this 
kind of bug before, I'm not sure if it wasn't fixed last time or it has 
resurfaced somehow.

GNU Guile 2.0.6
Copyright (C) 1995-2012 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)> (define a #2((1 2) (3 4)))
scheme@(guile-user)> (define b (make-shared-array a (lambda (j) (list 1 j)) 2))
scheme@(guile-user)> b
$1 = #(3 4)
scheme@(guile-user)> (generalized-vector->list b)
$2 = (1 2)
scheme@(guile-user)> (define c (make-shared-array a (lambda (i) (list i 1)) 2))
scheme@(guile-user)> c
$3 = #(2 4)
scheme@(guile-user)> (generalized-vector->list c)
ERROR: In procedure generalized-vector->list:
ERROR: In procedure vector-handle-ref: Value out of range: 18446744073709551615

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

However generalized-vector-ref seems to work correctly.

I'm posting to guile-devel with my proposed ‘solution’.



--- End Message ---
--- Begin Message --- Subject: Re: bug#12465: generalized-vector->list and shared arrays Date: Sat, 03 Nov 2012 00:22:17 +0100 User-agent: Gnus/5.130005 (Ma Gnus v0.5) Emacs/24.2 (gnu/linux)
Hi Daniel,

I believe this is fixed in 1d4e6ee, which will be in 2.0.7.

I’ll reply to your suggestion on guile-devel.



--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]