[BUG] [FIX] Comanche v4.6 Swiki v11 lockup

Marcos F. F. de Macedo marcosm at detec.unijui.tche.br
Mon Oct 16 20:37:30 UTC 2000


Where is the best site to download Comanche?
I cant find version 4.6 ou Comanche/Swiki.....
Can I get a version with all this bug fixes?
What version is Swiki.net running?

John M McIntosh wrote:

> There is a bug in the Squeak finalization logic. Sometimes things
> like sockets don't get finalized. Other things that should be
> finalized, well who knows what the side effects are for them, I've
> just chased the socket issue. If you are using WeakKeyDictionaries
> beware.
>
> For heavily loaded Comanche based Swiki's this bug leads to all sorts
> of interesting failures, lockups, failures to accept connections, and
> poor performance.
>
> To solve this problem now for Comanche based Swiki's (Comanche
> 4.6/Swiki 11), and before diving into a proper fix for the
> finalization logic the following code will attempt to explicitly
> destroy sockets to avoid triggering the finalization bug.
>
> PS if you use and abuse Squeak Sockets ensure you  closeAndDestroy or
> destroy them after you are done, don't let the GC have to cleanup for
> you since it might not until we fix the finalization problem.
>
>   ------------------------------------------------------------------------
>
>    DestroySocketsJMM.1.csName: DestroySocketsJMM.1.cs
>                          Type: Macintosh BinHex Archive (application/mac-binhex40)
>
>   ------------------------------------------------------------------------
> --
> --
> ===========================================================================
> John M. McIntosh <johnmci at smalltalkconsulting.com> 1-800-477-2659
> Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
> ===========================================================================
> Custom Macintosh programming & various Smalltalk dialects
> PGP Key: DSS/Diff/46FC3BE6
> Fingerprint=B22F 7D67 92B7 5D52 72D7  E94A EE69 2D21 46FC 3BE6
> ===========================================================================





More information about the Squeak-dev mailing list