A couple of users have experienced crashes in
CFBundleCopyLocalizedString. It's called via the macro form
CFCopyLocalizedString(CFSTR("string"), CFSTR("comment")). The crash
log has:
2 things couild be happening that I can think of:
1) You are releasing a localized string incorrectly somewhere else
2) If you have a bundle producing CFSTRs that are reference after the
bundle has been unloaded then you will run into problems. According to
http://developer.apple.com/releasenotes/CoreFoundation/CoreFoundation.html
(in the section warning about unloading bundles) this could happen
even if you have retained things properly. Compiling the bundle with
-fno-constant-cfstrings stops this happening
Found the problem - I was releasing a localized string twice. Thanks for
the pointers
John
--
John Brownie, email@hidden or email@hidden
Summer Institute of Linguistics | Mussau-Emira language, Mussau Is.
Ukarumpa, Eastern Highlands Province | New Ireland Province
Papua New Guinea | Papua New Guinea
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden