This seems to be a bug, just wanted to know if maybe it's already fixed in a later
distribution of either GNUstep or gcc.
This trivial program:
#import <Foundation/Foundation.h>
main()
{
NSLock *theLock;
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
theLock = [[NSLock alloc] init];
[theLock lock];
[theLock unlock]; // crashes here
[theLock release];
[pool release];
}
Crashes when releasing the lock with:
Uncaught exception NSLockException, reason: invalid mutex
This is on Redhat Linux 2.2.12. I'm using gcc version egcs-2.91.66 and GNUstep core
libraries version 0.6.6.
I'm perfectly willing to believe I just need a new gcc or Linux but it would be nice
to know exactly what I need before flailing around upgrading everything in sight.
Thanks!
- Larry
_______________________________________________
Bug-gnustep mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-gnustep