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: Running application on Vanilla Machine!!!



On May 30, 2005, at 9:34 PM, Jenis Shah wrote:

    I want to test my Application on a vanilla machine(as shipped by

Mac). For this I formatted my iBook and installed Mac 10.3.0 ( Panther ) on

my machine. After that when I run my application, it crashes and gives an

error:


    CFNumberGetValue (CFNumberGetValue + 60). 


This is most likely a bug in your software.  CFNumberGetValue is present in all versions of Mac OS X and is also available in the CarbonLib library as far back as Mac OS 8.6.

The (CFNumberGetValue + 60) is the place in which the system function that it crashed.  When a system function crashes like this, it's usually because you passed it an illegal value.   Make sure that the CFNumberRef is non-nil, that the CFNumberType is one of the enumerated CFNumberType values, and that the valuePtr you pass points to allocated, initialized memory of a sufficient size to hold your expected result.  Often forgetting to pass a pointer in the third value will provoke this crash.

    The problem seems to be in OS installation (core foundation
libraries) and not in my application. Is the installation of Panther enough
to run application that use CoreFoundation files or do we need to install
something else.
    Can anyone please help me?

Using a debugger to verify that your input values are correct is probably a more useful first step in debugging crashes like this than worrying about misconfigured system software.

Chris


 _______________________________________________
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: 
 >Running application on Vanilla Machine!!! (From: Jenis Shah <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.