• 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
Framework Links Work OK in 10.5 and 10.4, Crash in 10.3
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Framework Links Work OK in 10.5 and 10.4, Crash in 10.3


  • Subject: Framework Links Work OK in 10.5 and 10.4, Crash in 10.3
  • From: Jerry Krinock <email@hidden>
  • Date: Mon, 17 Mar 2008 20:37:45 -0700

I've factored some code into a framework which is packaged into my .app at @executable_path/../Frameworks. It works fine when launching in 10.5 Intel and 10.4 PPC. But when launching in 10.3, it crashes...

KERN_INVALID_ADDRESS (0x0001) at 0xfffeff00

Thread 0 Crashed:
0 <<00000000>> 0xfffeff00 0 + 0xfffeff00
1 com.MyCompany.MyApp 0x0004aa38 +[AppController localizeMenuItem] + 0x120
2 com.MyCompany.MyApp 0x0004ac88 -[AppController applicationDidFinishLaunching:] + 0x1e4


NSLogs tell me that the crash in -localizeMenuItem occurs as it invokes a method which is defined in my framework. An NSLog in the first line of this method never runs. This is the first time in the program run that code from this framework is invoked. So, it appears to me that 10.3 is mis-reading the framework links.

What was different in Mac OS 10.3 that might cause this? How can I troubleshoot?

The method it can't find is a class (+) method, in a category (class extension) of NSString. Project is built in Xcode 3.0, and the Base SDK Path for both app and framework is MacOSX10.4u.sdk.

Thanks!

Jerry Krinock
_______________________________________________
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: Framework Links Work OK in 10.5 and 10.4, Crash in 10.3
      • From: Jean-Daniel Dupas <email@hidden>
  • Prev by Date: Xcode 3.0 crashes and 32-bit mode
  • Next by Date: Re: Preprocessor log?
  • Previous by thread: Re: Xcode 3.0 crashes and 32-bit mode
  • Next by thread: Re: Framework Links Work OK in 10.5 and 10.4, Crash in 10.3
  • Index(es):
    • Date
    • Thread