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

Rob Withers reefedjib at yahoo.com
Tue Jul 13 16:34:46 UTC 2010


--------------------------------------------------
From: "Andreas Raab" <andreas.raab at gmx.de>
Sent: Tuesday, July 13, 2010 12:03 PM
To: "The general-purpose Squeak developers list" 
<squeak-dev at lists.squeakfoundation.org>
Subject: [squeak-dev] Re: UI lockup in Squeak 4.1

> 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 :-)

:-)  Ok, Things worked for awhile, then it started looping.  I found that 
most of the registered environments, in KnownEnvironments, are now nil. 
This includes all Environments except for 'el' -> GreekEnvironment, 
'ja-etoys' -> JapaneseEnvironment, 'ca' -> Latin1Environment and 'sq' -> 
Latin1Environment.

Not sure why.

>
> Cheers,
>   - Andreas
> 



More information about the Squeak-dev mailing list