|
Q: Why is my application crashing in QuickDraw when I'm not using it?A: The most likely explanation is that you are experiencing an overwritten closed port problem. This problem affects both Carbon and Cocoa applications. System frameworks like the HIToolbox, QuickTime, Print and others still need to make QuickDraw calls for compatibility reasons even when your application does not use QuickDraw directly. Those calls (for instance To work around this problem, locate in the back trace of the crash log the last call made by your application to any function of a system framework and add a Although it may seem counterintuitive to set the current port to If the last system framework call that your application makes before crashing is In that case, the workaround would be to add a It would also be beneficial that you report the problem to Apple with the BugReporter so that we can investigate and eliminate as much offending code as possible. Document Revision History
Posted: 2006-11-13 |
|