[squeak-dev] [Ann] Cuis 3.1 is available
casey.obrien.r at gmail.com
Sat Mar 5 19:46:52 UTC 2011
Juan: do you think this relates to the fact that I was seeing crashes when rotating the screen with a background set under iOS?
On Mar 5, 2011, at 6:26 AM, Juan Vuletich <juan at jvuletich.org> wrote:
> Levente Uzonyi wrote:
>> Okay, first experiments:
>> 1. Dragging windows is a lot faster than with Squeak.
>> 2. DNU when you open the World menu and press Alt+t (it opens a Transcript in Squeak).
> Thanks! Will fix it.
>> 3. When I try to change the window size to 1920 at 1080 then Squeak VM crashes on Windows (4.0.2).
>> The Smalltalk Stack:
>> 58176356 Behavior>new:
>> 58176236 Form>setExtent:depth:
>> 58176096 Form class>extent:depth:
>> 58176004 Form>magnify:to:smoothing:
>> 58175912 Form>magnifyTo:
>> 50340572 PasteUpMorph>buildMagnifiedBackgroundImage
>> 50340408 PasteUpMorph>extent:
>> 50340316 PasteUpMorph>restoreMorphicDisplay
>> 42191724 DisplayScreen class>checkForNewScreenSize
>> 42191632 WorldState>doOneCycleNowFor:
>> 42191448 WorldState>doOneCycleFor:
>> 42191356 PasteUpMorph>doOneCycle
>> 37207620 ProjectX class>spawnNewProcessX
>> 37207496 BlockClosure>newProcess
>> The extent is 9711241920 at 1061 for some reason. It doesn't crash with Cog, so it might be a VM bug. It doesn't crash with Squeak images though.
> It doesn't crash with Squeak because it doesn't do the magnified background image stuff. If you set a plain background color in Cuis it won't happen either.
> BTW, how did you get to 9711241920 at 1061? I tried validating the arguments, and they look ok to me all over the stack...
> Anyway, I have no idea what's going wrong, but it doesn't happen with 4.0.1 or earlier Windows VMs. It also doesn't happen if I halt and proceed:
> | image old |
> [ old _ backgroundImage.
> ifNil: [ backgroundImage _ nil ]
> ifNotNil: [
> image _ Form fromBinaryStream: backgroundImageData readStream.
> self halt.
> backgroundImage _ image magnifyTo: bounds extent ].
> old == backgroundImage ifFalse: [
> self changed ]] fork
> Andreas, can you help with this one? Did something in the platform support code changed between VMs 4.0.1 and 4.0.2 ? (I confirm it crashes in 4.1.1).
> Juan Vuletich
>>> Juan Vuletich
More information about the Squeak-dev