GNU bug report logs - #21181
SRFI-64: Possible bug in test-group

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guile; Reported by: Rob Browning <rlb@HIDDEN>; dated Mon, 3 Aug 2015 03:28:02 UTC; Maintainer for guile is bug-guile@HIDDEN.
Changed bug title to 'SRFI-64: Possible bug in test-group' from 'Possible bug in test-group' Request was from ludo@HIDDEN (Ludovic Courtès) to control <at> debbugs.gnu.org. Full text available.

Message received at 21181 <at> debbugs.gnu.org:


Received: (at 21181) by debbugs.gnu.org; 3 Aug 2015 04:29:30 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Aug 03 00:29:30 2015
Received: from localhost ([127.0.0.1]:37691 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ZM7NS-0003P8-BD
	for submit <at> debbugs.gnu.org; Mon, 03 Aug 2015 00:29:30 -0400
Received: from defaultvalue.org ([70.85.129.156]:58170)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <rlb@HIDDEN>) id 1ZM7NQ-0003P0-8u
 for 21181 <at> debbugs.gnu.org; Mon, 03 Aug 2015 00:29:28 -0400
Received: from trouble.defaultvalue.org (localhost [127.0.0.1])
 (Authenticated sender: rlb@HIDDEN)
 by defaultvalue.org (Postfix) with ESMTPSA id E29F8200F0
 for <21181 <at> debbugs.gnu.org>; Sun,  2 Aug 2015 23:29:26 -0500 (CDT)
Received: by trouble.defaultvalue.org (Postfix, from userid 1000)
 id A387414E08D; Sun,  2 Aug 2015 23:29:25 -0500 (CDT)
From: Rob Browning <rlb@HIDDEN>
To: 21181 <at> debbugs.gnu.org
Subject: Re: bug#21181: Possible bug in test-group
In-Reply-To: <87614x6nq1.fsf@HIDDEN>
References: <87d1z56ogp.fsf@HIDDEN>
 <87a8u96o4j.fsf@HIDDEN>
 <87614x6nq1.fsf@HIDDEN>
