<p></p>
<p>Found it! I was accidentally writing a class as the method class literal into a compiled method. This is usually an association (or <code>ClassBinding</code>). This explains the segfault upon <code>super</code> send.</p>
<p>The reason this only showed up in trunk is that i had a correct <code>Environment>>associationAt:ifAbsent:</code> but not for <code>#bindingOf:ifAbsent:</code>, which, in trunk, is the new message send in <code>Class>>binding</code>.</p>
<p>I'm closing this issue. Here's an MWE in case you want to do something with the segfault:</p>
<div class="highlight highlight-source-smalltalk"><pre>| <span class="pl-c1">class</span> <span class="pl-c1">method</span> |
<span class="pl-e">Object</span> <span class="pl-k">subclass:</span> <span class="pl-c1">#Foo</span>
        <span class="pl-c1">instanceVariableNames:</span> <span class="pl-s"><span class="pl-pds">'</span>env<span class="pl-pds">'</span></span>
        <span class="pl-c1">classVariableNames:</span> <span class="pl-s"><span class="pl-pds">'</span><span class="pl-pds">'</span></span>
        <span class="pl-c1">poolDictionaries:</span> <span class="pl-s"><span class="pl-pds">'</span><span class="pl-pds">'</span></span>
        <span class="pl-c1">category:</span> <span class="pl-s"><span class="pl-pds">'</span>Bar<span class="pl-pds">'</span></span>.

<span class="pl-k">class</span> <span class="pl-k">:=</span> <span class="pl-k">Smalltalk</span> <span class="pl-c1">at:</span> <span class="pl-c1">#Foo</span>.
<span class="pl-k">class</span> <span class="pl-c1">compile:</span> <span class="pl-s"><span class="pl-pds">'</span>printString super prinstString<span class="pl-pds">'</span></span>.

method <span class="pl-k">:=</span> (<span class="pl-k">Smalltalk</span> <span class="pl-c1">at:</span> <span class="pl-c1">#Foo</span>) <span class="pl-c1">compiledMethodAt:</span> <span class="pl-c1">#printString</span>.
method
        <span class="pl-c1">literalAt:</span> method numLiterals
        <span class="pl-c1">put:</span> <span class="pl-k">class</span>.
        
<span class="pl-k">class</span> <span class="pl-k">new</span> printString</pre></div>

<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-955243152">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AIJPEW2KVNBECA3CX43LRJLUJQF2ZANCNFSM5G5J4LBA">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/AIJPEW6NBY2IMNTDVU7G36TUJQF2ZA5CNFSM5G5J4LBKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOHDX5VEA.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-955243152",
"url": "https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/601#issuecomment-955243152",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>