GNU bug report logs - #10482
error in output of arrays with rank != 1

Previous Next

Package: guile;

Reported by: Daniel Llorens <dll <at> jast.ch>

Date: Wed, 11 Jan 2012 18:17:02 UTC

Severity: normal

Done: Andy Wingo <wingo <at> pobox.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Daniel Llorens <dll <at> jast.ch>
Subject: bug#10482: closed (Re: bug#10482: error in output of arrays with
 rank != 1)
Date: Thu, 12 Jan 2012 14:19:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#10482: error in output of arrays with rank != 1

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 10482 <at> debbugs.gnu.org.

-- 
10482: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=10482
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Andy Wingo <wingo <at> pobox.com>
To: Daniel Llorens <dll <at> jast.ch>
Cc: 10482-done <at> debbugs.gnu.org
Subject: Re: bug#10482: error in output of arrays with rank != 1
Date: Thu, 12 Jan 2012 15:17:35 +0100
On Wed 11 Jan 2012 18:53, Daniel Llorens <dll <at> jast.ch> writes:

> I've found an bug in array output. It's peculiar. I haven't tried to
> debug it or bisect it, hopefully it rings a bell somewhere. It only
> happens when the rank of the array is not 1. This was tested in the
> last stable-2.0 (bbe34).

How embarassing.  It was a new bug, introduced when I attempted to
support printing circular arrays.  Thanks for finding it before the
release!

Thanks,

Andy
-- 
http://wingolog.org/

[Message part 3 (message/rfc822, inline)]
From: Daniel Llorens <dll <at> jast.ch>
To: bug-guile <at> gnu.org
Subject: error in output of arrays with rank != 1
Date: Wed, 11 Jan 2012 18:53:06 +0100
I've found an bug in array output. It's peculiar. I haven't tried to debug it or bisect it, hopefully it rings a bell somewhere. It only happens when the rank of the array is not 1. This was tested in the last stable-2.0 (bbe34).

scheme@(guile-user)> (define c (make-array 0 2 2))
scheme@(guile-user)> c
$1 = #2((0 0) (0 0))
scheme@(guile-user)> c
$2 = #0#

c itself is fine, e.g. (array-dimensions c) gives 2, etc.

Here is a standalone test. 

(let ((c (make-array 0 2 2)))
  (equal?
    c
    (call-with-input-string
      (begin
        (format #f "~a" c) ; works without this
        (format #f "~a" c))
      read)))

Regards,

	Daniel


This bug report was last modified 13 years and 193 days ago.

Previous Next


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