<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">2014-11-16 17:46 GMT+01:00 Max Leske <span dir="ltr">&lt;<a href="mailto:maxleske@gmail.com" target="_blank">maxleske@gmail.com</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> <br><div style="word-wrap:break-word">Hi.<div><br></div><div>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><br></div><div>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><br></div><div>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><br></div><div>Steps to reproduce:</div><div>1. get a fresh image and  the latest vm:</div><div><span style="white-space:pre-wrap">        </span>curl <a href="http://get.pharo.org/40+vmLastest" target="_blank">get.pharo.org/40+vmLastest</a> | bash &amp;&amp; ./pharo-ui Pharo.image</div><div>2. open the class browser and navigate to SmalltalkImage&gt;&gt;fixObsoleteSharedPools</div><div>3. Append ten “self garbageCollect” statements to the method.</div><div>4. navigate to ObsoleteTest&gt;&gt;testFixObsoleteSharedPools and click on the test runner icon to the left of the method name.</div><div><br></div><div>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><br></div><div>I’ve opened an issue for this: <a href="https://pharo.fogbugz.com/f/cases/14478/Reproducible-VM-crash-with-excessive-garbage-collection" target="_blank">https://pharo.fogbugz.com/f/cases/14478/Reproducible-VM-crash-with-excessive-garbage-collection</a></div><div><br></div><div><br></div><div>Cheers,</div><div>Max</div></div><br></blockquote></div><br></div><div class="gmail_extra">Can not reproduce this on linux with may own vm build from an older version (on ubuntu 10.04)<br></div><div class="gmail_extra"><br>/home/nicolai/devel/pharo-vm/pharo-vm/results/pharo<br>NBCoInterpreter NativeBoost-CogPlugin-HolgerHansPeterFreyther.21 uuid: e0df6e2d-5694-40e2-8035-dc217200b424 Oct 14 2014<br>NBCogit NativeBoost-CogPlugin-HolgerHansPeterFreyther.21 uuid: e0df6e2d-5694-40e2-8035-dc217200b424 Oct 14 2014<br><a href="https://github.com/pharo-project/pharo-vm.git" target="_blank">https://github.com/pharo-project/pharo-vm.git</a> Commit: 81b5d19917dcb78f22482a780deec48c53738396 Date: 2014-09-20 14:36:18 +0200 By: Esteban Lorenzano &lt;<a href="mailto:estebanlm@gmail.com" target="_blank">estebanlm@gmail.com</a>&gt; <br><br>Unix built on Oct 14 2014 20:55:01 Compiler: 4.4.3<br>VMMaker versionString <a href="https://github.com/pharo-project/pharo-vm.git" target="_blank">https://github.com/pharo-project/pharo-vm.git</a> Commit: 81b5d19917dcb78f22482a780deec48c53738396 Date: 2014-09-20 14:36:18 +0200 By: Esteban Lorenzano &lt;<a href="mailto:estebanlm@gmail.com" target="_blank">estebanlm@gmail.com</a>&gt; <br>NBCoInterpreter NativeBoost-CogPlugin-HolgerHansPeterFreyther.21 uuid: e0df6e2d-5694-40e2-8035-dc217200b424 Oct 14 2014<br>NBCogit NativeBoost-CogPlugin-HolgerHansPeterFreyther.21 uuid: e0df6e2d-5694-40e2-8035-dc217200b424 Oct 14 2014<br><br><br></div><div class="gmail_extra">reproducable on ubuntu 12.? 64 bit (32 bit latest vm):<br></div><div class="gmail_extra">---------------<br>/home/nicolai/Downloads/pharo-vm/pharo<br>NBCoInterpreter NativeBoost-CogPlugin-EstebanLorenzano.21 uuid: 4d9b9bdf-2dfa-4c0b-99eb-5b110dadc697 Nov 13 2014<br>NBCogit NativeBoost-CogPlugin-EstebanLorenzano.21 uuid: 4d9b9bdf-2dfa-4c0b-99eb-5b110dadc697 Nov 13 2014<br><a href="https://github.com/pharo-project/pharo-vm.git" target="_blank">https://github.com/pharo-project/pharo-vm.git</a> Commit: 27d505ceffde98d854ed887903a2a94908637a49 Date: 2014-11-04 12:04:48 +0100 By: Esteban Lorenzano &lt;<a href="mailto:estebanlm@gmail.com" target="_blank">estebanlm@gmail.com</a>&gt; Jenkins build #14876<br><br>Unix built on Nov 13 2014 00:43:51 Compiler: 4.6.3<br>VMMaker versionString <a href="https://github.com/pharo-project/pharo-vm.git" target="_blank">https://github.com/pharo-project/pharo-vm.git</a> Commit: 27d505ceffde98d854ed887903a2a94908637a49 Date: 2014-11-04 12:04:48 +0100 By: Esteban Lorenzano &lt;<a href="mailto:estebanlm@gmail.com" target="_blank">estebanlm@gmail.com</a>&gt; Jenkins build #14876<br>NBCoInterpreter NativeBoost-CogPlugin-EstebanLorenzano.21 uuid: 4d9b9bdf-2dfa-4c0b-99eb-5b110dadc697 Nov 13 2014<br>NBCogit NativeBoost-CogPlugin-EstebanLorenzano.21 uuid: 4d9b9bdf-2dfa-4c0b-99eb-5b110dadc697 Nov 13 2014<br><br><br></div><div class="gmail_extra">both with image 40370<br></div></div>