gcl-devel
[Top][All Lists]
Advanced

[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






reply via email to

[Prev in Thread] Current Thread [Next in Thread]