Re: Unbound slot location bug
Massimiliano Ghilardi <[email protected]> Wed, 20 Jul 2022 17:37:51 +0200
| Newsgroups | gmane.editors.j.devel |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format.
--------------xuzfC0okJoZlmTa4mia2dhxD
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Any news on this bug?
I'd say it is the minimal repro for the error that I reported to the
list about loading stmx on abcl >= 1.8.0.
Regards,
Massimiliano Ghilardi
On 5/9/22 11:14, Pascal Costanza wrote:
> Hi,
>
> I’m running the Closer to MOP tests, and see at least one bug. (With
> the limited time I have available, I can only do one bug at a time,
> step by step, so there might be more.)
>
> Armed Bear Common Lisp 1.9.0
> Java 17.0.3 Azul Systems, Inc.
> OpenJDK 64-Bit Server VM
> Low-level initialization completed in 0.095 seconds.
> Startup completed in 0.469 seconds.
> Loading /Users/costanza/.abclrc completed in 3.554 seconds.
> Type ":help" for a list of available commands.
> CL-USER(1): (use-package :mop)
>
> (defclass my-effective-slot-definition
> (standard-effective-slot-definition)
> ())
>
> (defclass my-class (standard-class)
> ())
>
> (defmethod validate-superclass
> ((class my-class)
> (superclass standard-class))
> t)
>
> (defmethod effective-slot-definition-class
> ((class my-class) &rest initargs)
> (declare (ignore initargs))
> (find-class 'my-effective-slot-definition))
>
> (defclass my-object ()
> ((my-slot :allocation :class))
> (:metaclass my-class))
> T
> CL-USER(2): CL-USER(2): #<STANDARD-CLASS MY-EFFECTIVE-SLOT-DEFINITION
> {731A05FD}>
> CL-USER(3): CL-USER(3): #<STANDARD-CLASS MY-CLASS {42C6245B}>
> CL-USER(4): CL-USER(4): #<STANDARD-METHOD VALIDATE-SUPERCLASS
> (MY-CLASS STANDARD-CLASS) {4959790F}>
> CL-USER(5): CL-USER(5): #<STANDARD-METHOD
> EFFECTIVE-SLOT-DEFINITION-CLASS (MY-CLASS) {2AAA2CBF}>
> CL-USER(6): CL-USER(6): #<THREAD "interpreter" {25793D3C}>: Debugger
> invoked on condition of type UNBOUND-SLOT
> The slot LOCATION is unbound in the object
> #<MY-EFFECTIVE-SLOT-DEFINITION {32EB5C37}>.
> Restarts:
> 0: TOP-LEVEL Return to top level.
> [1] CL-USER(7):
>
> Best,
> Pascal
>
--------------xuzfC0okJoZlmTa4mia2dhxD
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Any news on this bug?</p>
<p>I'd say it is the minimal repro for the error that I reported to
the list about loading stmx on abcl >= 1.8.0.</p>
<p>Regards,</p>
<p>Massimiliano Ghilardi<br>
</p>
<div class="moz-cite-prefix">On 5/9/22 11:14, Pascal Costanza wrote:<br>
</div>
<blockquote type="cite"
cite="mid:[email protected]">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
Hi,
<div class=""><br class="">
</div>
<div class="">I’m running the Closer to MOP tests, and see at
least one bug. (With the limited time I have available, I can
only do one bug at a time, step by step, so there might be
more.)</div>
<div class=""><br class="">
</div>
<div class="">
<div style="margin: 0px; font-stretch: normal; font-size: 11px;
line-height: normal; font-family: Menlo; background-color:
rgb(254, 244, 139);" class=""><span
style="font-variant-ligatures: no-common-ligatures" class="">Armed
Bear Common Lisp 1.9.0</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px;
line-height: normal; font-family: Menlo; background-color:
rgb(254, 244, 139);" class=""><span
style="font-variant-ligatures: no-common-ligatures" class="">Java
17.0.3 Azul Systems, Inc.</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px;
line-height: normal; font-family: Menlo; background-color:
rgb(254, 244, 139);" class=""><span
style="font-variant-ligatures: no-common-ligatures" class="">OpenJDK
64-Bit Server VM</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px;
line-height: normal; font-family: Menlo; background-color:
rgb(254, 244, 139);" class=""><span
style="font-variant-ligatures: no-common-ligatures" class="">Low-level
initialization completed in 0.095 seconds.</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px;
line-height: normal; font-family: Menlo; background-color:
rgb(254, 244, 139);" class=""><span
style="font-variant-ligatures: no-common-ligatures" class="">Startup
completed in 0.469 seconds.</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px;
line-height: normal; font-family: Menlo; background-color:
rgb(254, 244, 139);" class=""><span
style="font-variant-ligatures: no-common-ligatures" class="">Loading
/Users/costanza/.abclrc completed in 3.554 seconds.</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px;
line-height: normal; font-family: Menlo; background-color:
rgb(254, 244, 139);" class=""><span
style="font-variant-ligatures: no-common-ligatures" class="">Type
":help" for a list of available commands.</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px;
line-height: normal; font-family: Menlo; background-color:
rgb(254, 244, 139);" class=""><span
style="font-variant-ligatures: no-common-ligatures" class="">CL-USER(1):
(use-package :mop)</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px;
line-height: normal; font-family: Menlo; background-color:
rgb(254, 244, 139); min-height: 13px;" class=""><span
style="font-variant-ligatures: no-common-ligatures" class=""></span><br
class="">
</div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px;
line-height: normal; font-family: Menlo; background-color:
rgb(254, 244, 139);" class=""><span
style="font-variant-ligatures: no-common-ligatures" class="">(defclass
my-effective-slot-definition
(standard-effective-slot-definition)</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px;
line-height: normal; font-family: Menlo; background-color:
rgb(254, 244, 139);" class=""><span
style="font-variant-ligatures: no-common-ligatures" class="">
())</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px;
line-height: normal; font-family: Menlo; background-color:
rgb(254, 244, 139); min-height: 13px;" class=""><span
style="font-variant-ligatures: no-common-ligatures" class=""></span><br
class="">
</div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px;
line-height: normal; font-family: Menlo; background-color:
rgb(254, 244, 139);" class=""><span
style="font-variant-ligatures: no-common-ligatures" class="">(defclass
my-class (standard-class)</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px;
line-height: normal; font-family: Menlo; background-color:
rgb(254, 244, 139);" class=""><span
style="font-variant-ligatures: no-common-ligatures" class="">
())</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px;
line-height: normal; font-family: Menlo; background-color:
rgb(254, 244, 139); min-height: 13px;" class=""><span
style="font-variant-ligatures: no-common-ligatures" class=""></span><br
class="">
</div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px;
line-height: normal; font-family: Menlo; background-color:
rgb(254, 244, 139);" class=""><span
style="font-variant-ligatures: no-common-ligatures" class="">(defmethod
validate-superclass</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px;
line-height: normal; font-family: Menlo; background-color:
rgb(254, 244, 139);" class=""><span
style="font-variant-ligatures: no-common-ligatures" class="">
((class my-class)</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px;
line-height: normal; font-family: Menlo; background-color:
rgb(254, 244, 139);" class=""><span
style="font-variant-ligatures: no-common-ligatures" class="">
(superclass standard-class))</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px;
line-height: normal; font-family: Menlo; background-color:
rgb(254, 244, 139);" class=""><span
style="font-variant-ligatures: no-common-ligatures" class="">
t)</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px;
line-height: normal; font-family: Menlo; background-color:
rgb(254, 244, 139); min-height: 13px;" class=""><span
style="font-variant-ligatures: no-common-ligatures" class=""></span><br
class="">
</div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px;
line-height: normal; font-family: Menlo; background-color:
rgb(254, 244, 139);" class=""><span
style="font-variant-ligatures: no-common-ligatures" class="">(defmethod
effective-slot-definition-class</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px;
line-height: normal; font-family: Menlo; background-color:
rgb(254, 244, 139);" class=""><span
style="font-variant-ligatures: no-common-ligatures" class="">
((class my-class) &rest initargs)</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px;
line-height: normal; font-family: Menlo; background-color:
rgb(254, 244, 139);" class=""><span
style="font-variant-ligatures: no-common-ligatures" class="">
(declare (ignore initargs))</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px;
line-height: normal; font-family: Menlo; background-color:
rgb(254, 244, 139);" class=""><span
style="font-variant-ligatures: no-common-ligatures" class="">
(find-class 'my-effective-slot-definition))</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px;
line-height: normal; font-family: Menlo; background-color:
rgb(254, 244, 139); min-height: 13px;" class=""><span
style="font-variant-ligatures: no-common-ligatures" class=""></span><br
class="">
</div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px;
line-height: normal; font-family: Menlo; background-color:
rgb(254, 244, 139);" class=""><span
style="font-variant-ligatures: no-common-ligatures" class="">(defclass
my-object ()</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px;
line-height: normal; font-family: Menlo; background-color:
rgb(254, 244, 139);" class=""><span
style="font-variant-ligatures: no-common-ligatures" class="">
((my-slot :allocation :class))</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px;
line-height: normal; font-family: Menlo; background-color:
rgb(254, 244, 139);" class=""><span
style="font-variant-ligatures: no-common-ligatures" class="">
(:metaclass my-class))</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px;
line-height: normal; font-family: Menlo; background-color:
rgb(254, 244, 139);" class=""><span
style="font-variant-ligatures: no-common-ligatures" class="">T</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px;
line-height: normal; font-family: Menlo; background-color:
rgb(254, 244, 139);" class=""><span
style="font-variant-ligatures: no-common-ligatures" class="">CL-USER(2):
CL-USER(2): #<STANDARD-CLASS MY-EFFECTIVE-SLOT-DEFINITION
{731A05FD}></span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px;
line-height: normal; font-family: Menlo; background-color:
rgb(254, 244, 139);" class=""><span
style="font-variant-ligatures: no-common-ligatures" class="">CL-USER(3):
CL-USER(3): #<STANDARD-CLASS MY-CLASS {42C6245B}></span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px;
line-height: normal; font-family: Menlo; background-color:
rgb(254, 244, 139);" class=""><span
style="font-variant-ligatures: no-common-ligatures" class="">CL-USER(4):
CL-USER(4): #<STANDARD-METHOD VALIDATE-SUPERCLASS
(MY-CLASS STANDARD-CLASS) {4959790F}></span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px;
line-height: normal; font-family: Menlo; background-color:
rgb(254, 244, 139);" class=""><span
style="font-variant-ligatures: no-common-ligatures" class="">CL-USER(5):
CL-USER(5): #<STANDARD-METHOD
EFFECTIVE-SLOT-DEFINITION-CLASS (MY-CLASS) {2AAA2CBF}></span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px;
line-height: normal; font-family: Menlo; background-color:
rgb(254, 244, 139);" class=""><span
style="font-variant-ligatures: no-common-ligatures" class="">CL-USER(6):
CL-USER(6): #<THREAD "interpreter" {25793D3C}>:
Debugger invoked on condition of type UNBOUND-SLOT</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px;
line-height: normal; font-family: Menlo; background-color:
rgb(254, 244, 139);" class=""><span
style="font-variant-ligatures: no-common-ligatures" class="">
The slot LOCATION is unbound in the object
#<MY-EFFECTIVE-SLOT-DEFINITION {32EB5C37}>.</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px;
line-height: normal; font-family: Menlo; background-color:
rgb(254, 244, 139);" class=""><span
style="font-variant-ligatures: no-common-ligatures" class="">Restarts:</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px;
line-height: normal; font-family: Menlo; background-color:
rgb(254, 244, 139);" class=""><span
style="font-variant-ligatures: no-common-ligatures" class="">
0: TOP-LEVEL Return to top level.</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px;
line-height: normal; font-family: Menlo; background-color:
rgb(254, 244, 139);" class=""><span
style="font-variant-ligatures: no-common-ligatures" class="">[1]
CL-USER(7): </span></div>
</div>
<div class=""><span style="font-variant-ligatures:
no-common-ligatures" class=""><br class="">
</span></div>
<div class="">Best,</div>
<div class="">Pascal</div>
<div class=""><br class="">
</div>
</blockquote>
</body>
</html>
--------------xuzfC0okJoZlmTa4mia2dhxD--