Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mysterious crash in CFSTR()



Hello, 

I thought I would post again since I did finally solve this problem.
Unforunately, this might make me look rather stupid ... :)

The program was not being linked to CoreFoundation.  This is my first real
OS X project and the first time I've ever built a Mach-O Carbon program.
So, when I converted the program from CFM to Mach-O, I just added frameworks
until the linker errors went away.  I don't know if this is common on OS X,
but I am used to the linker catching missing symbols.  I know now that OS X
resolves dynamically-linked symbols at runtime instead of launch-time, but I
still do not understand why it ran on my machine without being linked to
CoreFoundation at all.

Anyways, thought an explanation might help some other newbie ...

Thanks again to everyone who offered help -- it is greatly appreciated.

Anthony Kozar
anthonykozar AT sbcglobal DOT net
http://anthonykozar.net/

Anthony Kozar wrote on 3/10/07 1:31 PM:

> Thanks.  This will be my next step. [...]
> I cut out all of the CoreMIDI code in one
> variant and just left the first call to CFSTR() and it still crashed.  His
> results further confirm that CFSTR() seems to be the source of the problem.
> [...]

> I will try the minimal test app next.  I will also try changing the string
> "Bol Processor" to something else.

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden

References: 
 >Re: Mysterious crash in CFSTR() (From: Anthony Kozar <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.