<div>HI,<br></div><div><br></div><div>Ok, so I have an ugly patched attached.  This fixes the ArmV8 crashes in MVC when you scroll.  You can trigger the crash by creating a MVC project, and then within opening a workspace.  Enter one line of text and keep hitting return until the text scrolls off the screen.  Grab the scroll bar and scroll back.  Segfault.<br></div><div><br></div><div>The function that is failing is <span class="colour" style="color:rgb(0, 0, 0)"><span class="font" style="font-family:Menlo"><span class="size" style="font-size:11px"><span style="font-variant-ligatures: no-common-ligatures">fastPathBottomToTop in platforms/Cross/plugins/BitBltPlugin/BitBltGeneric.c</span></span></span></span><br></div><div><br></div><div>The code works unoptimised, but fails with the C optimiser turned on on Gcc 10.2 and gcc 7.5.0.  The code looks fine to me, so, either I don't see it or this is one of those worked in the past when the C optimisers did not take advantage of "oh look, that is undefined, so I will do what I wish."<br></div><div><br></div><div>My patch just bypasses the fast path in fastPathBottomToTop and forces the slower path.  The only place this seemed to be used is MVC when you do big scrolling.  I don't notice any obvious slowdowns even on a slow PI 3.<br></div><div><br></div><div>I think this patch should be included in the 6.0 release because I am biased by works but a touch slower vs segfaults.<br></div><div><br></div><div>Thanks.<br></div><div><br></div><div>bruce<br></div><div><br></div><div ><br></div><div  class="ik_mail_quote"><div>On 2022-02-16T20:16:03.000+01:00, Marcel Taeumel <marcel.taeumel@hpi.de> wrote:</div><blockquote class="ws-ng-quote"><div class="ws-ng-mail-style--490317eJzz9HPyjwAABGYBgQ"><div id="__MailbirdStyleContent" style="font-size:10pt;font-family:Arial;color:#000000;text-align:left;" dir="ltr">Hi --<div class="mb_sig-490317eJzz9HPyjwAABGYBgQ"></div><div><br></div><div><div><span style="font-size:13.3333px;">"Form over" blitting rule is not used much in Morphic anymore.</span></div><div><span style="font-size:13.3333px;"><br></span></div><div><span style="font-size:13.3333px;">Here are is something you can try to see if it crashes in Morphic:</span></div><div><span style="font-size:13.3333px;"><br></span></div><div><span style="font-size:13.3333px;">   HandMorph showEvents: false. "Still uses Form over"</span></div><div><span style="font-size:13.3333px;"><br></span></div><div><span style="font-size:13.3333px;">Here are some things you can do to use another blitting rule in MVC:</span></div><div><span style="font-size:13.3333px;"><br></span></div><div><span style="font-size:13.3333px;">   TextConstants at: #DefaultRule put: Form blend. "was: Form over"</span></div><div><span style="font-size:13.3333px;"><br></span></div><div><span style="font-size:13.3333px;">Maybe this stops the crashes. :-) Please report back.</span></div></div><div><span style="font-size:13.3333px;"><br></span></div><div><span style="font-size:13.3333px;">Best,</span></div><div><span style="font-size:13.3333px;">Marcel</span></div></div></div></blockquote></div>