[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Segfault in change-class (was Re: [Gcl-devel] defgeneric method fix)
From: |
Paul F. Dietz |
Subject: |
Re: Segfault in change-class (was Re: [Gcl-devel] defgeneric method fix) |
Date: |
Sat, 12 Jul 2003 15:52:13 -0500 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225 |
I wrote:
I am now getting a segfault when running the tests. I've tracked
it down to a test in change-class.lsp, specifically change-class.error.5.
This test checks that an error is thrown if an attempt is made
to change an object into an instance of a built in class. Here's
an example showing the bug:
This bug has nothing to do with change-class. It occurs with any
sequence of no applicable method errors from generic function calls:
GCL (GNU Common Lisp) (2.5.3) Fri Jul 11 21:49:10 CDT 2003
Licensed under GNU Library General Public License
Dedicated to the memory of W. Schelter
Use (help) to get some basic information on how to use GCL.
>(defgeneric f (x y))
#<compiled-closure F>
>(loop for i from 0 do (format t "~A~%~A~%" i (multiple-value-list
(ignore-errors (f 1 2)))))
0
(NIL Error in F [or a callee]: No matching method for the generic-function
#<compiled-closure F>,
when called with arguments (1 2).)
1
(NIL Error in PROGN [or a callee]: No matching method for the generic-function
#<compiled-closure F>,
when called with arguments (1 2).)
2
(NIL Error in PROGN [or a callee]: No matching method for the generic-function
#<compiled-closure F>,
when called with arguments (1 2).)
3
(NIL Error in PROGN [or a callee]: No matching method for the generic-function
#<compiled-closure F>,
when called with arguments (1 2).)
[...]
41
(NIL Error in PROGN [or a callee]: No matching method for the generic-function
#<compiled-closure F>,
when called with arguments (1 2).)
42
(NIL Error in PROGN [or a callee]: No matching method for the generic-function
#<compiled-closure F>,
when called with arguments (1 2).)
43
(NIL Error in PROGN [or a callee]: No matching method for the generic-function
#<compiled-closure F>,
when called with arguments (1 2).)
Unrecoverable error: Segmentation violation..
Paul
- [Gcl-devel] Re: possible lisp reader enhancement/modification, (continued)
- [Gcl-devel] Re: possible lisp reader enhancement/modification, Matt Kaufmann, 2003/07/08
- [Gcl-devel] Re: possible lisp reader enhancement/modification, Camm Maguire, 2003/07/08
- Re: [Gcl-devel] Re: possible lisp reader enhancement/modification, Camm Maguire, 2003/07/09
- Re: [Gcl-devel] Re: possible lisp reader enhancement/modification, Camm Maguire, 2003/07/09
- Re: [Gcl-devel] Re: possible lisp reader enhancement/modification, Matt Kaufmann, 2003/07/09
- Re: [Gcl-devel] Re: possible lisp reader enhancement/modification, Camm Maguire, 2003/07/09
- [Gcl-devel] Re: possible lisp reader enhancement/modification, Paul F. Dietz, 2003/07/09
- Re: [Gcl-devel] Re: possible lisp reader enhancement/modification, Camm Maguire, 2003/07/09
- [Gcl-devel] defgeneric method fix, Camm Maguire, 2003/07/11
- Segfault in change-class (was Re: [Gcl-devel] defgeneric method fix), Paul F. Dietz, 2003/07/12
- Re: Segfault in change-class (was Re: [Gcl-devel] defgeneric method fix),
Paul F. Dietz <=
- [Gcl-devel] [ Task #1924] IN-PACKAGE form put out of order in compiled file, Camm Maguire, 2003/07/14
- Re: Segfault in change-class (was Re: [Gcl-devel] defgeneric method fix), Camm Maguire, 2003/07/15
- Re: [Gcl-devel] Re: possible lisp reader enhancement/modification, Matt Kaufmann, 2003/07/10
- Re: [Gcl-devel] Re: possible lisp reader enhancement/modification, Camm Maguire, 2003/07/10
- Re: [Gcl-devel] Re: possible lisp reader enhancement/modification, Camm Maguire, 2003/07/10
- Re: [Gcl-devel] Re: possible lisp reader enhancement/modification, Matt Kaufmann, 2003/07/10
- Re: [Gcl-devel] Re: possible lisp reader enhancement/modification, Camm Maguire, 2003/07/10
- Re: [Gcl-devel] Re: possible lisp reader enhancement/modification, Matt Kaufmann, 2003/07/11
- Re: [Gcl-devel] Re: possible lisp reader enhancement/modification, Camm Maguire, 2003/07/14
- Re: [Gcl-devel] Re: possible lisp reader enhancement/modification, Matt Kaufmann, 2003/07/18