Hi All, but especially Nicolas and C experts,
if you build a Mac 64-bit Pharo VM in production and assert configurations and run the below wget files.pharo.org/get-files/60/ wget files.pharo.org/get-files/60/ unzip pharo64.zip unzip sources.zip pharo64cfvm Pharo64-60438.image eval "VGTigerDemo runDemo" & pharo64cavm Pharo64-60438.image eval "VGTigerDemo runDemo" you'll see that in the Assert VM the screen is clean and the tiger is displayed within a white rectangle, but in the production VM there are lots of garbage pixels at the bottom and bottom right of the screen. So somewhere in the display pipeline we have an optimization-related bug. The Assert VM is optimized at -O1 and the production VM at -Os (favour space over time). On Fri, Mar 10, 2017 at 12:13 PM, Eliot Miranda <[hidden email]> wrote:
_,,,^..^,,,_ best, Eliot |
2017-03-10 21:23 GMT+01:00 Eliot Miranda <[hidden email]>:
Or curl -O if you don't want to bother installing wget
Nope. The first two times I tried, there were the same artefacts with assert vm than with fast vm... ../Smalltalk/OpenSmalltalk/opensmalltalk-vm/build.macos64x64/pharo.cog.spur/PharoAssert.app/Contents/MacOS/Pharo ./Pharo64-60438.image eval "VGTigerDemo runDemo" lisp < lifp 22113 lifp > lisp 22113 a VGTigerDemo The 3rd time, the artefact had disappeared... Then I tried moving the window and I could reproduce the failure. ../Smalltalk/OpenSmalltalk/opensmalltalk-vm/build.macos64x64/pharo.cog.spur/PharoAssert.app/Contents/MacOS/Pharo ./Pharo64-60438.image eval "VGTigerDemo runDemo" lisp < lifp 22113 lifp > lisp 22113 PrimitiveFailed: primitive #primSignal:andReturnAs:fromContext: in SmallInteger failed (ReceiverIndex + ((sp >> 3))) < (lengthOf(aContext)) 63951 SmallInteger(Object)>>primitiveFailed: SmallInteger(Object)>>primitiveFailed SmallInteger(VMCallbackContext64)>>primSignal:andReturnAs:fromContext: GrafPort>>copyBits GrafPort>>image:at:sourceRect:rule: ...snip... (ReceiverIndex + ((sp >> 3))) < (lengthOf(aContext)) 63951 (ReceiverIndex + ((sp >> 3))) < (lengthOf(aContext)) 63951 (ReceiverIndex + ((sp >> 3))) < (lengthOf(aContext)) 63951 (ReceiverIndex + ((sp >> 3))) < (lengthOf(aContext)) 63951 (ReceiverIndex + ((sp >> 3))) < (lengthOf(aContext)) 63951 Then I restarted the test, saw the artefacts, stopped the demo, resize the window, saved the image. Now I got the PrimitiveFailed: primitive #primSignal:andReturnAs:fromContext: in SmallInteger failed at each start (before the demo starts). If I start the saved image without eval demo, then it starts normally --- errr, exept it displays nothing (light gray background) untill I click inside. Ah not allways... I also get the artefacts with pharo.stack.spur, but the first time I tried, the space outer white demo square was black. It looks to much like some sort of buffer overrun. Then anything can happen.
|
Free forum by Nabble | Edit this page |