Issue status update for
http://smalltalk.gnu.org/node/657Post a follow up:
http://smalltalk.gnu.org/project/comments/add/657 Project: GNU Smalltalk
Version: <none>
Component: VM
Category: bug reports
Priority: normal
Assigned to: Unassigned
Reported by: zecke
Updated by: zecke
Status: active
It is crashing the VM because the object does not even understand
doesNotUnderstand. This means that one should check for either recursion
or if one attempted to send the method.
diff --git a/libgst/interp-bc.inl b/libgst/interp-bc.inl
index 8819481..5085377 100644
--- a/libgst/interp-bc.inl
+++ b/libgst/interp-bc.inl
@@ -201,8 +201,9 @@ _gst_send_message_internal (OOP sendSelector,
/* :-( cache miss )-: */
if (!lookup_method (sendSelector, methodData, sendArgs,
method_class))
{
- _gst_send_message_internal (_gst_does_not_understand_symbol,
1,
- receiver, method_class);
+ if ( sendSelector != _gst_does_not_understand_symbol)
+ _gst_send_message_internal
(_gst_does_not_understand_symbol, 1,
+ receiver, method_class);
return;
}
_______________________________________________
help-smalltalk mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-smalltalk