Re: CFM to Mach-O Conversion Crash in CodeWarrior
Subject : Re: CFM to Mach-O Conversion Crash in CodeWarrior
From: "Mark D. Gerl" <email@hidden >
Date: Wed, 26 Oct 2005 11:19:13 -0400
Delivered-to: email@hidden
Delivered-to: email@hidden
On Oct 26, 2005, at 1:08 AM, Marshall Clow wrote:
What call are you making (that's causing the crash).
EnableMenuCommand(NULL, kHICommandPreferences);
Carbon.framework is full of lazy initializations. Maybe you're
hitting a bad one of these.
On Oct 26, 2005, at 1:26 AM, Eric Schlegel wrote:
Posting a backtrace of the crash would probably be useful in
diagnosis...
Sorry... I get more-or-less the same backtrack from both my PowerBook
and my G5 (though, the G5 crashes in only 18 steps)...
(parts abbreviated, and addresses removed)
Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x00000000
Thread 0 Crashed:
0 <<00000000>> 0xfffeff20 objc_msgSend_rtp + 32
1 com..CF CFURLCopyAbsoluteURL + 148
2 com..CF _CFBundleCopyExecutableName + 256
3 com..CF _CFBundleCopyResourceForkURLMayBeLocal + 52
4 com..CF _CFBundleCopyBundleDevelopmentRegionFromVersResource + 68
5 com..CF CFBundleGetDevelopmentRegion + 136
6 com..CF _CFBundleGetLanguageSearchList + 72
7 com..CF CFBundleCopyResourceURL + 44
8 com..CF CFBundleGetLocalInfoDictionary + 64
9 com..CF CFBundleGetValueForInfoDictionaryKey + 44
10 com..HITB GetCurrentAppNameAsCFString + 72
11 com..HITB SystemAppMenuHandler(CallRef*, EventRef*, void*) + 816
12 com..HITB DispatchEventToHandlers(TargetRec*, EventRef*, CallRec*)
+692
13 com..HITB SendEventToEventTargetInternal(EventRef*, TargetRef*,
CallRec*)+372
14 com..HITB SendEventToEventTargetWithOptions + 40
15 com..HITB PopulateMenu(MenuData*, unsigned long) + 256
16 com..HITB FindItemByCommandInMenu(MData*, ulong, ulong*, MData**,
ushort*)+56
17 com..HITB FindItemByCommand(MData*, ulong, ulong*, MData**,
ushort*) + 64
18 com..HITB FindItemByCommandInMenu(MData*, ulong, ulong*, MData**,
ushort*)+348
19 com..HITB FindItemByCommand(MData*, ulong, ulong*, MData**,
ushort*) + 64
20 com..HITB GetIndMenuItemWithCommandID(MData*, ulong, ulong*,
MData**, ushort*)+124
21 com..HITB EnableMenuCommand + 64
From looking at the back trace, I thought that something in our
package may be messed up, but upon comparing it to our working CFM
package, I cannot find anything different that would be causing this
problem.
Thanks!
M
--
Mark D. Gerl, email@hidden
_______________________________________________
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
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.