<p></p>
Cool, well found!<br>
<br>
_,,,^..^,,,_ (phone)<br>
<br>
> On Oct 30, 2021, at 7:33 AM, Max Leske ***@***.***> wrote:<br>
> <br>
> <br>
> Found it! I was accidentally writing a class as the method class literal into a compiled method. This is usually an association (or ClassBinding). This explains the segfault upon super send.<br>
> <br>
> The reason this only showed up in trunk is that i had a correct Environment>>associationAt:ifAbsent: but not for #bindingOf:ifAbsent:, which, in trunk, is the new message send in Class>>binding.<br>
> <br>
> I'm closing this issue. Here's an MWE in case you want to do something with the segfault:<br>
> <br>
> | class method |<br>
> Object subclass: #Foo<br>
>    instanceVariableNames: 'env'<br>
>    classVariableNames: ''<br>
>    poolDictionaries: ''<br>
>    category: 'Bar'.<br>
> <br>
> class := Smalltalk at: #Foo.<br>
> class compile: 'printString super prinstString'.<br>
> <br>
> method := (Smalltalk at: #Foo) compiledMethodAt: #printString.<br>
> method<br>
>    literalAt: method numLiterals<br>
>    put: class.<br>
>    <br>
> class new printString<br>
> —<br>
> You are receiving this because you are subscribed to this thread.<br>
> Reply to this email directly, view it on GitHub, or unsubscribe.<br>
> Triage notifications on the go with GitHub Mobile for iOS or Android. <br>


<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/601#issuecomment-955573612">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AIJPEW6F4HIBMGKH4YSN3ITUJQ2DDANCNFSM5G5J4LBA">unsubscribe</a>.<br />Triage notifications on the go with GitHub Mobile for <a href="https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675">iOS</a> or <a href="https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub">Android</a>.
<img src="https://github.com/notifications/beacon/AIJPEW2KL4A5AWZ34FVHEY3UJQ2DDA5CNFSM5G5J4LBKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOHD2OK3A.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/601#issuecomment-955573612",
"url": "https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/601#issuecomment-955573612",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>