[BUG] fullScreenMode: crashes VM on Mac

John M McIntosh johnmci at smalltalkconsulting.com
Sat Jun 7 22:14:08 UTC 2003


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

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.

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