Hi!

I am doing something like:

@synchronized(self)
{
  if ( MY_SINGLETON_VARIABLE == nil )
  {
      [[ self alloc ] init ];
  }
}

Looks like in sync.m:initLockObject my objects ISA pointer gets changed. So, at the time "alloc" is called the message lookup simply fails.

TOM



_______________________________________________
Gnustep-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnustep-dev

Reply via email to