User-Agent: Notmuch/0.20.1 (http://notmuchmail.org) Emacs/24.5.1
 (x86_64-pc-linux-gnu)
Date: Sun, 02 Aug 2015 23:29:25 -0500
Message-ID: <8738016llm.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.1 (/)
X-Debbugs-Envelope-To: 21181
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.1 (/)

Rob Browning <rlb@HIDDEN> writes:

> To follow up, it does look like it might be broken, but you can ignore
> my suggested fix.

I'm not that familiar with srfi-64, but it looks like the problem (if
it's not expected) is that test-group doesn't handle the case where it's
creating the first group, i.e. no prior test-begin.

In that situation it appears that test-runner-current returns #f,
causing test-result-alist! to fail.

Hope this helps
-- 
Rob Browning
rlb @defaultvalue.org and @debian.org
GPG as of 2011-07-10 E6A9 DA3C C9FD 1FF8 C676 D2C4 C0F0 39E9 ED1B 597A
GPG as of 2002-11-03 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4




Information forwarded to bug-guile@HIDDEN:
bug#21181; Package guile. Full text available.

Message received at 21181 <at> debbugs.gnu.org:


Received: (at 21181) by debbugs.gnu.org; 3 Aug 2015 03:43:38 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Aug 02 23:43:38 2015
Received: from localhost ([127.0.0.1]:37643 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ZM6f4-0002J7-3i
	for submit <at> debbugs.gnu.org; Sun, 02 Aug 2015 23:43:38 -0400
Received: from defaultvalue.org ([70.85.129.156]:58162)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <rlb@HIDDEN>) id 1ZM6f2-0002Iz-5V
 for 21181 <at> debbugs.gnu.org; Sun, 02 Aug 2015 23:43:36 -0400
Received: from trouble.defaultvalue.org (localhost [127.0.0.1])
 (Authenticated sender: rlb@HIDDEN)
 by defaultvalue.org (Postfix) with ESMTPSA id 826CA2001A
 for <21181 <at> debbugs.gnu.org>; Sun,  2 Aug 2015 22:43:35 -0500 (CDT)
Received: by trouble.defaultvalue.org (Postfix, from userid 1000)
 id 19C4314E08D; Sun,  2 Aug 2015 22:43:35 -0500 (CDT)
From: Rob Browning <rlb@HIDDEN>
To: 21181 <at> debbugs.gnu.org
Subject: Re: bug#21181: Possible bug in test-group
In-Reply-To: <87a8u96o4j.fsf@HIDDEN>
References: <87d1z56ogp.fsf@HIDDEN>
 <87a8u96o4j.fsf@HIDDEN>
User-Agent: Notmuch/0.20.1 (http://notmuchmail.org) Emacs/24.5.1
 (x86_64-pc-linux-gnu)
Date: Sun, 02 Aug 2015 22:43:34 -0500
Message-ID: <87614x6nq1.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.1 (/)
X-Debbugs-Envelope-To: 21181
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.1 (/)

Rob Browning <rlb@HIDDEN> writes:

> Rob Browning <rlb@HIDDEN> writes:
>
>> With 2.0.11(-deb+1-9):
>>
>>   scheme@(guile-user)> (use-modules (srfi srfi-64))
>>   scheme@(guile-user)> (test-group "foo" 13)
>>   <unnamed port>:2:0: In procedure #<procedure 1ca9e80 at <current input>:2:0 ()>:
>>   <unnamed port>:2:0: In procedure struct_vtable: Wrong type argument in position 1 (expecting struct): #f
>>
>> Changing the syntax-case to use "body ..." instead of ". body" appears
>> to fix the problem.
>
> Hmm, this may be a local issue.  Feel free to ignore it for now.

To follow up, it does look like it might be broken, but you can ignore
my suggested fix.

Thanks
-- 
Rob Browning
rlb @defaultvalue.org and @debian.org
GPG as of 2011-07-10 E6A9 DA3C C9FD 1FF8 C676 D2C4 C0F0 39E9 ED1B 597A
GPG as of 2002-11-03 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4




Information forwarded to bug-guile@HIDDEN:
bug#21181; Package guile. Full text available.

Message received at 21181 <at> debbugs.gnu.org:


Received: (at 21181) by debbugs.gnu.org; 3 Aug 2015 03:34:56 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Aug 02 23:34:56 2015
Received: from localhost ([127.0.0.1]:37639 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ZM6We-00026n-3i
	for submit <at> debbugs.gnu.org; Sun, 02 Aug 2015 23:34:56 -0400
Received: from defaultvalue.org ([70.85.129.156]:58156)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <rlb@HIDDEN>) id 1ZM6Wb-00026f-Rb
 for 21181 <at> debbugs.gnu.org; Sun, 02 Aug 2015 23:34:54 -0400
Received: from trouble.defaultvalue.org (localhost [127.0.0.1])
 (Authenticated sender: rlb@HIDDEN)
 by defaultvalue.org (Postfix) with ESMTPSA id EF45C20127
 for <21181 <at> debbugs.gnu.org>; Sun,  2 Aug 2015 22:34:52 -0500 (CDT)
Received: by trouble.defaultvalue.org (Postfix, from userid 1000)
 id 9FF3014E08D; Sun,  2 Aug 2015 22:34:52 -0500 (CDT)
From: Rob Browning <rlb@HIDDEN>
To: 21181 <at> debbugs.gnu.org
Subject: Re: bug#21181: Possible bug in test-group
In-Reply-To: <87d1z56ogp.fsf@HIDDEN>
References: <87d1z56ogp.fsf@HIDDEN>
User-Agent: Notmuch/0.20.1 (http://notmuchmail.org) Emacs/24.5.1
 (x86_64-pc-linux-gnu)
Date: Sun, 02 Aug 2015 22:34:52 -0500
Message-ID: <87a8u96o4j.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.1 (/)
X-Debbugs-Envelope-To: 21181
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.1 (/)

Rob Browning <rlb@HIDDEN> writes:

> With 2.0.11(-deb+1-9):
>
>   scheme@(guile-user)> (use-modules (srfi srfi-64))
>   scheme@(guile-user)> (test-group "foo" 13)
>   <unnamed port>:2:0: In procedure #<procedure 1ca9e80 at <current input>:2:0 ()>:
>   <unnamed port>:2:0: In procedure struct_vtable: Wrong type argument in position 1 (expecting struct): #f
>
> Changing the syntax-case to use "body ..." instead of ". body" appears
> to fix the problem.

Hmm, this may be a local issue.  Feel free to ignore it for now.

Thanks
-- 
Rob Browning
rlb @defaultvalue.org and @debian.org
GPG as of 2011-07-10 E6A9 DA3C C9FD 1FF8 C676 D2C4 C0F0 39E9 ED1B 597A
GPG as of 2002-11-03 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4




Information forwarded to bug-guile@HIDDEN:
bug#21181; Package guile. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 3 Aug 2015 03:27:45 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Aug 02 23:27:45 2015
Received: from localhost ([127.0.0.1]:37634 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ZM6Ph-0001vJ-5R
	for submit <at> debbugs.gnu.org; Sun, 02 Aug 2015 23:27:45 -0400
Received: from eggs.gnu.org ([208.118.235.92]:52774)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <rlb@HIDDEN>) id 1ZM6Pf-0001v9-5f
 for submit <at> debbugs.gnu.org; Sun, 02 Aug 2015 23:27:43 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <rlb@HIDDEN>) id 1ZM6Pd-0002VK-19
 for submit <at> debbugs.gnu.org; Sun, 02 Aug 2015 23:27:41 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05 autolearn=disabled
 version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:59868)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <rlb@HIDDEN>) id 1ZM6Pc-0002VG-UT
 for submit <at> debbugs.gnu.org; Sun, 02 Aug 2015 23:27:40 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:38048)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <rlb@HIDDEN>) id 1ZM6Pc-0001IZ-0Q
 for bug-guile@HIDDEN; Sun, 02 Aug 2015 23:27:40 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <rlb@HIDDEN>) id 1ZM6PY-0002Uw-0U
 for bug-guile@HIDDEN; Sun, 02 Aug 2015 23:27:39 -0400
