开发者

_NSAutoreleaseNoPool Breaking but No Helpful Stack Trace

I am getting the message:

*** _NSAutoreleaseNoPool(): Object 0x3f43660 of class UICFFont autoreleased with no pool in place - just leaking

I have placed a break point using the symbol _NSAutoreleaseNoPool and the program does break, however, the stack trace does not show me any of my code only some UIView and Core Animation layer code.

alt text http://img.skitch.com/20100614-fw7u4qtb5bprpwrkh9rdkwn3rq.png

Is there a better w开发者_开发百科ay to get to the bottom of the issue? There is apparently a thread that does not have an auto release pool, but I can't figure out where.

Thanks.


Are you using CATiledLayer instances ? This is the only type of layer I know that can have their drawLayer:inContext: method called from an arbitrary thread:

As more data is required by the renderer, the layer's drawLayer:inContext: method is called on one or more background threads to supply the drawing operations to fill in one tile of data. The clip bounds and CTM of the drawing context can be used to determine the bounds and resolution of the tile being requested.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