X-Loop: help-debbugs@HIDDEN Subject: bug#33216: using custom optimization options eats goops object Resent-From: Jan Nieuwenhuizen <janneke@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-guile@HIDDEN Resent-Date: Wed, 31 Oct 2018 14:52:01 +0000 Resent-Message-ID: <handler.33216.B.15409975099174 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 33216 X-GNU-PR-Package: guile X-GNU-PR-Keywords: To: 33216 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-guile@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.15409975099174 (code B ref -1); Wed, 31 Oct 2018 14:52:01 +0000 Received: (at submit) by debbugs.gnu.org; 31 Oct 2018 14:51:49 +0000 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> 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-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 --=-=-=--
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Jan Nieuwenhuizen <janneke@HIDDEN> Subject: bug#33216: Acknowledgement (using custom optimization options eats goops object) Message-ID: <handler.33216.B.15409975099174.ack <at> debbugs.gnu.org> References: <877ehyrwy4.fsf@HIDDEN> X-Gnu-PR-Message: ack 33216 X-Gnu-PR-Package: guile Reply-To: 33216 <at> debbugs.gnu.org Date: Wed, 31 Oct 2018 14:52:03 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-guile@HIDDEN If you wish to submit further information on this problem, please send it to 33216 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 33216: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D33216 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN Subject: bug#33216: using custom optimization options eats goops object Resent-From: Jan Nieuwenhuizen <janneke@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-guile@HIDDEN Resent-Date: Wed, 31 Oct 2018 16:29:02 +0000 Resent-Message-ID: <handler.33216.B33216.154100333118221 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 33216 X-GNU-PR-Package: guile X-GNU-PR-Keywords: To: 33216 <at> debbugs.gnu.org Received: via spool by 33216-submit <at> debbugs.gnu.org id=B33216.154100333118221 (code B ref 33216); Wed, 31 Oct 2018 16:29:02 +0000 Received: (at 33216) by debbugs.gnu.org; 31 Oct 2018 16:28:51 +0000 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> 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-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
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.