<p></p>
<p dir="auto">I’m sorry but this counts as shooting oneself in the foot.  This should be handled in the fuzzed as an exception. Contexts are created via Context class>>#sender:receiver:method:arguments:, or if via newForMethod:, properly initialized  with a method soon thereafter.  Why? Because supporting methodless contexts adds checks in critical paths that will slow down not only process switch, but also return.</p>
<p dir="auto">If there is a bug it is that Context class>>#newMethod: does not initialize the method inst var.  I shall fix this in trunk.  Then any fuzzer must be written to test contexts as a special case and instantiate them via Context class>>#newMethod: or Context class>>#sender:receiver:method:arguments:</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/654#issuecomment-1250367436">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AIJPEW6ZWQIRSS4YADQ27ITV65RHXANCNFSM6AAAAAAQPD7WBU">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AIJPEW6Y4KM2LAWNJCE5WNTV65RHXA5CNFSM6AAAAAAQPD7WBWWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTSKQ4L4Y.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><OpenSmalltalk/opensmalltalk-vm/issues/654/1250367436</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/654#issuecomment-1250367436",
"url": "https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/654#issuecomment-1250367436",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>