I just received two crash reports from a beta tester. Here's the common
back-trace:
Thread 0 Crashed:
0 libobjc.A.dylib 0x937de688 objc_msgSend + 24
1 com.apple.AppKit0x9625a7b9 -[_NSBindingInfo dealloc] +
128
2 com.apple.CoreFoundation0x
1. Open one document.
2. Open a second document.
3. Close the second document
4. Click on the File or Help menu
Crash: message sent to dealloc instance of NSDocument.
Here's an interesting twist.
1. Open one document.
2. Open a second document.
3. Close the first document
4. Click on the File or
I've created a small server that appears to set up and publish itself.
I then created a small client app that 'sees' the server but fails to
connect. The error I'm getting is: Address family not supported by
protocol family. The address->sa_family is AF_INET. The socket type
is: SOCK_STREAM
This was a surprise. Here's the relevant code:
- (void)saveDocumentAs:(id)sender
{
NSSavePanel *panel = [NSSavePanel savePanel];
[panel setRequiredFileType:@"abcd"];
[panel beginSheetForDirectory: [documentPath
stringByDeletingLastPathComponent]
This code is leaking:
- (void)saveItemExtensions:(id)sender
{
NSMutableString* itemExtensionsFilePath = [NSMutableString
stringWithString:@"~/Library/Preferences/MyApp/extensions.abc"];
NSDictionary* extensions = [NSDictionary dictionaryWithDictionary:
[itemDataSource itemExtensions]];