[squeak-dev] Re: UI lockup in Squeak 4.1

Andreas Raab andreas.raab at gmx.de
Tue Jul 13 16:03:18 UTC 2010


On 7/13/2010 8:57 AM, Rob Withers wrote:

> This time it was a Cog VM which spasmed, which I use for my client
> (Squeak 4.1 for server for use with linux vm - I have no ability to
> compile a linux Cog vm: would love if someone posted one that could be
> launched headless for my webhost).
>
> It started running at 100% and I did your F2 -> Debug Options -> Print
> all processes. It started dumping a LOT to the Debug Console, then it
> froze, still at 100%, but no increase in memory now and it went (Not
> Responding) and greyed out the window.
>
> Luckily, I was able to see enough of the stack that was causing
> problems. It is infinitely looping in this method:
>
> LanguageEnvironment class>>#localeID: localeID
> ^self knownEnvironments at: localeID ifAbsent: [self localeID: (LocaleID
> isoLanguage: 'en')]
>
> This has nothing to do with my code, except I must be calling something
> that enters this loop. It happens in both Cog (Windows) and Squeak4.1
> (Linux <headless> and Windows).
>
> Not sure how to fix this.

Debugging 101: Add a "self halt' in LanguageEnvironment and take it from 
there :-)

Cheers,
   - Andreas



More information about the Squeak-dev mailing list