Re: NSMutableArray access problem
Re: NSMutableArray access problem
- Subject: Re: NSMutableArray access problem
- From: Andy Lee <email@hidden>
- Date: Sat, 3 Aug 2002 21:40:24 -0400
At 6:07 PM -0700 8/3/02, Christopher Corbell wrote:
- (int)numberOfRowsInTableView:(NSTableView *)tableView
{
printf("m_records: 0x%x\n", (unsigned)m_records);
printf("[m_records count]: %d\n", (int)[m_records count]);
return [m_records count];
}
Here is the runtime output
m_records: 0x1b488c0
[m_records count]: 0
m_records: 0x1b488c0
[m_records count]: 0
m_records: 0x1b488c0
[m_records count]: 0
window is loaded.
m_records: 0x1b488c0
ProtoTable has exited due to signal 10 (SIGBUS).
This looks like a great candidate for a missing retain. Are you
retaining m_records?
--Andy
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.