See code below. Get a error of “EXC_BAD_ACCESS” when I make entries
in the GUI. Code used to work with no problems. It appears that it
is doing an illegal substraction, which I think means the objects are
not being initialized with a value of 0. At least that is my guess.
#import
Launch it with the debugger and check the stack when it crash.
Without any hint about the stack, we cannot really help you, but just
give you some guess.
Le 22 juin 08 à 23:26, Clayton Leitch a écrit :
See code below. Get a error of “EXC_BAD_ACCESS” when I make entries
in the GUI. Code
There should be crash reports in ~/Library/Logs/CrashReporter – that
should give you the register state, thread stack, and information on
which thread crashed.
On Jun 22, 2008, at 18:38 , Clayton Leitch wrote:
Well, the only thing I get from the debugger is:
[Session started at 2008-06-22
Well, thanks to the list I now have a back trace below:
#0 0x96cd5564 in NSDecimalCopy ()
#1 0x96d854f9 in NSDecimalSubtract ()
#2 0x96dadad8 in -[NSDecimalNumber
decimalNumberBySubtracting:withBehavior:] ()
#3 0x96dada47 in -[NSDecimalNumber decimalNumberBySubtracting:] ()
#4 0x1b67
Is it possible that your NSDecimalNumber is no longer a valid object
reference?
On Jun 22, 2008, at 19:08 , Clayton Leitch wrote:
Well, thanks to the list I now have a back trace below:
#0 0x96cd5564 in NSDecimalCopy ()
#1 0x96d854f9 in NSDecimalSubtract ()
#2 0x96dadad8 in
Possibly, but the code worked fine in 10.4. Interestingly the
complied application worked in 10.5 in deployment mode. I made a few
changes to the GUI and this error happened. I changed everything back
to the way it was and cleaned the compile and the error continued.
On Jun 22, 2008, at
On 22 Jun '08, at 4:08 PM, Clayton Leitch wrote:
#0 0x96cd5564 in NSDecimalCopy ()
#1 0x96d854f9 in NSDecimalSubtract ()
#2 0x96dadad8 in -[NSDecimalNumber
decimalNumberBySubtracting:withBehavior:] ()
#3 0x96dada47 in -[NSDecimalNumber decimalNumberBySubtracting:] ()
#4 0x1b67 in