<div dir="ltr"><div dir="ltr">Hi Alistair,<br><div class="gmail_quote"><div dir="ltr">On Wed, Oct 17, 2018 at 9:28 AM Alistair Grant <<a href="mailto:akgrant0710@gmail.com">akgrant0710@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"> <br>
Hi Eliot,<br>
<br>
If I try to run Pharo with the latest VMMaker (eem.2460) it results in the<br>
following error in BitBltSimulator.  Does this look familiar?<br></blockquote><div><br></div><div>Yes.  I am working on fixing a bug in BitBlt where the copyBits primitive accesses a word past the end of the source bitmap.  If the source bitmap is an external surface and abuts the end of a page then accessing the word beyond the bitmap will cause an access violation and crash the VM.  I have added asserts to catch the bug before it crashes the VM.  Until I have the bug fixed you'll have to tolerate the assert fails.  In the simulator you can use an exception handler to squash the asserts, e.g.</div><div><br></div><div><div>| sis m |</div><div>sis := StackInterpreterSimulator newWithOptions: #(ObjectMemory Spur32BitMemoryManager).</div><div>m := BitBltSimulation>>#copyBitsLockedAndClipped.</div><div>sis desiredNumStackPages: 8.</div><div>sis assertValidExecutionPointersAtEachStep: false.</div><div>sis openOn: '/Users/eliot/Squeak/Squeak5.2/bitbltbug'.</div><div>sis openAsMorph.</div><div>[sis run]</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">     </span>on: AssertionFailure</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">   </span>do: [:ex|</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">              </span>ex signalerContext sender sender sender sender sender method ~~ m ifTrue: [ex pass].</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">           </span>ex resume: nil]</div></div><div> </div><div>HTH</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">Thanks,<br>
Alistair<br></blockquote><div> </div><div>[snip] </div></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><span style="font-size:small;border-collapse:separate"><div>_,,,^..^,,,_<br></div><div>best, Eliot</div></span></div></div></div></div></div>