FROM : Quincey Morris
DATE : Fri Mar 28 19:38:51 2008
On Mar 28, 2008, at 11:20, Dominik Pich wrote:
> exactly my point :) there shouldn't be 'any' memory related errors.
> GC seems to be OFF like my 2. 'check' showed:
>
> >I also added this 'check' to my awakeFromNib
> > if([[NSGarbageCollector defaultCollector] isEnabled])
> > NSLog(@"GC on");
> > else
> > NSLog(@"GC off");
> >and according to that GC is off..
But you're still not saying what the errors actually are. They may not
be an indication that there is a problem with GC, but that a different
issue has been exposed by turning on GC.
For example, you will get nuisance errors like this:
> malloc: free_garbage: garbage ptr = 0x126b5f0, has non-zero refcount
> = 1
in the log when you open a window that uses the system template images
that IB provides you. AFAIK this is a (harmless) bug in Leopard that
will get fixed one of these days, and there is nothing to do in the
meantime except ignore the messages.
DATE : Fri Mar 28 19:38:51 2008
On Mar 28, 2008, at 11:20, Dominik Pich wrote:
> exactly my point :) there shouldn't be 'any' memory related errors.
> GC seems to be OFF like my 2. 'check' showed:
>
> >I also added this 'check' to my awakeFromNib
> > if([[NSGarbageCollector defaultCollector] isEnabled])
> > NSLog(@"GC on");
> > else
> > NSLog(@"GC off");
> >and according to that GC is off..
But you're still not saying what the errors actually are. They may not
be an indication that there is a problem with GC, but that a different
issue has been exposed by turning on GC.
For example, you will get nuisance errors like this:
> malloc: free_garbage: garbage ptr = 0x126b5f0, has non-zero refcount
> = 1
in the log when you open a window that uses the system template images
that IB provides you. AFAIK this is a (harmless) bug in Leopard that
will get fixed one of these days, and there is nothing to do in the
meantime except ignore the messages.
| Related mails | Author | Date |
|---|---|---|
| Dominik Pich | Mar 28, 12:15 | |
| Quincey Morris | Mar 28, 17:25 | |
| Dominik Pich | Mar 28, 19:20 | |
| Sherm Pendley | Mar 28, 19:35 | |
| Quincey Morris | Mar 28, 19:38 | |
| Robert Douglas | Mar 28, 19:42 | |
| Quincey Morris | Mar 28, 20:06 | |
| ugol | Mar 30, 00:42 |






Cocoa mail archive

