Re: Strange "autoreleased with no pool in place" message

2010-04-22 Thread Scott Ribe
FYI, your crash was not because you had no autorelease pool in place. That would just cause some objects to never be reclaimed, which for a debug-only build is not necessarily anything to worry about. Your crash would have been because you were using [NSString stringWithFormat...] before the Co

Re: Strange "autoreleased with no pool in place" message

2010-04-18 Thread Alexander Bokovikov
On 18.04.2010, at 1:59, Ken Thomases wrote: Run > Manage Breakpoints > Add Symbolic Breakpoint. Type the name of the function to break on. In general, you should familiarize yourself with the Xcode Debugging Guide: http://developer.apple.com/mac/library/documentation/DeveloperTools/Conce

Re: Strange "autoreleased with no pool in place" message

2010-04-17 Thread Jens Alfke
On Apr 17, 2010, at 12:39 PM, Alexander Bokovikov wrote: >> Most likely you started an NSThread without putting an autorelease pool in >> the thread’s main function, or you got a callback on some thread and are >> making Cocoa calls on it without wrapping your callback in an autorelease >> poo

Re: Strange "autoreleased with no pool in place" message

2010-04-17 Thread davelist
On Apr 17, 2010, at 3:39 PM, Alexander Bokovikov wrote: > > On 18.04.2010, at 1:30, Jens Alfke wrote: > >> >> On Apr 17, 2010, at 12:18 PM, Alexander Bokovikov wrote: >> >>> *** _NSAutoreleaseNoPool(): Object 0x209fa0 of class NSCFString >>> autoreleased with no pool in place - just leaking

Re: Strange "autoreleased with no pool in place" message

2010-04-17 Thread Ken Thomases
On Apr 17, 2010, at 2:39 PM, Alexander Bokovikov wrote: > On 18.04.2010, at 1:30, Jens Alfke wrote: > >> >> On Apr 17, 2010, at 12:18 PM, Alexander Bokovikov wrote: >> >>> *** _NSAutoreleaseNoPool(): Object 0x209fa0 of class NSCFString >>> autoreleased with no pool in place - just leaking >>

Re: Strange "autoreleased with no pool in place" message

2010-04-17 Thread Alexander Bokovikov
On 18.04.2010, at 1:30, Jens Alfke wrote: On Apr 17, 2010, at 12:18 PM, Alexander Bokovikov wrote: *** _NSAutoreleaseNoPool(): Object 0x209fa0 of class NSCFString autoreleased with no pool in place - just leaking Set a breakpoint at _NSAutoreleaseNoPool and start the app. That should sh

Re: Strange "autoreleased with no pool in place" message

2010-04-17 Thread Jens Alfke
On Apr 17, 2010, at 12:18 PM, Alexander Bokovikov wrote: > *** _NSAutoreleaseNoPool(): Object 0x209fa0 of class NSCFString autoreleased > with no pool in place - just leaking Set a breakpoint at _NSAutoreleaseNoPool and start the app. That should show you where it’s happening. Most likely you

Strange "autoreleased with no pool in place" message

2010-04-17 Thread Alexander Bokovikov
Hi, All, Am trying to debug an app, which crashes in 10.4 when I build it with 10.5 SDK and 10.4 deployment target, but works OK when is built with 10.4 SDK and 10.4 deployment target. All builds are performed in 10.5 I'm getting these lines in crash log: Thread 0 Crashed: 0 libSystem.B.