• 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
Re: _CFXPreferencesSetValue crash...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: _CFXPreferencesSetValue crash...


  • Subject: Re: _CFXPreferencesSetValue crash...
  • From: Fritz Anderson <email@hidden>
  • Date: Tue, 11 Nov 2008 15:56:20 -0600

On 11 Nov 2008, at 1:21 PM, Harry Plate wrote:

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x00000000e8240c89
Crashed Thread:  0

Thread 0 Crashed:
0 libobjc.A.dylib 0x95e7c68c objc_msgSend + 28
1 com.apple.CoreFoundation 0x95f6a552 CFBundleGetIdentifier + 50
2 com.apple.CoreFoundation 0x9602fa09
__CFXPreferencesGetCacheStringForBundleID + 105
3 com.apple.CoreFoundation 0x96031feb
__CFXPreferencesGetSourceForTriplet + 123
4 com.apple.CoreFoundation 0x96033b26 _CFXPreferencesSetValue +
70
...


The tools works just fine when built using Tiger and run on Tiger. Moreover
the same Xcode project file is used (on Tiger and Leopard), and is using
10.4 SDKs. If I copy the tool from the Tiger system to Leopard, it crashes
in the same way.


If I attempt to debug the tool in Xcode, it works just fine?!

Of course, "runs just fine" just means "runs without crashing." You've still got a bug, it just isn't doing anything showy.


A memory error in objc_msgSend almost always means you're attempting to use an object that has been released prematurely. Look up NSZombieEnabled, and apply it to your project. It should give you some clues.

	— F

--
Fritz Anderson -- Xcode 3 Unleashed: Now in its second printing -- <http://x3u.manoverboard.org/ >


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: _CFXPreferencesSetValue crash...
      • From: Harry Plate <email@hidden>
References: 
 >_CFXPreferencesSetValue crash... (From: Harry Plate <email@hidden>)

  • Prev by Date: Re: Xcode Config files question
  • Next by Date: Re: _CFXPreferencesSetValue crash...
  • Previous by thread: _CFXPreferencesSetValue crash...
  • Next by thread: Re: _CFXPreferencesSetValue crash...
  • Index(es):
    • Date
    • Thread