GNU bug report logs - #33216
using custom optimization options eats goops object

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: Jan Nieuwenhuizen <janneke@HIDDEN>; dated Wed, 31 Oct 2018 14:52:01 UTC; Maintainer for guile is bug-guile@HIDDEN.

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


Received: (at 33216) by debbugs.gnu.org; 31 Oct 2018 16:28:51 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Oct 31 12:28:51 2018
Received: from localhost ([127.0.0.1]:57422 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1gHtMP-0004jm-TY
	for submit <at> debbugs.gnu.org; Wed, 31 Oct 2018 12:28:51 -0400
Received: from eggs.gnu.org ([208.118.235.92]:36877)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <janneke@HIDDEN>) id 1gHtMO-0004ja-D4
 for 33216 <at> debbugs.gnu.org; Wed, 31 Oct 2018 12:28:48 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <janneke@HIDDEN>) id 1gHtMG-0000N9-4e
 for 33216 <at> debbugs.gnu.org; Wed, 31 Oct 2018 12:28:42 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled
 version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:38291)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <janneke@HIDDEN>) id 1gHtM7-0000JI-Nd
 for 33216 <at> debbugs.gnu.org; Wed, 31 Oct 2018 12:28:35 -0400
Received: from [2001:980:1b4f:1:42d2:832d:bb59:862] (port=58054
 helo=dundal.peder.onsbrabantnet.nl)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <janneke@HIDDEN>) id 1gHtM1-0003Sk-F6
 for 33216 <at> debbugs.gnu.org; Wed, 31 Oct 2018 12:28:28 -0400
From: Jan Nieuwenhuizen <janneke@HIDDEN>
To: 33216 <at> debbugs.gnu.org
Subject: Re: bug#33216: using custom optimization options eats goops object
References: <877ehyrwy4.fsf@HIDDEN>
Date: Wed, 31 Oct 2018 17:28:23 +0100
In-Reply-To: <877ehyrwy4.fsf@HIDDEN> (Jan Nieuwenhuizen's message of "Wed, 31
 Oct 2018 15:51:31 +0100")
Message-ID: <87h8h2rsgo.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: 33216
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
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: -6.0 (------)

Jan Nieuwenhuizen <janneke@HIDDEN> writes:

I get the same with latest stable-2.2

commit d9af6706e8a1a0148d492b222758e49e03d225b7

--=20
Jan Nieuwenhuizen <janneke@HIDDEN> | GNU LilyPond http://lilypond.org
Freelance IT http://JoyofSource.com | Avatar=C2=AE http://AvatarAcademy.com




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

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


Received: (at submit) by debbugs.gnu.org; 31 Oct 2018 14:51:49 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Oct 31 10:51:49 2018
Received: from localhost ([127.0.0.1]:57359 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1gHrqX-0002Nu-C9
	for submit <at> debbugs.gnu.org; Wed, 31 Oct 2018 10:51:49 -0400
Received: from eggs.gnu.org ([208.118.235.92]:34302)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <janneke@HIDDEN>) id 1gHrqU-0002Ne-Jj
 for submit <at> debbugs.gnu.org; Wed, 31 Oct 2018 10:51:46 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <janneke@HIDDEN>) id 1gHrqO-0006QZ-HO
 for submit <at> debbugs.gnu.org; Wed, 31 Oct 2018 10:51: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=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled
 version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:34713)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <janneke@HIDDEN>) id 1gHrqO-0006QE-78
 for submit <at> debbugs.gnu.org; Wed, 31 Oct 2018 10:51:40 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:43842)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <janneke@HIDDEN>) id 1gHrqM-0000qu-TK
 for bug-guile@HIDDEN; Wed, 31 Oct 2018 10:51:39 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <janneke@HIDDEN>) id 1gHrqL-0006OJ-Sy
 for bug-guile@HIDDEN; Wed, 31 Oct 2018 10:51:38 -0400
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:36034)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <janneke@HIDDEN>)
 id 1gHrqH-0006La-Fu; Wed, 31 Oct 2018 10:51:33 -0400
