<p>Last week I've been trying to have a simpler way to reproduce it (still on the way BTW).<br>
<a class="user-mention" data-hovercard-type="user" data-hovercard-url="/users/pavel-krivanek/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pavel-krivanek">@pavel-krivanek</a> had handed us originally the following script that reproduces it with a high degree of certainty, but it depends on opening Calypso (which opens new processes...):</p>
<div class="highlight highlight-source-smalltalk"><pre><span class="pl-c1">20</span> <span class="pl-c1">timesRepeat:</span> [<span class="pl-c1">ClyFullBrowser</span> <span class="pl-c1">openOnMethod:</span> <span class="pl-c1">SourceSansProRegular</span> <span class="pl-k">class</span><span class="pl-k">>></span><span class="pl-c1">#fontContents</span> ].

<span class="pl-c1">1</span> <span class="pl-c1">to:</span> <span class="pl-c1">20</span> <span class="pl-c1">do:</span> [ <span class="pl-en">:i</span> | <span class="pl-k">Smalltalk</span> <span class="pl-c1">snapshot:</span> <span class="pl-c1">true</span> <span class="pl-c1">andQuit:</span> <span class="pl-c1">false</span> ].</pre></div>
<p>I've been trying to reduce it into something not depending on Calypso nor Pharo's startup. I got the following script that is longer to run, and does not reproduce the problem as often as Pavel's one.</p>
<div class="highlight highlight-source-smalltalk"><pre><span class="pl-c1">2000</span> <span class="pl-c1">timesRepeat:</span> [
        [ <span class="pl-c1">1000</span> <span class="pl-c1">timesRepeat:</span> [ 
                [ (<span class="pl-c1">1</span> <span class="pl-c1">to:</span> <span class="pl-c1">100000</span>) <span class="pl-c1">collect:</span> [ <span class="pl-en">:e</span> | e <span class="pl-k">**</span> <span class="pl-c1">17</span> ] ] <span class="pl-c1">forkAt:</span> <span class="pl-c1">38</span> ] ] fork ].

<span class="pl-c1">1</span> <span class="pl-c1">to:</span> <span class="pl-c1">20</span> <span class="pl-c1">do:</span> [ <span class="pl-en">:i</span> | <span class="pl-k">Smalltalk</span> snapshotPrimitive].</pre></div>
<p>The good thing about this last script is that is shows also that the problem has nothing to do with the startup mechanism and whatever is running in it.</p>
<p>Enabling the leak checker starts shows output when snapshotting, but once the leak is produced it's too late, the objects leaking are already corrupted.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you commented.<br />Reply to this email directly, <a href="https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/444?email_source=notifications&email_token=AIJPEW4PML5FNUTLOEFLFPLQVY7LNA5CNFSM4JNBNJH2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFI572A#issuecomment-559013864">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AIJPEW4LGYWJKHSC5KTSLILQVY7LNANCNFSM4JNBNJHQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AIJPEW6AROMXTQ2P7QTBUNLQVY7LNA5CNFSM4JNBNJH2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFI572A.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/444?email_source=notifications\u0026email_token=AIJPEW4PML5FNUTLOEFLFPLQVY7LNA5CNFSM4JNBNJH2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFI572A#issuecomment-559013864",
"url": "https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/444?email_source=notifications\u0026email_token=AIJPEW4PML5FNUTLOEFLFPLQVY7LNA5CNFSM4JNBNJH2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFI572A#issuecomment-559013864",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>