[squeak-dev] Re: Sound latchup problem is back with Squeak- (Ubuntu/Linux)

Chris Muller asqueaker at gmail.com
Fri Apr 16 01:30:31 UTC 2010

Sorry for the late reply; but I have been fighting the same issue as
Jerome; it's a pretty bad one.  My code hit a Beep, something that
should have taken one minute was still running after an hour (I
suppose because the CPU was consumed but I didn't know that then).
Attempting to profile ended up in a locked image (couldn't interrupt
it with Alt+.).

Toggling soundStopWhenDone seemed to fix the problem.
Wow, I just was browsing senders of this method and noticed..  have a
look at SmalltalkImage>>#snapshot:andQuit:embedded:.  It calls
#setPlatformPreferences which takes the trouble to force it true if
booting into a Win32 environment, but false otherwise.  Someone knows
something about this..

On Wed, Apr 14, 2010 at 3:26 AM, Andreas Raab <andreas.raab at gmx.de> wrote:
> On 4/14/2010 1:19 AM, Jerome Peace wrote:
>> Derek>:There is a preference under "media" called
>> "soundStopWhenDone" which, if enabled, stops the process when the sound
>> queue is empty and brings CPU usage back down to normal.
>> Well that seems to work. Can we get the image be released with this as the
>> default?
>> Or with this as the default for Linux/Ubuntu systems?
> I'm willing to make this change if some Linux users can a) confirm that this
> makes indeed a difference on their system and b) nobody reports a problem on
> their Linux system. I will *not* touch it without feedback though, so Linux
> users please test the preference and report back.
> Cheers,
>  - Andreas

More information about the Squeak-dev mailing list