• 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
ProfileSystem ADC Example FindDictionaryForDataType EXC_BAD_ACCESS
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ProfileSystem ADC Example FindDictionaryForDataType EXC_BAD_ACCESS


  • Subject: ProfileSystem ADC Example FindDictionaryForDataType EXC_BAD_ACCESS
  • From: Ned Hogan <email@hidden>
  • Date: Sat, 29 Aug 2009 10:42:21 -0700

Might be the wrong place to ask the question, but this example code crashes on Snow Leopard in FindDictionaryForDataType

http://developer.apple.com/mac/library/samplecode/ProfileSystem/index.html

It might be a build option as this code works on 10.3 - 10.5. Anyone know of a fix, or do I need to rewrite the code that was based on this example?

Program received signal:  “EXC_BAD_ACCESS”.
(gdb) bt
#0  0x9717391b in objc_msgSend ()
#1  0x00002068 in pvars ()
#2  0x9083c84a in CFEqual ()
#3  0x90853ef1 in __CFBasicHashStandardCallback ()
#4  0x908adcf1 in __CFBasicHashGetCountOfValue_block_invoke_1 ()
#5  0x9085458a in CFBasicHashApply ()
#6  0x9089ec39 in CFBasicHashGetCountOfValue ()
#7  0x9089eafc in CFDictionaryContainsValue ()
#8  0x00001d7f in FindDictionaryForDataType (inArray=0x102b30, inDataType=0x2068) at /Users/nedh/Downloads/Safari/ProfileSystem/main.c:218
#9  0x00001986 in main (argc=1, argv=0xbffff7d4) at /Users/nedh/Downloads/Safari/ProfileSystem/main.c:101
(gdb) 
 _______________________________________________
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: ProfileSystem ADC Example FindDictionaryForDataType EXC_BAD_ACCESS
      • From: "Sean McBride" <email@hidden>
    • Re: ProfileSystem ADC Example FindDictionaryForDataType EXC_BAD_ACCESS
      • From: "Sean McBride" <email@hidden>
  • Prev by Date: Re: Not all deprecation warnings seen in Xcode 3.2
  • Next by Date: llvm-gcc-4.2 link-time error seen from command line but not in Xcode 3.2
  • Previous by thread: Re: Not all deprecation warnings seen in Xcode 3.2
  • Next by thread: Re: ProfileSystem ADC Example FindDictionaryForDataType EXC_BAD_ACCESS
  • Index(es):
    • Date
    • Thread