From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Jan Wedekind Newsgroups: gmane.lisp.guile.bugs Subject: bug#24454: GOOPS problem with GNU Guile 2.1.4 Date: Sat, 17 Sep 2016 21:43:32 +0100 (BST) Message-ID: Reply-To: Jan Wedekind NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Trace: blaine.gmane.org 1474145307 26172 195.159.176.226 (17 Sep 2016 20:48:27 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 17 Sep 2016 20:48:27 +0000 (UTC) User-Agent: Alpine 2.11 (DEB 23 2013-08-11) To: 24454@debbugs.gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Sat Sep 17 22:48:21 2016 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1blMX6-000665-UR for guile-bugs@m.gmane.org; Sat, 17 Sep 2016 22:48:21 +0200 Original-Received: from localhost ([::1]:47422 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1blMX6-0006xS-0j for guile-bugs@m.gmane.org; Sat, 17 Sep 2016 16:48:20 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49360) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1blMWu-0006u4-Iz for bug-guile@gnu.org; Sat, 17 Sep 2016 16:48:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1blMWo-0004Ci-JY for bug-guile@gnu.org; Sat, 17 Sep 2016 16:48:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:36402) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1blMWo-0004CX-G7 for bug-guile@gnu.org; Sat, 17 Sep 2016 16:48:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1blMWo-000467-8k for bug-guile@gnu.org; Sat, 17 Sep 2016 16:48:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jan Wedekind Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Sat, 17 Sep 2016 20:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 24454 X-GNU-PR-Package: guile X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-guile@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.147414525215713 (code B ref -1); Sat, 17 Sep 2016 20:48:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 17 Sep 2016 20:47:32 +0000 Original-Received: from localhost ([127.0.0.1]:34114 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1blMWI-00045M-S8 for submit@debbugs.gnu.org; Sat, 17 Sep 2016 16:47:31 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:57451) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1blMSl-0003z3-Nk for submit@debbugs.gnu.org; Sat, 17 Sep 2016 16:43:52 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1blMSf-00023E-I2 for submit@debbugs.gnu.org; Sat, 17 Sep 2016 16:43:46 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:40083) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1blMSf-00022i-EV for submit@debbugs.gnu.org; Sat, 17 Sep 2016 16:43:45 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48407) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1blMSd-0005R8-4Y for bug-guile@gnu.org; Sat, 17 Sep 2016 16:43:44 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1blMSW-0001yE-VE for bug-guile@gnu.org; Sat, 17 Sep 2016 16:43:42 -0400 Original-Received: from basicbox4.server-home.net ([195.137.212.26]:35124) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1blMSW-0001wZ-Pa for bug-guile@gnu.org; Sat, 17 Sep 2016 16:43:36 -0400 Original-Received: from wedemob.home (host86-163-167-103.range86-163.btcentralplus.com [86.163.167.103]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by basicbox4.server-home.net (Postfix) with ESMTPSA id 0019B1530712 for ; Sat, 17 Sep 2016 22:43:32 +0200 (CEST) X-X-Sender: jan@wedemob X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Mailman-Approved-At: Sat, 17 Sep 2016 16:47:29 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Original-Sender: "bug-guile" Xref: news.gmane.org gmane.lisp.guile.bugs:8413 Archived-At: Hi, The following program works fine under GNU Guile 2.0.12: (use-modules (oop goops)) (define-generic native-type) (define-method (native-type (i ) . args) 0) (define-method (native-type (i ) . args) 1) (define-method (native-type (b ) . args) 2) (native-type 1) (native-type 1.3) (native-type #f) (native-type 1 1.2) (native-type 1.4 2) (native-type 1.4 2 3) (native-type 1.4 1.5) (native-type #f #t) However under GNU Guile 2.1.4 [1] it fails with an error in "multiple-arity-dispatcher": oop/goops.scm:1336:2: oop/goops.scm:1336:2: In procedure vector-ref: Value out of range: 3 Entering a new prompt. Type `,bt' for a backtrace or `,q' to continue. Getting the backtrace didn't work: ,bt In oop/goops.scm: While executing meta-command: ERROR: In procedure vector-set!: Value out of range: 5 Regards Jan [1] http://alpha.gnu.org/gnu/guile/guile-2.1.4.tar.xz