[squeak-dev] strange bug in squeak 4.2 & 4.3 alpha running Cog, MTCog and regular VMs on a Mac

Lawson English lenglish5 at cox.net
Tue Sep 6 14:25:20 UTC 2011

On 9/6/11 3:47 AM, Bert Freudenberg wrote:
> On 06.09.2011, at 04:44, Lawson English wrote:
>> When I run the following code, I start to get  MNU: UndefinedObject>>containsPoint   errors.
>> http://pastebin.com/TTDmSnZS
> Not a bug. Morphic is single-threaded and not re-entrant. You must not call any morphic methods from a forked process. If you do, you get exactly those kind of errors.
> Instead of forking, use the step mechanism for animation. This is what you would use in a real application.
> [...]
> On my machine this loop takes 5 seconds, so that's 200 fps (animating 100 objects for 1000 frames).
> - Bert -

Thanks. I really should have know better.


More information about the Squeak-dev mailing list