Received: from [2001:980:1b4f:1:42d2:832d:bb59:862] (port=57850
 helo=dundal.peder.onsbrabantnet.nl)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <janneke@HIDDEN>)
 id 1gHrqH-0001LE-5L; Wed, 31 Oct 2018 10:51:33 -0400
From: Jan Nieuwenhuizen <janneke@HIDDEN>
To: bug-guile@HIDDEN
Subject: using custom optimization options eats goops object
Date: Wed, 31 Oct 2018 15:51:31 +0100
Message-ID: <877ehyrwy4.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
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.18
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: -6.0 (------)

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Hi!

When running `step.scm' (attached) the expected behaviour is exit 0.

Using auto compilation or default optimization options, that's what
happens

--8<---------------cut here---------------start------------->8---
$ rm -f step.go && guile -e '(step)' step.scm=20
15:39:41 janneke@dundal:~/src/bug-0
--8<---------------cut here---------------end--------------->8---

However, when compiled with a particular set of optimization options
(see attached compile.scm), I get

--8<---------------cut here---------------start------------->8---
$ rm -f step.go && guile -L . -C . compile.scm && guile -L . -C . -e '(step=
)'

;;; WARNING (buggy (#:eliminate-dead-code? #f #:cse? #f))
Backtrace:
           4 (apply-smob/1 #<catch-closure 12356e0>)
In ice-9/boot-9.scm:
    705:2  3 (call-with-prompt ("prompt") #<procedure 148f620 at ice-9/eval=
.scm:330:13 ()> #<procedure default=E2=80=A6>)
In ice-9/eval.scm:
    619:8  2 (_ #(#(#<directory (guile-user) 12ed140>)))
In oop/goops.scm:
   1490:4  1 (cache-miss ())
In unknown file:
           0 (scm-error goops-error #f "No applicable method for ~S in call=
 ~S" (#<<generic> .status (1)> (=E2=80=A6)) #)

ERROR: In procedure scm-error:
No applicable method for #<<generic> .status (1)> in call (.status ())
[1]15:40:09 janneke@dundal:~/src/bug-0
--8<---------------cut here---------------end--------------->8---

The error message seems to suggest that <node> `one' is now the empty
list.

This is with  Guile 2.2.4 from current Guix master.

Greetings,
janneke


--=-=-=
Content-Type: application/octet-stream
Content-Disposition: attachment; filename=step.scm
Content-Transfer-Encoding: base64

Ozsgcm0gLWYgc3RlcC5nbyAmJiBndWlsZSAtTCAuIC1DIC4gY29tcGlsZS5zY20gJiYgZ3VpbGUg
LUwgLiAtQyAuIC1lICcoc3RlcCknCgooZGVmaW5lLW1vZHVsZSAoc3RlcCkKICAjOnVzZS1tb2R1
bGUgKG9vcCBnb29wcykKICAjOmV4cG9ydCAobWFpbikpCgooZGVmaW5lLWNsYXNzIDxub2RlPiAo
KQogIChzdGF0dXMgIzpnZXR0ZXIgLnN0YXR1cyAjOmluaXQtdmFsdWUgI2YpKQoKKGRlZmluZSAo
bWFpbiAuIGFyZ3MpCiAgKGxldCogKCh6ZXJvIChtYWtlIDxub2RlPikpCiAgICAgICAgIChvbmUg
KG1ha2UgPG5vZGU+KSkKICAgICAgICAgKHR3byAoZHVtbXkpKQogICAgICAgICAob25lIChpZiAo
ZHVtbXkpIG9uZQogICAgICAgICAgICAgICAgICAgKGlmIChub3QgKGZ1YmFyKSkgb25lCiAgICAg
ICAgICAgICAgICAgICAgICAgKGxldCogKCh0IChjb25zdCAjdCkpCgogICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAoZm9vPyAoZnViYXIpKQogICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICA7Ozs7IDxub2RlPiBvbmUgYmVjb21lcyAnKCkgaGVyZSogd2l0aG91dCB0aGlzIGxldAogICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICA7OyAoZm9vIChjb25zdCB0KSkKICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgOzs7OwoKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKHRo
cmVlIChmdWJhcikpKQogICAgICAgICAgICAgICAgICAgICAgICAgKGlmIChmdWJhcikgdGhyZWUK
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAoaWYgKGlmIGZvbz8KICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgIChmdWJhciB0d28pCiAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAoZnViYXIpKQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAo
ZnViYXIpCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIChmdWJhciBvbmUgKG1ha2Ug
PG5vZGU+ICM6c3RhdHVzIHplcm8pKSkpKSkpKSkKICAgIDs7ICogPG5vZGU+IG9uZSBiZWNvbWVz
ICcoKQogICAgKC5zdGF0dXMgb25lKSkpCgooZGVmaW5lIChkdW1teSAuIHJlc3QpCiAgI3QpCg==
--=-=-=
Content-Type: application/octet-stream
Content-Disposition: attachment; filename=compile.scm
Content-Transfer-Encoding: base64

