• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Strange "autoreleased with no pool in place" message
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Strange "autoreleased with no pool in place" message


  • Subject: Strange "autoreleased with no pool in place" message
  • From: Alexander Bokovikov <email@hidden>
  • Date: Sun, 18 Apr 2010 01:18:19 +0600

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.dylib    	0x9010c812 _malloc_initialize + 992
1   libSystem.B.dylib    	0x90002417 malloc + 29
2   com.apple.Foundation 	0x927dffbf _NSAPDataCreate + 26
3   com.apple.Foundation 	0x927df93d NSPushAutoreleasePool + 37
4   com.apple.AppKit     	0x93274621 NSApplicationMain + 62
..............

AFAIU, the problem is in autoreleasing of already released object or something like that.

Then I'm running the same app in 10.5, where it is working OK, and look at the console log. I see this line:

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

OK, then I'm launching the app with leaks tool and look what is this "0x209fa0". And what I see is this:

# Object Address Category Creation Time Size Responsible Library Responsible Caller
0 0x209fa0 CFString 00:00.235 32 Foundation -[NSPlaceholderString initWithFormat:locale:arguments:]


I can't find where it is used. What is strange, this is the first message in the log, appearing even before main(), because I've inserted debug print in main() and I see it later in the log.

My OS is 10.5.8

Any ideas, please!


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Strange "autoreleased with no pool in place" message
      • From: Jens Alfke <email@hidden>
  • Prev by Date: Re: Supporting different orientations with UITabBarView?
  • Next by Date: Re: How to find all clipping siblings for a view?
  • Previous by thread: Re: Supporting different orientations with UITabBarView?
  • Next by thread: Re: Strange "autoreleased with no pool in place" message
  • Index(es):
    • Date
    • Thread