On Wed, 5 Jul 2000 13:37:53 +0300 (EEST), [EMAIL PROTECTED] wrote:
> I want to notice that, with the last cvs update, if I compile with
> -DGS_NEW_DO=0 NSDistributedNotificationCenter doesn't work anymore.
> And, if I compile with -DGS_NEW_DO=1, when I quit an app gdnc chrashes,
> making also  all the other running apps to chrash.
>
> #0  0x406ce111 in __kill ()
> (gdb) bt
> #0  0x406ce111 in __kill ()
> #1  0x406a2f7b in raise (sig=6) at signals.c:63
> #2  0x406cf447 in abort () at ../sysdeps/generic/abort.c:88
> #3  0x4041147b in _NSFoundationUncaughtExceptionHandler
> (exception=0x827c4e8)
> at NSException.m:42
> #4  0x40411a14 in _i_NSException__raise (self=0x827c4e8, _cmd=0x4050e790)
> at NSException.m:110
> #5  0x40411674 in _c_NSException__raise_format_arguments_
> (self=0x4050e700,
> _cmd=0x4050e778, name=0x40515c48, format=0x40515e50,
> argList=0xbfffeab0)
> at NSException.m:75
> #6  0x4041159a in _c_NSException__raise_format_ (self=0x4050e700,
> _cmd=0x40515bb0, name=0x40515c48, format=0x40515e50) at
> NSException.m:61
> #7  0x40445260 in _i_NSRecursiveLock__dealloc (self=0x82814c8,
> _cmd=0x40518ed8)
> at NSLock.m:473

Please try updating from the CVS repository to get the old DO code working -
it seems I accidentally deleted a line, giving rise to crashes on connections
being closed and re-opened, and this should be fixed now.

As for the new code not working - your stack trace suggests that this is an
NSRecursiveLock problem.

On GNU/Linux systems with threads enabled in the runtime, there is a bug in
the objc library that causes crashes on deallocation of locks.  This problem
is fixed in the CVS version of libobjc.  You can either rebuild your libobjc
for single-threaded use, or get the latest runtime source and install that.

Reply via email to