KERN_INVALID_ADDRESS auf EXC_BAD_ACCESS (SIGSEGV)
Ich habe eine Adobe Air app für IOS und es funktioniert für Windows und Android, aber scheint zu hängen und Abstürzen zu zufälligen Zeiten auf IOS. Die LUFT debugger zeigt nichts an, wenn dies geschieht. Ich zog die crash-Bericht von meinem iPhone und es ist unten. Ich habe einige der anderen Beiträge zu diesem Thema, aber Sie waren nicht wirklich LUFT-apps so, die ich hatte gehofft, für einige Hinweise, wie und wo ich anfangen kann, mit diesem. Jede Hilfe wird sehr geschätzt.
Incident Identifier: 75387AA5-1AF2-4E2C-A92D-67174F8C2CDD
CrashReporter Key: 47377582f4ab79d5f7814a5f67637bf02e00167d
Hardware Model: iPhone3,1
Process: My App [2719]
Path: /var/mobile/Applications/B136A542-E798-4A28-877F-5BBCA7A41361/My App.app/My App
Identifier: My App
Version: ??? (???)
Code Type: ARM (Native)
Parent Process: launchd [1]
Date/Time: 2012-10-18 11:30:31.315 -0400
OS Version: iOS 6.0 (10A403)
Report Version: 104
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0xf0e33c42
Crashed Thread: 0
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 libobjc.A.dylib 0x345eb5b0 objc_msgSend + 16
1 My App 0x00d08c4e 0x1000 + 13663310
2 My App 0x00b0f0c0 0x1000 + 11591872
3 My App 0x00b0e3ec 0x1000 + 11588588
4 My App 0x00b0d0d8 0x1000 + 11583704
5 My App 0x00b0d014 0x1000 + 11583508
6 My App 0x00b0cfe4 0x1000 + 11583460
7 My App 0x00886158 0x1000 + 8933720
8 My App 0x00886360 0x1000 + 8934240
9 My App 0x00893624 0x1000 + 8988196
10 My App 0x0089394c 0x1000 + 8989004
11 My App 0x00894068 0x1000 + 8990824
12 My App 0x00895734 0x1000 + 8996660
13 My App 0x00887960 0x1000 + 8939872
14 My App 0x00895228 0x1000 + 8995368
15 My App 0x0076dcc8 0x1000 + 7785672
16 My App 0x0073c640 0x1000 + 7583296
17 My App 0x00423308 0x1000 + 4334344
18 My App 0x0045eb40 0x1000 + 4578112
19 My App 0x0045d518 0x1000 + 4572440
20 My App 0x0045d1f0 0x1000 + 4571632
21 My App 0x00460260 0x1000 + 4584032
22 My App 0x00460420 0x1000 + 4584480
23 My App 0x000032e8 0x1000 + 8936
24 My App 0x00854b78 0x1000 + 8731512
25 My App 0x00855048 0x1000 + 8732744
26 My App 0x00854904 0x1000 + 8730884
27 My App 0x007cf0c0 0x1000 + 8184000
28 My App 0x007bacb4 0x1000 + 8101044
29 My App 0x0083855c 0x1000 + 8615260
30 My App 0x009c24d8 0x1000 + 10228952
31 My App 0x009c2c30 0x1000 + 10230832
32 My App 0x000d46fc 0x1000 + 866044
33 My App 0x00ce1b14 0x1000 + 13503252
34 My App 0x00ce2774 0x1000 + 13506420
35 My App 0x008c4540 0x1000 + 9188672
36 My App 0x008c524c 0x1000 + 9192012
37 My App 0x009a1838 0x1000 + 10094648
38 QuartzCore 0x3400806c CA::Display::DisplayLink::dispatch(unsigned long long, unsigned long long) + 156
39 QuartzCore 0x34007fc4 CA::Display::IOMFBDisplayLink::callback(__IOMobileFramebuffer*, unsigned long long, unsigned long long, unsigned long long, void*) + 60
40 IOMobileFramebuffer 0x3a04dfd4 IOMobileFramebufferVsyncNotifyFunc + 152
41 IOKit 0x39233446 IODispatchCalloutFromCFMessage + 190
42 CoreFoundation 0x34de85d8 __CFMachPortPerform + 116
43 CoreFoundation 0x34df3170__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 32
44 CoreFoundation 0x34df3112 __CFRunLoopDoSource1 + 134
45 CoreFoundation 0x34df1f94 __CFRunLoopRun + 1380
46 CoreFoundation 0x34d64eb8 CFRunLoopRunSpecific + 352
47 CoreFoundation 0x34d64d44 CFRunLoopRunInMode + 100
48 GraphicsServices 0x35acd2e6 GSEventRunModal + 70
49 UIKit 0x379aa2fc UIApplicationMain + 1116
50 My App 0x008e4594 0x1000 + 9319828
51 My App 0x00d03360 0x1000 + 13640544
Thread 1 name: Dispatch queue: com.apple.libdispatch-manager
Thread 1:
0 libsystem_kernel.dylib 0x33add648 kevent64 + 24
1 libdispatch.dylib 0x392064ec _dispatch_mgr_invoke + 792
2 libdispatch.dylib 0x391f8df4 _dispatch_mgr_thread$VARIANT$up + 32
Thread 2 name: WebThread
Thread 2:
0 libsystem_kernel.dylib 0x33adceb4 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x33add048 mach_msg + 36
2 CoreFoundation 0x34df3040 __CFRunLoopServiceMachPort + 124
3 CoreFoundation 0x34df1d9e __CFRunLoopRun + 878
4 CoreFoundation 0x34d64eb8 CFRunLoopRunSpecific + 352
5 CoreFoundation 0x34d64d44 CFRunLoopRunInMode + 100
6 WebCore 0x35b48a70 RunWebThread(void*) + 440
7 libsystem_c.dylib 0x38eaa30e _pthread_start + 306
8 libsystem_c.dylib 0x38eaa1d4 thread_start + 4
Thread 3:
0 libsystem_kernel.dylib 0x33adceb4 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x33add048 mach_msg + 36
2 My App 0x00876520 0x1000 + 8869152
3 libsystem_c.dylib 0x38eaa30e _pthread_start + 306
4 libsystem_c.dylib 0x38eaa1d4 thread_start + 4
Thread 4:
0 libsystem_kernel.dylib 0x33aed6a4 __semwait_signal + 24
1 libsystem_c.dylib 0x38eaf3ce nanosleep + 138
2 My App 0x00a1fba4 0x1000 + 10611620
3 My App 0x00901ce4 0x1000 + 9440484
4 My App 0x00901c84 0x1000 + 9440388
5 My App 0x00a1fdb8 0x1000 + 10612152
6 My App 0x00a1fe0c 0x1000 + 10612236
7 My App 0x00a1fb38 0x1000 + 10611512
8 libsystem_c.dylib 0x38eaa30e _pthread_start + 306
9 libsystem_c.dylib 0x38eaa1d4 thread_start + 4
Thread 5:
0 libsystem_kernel.dylib 0x33aed08c __psynch_cvwait + 24
1 libsystem_c.dylib 0x38ea2d2a _pthread_cond_wait + 642
2 libsystem_c.dylib 0x38ea2aa0 pthread_cond_timedwait + 40
3 My App 0x00a1ffd4 0x1000 + 10612692
4 My App 0x000da46c 0x1000 + 889964
5 My App 0x00a1fdb8 0x1000 + 10612152
6 My App 0x00a1fe0c 0x1000 + 10612236
7 My App 0x00a1fb38 0x1000 + 10611512
8 libsystem_c.dylib 0x38eaa30e _pthread_start + 306
9 libsystem_c.dylib 0x38eaa1d4 thread_start + 4
Thread 6:
0 libsystem_kernel.dylib 0x33aedd98 __workq_kernreturn + 8
1 libsystem_c.dylib 0x38e9fcf6 _pthread_workq_return + 14
2 libsystem_c.dylib 0x38e9fa12 _pthread_wqthread + 362
3 libsystem_c.dylib 0x38e9f8a0 start_wqthread + 4
Thread 7:
0 libsystem_kernel.dylib 0x33aedd98 __workq_kernreturn + 8
1 libsystem_c.dylib 0x38e9fcf6 _pthread_workq_return + 14
2 libsystem_c.dylib 0x38e9fa12 _pthread_wqthread + 362
3 libsystem_c.dylib 0x38e9f8a0 start_wqthread + 4
Thread 0 crashed with ARM Thread State (32-bit):
r0: 0x0a6fc000 r1: 0x37df2920 r2: 0x37df2920 r3: 0x0a6fc000
r4: 0xf0e33c3a r5: 0x079df030 r6: 0x079df438 r7: 0x2fdfe048
r8: 0x079df001 r9: 0x0df7ca48 r10: 0x00000008 r11: 0x079df040
ip: 0x00e0f1ec sp: 0x2fdfe034 lr: 0x00d08c53 pc: 0x345eb5b0
cpsr: 0x200f0030
- Sie sollten beginnen, indem symbolicating Ihre crash-log, so können wir wissen, was alle diejenigen, die hex-Adressen sind. Da Sie crash in objc_msgSend Sie sind wahrscheinlich ein messaging-veröffentlicht am Objekt. Sehen Sie, wenn Sie irgendwie können, reproduzieren Sie den Absturz mit NSZombieEnabled. Nicht sicher, wie das funktionieren würde mit einer AIR-app, aber...
- Eine Vermutung: Du bist mit mindestens einer nativen Erweiterung? Haben Sie aktualisiert, um die neueste version des SDK, die in dieser Woche ist 3.5.0.690? Wenn Sie das iPhone-Konfigurationsprogramm, können Sie zusätzliche Informationen anzeigen, indem Sie den Anschluss des iPad an Ihren computer an und öffnen Sie das Dienstprogramm Konsole-Fenster.
- Ich hatte genau dieses problem, es wurde verursacht durch einen Fehler in der Dritten native Erweiterung. Einmal habe ich entfernt, die Erweiterung und den code hingewiesen, dass es zu diesem Fehler gestoppt. Leider ist die Erweiterung wurde nur angeboten als pre-kompilierten code (.ane-Datei), so hatte ich keine Möglichkeit es zu ändern, aber ich war in der Lage, alternativen zu suchen .ane-Datei, die nicht über den bug. Hoffentlich hilft jemand in der Zukunft.
Du musst angemeldet sein, um einen Kommentar abzugeben.
Während archivieren Sie Ihr Projekt freigeben, ist es wichtig, dass Sie einige Parameter einstellen unter "Projekt" ->Build-Einstellungen. Beachten Sie, dass diese Einstellungen müssen gesetzt werden für die release-Konfiguration, um die für die Analyse von crash-log erhalten aus dem app store.
Ihre app muss dann archiviert werden, mit oben genannten Einstellungen.
Sobald Sie reproduzieren crash, nehmen Sie die crash-log-Datei.
Importieren Sie Sie in XCode den organizer, indem Sie zu Organizer->Geräte->Device-Protokolle->Ziehen Sie die Datei aus dem finder und hier fallen zu lassen. Wenn Sie öffnen Sie das Protokoll, es sollte Ihnen zeigen, Funktionsnamen in Ihrem code und die Zeile, die den Absturz verursacht.
Beachten Sie, dass die richtige dSym-Datei für Ihr zu bauen, ist wichtig. Es muss vorhanden sein, in einer Ihrer Benutzer-Verzeichnisse für richtige code zu sein, hingewiesen. Lesen diese es wissen, wenn oben nicht lösen Ihr Problem.