Received: from defaultvalue.org ([70.85.129.156]:57236)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <rlb@HIDDEN>) id 1ZM6PX-0002Ur-S4
 for bug-guile@HIDDEN; Sun, 02 Aug 2015 23:27:35 -0400
Received: from trouble.defaultvalue.org (localhost [127.0.0.1])
 (Authenticated sender: rlb@HIDDEN)
 by defaultvalue.org (Postfix) with ESMTPSA id BF18C20127
 for <bug-guile@HIDDEN>; Sun,  2 Aug 2015 22:27:34 -0500 (CDT)
Received: by trouble.defaultvalue.org (Postfix, from userid 1000)
 id 5DDC214E08D; Sun,  2 Aug 2015 22:27:34 -0500 (CDT)
From: Rob Browning <rlb@HIDDEN>
To: bug-guile@HIDDEN
Subject: Possible bug in test-group
User-Agent: Notmuch/0.20.1 (http://notmuchmail.org) Emacs/24.5.1
 (x86_64-pc-linux-gnu)
Date: Sun, 02 Aug 2015 22:27:34 -0500
Message-ID: <87d1z56ogp.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)


With 2.0.11(-deb+1-9):

  scheme@(guile-user)> (use-modules (srfi srfi-64))
  scheme@(guile-user)> (test-group "foo" 13)
  <unnamed port>:2:0: In procedure #<procedure 1ca9e80 at <current input>:2:0 ()>:
  <unnamed port>:2:0: In procedure struct_vtable: Wrong type argument in position 1 (expecting struct): #f

Changing the syntax-case to use "body ..." instead of ". body" appears
to fix the problem.

Thanks
-- 
Rob Browning
rlb @defaultvalue.org and @debian.org
GPG as of 2011-07-10 E6A9 DA3C C9FD 1FF8 C676 D2C4 C0F0 39E9 ED1B 597A
GPG as of 2002-11-03 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4




Acknowledgement sent to Rob Browning <rlb@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guile@HIDDEN. Full text available.
Report forwarded to bug-guile@HIDDEN:
bug#21181; Package guile. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Thu, 29 Oct 2015 23:00:04 UTC

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