<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi.<div class=""><br class=""></div><div class="">I may have discovered a bug in the PharoVM (stable and latest), which may have been around for at least two years (I had a very similiar situation about two years ago with Fuel).</div><div class=""><br class=""></div><div class="">I have a test that fails when a particular method contains “3 timesRepeat: [ Smalltalk garbageCollect ]”. In order to be sure that it’ not the #timesRepeat message that’s causing the crash, I replaced that with multiple “Smalltalk garbageCollect” sends.</div><div class=""><br class=""></div><div class="">The test I’m talking about ObsoleteTest&gt;&gt;testFixObsoleteSharedPools. To make the test crash the VM, simply add a couple of garbageCollects at the end of SmalltalkImage&gt;&gt;fixObsoleteSharedPools. I tried to come up with a little script to demonstrate the issue but I can only reproduce the problem with Nautilus (which makes me suspect that the problem is related to Nautilus).</div><div class=""><br class=""></div><div class="">Steps to reproduce:</div><div class="">1. get a fresh image and &nbsp;the latest vm:</div><div class=""><span class="Apple-tab-span" style="white-space:pre">        </span>curl <a href="http://get.pharo.org/40+vmLastest" class="">get.pharo.org/40+vmLastest</a>&nbsp;| bash &amp;&amp; ./pharo-ui Pharo.image</div><div class="">2. open the class browser and navigate to SmalltalkImage&gt;&gt;fixObsoleteSharedPools</div><div class="">3. Append ten “self garbageCollect” statements to the method.</div><div class="">4. navigate to ObsoleteTest&gt;&gt;testFixObsoleteSharedPools and click on the test runner icon to the left of the method name.</div><div class=""><br class=""></div><div class="">I can reproduce this with the Mac VM (OS X 10.10) as well as with the linux VM (Ubuntu 12.04.1).</div><div class=""><br class=""></div><div class="">I’ve opened an issue for this:&nbsp;<a href="https://pharo.fogbugz.com/f/cases/14478/Reproducible-VM-crash-with-excessive-garbage-collection" class="">https://pharo.fogbugz.com/f/cases/14478/Reproducible-VM-crash-with-excessive-garbage-collection</a></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Cheers,</div><div class="">Max</div></body></html>