CihkZWZpbmUgJWJ1Z2d5LW9wdGltaXphdGlvbnMKICAnKAogICAgOzsjOnBhcnRpYWwtZXZhbD8g
I3QgCiAgICA7OyM6c2ltcGxpZnk/ICNmIAogICAgIzplbGltaW5hdGUtZGVhZC1jb2RlPyAjZiAK
ICAgIDs7IzpwcnVuZS10b3AtbGV2ZWwtc2NvcGVzPyAjZiAKICAgIDs7Izpjb250aWZ5PyAjZiAK
ICAgIDs7IzppbmxpbmUtY29uc3RydWN0b3JzPyAjZiAKICAgIDs7IzpzcGVjaWFsaXplLXByaW1j
YWxscz8gI2YgCiAgICA7OyM6ZWxpZGUtdmFsdWVzPyAjZiAKICAgIDs7IzpwcnVuZS1iYWlsb3V0
cz8gI2YgCiAgICA7OyM6cGVlbC1sb29wcz8gI2YgCiAgICAjOmNzZT8gI2YgCiAgICA7OyM6dHlw
ZS1mb2xkPyAjZiAKICAgIDs7IzpyZXNvbHZlLXNlbGYtcmVmZXJlbmNlcz8gI2YgCiAgICA7OyM6
c3BlY2lhbGl6ZS1udW1iZXJzPyAjZiAKICAgIDs7IzpsaWNtPyAjZiAKICAgIDs7Izpyb3RhdGUt
bG9vcHM/ICNmIAogICAgOzsjOnByZWNvbG9yLWNhbGxzPyAjZgogICAgKSkKCihjb21waWxlLWZp
bGUgInN0ZXAuc2NtIgogICAgICAgICAgICAgICM6b3V0cHV0LWZpbGUgInN0ZXAuZ28iCiAgICAg
ICAgICAgICAgIzpjYW5vbmljYWxpemF0aW9uICdhYnNvbHV0ZQogICAgICAgICAgICAgICM6b3B0
cyAod2FybiAnYnVnZ3kgJWJ1Z2d5LW9wdGltaXphdGlvbnMpKQo=
--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable



--=20
Jan Nieuwenhuizen <janneke@HIDDEN> | GNU LilyPond http://lilypond.org
Freelance IT http://JoyofSource.com | Avatar=C2=AE http://AvatarAcademy.com

--=-=-=--




Acknowledgement sent to Jan Nieuwenhuizen <janneke@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guile@HIDDEN. Full text available.
Report forwarded to bug-guile@HIDDEN:
bug#33216; 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: Mon, 25 Nov 2019 12:00:02 UTC

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