Copy link to clipboard
Copied
(I posted this in the wrong forum yesterday, trying here instead.)
I am developing a game that uses the iOS GameKit API via a native extension. It works great over WiFi. But when I switch to Bluetooth, I get intermittent crashes.
So I can start guessing at where my problem lies... but that could take days. iOS is dumping a crash report that it is able to partially symbolicate. (Unfortunately, it's the part that doesn't help me much) For example:
Incident Identifier: B3D0F337-B696-47C9-8ABA-883F2DFA2BA8
CrashReporter Key: 91475c97fb1586aa03dc9db38bd3b6c5c8c3d8a5
Hardware Model: iPad1,1
Process: MyGame [2352]
Path: /var/mobile/Applications/87342D20-3FBA-4486-B464-226F6F2FE8E4/MyGame.app/MyGame
Identifier: MyGame
Version: ??? (???)
Code Type: ARM (Native)
Parent Process: launchd [1]
Date/Time: 2013-04-30 00:20:32.350 -0600
OS Version: iPhone OS 5.1.1 (9B206)
Report Version: 104
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x00000000
Crashed Thread: 0
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 libsystem_c.dylib 0x34917884 strlen + 12
1 MyGame 0x00599774 0x1000 + 5867380
2 MyGame 0x003e7e6c 0x1000 + 4091500
3 MyGame 0x00264f0c 0x1000 + 2506508
4 MyGame 0x0052db48 0x1000 + 5425992
5 MyGame 0x0052d196 0x1000 + 5423510
6 MyGame 0x0052d504 0x1000 + 5424388
7 MyGame 0x0052d2a0 0x1000 + 5423776
8 MyGame 0x0052c474 0x1000 + 5420148
9 MyGame 0x004f62e8 0x1000 + 5198568
10 MyGame 0x0052ce5e 0x1000 + 5422686
11 MyGame 0x0052c474 0x1000 + 5420148
12 MyGame 0x004f62e8 0x1000 + 5198568
13 MyGame 0x0052ce5e 0x1000 + 5422686
14 MyGame 0x0052c474 0x1000 + 5420148
15 MyGame 0x004f62e8 0x1000 + 5198568
16 MyGame 0x0052ce5e 0x1000 + 5422686
17 MyGame 0x004fe0f4 0x1000 + 5230836
18 MyGame 0x004f5c96 0x1000 + 5196950
19 MyGame 0x0052beac 0x1000 + 5418668
20 MyGame 0x001e2200 0x1000 + 1970688
21 MyGame 0x001e1a64 0x1000 + 1968740
22 MyGame 0x001e129c 0x1000 + 1966748
23 MyGame 0x00235ba8 0x1000 + 2313128
24 MyGame 0x0052db48 0x1000 + 5425992
25 MyGame 0x0052d196 0x1000 + 5423510
26 MyGame 0x0052d504 0x1000 + 5424388
27 MyGame 0x0052d2a0 0x1000 + 5423776
28 MyGame 0x0052c474 0x1000 + 5420148
29 MyGame 0x004f62e8 0x1000 + 5198568
30 MyGame 0x0052ce5e 0x1000 + 5422686
31 MyGame 0x0052c474 0x1000 + 5420148
32 MyGame 0x004f62e8 0x1000 + 5198568
33 MyGame 0x0052ce5e 0x1000 + 5422686
34 MyGame 0x004fe0f4 0x1000 + 5230836
35 MyGame 0x004f5c96 0x1000 + 5196950
36 MyGame 0x0052beac 0x1000 + 5418668
37 MyGame 0x001e2200 0x1000 + 1970688
38 MyGame 0x001e1a64 0x1000 + 1968740
39 MyGame 0x001e186c 0x1000 + 1968236
40 MyGame 0x001e5340 0x1000 + 1983296
41 MyGame 0x003e86e4 0x1000 + 4093668
42 MyGame 0x003e85e0 0x1000 + 4093408
43 MyGame 0x000c17ac 0x1000 + 788396
44 MyGame 0x000c1658 0x1000 + 788056
45 MyGame 0x0000fbf8 0x1000 + 60408
46 CoreFoundation 0x356601f4 -[NSObject performSelector:withObject:] + 36
47 Foundation 0x34b30740 __NSThreadPerformPerform + 344
48 CoreFoundation 0x356d5acc __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 8
49 CoreFoundation 0x356d5298 __CFRunLoopDoSources0 + 208
50 CoreFoundation 0x356d403e __CFRunLoopRun + 646
51 CoreFoundation 0x3565749e CFRunLoopRunSpecific + 294
52 CoreFoundation 0x35657366 CFRunLoopRunInMode + 98
53 GraphicsServices 0x333f2432 GSEventRunModal + 130
54 UIKit 0x32e2fcce UIApplicationMain + 1074
55 MyGame 0x000ffbc8 0x1000 + 1043400
56 MyGame 0x00598bdc 0x1000 + 5864412
So I need to know how to turn those memory addresses into functions. That would help me out a ton. I found a lot of information on how to do it manually via the dSym... but nothing that seems to apply to an AIR mobile app. (And nothing that seems to actually work)
Need a knight in shining geeky armor to rescue me.
Copy link to clipboard
Copied
Hi,
The information you needed is present @ http://blogs.adobe.com/rajorshi/2011/11/18/debugging-native-extensions-for-air-ios/
I hope it helps!
Regards,
Nimit
Copy link to clipboard
Copied
While the information present at that link is helpful to set up live debugging, (which is great), it doesn't help to symbolicate a crash report. It does, however, have a link to a Stack Overflow question that is directly related... but I've tried the suggestions there and cannot get it to work.
Nevertheless, I did find the source of the problem using other means.
Copy link to clipboard
Copied
Hey, this link was archived. Is there any guide up to help do this today?
Copy link to clipboard
Copied
symbolicating adobe air ios apps is impossible right now.
any solutions ?