RACE CONDITION!!!!!

John M McIntosh johnmci at mac.com
Thu Apr 1 22:58:02 UTC 2004


If you dig around in interpreter you'll see there is already some  
methods to do
santity checks. You just need to invoke them and turn the asserts on.


On Apr 1, 2004, at 2:00 PM, Bryce Kampjes wrote:

> Yoshiki Ohshima writes:
>>   It could be that your memcpy equivalent is wrong?  For example, if
>> the compaction phase, or any phase, of the garbage collection, is not
>> doing correct thing, or object creation doesn't do nil-out, etc.,
>> etc. can cause this kind of errors.
>
> If that doesn't work, one thing I'm currently doing is writing a
> memory checker. The garbage collector's sweep walks over all the
> objects in memory, that loop can be used to check that memory hasn't
> been corrupted.
>
> Memory corruption bugs are much messier when there is a garbage
> collector moving objects around.
>
> Bryce
>
>
>
--
======================================================================== 
===
John M. McIntosh <johnmci at smalltalkconsulting.com> 1-800-477-2659
Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
======================================================================== 
===




More information about the Squeak-dev mailing list