Beta 5 - Frame change crash
Ok, clicking an iPhone button object to change frames here...One works perfectly so i'm thinking it might be inside the actual frame, but the thing is, the two frames each button is meant to go to are identical except for graphics and maybe 2 additional events..
I'd rather not upload the mfa here (company NDA) but I can pm it to any dev who needs it, just post.
Code:
[Session started at 2010-11-24 13:27:58 +1030.]
2010-11-24 13:28:03.572 YoungNinja[2741:207] *** Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[NSConcreteData subdataWithRange:]: range {22, 7340032}
exceeds data length 1038814'
*** Call stack at first throw:
(
0 CoreFoundation 0x012a7be9 __exceptionPreprocess + 185
1 libobjc.A.dylib 0x013fc5c2 objc_exception_throw + 47
2 CoreFoundation 0x01260628 +[NSException raise:format:arguments:] + 136
3 CoreFoundation 0x0126059a +[NSException raise:format:] + 58
4 Foundation 0x002739ca -[NSData(NSData) subdataWithRange:] + 381
5 YoungNinja 0x00003914 -[CFile getSubData:] + 95
6 YoungNinja 0x00034635 -[CImage load:] + 597
7 YoungNinja 0x0000c0ed -[CImageBank load] + 741
8 YoungNinja 0x000143b6 -[CRunFrame loadFullFrame:] + 4034
9 YoungNinja 0x000076bc -[CRunApp startTheFrame] + 269
10 YoungNinja 0x00006ba0 -[CRunApp playApplication:] + 277
11 YoungNinja 0x00003437 -[CRunView timerEntry] + 497
12 Foundation 0x0024f7a5 __NSFireTimer + 125
13 CoreFoundation 0x01288fe3 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 19
14 CoreFoundation 0x0128a594 __CFRunLoopDoTimer + 1220
15 CoreFoundation 0x011e6cc9 __CFRunLoopRun + 1817
16 CoreFoundation 0x011e6240 CFRunLoopRunSpecific + 208
17 CoreFoundation 0x011e6161 CFRunLoopRunInMode + 97
18 GraphicsServices 0x01bc9268 GSEventRunModal + 217
19 GraphicsServices 0x01bc932d GSEventRun + 115
20 UIKit 0x004c8132 UIApplicationMain + 1160
21 YoungNinja 0x00001fb6 main + 104
22 YoungNinja 0x00001f45 start + 53
)
terminate called after throwing an instance of 'NSException'
Re: Beta 5 - Frame change crash
You can PM it to me and I will debug it :)
Re: Beta 5 - Frame change crash
Sure thing, will try and remember when I get to work tomorrow :)
Re: Beta 5 - Frame change crash
Andos: this sounds like the strange behavior inside my game.