[BUG] fullScreenMode: crashes VM on Mac

Stephane Ducasse ducasse at iam.unibe.ch
Sun Jun 8 07:08:42 UTC 2003


On Sunday, June 8, 2003, at 12:14 AM, John M McIntosh wrote:

> So, which virtual desktop? I was looking for one the other day.

The only decent one on mac is virtualdesktop

>
> The problem is a pthread unsafe condition between the virtual desktop  
> software and the UI thread. The interp.c
> logic (the VM)  is running on a pthread which invokes the  
> ioSetFullScreen(). That then gets smacked by a
> FlushAllWindows() which the UI thread (carbon events) invokes from  
> time to time to sync the double buffered
> screen from memory to the screen, it looks like the guilty code is in  
> your virtual desktop code.
>
> I've a fix for this issue which involves invoking the VM full screen  
> request on the UI thread, versus the interp() thread.
> I'll compile up a new VM 3.5.1b3 and send it to you for testing.

It worked really well. No crash.

Stef


> On Saturday, June 7, 2003, at 10:43  AM, Stephane Ducasse wrote:
>
>> I'm also using a virtual desktop. John lets me know if you need that  
>> I try without the virtual desktop.
>>
>> Stef
>>
>>
> --
> ======================================================================= 
> ====
> John M. McIntosh <johnmci at smalltalkconsulting.com> 1-800-477-2659
> Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
> ======================================================================= 
> ====
>
>



More information about the Squeak-dev mailing list