Apologies for my ignorance, I've tried searching around but couldn't find an answer.
I've recently tried uploading my app onto the app store but Apple came back saying the app crashes on launch and attached the crash log.
I've tried symbolicating the crash log by dragging the log into Xcode -> Windows -> Devices -> View Device Logs
Part of the snippet is returned as follows:
{"app_name":"WhoDat","timestamp":"2018-01-05 14:25:21.23 -0800","app_version":"1.14","slice_uuid":"dc778fa9-d896-3a05-8368-acb64cf12d9b","adam_id":1257412293,"build_version":"1","bundleID":"com.LemonIncLtd.WhoDat","share_with_app_devs":false,"is_first_party":false,"bug_type":"109","os_version":"iPhone OS 11.2.1 (15C153)","incident_id":"E0FDE51B-95AB-45AA-B5EB-CB652E7E338C","name":"WhoDat"}
Incident Identifier: E0FDE51B-95AB-45AA-B5EB-CB652E7E338C
CrashReporter Key: d6f3d39997ded4731aaf57ef5f7fc62b95e6d3ca
Hardware Model: xxx1
Process: WhoDat [2944]
Path: /private/var/containers/Bundle/Application/1E7CF751-A823-421A-A987-FA889AAFBF97/WhoDat.app/WhoDat
Identifier: com.LemonIncLtd.WhoDat
Version: 1 (1.14)
Code Type: ARM-64 (Native)
Role: Foreground
Parent Process: launchd [1]
Coalition: com.LemonIncLtd.WhoDat [1678]
Date/Time: 2018-01-05 14:25:21.1369 -0800
Launch Time: 2018-01-05 14:25:16.9867 -0800
OS Version: iPhone OS 11.2.1 (15C153)
Baseband Version: n/a
Report Version: 104
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000001, 0x000000010446110c
Termination Signal: Trace/BPT trap: 5
Termination Reason: Namespace SIGNAL, Code 0x5
Terminating Process: exc handler [0]
Triggered by Thread: 10
Filtered syslog:
None found
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0:
0 libsystem_kernel.dylib 0x00000001848e7568 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x00000001848e73e0 mach_msg + 72
2 CoreFoundation 0x0000000184d9e308 __CFRunLoopServiceMachPort + 196
3 CoreFoundation 0x0000000184d9bed4 __CFRunLoopRun + 1424
4 CoreFoundation 0x0000000184cbbe58 CFRunLoopRunSpecific + 436
5 GraphicsServices 0x0000000186b68f84 GSEventRunModal + 100
6 UIKit 0x000000018e33b67c UIApplicationMain + 236
7 WhoDat 0x000000010445a70c 0x104454000 + 26380
8 libdyld.dylib 0x00000001847d856c start + 4
Thread 1:
0 libsystem_kernel.dylib 0x0000000184908d80 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x0000000184a1aeec _pthread_wqthread + 884
2 libsystem_pthread.dylib 0x0000000184a1ab6c start_wqthread + 4
Thread 2:
0 libsystem_kernel.dylib 0x0000000184908d80 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x0000000184a1aeec _pthread_wqthread + 884
2 libsystem_pthread.dylib 0x0000000184a1ab6c start_wqthread + 4
Thread 3:
0 libsystem_pthread.dylib 0x0000000184a1ab68 start_wqthread + 0
Thread 4 name: com.apple.uikit.eventfetch-thread
Thread 4:
0 libsystem_kernel.dylib 0x00000001848e7568 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x00000001848e73e0 mach_msg + 72
2 CoreFoundation 0x0000000184d9e308 __CFRunLoopServiceMachPort + 196
3 CoreFoundation 0x0000000184d9bed4 __CFRunLoopRun + 1424
4 CoreFoundation 0x0000000184cbbe58 CFRunLoopRunSpecific + 436
5 Foundation 0x00000001856f1594 -[NSRunLoop+ 50580 (NSRunLoop) runMode:beforeDate:] + 304
6 Foundation 0x00000001857109ac -[NSRunLoop+ 178604 (NSRunLoop) runUntilDate:] + 96
7 UIKit 0x000000018eea57b8 -[UIEventFetcher threadMain] + 136
8 Foundation 0x00000001857f30f4 __NSThread__start__ + 996
9 libsystem_pthread.dylib 0x0000000184a1c2b4 _pthread_body + 308
10 libsystem_pthread.dylib 0x0000000184a1c180 _pthread_body + 0
11 libsystem_pthread.dylib 0x0000000184a1ab74 thread_start + 4
Thread 5:
0 libsystem_kernel.dylib 0x0000000184908d80 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x0000000184a1aeec _pthread_wqthread + 884
2 libsystem_pthread.dylib 0x0000000184a1ab6c start_wqthread + 4
Thread 6:
0 libsystem_pthread.dylib 0x0000000184a1ab68 start_wqthread + 0
Thread 7:
0 libsystem_pthread.dylib 0x0000000184a1ab68 start_wqthread + 0
Thread 8 name: com.apple.NSURLConnectionLoader
Thread 8:
0 libsystem_kernel.dylib 0x00000001848e7568 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x00000001848e73e0 mach_msg + 72
2 CoreFoundation 0x0000000184d9e308 __CFRunLoopServiceMachPort + 196
3 CoreFoundation 0x0000000184d9bed4 __CFRunLoopRun + 1424
4 CoreFoundation 0x0000000184cbbe58 CFRunLoopRunSpecific + 436
5 CFNetwork 0x00000001855ab128 -[__CoreSchedulingSetRunnable runForever] + 780
6 Foundation 0x00000001857f30f4 __NSThread__start__ + 996
7 libsystem_pthread.dylib 0x0000000184a1c2b4 _pthread_body + 308
8 libsystem_pthread.dylib 0x0000000184a1c180 _pthread_body + 0
9 libsystem_pthread.dylib 0x0000000184a1ab74 thread_start + 4
Thread 9 name: NetworkLoad
Thread 9:
0 libsystem_kernel.dylib 0x00000001848e7568 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x00000001848e73e0 mach_msg + 72
2 CoreFoundation 0x0000000184d9e308 __CFRunLoopServiceMachPort + 196
3 CoreFoundation 0x0000000184d9bed4 __CFRunLoopRun + 1424
4 CoreFoundation 0x0000000184cbbe58 CFRunLoopRunSpecific + 436
5 GeoServices 0x000000018aeef0ec _runNetworkThread + 468
6 libsystem_pthread.dylib 0x0000000184a1c2b4 _pthread_body + 308
7 libsystem_pthread.dylib 0x0000000184a1c180 _pthread_body + 0
8 libsystem_pthread.dylib 0x0000000184a1ab74 thread_start + 4
Thread 10 name: Dispatch queue: com.apple.root.background-qos
Thread 10 Crashed:
0 WhoDat 0x000000010446110c 0x104454000 + 53516
1 WhoDat 0x000000010446e230 0x104454000 + 107056
2 libdispatch.dylib 0x0000000184772a54 _dispatch_call_block_and_release + 24
3 libdispatch.dylib 0x0000000184772a14 _dispatch_client_callout + 16
4 libdispatch.dylib 0x000000018477fea4 _dispatch_root_queue_drain + 1032
5 libdispatch.dylib 0x000000018477fa38 _dispatch_worker_thread3 + 120
6 libsystem_pthread.dylib 0x0000000184a1b06c _pthread_wqthread + 1268
7 libsystem_pthread.dylib 0x0000000184a1ab6c start_wqthread + 4
Thread 11 name: com.apple.vectorkit.dispatch.layoutqueue
Thread 11:
0 libsystem_kernel.dylib 0x00000001848e75bc semaphore_timedwait_trap + 8
1 libdispatch.dylib 0x0000000184775000 _dispatch_sema4_timedwait$VARIANT$mp + 84
2 libdispatch.dylib 0x0000000184775870 _dispatch_semaphore_wait_slow + 72
3 libdispatch.dylib 0x00000001847811d8 _dispatch_worker_thread + 256
4 libsystem_pthread.dylib 0x0000000184a1c2b4 _pthread_body + 308
5 libsystem_pthread.dylib 0x0000000184a1c180 _pthread_body + 0
6 libsystem_pthread.dylib 0x0000000184a1ab74 thread_start + 4
Thread 12:
0 libsystem_kernel.dylib 0x00000001848e75bc semaphore_timedwait_trap + 8
1 libdispatch.dylib 0x0000000184775000 _dispatch_sema4_timedwait$VARIANT$mp + 84
2 libdispatch.dylib 0x0000000184775870 _dispatch_semaphore_wait_slow + 72
3 libdispatch.dylib 0x00000001847811d8 _dispatch_worker_thread + 256
4 libsystem_pthread.dylib 0x0000000184a1c2b4 _pthread_body + 308
5 libsystem_pthread.dylib 0x0000000184a1c180 _pthread_body + 0
6 libsystem_pthread.dylib 0x0000000184a1ab74 thread_start + 4
Thread 13:
0 libsystem_kernel.dylib 0x0000000184908d80 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x0000000184a1aeec _pthread_wqthread + 884
2 libsystem_pthread.dylib 0x0000000184a1ab6c start_wqthread + 4
Thread 14 name: com.squareup.SocketRocket.NetworkThread
Thread 14:
0 libsystem_kernel.dylib 0x00000001848e7568 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x00000001848e73e0 mach_msg + 72
2 CoreFoundation 0x0000000184d9e308 __CFRunLoopServiceMachPort + 196
3 CoreFoundation 0x0000000184d9bed4 __CFRunLoopRun + 1424
4 CoreFoundation 0x0000000184cbbe58 CFRunLoopRunSpecific + 436
5 Foundation 0x00000001856f1594 -[NSRunLoop+ 50580 (NSRunLoop) runMode:beforeDate:] + 304
6 WhoDat 0x0000000104560028 0x104454000 + 1097768
7 Foundation 0x00000001857f30f4 __NSThread__start__ + 996
8 libsystem_pthread.dylib 0x0000000184a1c2b4 _pthread_body + 308
9 libsystem_pthread.dylib 0x0000000184a1c180 _pthread_body + 0
10 libsystem_pthread.dylib 0x0000000184a1ab74 thread_start + 4
Thread 15:
0 libsystem_pthread.dylib 0x0000000184a1ab68 start_wqthread + 0
Thread 16 name: com.apple.CFSocket.private
Thread 16:
0 libsystem_kernel.dylib 0x0000000184908534 __select + 8
1 CoreFoundation 0x0000000184da6840 __CFSocketManager + 644
2 libsystem_pthread.dylib 0x0000000184a1c2b4 _pthread_body + 308
3 libsystem_pthread.dylib 0x0000000184a1c180 _pthread_body + 0
4 libsystem_pthread.dylib 0x0000000184a1ab74 thread_start + 4
Thread 17 name: com.apple.mapdisplay.iconrenderqueue
Thread 17:
0 libsystem_kernel.dylib 0x00000001848e75bc semaphore_timedwait_trap + 8
1 libdispatch.dylib 0x0000000184775000 _dispatch_sema4_timedwait$VARIANT$mp + 84
2 libdispatch.dylib 0x0000000184775870 _dispatch_semaphore_wait_slow + 72
3 libdispatch.dylib 0x00000001847811d8 _dispatch_worker_thread + 256
4 libsystem_pthread.dylib 0x0000000184a1c2b4 _pthread_body + 308
5 libsystem_pthread.dylib 0x0000000184a1c180 _pthread_body + 0
6 libsystem_pthread.dylib 0x0000000184a1ab74 thread_start + 4
Thread 10 crashed with ARM Thread State (64-bit):
x0: 0x0000000105630380 x1: 0x000000018f06a470 x2: 0x0000000000000000 x3: 0x0000000000000001
x4: 0x0000000000000001 x5: 0x0000000000000001 x6: 0x0000000000000000 x7: 0x0000000000000000
x8: 0x0000000000000001 x9: 0x0000000000000000 x10: 0x0000000000000000 x11: 0x000000a7000000ff
x12: 0x00000001058faf00 x13: 0x000005a104a8700f x14: 0x0000000000000004 x15: 0x0000000000000000
x16: 0x0000000104a87008 x17: 0x000000018ee01ea8 x18: 0xfffffff01609925c x19: 0x00000001c042cfe0
x20: 0x0000000000000000 x21: 0x0000000105630380 x22: 0x0000000000000001 x23: 0x0000000000000000
x24: 0xffffffffffffffff x25: 0x0000000fffffc0c0 x26: 0x00000000ff00ffff x27: 0x00000001b5927ab0
x28: 0x00000001b5927ad0 fp: 0x000000016bf1edb0 lr: 0x00000001044610b4
sp: 0x000000016bf1ed90 pc: 0x000000010446110c cpsr: 0x20000000
Could someone direct me and tell me how to read the above and find where the issue is occuring?
Thanks in advance!
Related
Please help what is the issue.???
webrtc library calling some internal method and getting excess_bad. and crashed
If needed any more information plz ask.
//code
let iceServer = RTCICEServer(uri:URL(string: resturi), username: “***”, password: “***”)
// Enable SSL globally for WebRTC in our app
let pcFactory:RTCPeerConnectionFactory = RTCPeerConnectionFactory()
let rtcConfiguration = RTCConfiguration()
rtcConfiguration.iceServers = [iceServer!]
let pair1 = RTCPair(key: "OfferToReceiveAudio", value: "true")
let pair2 = RTCPair(key: "OfferToReceiveVideo", value: "false")
let pair3 = RTCPair(key: "DtlsSrtpKeyAgreement", value: "true")
self.mediaConstraints = RTCMediaConstraints(mandatoryConstraints: [pair1!,pair2!], optionalConstraints:[pair3!])
// Create the peer connection using the ICE server list and the current class as the delegate
let localStream:RTCMediaStream = pcFactory.mediaStream(withLabel: “12345”)
let audioTrack:RTCAudioTrack = pcFactory.audioTrack(withID: “123456”)
audioTrack.delegate = self
let status = localStream.addAudioTrack(audioTrack)
self.peerConnection = pcFactory.peerConnection(with: rtcConfiguration, constraints: self.mediaConstraints!, delegate: self)
let pstatus = self.peerConnection!.add(localStream)
print(status)
print(pstatus)
//Let’s look at how the offer is created, which initiates the call.
self.peerConnection!.createOffer(with: self, constraints: self.mediaConstraints)
I am getting sip here.
public func peerConnection(_ peerConnection: RTCPeerConnection!, didCreateSessionDescription sdp: RTCSessionDescription!, error: Error!)
getting crash when this delegate called.
func peerConnection(_ peerConnection: RTCPeerConnection!, gotICECandidate candidate: RTCICECandidate!)
Crash Report
Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Subtype: KERN_INVALID_ADDRESS at 0x5000000000000038 Termination Signal:
Segmentation fault: 11 Termination Reason: Namespace SIGNAL, Code 0xb
Terminating Process: exc handler [0] Triggered by Thread: 9
Filtered syslog: None found
Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0: 0
libsystem_kernel.dylib 0x000000018f58816c mach_msg_trap + 8 1
libsystem_kernel.dylib 0x000000018f587fdc mach_msg + 72 2
CoreFoundation 0x0000000190585cec
__CFRunLoopServiceMachPort + 192 3 CoreFoundation 0x0000000190583908 __CFRunLoopRun + 1132 4 CoreFoundation
0x00000001904b2048 CFRunLoopRunSpecific + 444 5 GraphicsServices
0x0000000191f35198 GSEventRunModal + 180 6 UIKit
0x000000019648b818 -[UIApplication _run] + 684 7 UIKit
0x0000000196486550 UIApplicationMain + 208 8 Shukran
0x0000000100080a1c 0x10007c000 + 18972 9 libdyld.dylib
0x000000018f4945b8 start + 4
Thread 1 name: com.apple.uikit.eventfetch-thread Thread 1: 0
libsystem_kernel.dylib 0x000000018f58816c mach_msg_trap + 8 1
libsystem_kernel.dylib 0x000000018f587fdc mach_msg + 72 2
CoreFoundation 0x0000000190585cec
CFRunLoopServiceMachPort + 192 3 CoreFoundation 0x0000000190583908 __CFRunLoopRun + 1132 4 CoreFoundation
0x00000001904b2048 CFRunLoopRunSpecific + 444 5 Foundation
0x0000000190fc0b1c -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 304
6 Foundation 0x0000000190fe160c
-[NSRunLoop(NSRunLoop) runUntilDate:] + 96 7 UIKit 0x0000000196e00e6c -[UIEventFetcher threadMain] + 136 8 Foundation
0x00000001910be50c __NSThread__start + 1024 9
libsystem_pthread.dylib 0x000000018f66b860 _pthread_body + 240
10 libsystem_pthread.dylib 0x000000018f66b770 _pthread_body +
0 11 libsystem_pthread.dylib 0x000000018f668dbc thread_start +
4
Thread 2 name: AVAudioSession Notify Thread Thread 2: 0
libsystem_kernel.dylib 0x000000018f58816c mach_msg_trap + 8 1
libsystem_kernel.dylib 0x000000018f587fdc mach_msg + 72 2
CoreFoundation 0x0000000190585cec
__CFRunLoopServiceMachPort + 192 3 CoreFoundation 0x0000000190583908 __CFRunLoopRun + 1132 4 CoreFoundation
0x00000001904b2048 CFRunLoopRunSpecific + 444 5 AVFAudio
0x00000001a9baafe8 GenericRunLoopThread::Entry(void*) + 164 6
AVFAudio 0x00000001a9bd0f14
CAPThread::Entry(CAPThread*) + 84 7 libsystem_pthread.dylib
0x000000018f66b860 _pthread_body + 240 8 libsystem_pthread.dylib
0x000000018f66b770 _pthread_body + 0 9 libsystem_pthread.dylib
0x000000018f668dbc thread_start + 4
Thread 3 name: com.apple.NSURLConnectionLoader Thread 3: 0
libsystem_kernel.dylib 0x000000018f58816c mach_msg_trap + 8 1
libsystem_kernel.dylib 0x000000018f587fdc mach_msg + 72 2
CoreFoundation 0x0000000190585cec
CFRunLoopServiceMachPort + 192 3 CoreFoundation 0x0000000190583908 __CFRunLoopRun + 1132 4 CoreFoundation
0x00000001904b2048 CFRunLoopRunSpecific + 444 5 CFNetwork
0x0000000190c9fcec +[NSURLConnection(Loader) _resourceLoadLoop:] +
336 6 Foundation 0x00000001910be50c
__NSThread__start + 1024 7 libsystem_pthread.dylib 0x000000018f66b860 _pthread_body + 240 8 libsystem_pthread.dylib
0x000000018f66b770 _pthread_body + 0 9 libsystem_pthread.dylib
0x000000018f668dbc thread_start + 4
Thread 4: 0 libsystem_pthread.dylib 0x000000018f668db0
start_wqthread + 0
Thread 5: 0 libsystem_kernel.dylib 0x000000018f5a6a88
__workq_kernreturn + 8 1 libsystem_pthread.dylib 0x000000018f669188 _pthread_wqthread + 968 2
libsystem_pthread.dylib 0x000000018f668db4 start_wqthread + 4
Thread 6: 0 libsystem_pthread.dylib 0x000000018f668db0
start_wqthread + 0
Thread 7: 0 libsystem_kernel.dylib 0x000000018f5a5e1c
__psynch_cvwait + 8 1 libsystem_pthread.dylib 0x000000018f66a9d0 _pthread_cond_wait + 640 2 Shukran
0x000000010030009c 0x10007c000 + 2637980 3 libsystem_pthread.dylib
0x000000018f66b860 _pthread_body + 240 4 libsystem_pthread.dylib
0x000000018f66b770 _pthread_body + 0 5 libsystem_pthread.dylib
0x000000018f668dbc thread_start + 4
Thread 8: 0 libsystem_kernel.dylib 0x000000018f5a623c
__select + 8 1 Shukran 0x00000001003004d0 0x10007c000 + 2639056 2 libsystem_pthread.dylib
0x000000018f66b860 _pthread_body + 240 3 libsystem_pthread.dylib
0x000000018f66b770 _pthread_body + 0 4 libsystem_pthread.dylib
0x000000018f668dbc thread_start + 4
Thread 9 name: VoiceProcessThread Thread 9 Crashed: 0 Shukran
0x00000001001956ac 0x10007c000 + 1152684 1 Shukran
0x000000010019569c 0x10007c000 + 1152668 2 Shukran
0x0000000100168688 0x10007c000 + 968328 3 Shukran
0x0000000100191020 0x10007c000 + 1134624 4 Shukran
0x000000010033b1bc 0x10007c000 + 2879932 5 Shukran
0x00000001002d906c 0x10007c000 + 2478188 6 Shukran
0x00000001002d8670 0x10007c000 + 2475632 7 Shukran
0x00000001002ca330 0x10007c000 + 2417456 8 Shukran
0x00000001004293f0 0x10007c000 + 3855344 9 Shukran
0x00000001002fb010 0x10007c000 + 2617360 10 Shukran
0x00000001002faf94 0x10007c000 + 2617236 11 libsystem_pthread.dylib
0x000000018f66b860 _pthread_body + 240 12 libsystem_pthread.dylib
0x000000018f66b770 _pthread_body + 0 13 libsystem_pthread.dylib
0x000000018f668dbc thread_start + 4
Thread 10 name: PacerThread Thread 10: 0 libsystem_kernel.dylib
0x000000018f5a5e1c __psynch_cvwait + 8 1 libsystem_pthread.dylib
0x000000018f66a9d0 _pthread_cond_wait + 640 2 Shukran
0x000000010028548c 0x10007c000 + 2135180 3 Shukran
0x00000001002f7544 0x10007c000 + 2602308 4 Shukran
0x00000001004294f0 0x10007c000 + 3855600 5 Shukran
0x00000001002fb010 0x10007c000 + 2617360 6 Shukran
0x00000001002faf94 0x10007c000 + 2617236 7 libsystem_pthread.dylib
0x000000018f66b860 _pthread_body + 240 8 libsystem_pthread.dylib
0x000000018f66b770 _pthread_body + 0 9 libsystem_pthread.dylib
0x000000018f668dbc thread_start + 4
Thread 11 name: ModuleProcessThread Thread 11: 0
libsystem_kernel.dylib 0x000000018f5a5e1c __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x000000018f66a9d0
_pthread_cond_wait + 640 2 Shukran 0x000000010028548c 0x10007c000 + 2135180 3 Shukran
0x00000001002f7544 0x10007c000 + 2602308 4 Shukran
0x00000001004294f0 0x10007c000 + 3855600 5 Shukran
0x00000001002fb010 0x10007c000 + 2617360 6 Shukran
0x00000001002faf94 0x10007c000 + 2617236 7 libsystem_pthread.dylib
0x000000018f66b860 _pthread_body + 240 8 libsystem_pthread.dylib
0x000000018f66b770 _pthread_body + 0 9 libsystem_pthread.dylib
0x000000018f668dbc thread_start + 4
Thread 9 crashed with ARM Thread State (64-bit):
x0: 0x000000010303c100 x1: 0x0000000000000000 x2: 0x0000000000000000 x3: 0x00000001024694e8
x4: 0x0000000000000000 x5: 0x0000000000000010 x6: 0x0000000000000002 x7: 0x000000016e54a45c
x8: 0x5000000000000000 x9: 0x0000000000000000 x10: 0x000000016e54b818 x11: 0x0000000000000000 x12: 0x03e0fe0003e0fe00
x13: 0x000000018f66b770 x14: 0x000000018f668dbc x15:
0x0000000000000010 x16: 0x000000018f669ab8 x17: 0x0000000000000001
x18: 0x0000000000000000 x19: 0x0000000000000004 x20:
0x0000000104082e00 x21: 0x00000001702a42c0 x22: 0x000000016e54a278
x23: 0x00000001702a42e8 x24: 0x000000016e54a240 x25:
0x00000001702a42c8 x26: 0x00000001702a42e0 x27: 0xd96031967698005a
x28: 0x0000000000000000 fp: 0x000000016e54a1f0 lr:
0x000000010019569c
sp: 0x000000016e549b10 pc: 0x00000001001956ac cpsr: 0x60000000
Please check your iceServer is Running fine or not, I have used Following iceServers and resolved the crash. Or you can build your own STUN server. It may be one of reason you are getting the crash.
let iceServer1:RTCICEServer = RTCICEServer.init(uri: URL.init(string: "stun:stun.l.google.com:19302"), username: "", password: "")
OR
let iceServer2:RTCICEServer = RTCICEServer.init(uri: URL.init(string: "turn:numb.viagenie.ca"), username: "webrtc#live.com", password: "muazkh")
My app is crashing at my login with Facebook/Google page only in TestFlight. This error doesn't appear when using the Xcode simulator. I am very baffled by this problem and don't know how to fix it.
Here is my full crash log:
Incident Identifier: CBEBA3B7-51CE-461F-AA78-B154009714E2
Beta Identifier: C75146BB-6780-4080-845E-720DC1B395E0
Hardware Model: iPhone8,1
Process: App [2033]
Path: /private/var/containers/Bundle/Application/3E55D2B2-866D-43BD-9ECE-A15250AF09A1/app.app/app
Identifier: co.app.app
Version: 1.0.6 (1.0)
Beta: YES
Code Type: ARM-64 (Native)
Parent Process: launchd [1]
Date/Time: 2016-08-07 14:10:51.51 -0700
Launch Time: 2016-08-07 14:10:49.49 -0700
OS Version: iOS 9.3.3 (13G34)
Report Version: 105
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000001, 0x00000001000cf698
Triggered by Thread: 0
Global Trace Buffer (reverse chronological seconds):
0.232099 CFNetwork 0x00000001832617f0 TCP Conn 0x15eadb6b0 starting SSL negotiation
0.233291 CFNetwork 0x0000000183303e7c TCP Conn 0x15eadb6b0 complete. fd: 7, err: 0
0.234212 CFNetwork 0x00000001833053a8 TCP Conn 0x15eadb6b0 event 1. err: 0
Thread 0 name:
Thread 0 Crashed:
0 AppName 0x00000001000cf698 0x1000bc000 + 79512
1 AppName 0x00000001000cde14 0x1000bc000 + 73236
2 FBSDKCoreKit 0x0000000100a3029c 0x100a08000 + 164508
3 FBSDKCoreKit 0x0000000100a2ded0 0x100a08000 + 155344
4 FBSDKCoreKit 0x0000000100a2dd20 0x100a08000 + 154912
5 FBSDKCoreKit 0x0000000100a2d7c8 0x100a08000 + 153544
6 CoreFoundation 0x0000000182b6f944 __53-[__NSArrayM enumerateObjectsWithOptions:usingBlock:]_block_invoke + 132 (NSArray.m:479)
7 CoreFoundation 0x0000000182b6f7b4 -[__NSArrayM enumerateObjectsWithOptions:usingBlock:] + 172 (NSArray.m:496)
8 FBSDKCoreKit 0x0000000100a2d584 0x100a08000 + 152964
9 FBSDKCoreKit 0x0000000100a2ca40 0x100a08000 + 150080
10 FBSDKCoreKit 0x0000000100a2ac0c 0x100a08000 + 142348
11 FBSDKCoreKit 0x0000000100a454bc 0x100a08000 + 251068
12 FBSDKCoreKit 0x0000000100a45414 0x100a08000 + 250900
13 FBSDKCoreKit 0x0000000100a45888 0x100a08000 + 252040
14 CFNetwork 0x00000001833f96a0 __65-[NSURLConnectionInternal _withConnectionAndDelegate:onlyActive:]_block_invoke + 80 (NSURLConnectionInternal.mm:124)
15 CFNetwork 0x00000001833f9630 -[NSURLConnectionInternal _withConnectionAndDelegate:onlyActive:] + 200 (NSURLConnectionInternal.mm:121)
16 CFNetwork 0x00000001833f97a4 -[NSURLConnectionInternal _withActiveConnectionAndDelegate:] + 56 (NSURLConnectionInternal.mm:139)
17 CFNetwork 0x000000018325f39c ___ZN27URLConnectionClient_Classic26_delegate_didFinishLoadingEU13block_pointerFvvE_block_invoke + 100 (URLConnectionClient.cpp:2132)
18 CFNetwork 0x000000018335341c ___ZN27URLConnectionClient_Classic18_withDelegateAsyncEPKcU13block_pointerFvP16_CFURLConnectionPK33CFURLConnectionClientCurrent_VMaxE_block_invoke_2 + 108 (URLConnectionClient.cpp:1896)
19 libdispatch.dylib 0x00000001826c947c _dispatch_client_callout + 16 (object.m:506)
20 libdispatch.dylib 0x00000001826d27b8 _dispatch_block_invoke + 540 (queue.c:2171)
21 CFNetwork 0x000000018324bac0 RunloopBlockContext::_invoke_block(void const*, void*) + 36 (CoreSchedulingSet.mm:363)
22 CoreFoundation 0x0000000182b5c67c CFArrayApplyFunction + 68 (CFArray.c:707)
23 CFNetwork 0x000000018324b9a4 RunloopBlockContext::perform() + 136 (CoreSchedulingSet.mm:317)
24 CFNetwork 0x000000018324b864 MultiplexerSource::perform() + 312 (CFNRunLoopMultiplexer.c:282)
25 CFNetwork 0x000000018324b690 MultiplexerSource::_perform(void*) + 68 (CFNRunLoopMultiplexer.c:47)
26 CoreFoundation 0x0000000182c3509c __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24 (CFRunLoop.c:1761)
27 CoreFoundation 0x0000000182c34b30 __CFRunLoopDoSources0 + 540 (CFRunLoop.c:1807)
28 CoreFoundation 0x0000000182c32830 __CFRunLoopRun + 724 (CFRunLoop.c:2536)
29 CoreFoundation 0x0000000182b5cc50 CFRunLoopRunSpecific + 384 (CFRunLoop.c:2814)
30 GraphicsServices 0x0000000184444088 GSEventRunModal + 180 (GSEvent.c:2245)
31 UIKit 0x0000000187e46088 UIApplicationMain + 204 (UIApplication.m:3772)
32 AppName 0x00000001000d5244 0x1000bc000 + 102980
33 libdyld.dylib 0x00000001826fa8b8 start + 4 (start_glue.s:78)
Thread 1:
0 libsystem_kernel.dylib 0x0000000182818b48 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x00000001828e1530 _pthread_wqthread + 1284 (pthread.c:1999)
2 libsystem_pthread.dylib 0x00000001828e1020 start_wqthread + 4 (pthread_asm.s:190)
Thread 2 name:
Thread 2:
0 libsystem_kernel.dylib 0x00000001828194d8 kevent_qos + 8
1 libdispatch.dylib 0x00000001826dc7d8 _dispatch_mgr_invoke + 232 (source.c:2542)
2 libdispatch.dylib 0x00000001826cb648 _dispatch_mgr_thread + 52 (source.c:2573)
Thread 3:
0 libsystem_kernel.dylib 0x0000000182818b48 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x00000001828e1530 _pthread_wqthread + 1284 (pthread.c:1999)
2 libsystem_pthread.dylib 0x00000001828e1020 start_wqthread + 4 (pthread_asm.s:190)
Thread 4:
0 libsystem_kernel.dylib 0x0000000182818b48 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x00000001828e1530 _pthread_wqthread + 1284 (pthread.c:1999)
2 libsystem_pthread.dylib 0x00000001828e1020 start_wqthread + 4 (pthread_asm.s:190)
Thread 5:
0 libsystem_kernel.dylib 0x0000000182818b48 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x00000001828e1530 _pthread_wqthread + 1284 (pthread.c:1999)
2 libsystem_pthread.dylib 0x00000001828e1020 start_wqthread + 4 (pthread_asm.s:190)
Thread 6 name:
Thread 6:
0 libsystem_kernel.dylib 0x00000001827fcfd8 mach_msg_trap + 8 (syscall_sw.h:105)
1 libsystem_kernel.dylib 0x00000001827fce54 mach_msg + 72 (mach_msg.c:103)
2 CoreFoundation 0x0000000182c34c60 __CFRunLoopServiceMachPort + 196 (CFRunLoop.c:2345)
3 CoreFoundation 0x0000000182c32964 __CFRunLoopRun + 1032 (CFRunLoop.c:2607)
4 CoreFoundation 0x0000000182b5cc50 CFRunLoopRunSpecific + 384 (CFRunLoop.c:2814)
5 CFNetwork 0x00000001832ddbcc +[NSURLConnection(Loader) _resourceLoadLoop:] + 412 (NSURLConnection.mm:325)
6 Foundation 0x0000000183653e4c __NSThread__start__ + 1000 (NSThread.m:1134)
7 libsystem_pthread.dylib 0x00000001828e3b28 _pthread_body + 156 (pthread.c:656)
8 libsystem_pthread.dylib 0x00000001828e3a8c _pthread_start + 156 (pthread.c:692)
9 libsystem_pthread.dylib 0x00000001828e1028 thread_start + 4 (pthread_asm.s:197)
Thread 7:
0 libsystem_kernel.dylib 0x0000000182818b48 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x00000001828e1530 _pthread_wqthread + 1284 (pthread.c:1999)
2 libsystem_pthread.dylib 0x00000001828e1020 start_wqthread + 4 (pthread_asm.s:190)
Thread 8:
0 libsystem_kernel.dylib 0x0000000182818b48 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x00000001828e1530 _pthread_wqthread + 1284 (pthread.c:1999)
2 libsystem_pthread.dylib 0x00000001828e1020 start_wqthread + 4 (pthread_asm.s:190)
Thread 9 name:
Thread 9:
0 libsystem_kernel.dylib 0x0000000182818344 __select + 8
1 CoreFoundation 0x0000000182c3b1c8 __CFSocketManager + 648 (CFSocket.c:2128)
2 libsystem_pthread.dylib 0x00000001828e3b28 _pthread_body + 156 (pthread.c:656)
3 libsystem_pthread.dylib 0x00000001828e3a8c _pthread_start + 156 (pthread.c:692)
4 libsystem_pthread.dylib 0x00000001828e1028 thread_start + 4 (pthread_asm.s:197)
Thread 10:
0 libsystem_kernel.dylib 0x0000000182818b48 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x00000001828e1530 _pthread_wqthread + 1284 (pthread.c:1999)
2 libsystem_pthread.dylib 0x00000001828e1020 start_wqthread + 4 (pthread_asm.s:190)
Thread 11:
0 libsystem_kernel.dylib 0x0000000182818b48 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x00000001828e1530 _pthread_wqthread + 1284 (pthread.c:1999)
2 libsystem_pthread.dylib 0x00000001828e1020 start_wqthread + 4 (pthread_asm.s:190)
Thread 12:
0 libsystem_kernel.dylib 0x0000000182818b48 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x00000001828e1530 _pthread_wqthread + 1284 (pthread.c:1999)
2 libsystem_pthread.dylib 0x00000001828e1020 start_wqthread + 4 (pthread_asm.s:190)
Thread 0 crashed with ARM Thread State (64-bit):
x0: 0x0000000000000000 x1: 0x00000001828da8f4 x2: 0x000000015d7e38d0 x3: 0x0000000000000006
x4: 0x000000015e925ec0 x5: 0x0000000000000000 x6: 0x0000000000000064 x7: 0x0000000000000000
x8: 0x0000000000000001 x9: 0x00000001a167e0e0 x10: 0x000000015d7e4000 x11: 0x0000000000003fff
x12: 0x000000015d7e0000 x13: 0x0000000000003fff x14: 0xffffffffffffc000 x15: 0x0000000000003fff
x16: 0x00000001822fdef0 x17: 0x00000001822fea74 x18: 0x0000000000000000 x19: 0x000000015e859770
x20: 0x0000000100f03a66 x21: 0x000000015d792070 x22: 0x0000000000000000 x23: 0xc000000000000004
x24: 0x000000015d7f94e0 x25: 0x0000000000000000 x26: 0x000000015e9b5cf0 x27: 0x800000000000000a
x28: 0x000000015ea565a0 fp: 0x000000016fd42040 lr: 0x00000001000cf264
sp: 0x000000016fd41e50 pc: 0x00000001000cf698 cpsr: 0x60000000
Hope you all can help! Thanks!
Here's the whole crash log. What's the meaning of EXC_CORPSE_NOTIFY exception notice?
I have to replace some strings about our company.
Incident Identifier: 40BD3A10-43A5-4F0D-A283-218E1D3BEE46
CrashReporter Key: 3d8d75a8f5eeb7c3d28d52883b92ed4e0fb2529e
Hardware Model: iPhone7,1
Process: XxxxxXxxApp [13539]
Path: /private/var/mobile/Containers/Bundle/Application/148C5049-8883-4E9D-BB98-5498EEA95191/XxxxxXxxApp.app/XxxxxXxxApp
Identifier: com.Lotum.MCOLotumMobile
Version: 7.0.8.0 (7.0.8)
Code Type: ARM-64 (Native)
Parent Process: launchd [1]
Date/Time: 2016-01-15 11:22:25.25 +0800
Launch Time: 2016-01-15 10:41:58.58 +0800
OS Version: iOS 9.2 (13C75)
Report Version: 105
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Triggered by Thread: 16
Filtered syslog:
None found
Last Exception Backtrace:
0 CoreFoundation 0x1840c5900 __exceptionPreprocess + 124
1 libobjc.A.dylib 0x183733f80 objc_exception_throw + 56
2 CoreFoundation 0x183faf134 -[__NSArrayM insertObject:atIndex:] + 808
3 XxxxxXxxApp 0x100a5e830 -[LotumMobStatLogManager createLogHeader] + 1616
4 XxxxxXxxApp 0x100a60788 -[LotumMobStatLogManager _syncSendLog:] + 204
5 XxxxxXxxApp 0x100a6055c -[LotumMobStatLogManager _syncSendAllLog] + 604
6 Foundation 0x184a87c40 __NSThread__start__ + 1000
7 libsystem_pthread.dylib 0x183d2fb28 _pthread_body + 156
8 libsystem_pthread.dylib 0x183d2fa8c _pthread_start + 156
9 libsystem_pthread.dylib 0x183d2d028 thread_start + 4
Global Trace Buffer (reverse chronological seconds):
0.632645 CFNetwork 0x000000018473f104 TCP Conn 0x14693ab30 complete. fd: 4, err: 0
0.632689 CFNetwork 0x0000000184740630 TCP Conn 0x14693ab30 event 1. err: 0
0.675441 CFNetwork 0x0000000184740708 TCP Conn 0x14693ab30 started
0.792000 CFNetwork 0x000000018473f104 TCP Conn 0x146a556d0 complete. fd: 4, err: 0
0.792032 CFNetwork 0x0000000184740630 TCP Conn 0x146a556d0 event 1. err: 0
0.843491 CFNetwork 0x0000000184740708 TCP Conn 0x146a556d0 started
0.871140 CFNetwork 0x000000018473f104 TCP Conn 0x146d7ad80 complete. fd: 21, err: 0
0.872160 CFNetwork 0x0000000184740630 TCP Conn 0x146d7ad80 event 1. err: 0
0.872462 CFNetwork 0x000000018473f104 TCP Conn 0x1463a3150 complete. fd: 19, err: 0
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0:
0 CoreFoundation 0x000000018407a2a8 __CFRunLoopDoObservers + 240
1 CoreFoundation 0x000000018407a28c __CFRunLoopDoObservers + 212
2 CoreFoundation 0x000000018407a75c __CFRunLoopRun + 928
3 CoreFoundation 0x0000000183fa9680 CFRunLoopRunSpecific + 384
4 GraphicsServices 0x00000001854b8088 GSEventRunModal + 180
5 UIKit 0x0000000188e20d90 UIApplicationMain + 204
6 XxxxxXxxApp 0x000000010002f268 main + 148
7 libdyld.dylib 0x0000000183b4a8b8 start + 4
Thread 1 name: Dispatch queue: com.apple.libdispatch-manager
Thread 1:
0 libsystem_kernel.dylib 0x0000000183c694fc kevent_qos + 8
1 libdispatch.dylib 0x0000000183b2c94c _dispatch_mgr_invoke + 232
2 libdispatch.dylib 0x0000000183b1b7bc _dispatch_source_invoke + 0
Thread 2 name: com.apple.NSURLConnectionLoader
Thread 2:
0 libsystem_kernel.dylib 0x0000000183c4d4bc mach_msg_trap + 8
1 libsystem_kernel.dylib 0x0000000183c4d338 mach_msg + 72
2 CoreFoundation 0x000000018407cac0 __CFRunLoopServiceMachPort + 196
3 CoreFoundation 0x000000018407a7c4 __CFRunLoopRun + 1032
4 CoreFoundation 0x0000000183fa9680 CFRunLoopRunSpecific + 384
5 CFNetwork 0x0000000184719434 +[NSURLConnection(Loader) _resourceLoadLoop:] + 412
6 Foundation 0x0000000184a87c40 __NSThread__start__ + 1000
7 libsystem_pthread.dylib 0x0000000183d2fb28 _pthread_body + 156
8 libsystem_pthread.dylib 0x0000000183d2fa8c _pthread_body + 0
9 libsystem_pthread.dylib 0x0000000183d2d028 thread_start + 4
Thread 3 name: com.apple.CFSocket.private
Thread 3:
0 libsystem_kernel.dylib 0x0000000183c68368 __select + 8
1 CoreFoundation 0x0000000184083028 __CFSocketManager + 648
2 libsystem_pthread.dylib 0x0000000183d2fb28 _pthread_body + 156
3 libsystem_pthread.dylib 0x0000000183d2fa8c _pthread_body + 0
4 libsystem_pthread.dylib 0x0000000183d2d028 thread_start + 4
Thread 4 name: WebThread
Thread 4:
0 libsystem_kernel.dylib 0x0000000183c4d4bc mach_msg_trap + 8
1 libsystem_kernel.dylib 0x0000000183c4d338 mach_msg + 72
2 CoreFoundation 0x000000018407cac0 __CFRunLoopServiceMachPort + 196
3 CoreFoundation 0x000000018407a7c4 __CFRunLoopRun + 1032
4 CoreFoundation 0x0000000183fa9680 CFRunLoopRunSpecific + 384
5 WebCore 0x0000000187b59738 RunWebThread(void*) + 456
6 libsystem_pthread.dylib 0x0000000183d2fb28 _pthread_body + 156
7 libsystem_pthread.dylib 0x0000000183d2fa8c _pthread_body + 0
8 libsystem_pthread.dylib 0x0000000183d2d028 thread_start + 4
Thread 5 name: AFNetworking
Thread 5:
0 libsystem_kernel.dylib 0x0000000183c4d4bc mach_msg_trap + 8
1 libsystem_kernel.dylib 0x0000000183c4d338 mach_msg + 72
2 CoreFoundation 0x000000018407cac0 __CFRunLoopServiceMachPort + 196
3 CoreFoundation 0x000000018407a7c4 __CFRunLoopRun + 1032
4 CoreFoundation 0x0000000183fa9680 CFRunLoopRunSpecific + 384
5 Foundation 0x00000001849a121c -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 308
6 Foundation 0x00000001849f6874 -[NSRunLoop(NSRunLoop) run] + 88
7 XxxxxXxxApp 0x0000000100872a10 +[AFURLConnectionOperation networkRequestThreadEntryPoint:] + 216
8 Foundation 0x0000000184a87c40 __NSThread__start__ + 1000
9 libsystem_pthread.dylib 0x0000000183d2fb28 _pthread_body + 156
10 libsystem_pthread.dylib 0x0000000183d2fa8c _pthread_body + 0
11 libsystem_pthread.dylib 0x0000000183d2d028 thread_start + 4
Thread 6 name: JavaScriptCore::Marking
Thread 6:
0 libsystem_kernel.dylib 0x0000000183c67f48 __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x0000000183d2ece8 _pthread_cond_wait + 648
2 libc++.1.dylib 0x00000001836c0074 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 56
3 JavaScriptCore 0x0000000187648a90 JSC::GCThread::waitForNextPhase() + 144
4 JavaScriptCore 0x0000000187648b28 JSC::GCThread::gcThreadMain() + 84
5 JavaScriptCore 0x000000018731e634 WTF::threadEntryPoint(void*) + 212
6 JavaScriptCore 0x000000018731e544 WTF::wtfThreadEntryPoint(void*) + 24
7 libsystem_pthread.dylib 0x0000000183d2fb28 _pthread_body + 156
8 libsystem_pthread.dylib 0x0000000183d2fa8c _pthread_body + 0
9 libsystem_pthread.dylib 0x0000000183d2d028 thread_start + 4
Thread 7 name: AVAudioSession Notify Thread
Thread 7:
0 libsystem_kernel.dylib 0x0000000183c4d4bc mach_msg_trap + 8
1 libsystem_kernel.dylib 0x0000000183c4d338 mach_msg + 72
2 CoreFoundation 0x000000018407cac0 __CFRunLoopServiceMachPort + 196
3 CoreFoundation 0x000000018407a7c4 __CFRunLoopRun + 1032
4 CoreFoundation 0x0000000183fa9680 CFRunLoopRunSpecific + 384
5 libAVFAudio.dylib 0x000000018a271834 GenericRunLoopThread::Entry(void*) + 164
6 libAVFAudio.dylib 0x000000018a2463a8 CAPThread::Entry(CAPThread*) + 84
7 libsystem_pthread.dylib 0x0000000183d2fb28 _pthread_body + 156
8 libsystem_pthread.dylib 0x0000000183d2fa8c _pthread_body + 0
9 libsystem_pthread.dylib 0x0000000183d2d028 thread_start + 4
Thread 8 name: com.apple.coremedia.player.async
Thread 8:
0 libsystem_kernel.dylib 0x0000000183c4d4f8 semaphore_wait_trap + 8
1 libdispatch.dylib 0x0000000183b2a55c _dispatch_semaphore_wait_slow + 244
2 MediaToolbox 0x0000000189bb1454 fpa_AsyncMovieControlThread + 1948
3 CoreMedia 0x0000000186082980 figThreadMain + 272
4 libsystem_pthread.dylib 0x0000000183d2fb28 _pthread_body + 156
5 libsystem_pthread.dylib 0x0000000183d2fa8c _pthread_body + 0
6 libsystem_pthread.dylib 0x0000000183d2d028 thread_start + 4
Thread 9 name: WebCore: CFNetwork Loader
Thread 9:
0 libsystem_kernel.dylib 0x0000000183c4d4bc mach_msg_trap + 8
1 libsystem_kernel.dylib 0x0000000183c4d338 mach_msg + 72
2 CoreFoundation 0x000000018407cac0 __CFRunLoopServiceMachPort + 196
3 CoreFoundation 0x000000018407a7c4 __CFRunLoopRun + 1032
4 CoreFoundation 0x0000000183fa9680 CFRunLoopRunSpecific + 384
5 WebCore 0x0000000187b86f8c WebCore::runLoaderThread(void*) + 272
6 JavaScriptCore 0x000000018731e634 WTF::threadEntryPoint(void*) + 212
7 JavaScriptCore 0x000000018731e544 WTF::wtfThreadEntryPoint(void*) + 24
8 libsystem_pthread.dylib 0x0000000183d2fb28 _pthread_body + 156
9 libsystem_pthread.dylib 0x0000000183d2fa8c _pthread_body + 0
10 libsystem_pthread.dylib 0x0000000183d2d028 thread_start + 4
Thread 10 name: com.facebook.React.JavaScript
Thread 10:
0 libsystem_kernel.dylib 0x0000000183c4d4bc mach_msg_trap + 8
1 libsystem_kernel.dylib 0x0000000183c4d338 mach_msg + 72
2 CoreFoundation 0x000000018407cac0 __CFRunLoopServiceMachPort + 196
3 CoreFoundation 0x000000018407a7c4 __CFRunLoopRun + 1032
4 CoreFoundation 0x0000000183fa9680 CFRunLoopRunSpecific + 384
5 XxxxxXxxApp 0x00000001007e7250 +[RCTContextExecutor runRunLoopThread] + 264
6 Foundation 0x0000000184a87c40 __NSThread__start__ + 1000
7 libsystem_pthread.dylib 0x0000000183d2fb28 _pthread_body + 156
8 libsystem_pthread.dylib 0x0000000183d2fa8c _pthread_body + 0
9 libsystem_pthread.dylib 0x0000000183d2d028 thread_start + 4
Thread 11 name: JavaScriptCore::Marking
Thread 11:
0 libsystem_kernel.dylib 0x0000000183c67f48 __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x0000000183d2ece8 _pthread_cond_wait + 648
2 libc++.1.dylib 0x00000001836c0074 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 56
3 JavaScriptCore 0x0000000187648a90 JSC::GCThread::waitForNextPhase() + 144
4 JavaScriptCore 0x0000000187648b28 JSC::GCThread::gcThreadMain() + 84
5 JavaScriptCore 0x000000018731e634 WTF::threadEntryPoint(void*) + 212
6 JavaScriptCore 0x000000018731e544 WTF::wtfThreadEntryPoint(void*) + 24
7 libsystem_pthread.dylib 0x0000000183d2fb28 _pthread_body + 156
8 libsystem_pthread.dylib 0x0000000183d2fa8c _pthread_body + 0
9 libsystem_pthread.dylib 0x0000000183d2d028 thread_start + 4
Thread 12:
0 libsystem_kernel.dylib 0x0000000183c4d4bc mach_msg_trap + 8
1 libsystem_kernel.dylib 0x0000000183c4d338 mach_msg + 72
2 CoreFoundation 0x000000018407cac0 __CFRunLoopServiceMachPort + 196
3 CoreFoundation 0x000000018407a7c4 __CFRunLoopRun + 1032
4 CoreFoundation 0x0000000183fa9680 CFRunLoopRunSpecific + 384
5 XxxxxXxxApp 0x0000000100951050 +[ASIHTTPRequest runRequests] + 176
6 Foundation 0x0000000184a87c40 __NSThread__start__ + 1000
7 libsystem_pthread.dylib 0x0000000183d2fb28 _pthread_body + 156
8 libsystem_pthread.dylib 0x0000000183d2fa8c _pthread_body + 0
9 libsystem_pthread.dylib 0x0000000183d2d028 thread_start + 4
Thread 13:
0 libsystem_kernel.dylib 0x0000000183c68b6c __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x0000000183d2d530 _pthread_wqthread + 1284
2 libsystem_pthread.dylib 0x0000000183d2d020 start_wqthread + 4
Thread 14 name: Dispatch queue: com.apple.root.default-qos
Thread 14:
0 libsystem_kernel.dylib 0x0000000183c672cc __connect + 8
1 XxxxxXxxApp 0x0000000100709640 __56-[BIMGCDAsyncSocket connectWithAddress4:address6:error:]_block_invoke + 88
2 libdispatch.dylib 0x0000000183b19630 _dispatch_call_block_and_release + 24
3 libdispatch.dylib 0x0000000183b195f0 _dispatch_client_callout + 16
4 libdispatch.dylib 0x0000000183b27a88 _dispatch_root_queue_drain + 2140
5 libdispatch.dylib 0x0000000183b27224 _dispatch_worker_thread3 + 112
6 libsystem_pthread.dylib 0x0000000183d2d470 _pthread_wqthread + 1092
7 libsystem_pthread.dylib 0x0000000183d2d020 start_wqthread + 4
Thread 15 name: Dispatch queue: com.apple.root.default-qos
Thread 15:
0 libsystem_kernel.dylib 0x0000000183c4d4f8 semaphore_wait_trap + 8
1 libdispatch.dylib 0x0000000183b2a55c _dispatch_semaphore_wait_slow + 244
2 XxxxxXxxApp 0x0000000100d962ec __55-[BBAPluginDataManager updatePluginListWithCompletion:]_block_invoke + 84
3 libdispatch.dylib 0x0000000183b19630 _dispatch_call_block_and_release + 24
4 libdispatch.dylib 0x0000000183b195f0 _dispatch_client_callout + 16
5 libdispatch.dylib 0x0000000183b27a88 _dispatch_root_queue_drain + 2140
6 libdispatch.dylib 0x0000000183b27224 _dispatch_worker_thread3 + 112
7 libsystem_pthread.dylib 0x0000000183d2d470 _pthread_wqthread + 1092
8 libsystem_pthread.dylib 0x0000000183d2d020 start_wqthread + 4
Thread 16 Crashed:
0 libsystem_kernel.dylib 0x0000000183c68b6c __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x0000000183d2d530 _pthread_wqthread + 1284
2 libsystem_pthread.dylib 0x0000000183d2d020 start_wqthread + 4
Thread 17:
0 libsystem_kernel.dylib 0x0000000183c68b6c __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x0000000183d2d530 _pthread_wqthread + 1284
2 libsystem_pthread.dylib 0x0000000183d2d020 start_wqthread + 4
Thread 18:
0 libsystem_kernel.dylib 0x0000000183c68b6c __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x0000000183d2d530 _pthread_wqthread + 1284
2 libsystem_pthread.dylib 0x0000000183d2d020 start_wqthread + 4
Thread 19:
0 libsystem_kernel.dylib 0x0000000183c68b6c __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x0000000183d2d530 _pthread_wqthread + 1284
2 libsystem_pthread.dylib 0x0000000183d2d020 start_wqthread + 4
Thread 20:
0 libsystem_kernel.dylib 0x0000000183c68440 __semwait_signal + 8
1 libsystem_c.dylib 0x0000000183b8522c nanosleep + 212
2 libc++.1.dylib 0x00000001836fe314 std::__1::this_thread::sleep_for(std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > const&) + 84
3 JavaScriptCore 0x0000000187899bf4 bmalloc::Heap::scavenge(std::__1::unique_lock<bmalloc::StaticMutex>&, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000l> >) + 188
4 JavaScriptCore 0x00000001878998a4 bmalloc::Heap::concurrentScavenge() + 84
5 JavaScriptCore 0x000000018789bde4 bmalloc::AsyncTask<bmalloc::Heap, void (bmalloc::Heap::*)()>::entryPoint() + 100
6 JavaScriptCore 0x000000018789bd74 bmalloc::AsyncTask<bmalloc::Heap, void (bmalloc::Heap::*)()>::pthreadEntryPoint(void*) + 12
7 libsystem_pthread.dylib 0x0000000183d2fb28 _pthread_body + 156
8 libsystem_pthread.dylib 0x0000000183d2fa8c _pthread_body + 0
9 libsystem_pthread.dylib 0x0000000183d2d028 thread_start + 4
Thread 21:
0 libsystem_kernel.dylib 0x0000000183c68b6c __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x0000000183d2d530 _pthread_wqthread + 1284
2 libsystem_pthread.dylib 0x0000000183d2d020 start_wqthread + 4
Thread 22:
0 libsystem_kernel.dylib 0x0000000183c68b6c __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x0000000183d2d530 _pthread_wqthread + 1284
2 libsystem_pthread.dylib 0x0000000183d2d020 start_wqthread + 4
Thread 23:
0 libsystem_c.dylib 0x0000000183bb7560 usleep$NOCANCEL + 0
1 libsystem_c.dylib 0x0000000183bd9db4 abort + 148
2 libc++abi.dylib 0x000000018370d3f4 __cxa_bad_cast + 0
3 libc++abi.dylib 0x0000000183729e98 default_unexpected_handler() + 0
4 libobjc.A.dylib 0x0000000183734248 _objc_terminate() + 124
5 libc++abi.dylib 0x0000000183726f44 std::__terminate(void (*)()) + 16
6 libc++abi.dylib 0x000000018372685c __cxxabiv1::exception_cleanup_func(_Unwind_Reason_Code, _Unwind_Exception*) + 0
7 libobjc.A.dylib 0x0000000183734094 _objc_exception_destructor(void*) + 0
8 CoreFoundation 0x0000000183faf134 CFStringConvertNSStringEncodingToEncoding + 0
9 XxxxxXxxApp 0x0000000100a5e830 -[LotumMobStatLogManager createLogHeader] + 1616
10 XxxxxXxxApp 0x0000000100a60788 -[LotumMobStatLogManager _syncSendLog:] + 204
11 XxxxxXxxApp 0x0000000100a6055c -[LotumMobStatLogManager _syncSendAllLog] + 604
12 Foundation 0x0000000184a87c40 __NSThread__start__ + 1000
13 libsystem_pthread.dylib 0x0000000183d2fb28 _pthread_body + 156
14 libsystem_pthread.dylib 0x0000000183d2fa8c _pthread_body + 0
15 libsystem_pthread.dylib 0x0000000183d2d028 thread_start + 4
Thread 16 crashed with ARM Thread State (64-bit):
x0: 0x0000000000000000 x1: 0x0000000000000000 x2: 0x0000000000000000 x3: 0x0000000000000000
x4: 0x0000000000000004 x5: 0x0000000000000000 x6: 0x000000040000000a x7: 0x0000000000000000
x8: 0x0000000000000000 x9: 0x0000000106598038 x10: 0x0000000000000000 x11: 0x0000000000000000
x12: 0x0000000000000000 x13: 0x0000000000003fff x14: 0xffffffffffffc000 x15: 0x0000000000003fff
x16: 0x0000000000000170 x17: 0x0000000183b19a50 x18: 0x0000000000000000 x19: 0x000000016e2d3000
x20: 0x0000000000000019 x21: 0x00000000800010ff x22: 0x000000000001342f x23: 0x00000001a08b4000
x24: 0x0000000000010000 x25: 0x00000001a181f000 x26: 0x0000000080000000 x27: 0x0000000000000000
x28: 0x0000000000000000 fp: 0x000000016e2d2f70 lr: 0x0000000183d2d530
sp: 0x000000016e2d2ef0 pc: 0x0000000183c68b6c cpsr: 0x40000000
Binary Images:
0x100028000 - 0x102243fff XxxxxXxxApp arm64 <c8f0d8a21f0b385f890bc7a2c06f1d0e> /var/mobile/Containers/Bundle/Application/148C5049-8883-4E9D-BB98-5498EEA95191/XxxxxXxxApp.app/XxxxxXxxApp
0x1200ec000 - 0x12011bfff dyld arm64 <9e98992ceed735e2ac4784cb28efe7c1> /usr/lib/dyld
...
EXC_CORPSE_NOTIFY is irrelevant. The important information is in the Exception Type (EXC_CRASH (SIGABRT)) and the backtrace.
0 CoreFoundation 0x1840c5900 __exceptionPreprocess + 124
1 libobjc.A.dylib 0x183733f80 objc_exception_throw + 56
2 CoreFoundation 0x183faf134 -[__NSArrayM insertObject:atIndex:] + 808
3 XxxxxXxxApp 0x100a5e830 -[LotumMobStatLogManager createLogHeader] + 1616
A crash in -[__NSArrayM insertObject:atIndex:] usually occurs when you are attempting to insert a nil object into an NSMutableArray. I'm not sure what LotumMobStatLogManager is, as you haven't provided the relevant source code. If that is an external dependency, I would reach out to the developers with this crashlog and tell them that their createLogHeader method is doing something to cause an exception, possibly attempting to insert a nil object into an NSMutableArray as I mentioned above.
There are 2 possible reasons:
1, You are trying to insert nil into that array.
2, You are trying to insert to an index which is beyond the array's range.
I am some days with a problem I can't understand.
My hybrid app communicates with a webservice that returns an encrypted text with the html to render. Then the app decrypt this text and render the WebView with the html. This html use a css file that is embedded in app.
What happend is when I debug by XCode nothing happen, but when I download the same version from App Store, the app crashes when the WebView will load. This happen only in new devices, like iPhone 6 and iPad Mini 3. In oldest devices works fine.
I'm debugging in Simulator and iPhone 6 and any problems occurs.
I tried don't use the css local file but the problem continues.
Another WebView that don't use crypted html works fine.
Do you have any idea what can be?
Should I developer a native way?
Log from device:
Incident Identifier: E614B8C5-69FC-4E29-AACE-FEF75D187EA7
CrashReporter Key: 9127443b5b7e252b878fc8c29923f969d5107916
Hardware Model: iPhone7,2
Process: process
Path: /private/var/mobile/Containers/Bundle/Application/C22501DB-99F8-463D-BD49-1D1E8829E1BA/
Identifier: br.mycompany.app
Version: 1.8.4 (1.8.4)
Code Type: ARM-64 (Native)
Parent Process: launchd [1]
Date/Time: 2015-08-12 10:20:01.561 -0300
Launch Time: 2015-08-12 10:19:52.189 -0300
OS Version: iOS 8.4 (12H143)
Report Version: 105
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x0000000000000000
Triggered by Thread: 0
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 ??? 000000000000000000 0 + 0
1 libdispatch.dylib 0x0000000194f4220c _dispatch_main_queue_callback_4CF + 1608
2 CoreFoundation 0x0000000182bab7f8 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 12
3 CoreFoundation 0x0000000182ba98a0 __CFRunLoopRun + 1492
4 CoreFoundation 0x0000000182ad52d4 CFRunLoopRunSpecific + 396
5 GraphicsServices 0x000000018c52b6fc GSEventRunModal + 168
6 UIKit 0x00000001876d2f40 UIApplicationMain + 1488
7 FAAP 0x00000001000bf098 main (main.m:16)
8 libdyld.dylib 0x0000000194f6aa08 start + 4
9 ??? 000000000000000000 0 + 0
Thread 1 name: Dispatch queue: com.apple.libdispatch-manager
Thread 1:
0 libsystem_kernel.dylib 0x0000000195068c24 kevent64 + 8
1 libdispatch.dylib 0x0000000194f4de6c _dispatch_mgr_invoke + 272
2 libdispatch.dylib 0x0000000194f3f998 _dispatch_mgr_thread + 48
Thread 2:
0 libsystem_kernel.dylib 0x0000000195083c78 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x000000019511d2d8 _pthread_wqthread + 988
2 libsystem_pthread.dylib 0x000000019511ceec start_wqthread + 0
Thread 3:
0 libsystem_kernel.dylib 0x0000000195083c78 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x000000019511d2d8 _pthread_wqthread + 988
2 libsystem_pthread.dylib 0x000000019511ceec start_wqthread + 0
Thread 4:
0 libsystem_kernel.dylib 0x0000000195083c78 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x000000019511d2d8 _pthread_wqthread + 988
2 libsystem_pthread.dylib 0x000000019511ceec start_wqthread + 0
Thread 5:
0 libsystem_kernel.dylib 0x0000000195083c78 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x000000019511d2d8 _pthread_wqthread + 988
2 libsystem_pthread.dylib 0x000000019511ceec start_wqthread + 0
Thread 6 name: WebThread
Thread 6:
0 libsystem_kernel.dylib 0x0000000195083078 __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x000000019511ef28 _pthread_cond_wait + 620
2 WebCore 0x000000019196f984 SendDelegateMessage(NSInvocation*) + 612
3 CoreFoundation 0x0000000182bf7f68 ___forwarding___ + 436
4 CoreFoundation 0x0000000182afacc8 _CF_forwarding_prep_0 + 88
5 WebKitLegacy 0x000000019282b0b0 WebFrameLoaderClient::dispatchDecidePolicyForNavigationAction(WebCore::NavigationAction const&, WebCore::ResourceRequest const&, WTF::PassRefPtr<WebCore::FormState>, std::__1::function<void (WebCore::PolicyAction)>) + 324
6 WebCore 0x0000000192343448 WebCore::PolicyChecker::checkNavigationPolicy(WebCore::ResourceRequest const&, WebCore::DocumentLoader*, WTF::PassRefPtr<WebCore::FormState>, std::__1::function<void (WebCore::ResourceRequest const&, WTF::PassRefPtr<WebCore::FormState>, bool)>) + 1616
7 WebCore 0x0000000191979fa4 WebCore::FrameLoader::loadWithDocumentLoader(WebCore::DocumentLoader*, WebCore::FrameLoadType, WTF::PassRefPtr<WebCore::FormState>) + 992
8 WebCore 0x00000001919aef64 WebCore::FrameLoader::load(WebCore::DocumentLoader*) + 268
9 WebCore 0x00000001919aedf0 WebCore::FrameLoader::load(WebCore::FrameLoadRequest const&) + 1624
10 WebKitLegacy 0x000000019282938c -[WebFrame _loadData:MIMEType:textEncodingName:baseURL:unreachableURL:] + 1712
11 WebCore 0x000000019262b824 HandleRunSource(void*) + 364
12 CoreFoundation 0x0000000182bac23c __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 20
13 CoreFoundation 0x0000000182bab4e0 __CFRunLoopDoSources0 + 260
14 CoreFoundation 0x0000000182ba9590 __CFRunLoopRun + 708
15 CoreFoundation 0x0000000182ad52d0 CFRunLoopRunSpecific + 392
16 WebCore 0x00000001919542e0 RunWebThread(void*) + 464
17 libsystem_pthread.dylib 0x000000019511fdc4 _pthread_body + 160
18 libsystem_pthread.dylib 0x000000019511fd20 _pthread_start + 156
19 libsystem_pthread.dylib 0x000000019511cef4 thread_start + 0
Thread 7:
0 libsystem_kernel.dylib 0x0000000195083c78 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x000000019511d2d8 _pthread_wqthread + 988
2 libsystem_pthread.dylib 0x000000019511ceec start_wqthread + 0
Thread 8:
0 libsystem_kernel.dylib 0x0000000195083c78 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x000000019511d2d8 _pthread_wqthread + 988
2 libsystem_pthread.dylib 0x000000019511ceec start_wqthread + 0
Thread 9 name: AFNetworking
Thread 9:
0 libsystem_kernel.dylib 0x0000000195068e0c mach_msg_trap + 8
1 libsystem_kernel.dylib 0x0000000195068c84 mach_msg + 68
2 CoreFoundation 0x0000000182bab720 __CFRunLoopServiceMachPort + 196
3 CoreFoundation 0x0000000182ba9674 __CFRunLoopRun + 936
4 CoreFoundation 0x0000000182ad52d0 CFRunLoopRunSpecific + 392
5 Foundation 0x0000000183a0d4c4 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 312
6 Foundation 0x0000000183a6780c -[NSRunLoop(NSRunLoop) run] + 92
7 FAAP 0x00000001000e12c8 +[AFURLConnectionOperation networkRequestThreadEntryPoint:] (AFURLConnectionOperation.m:171)
8 Foundation 0x0000000183af5db4 __NSThread__main__ + 1068
9 libsystem_pthread.dylib 0x000000019511fdc4 _pthread_body + 160
10 libsystem_pthread.dylib 0x000000019511fd20 _pthread_start + 156
11 libsystem_pthread.dylib 0x000000019511cef4 thread_start + 0
Thread 10 name: com.apple.NSURLConnectionLoader
Thread 10:
0 libsystem_kernel.dylib 0x0000000195068e0c mach_msg_trap + 8
1 libsystem_kernel.dylib 0x0000000195068c84 mach_msg + 68
2 CoreFoundation 0x0000000182bab720 __CFRunLoopServiceMachPort + 196
3 CoreFoundation 0x0000000182ba9674 __CFRunLoopRun + 936
4 CoreFoundation 0x0000000182ad52d0 CFRunLoopRunSpecific + 392
5 CFNetwork 0x00000001825b2590 +[NSURLConnection(Loader) _resourceLoadLoop:] + 436
6 Foundation 0x0000000183af5db4 __NSThread__main__ + 1068
7 libsystem_pthread.dylib 0x000000019511fdc4 _pthread_body + 160
8 libsystem_pthread.dylib 0x000000019511fd20 _pthread_start + 156
9 libsystem_pthread.dylib 0x000000019511cef4 thread_start + 0
Thread 11 name: JavaScriptCore::BlockFree
Thread 11:
0 libsystem_kernel.dylib 0x0000000195083078 __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x000000019511ef28 _pthread_cond_wait + 620
2 libc++.1.dylib 0x000000019403cd5c std::__1::condition_variable::__do_timed_wait(std::__1::unique_lock<std::__1::mutex>&, std::__1::chrono::time_point<std::__1::chrono::system_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > >) + 136
3 JavaScriptCore 0x0000000184232574 JSC::BlockAllocator::waitForDuration(std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000l> >) + 176
4 JavaScriptCore 0x00000001840c9588 JSC::BlockAllocator::blockFreeingThreadMain() + 76
5 JavaScriptCore 0x00000001840c4b9c WTF::wtfThreadEntryPoint(void*) + 20
6 libsystem_pthread.dylib 0x000000019511fdc4 _pthread_body + 160
7 libsystem_pthread.dylib 0x000000019511fd20 _pthread_start + 156
8 libsystem_pthread.dylib 0x000000019511cef4 thread_start + 0
Thread 12 name: JavaScriptCore::Marking
Thread 12:
0 libsystem_kernel.dylib 0x0000000195083078 __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x000000019511ef28 _pthread_cond_wait + 620
2 libc++.1.dylib 0x000000019403ccac std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 52
3 JavaScriptCore 0x0000000184372edc JSC::GCThread::waitForNextPhase() + 152
4 JavaScriptCore 0x0000000184372f80 JSC::GCThread::gcThreadMain() + 88
5 JavaScriptCore 0x00000001840c4b9c WTF::wtfThreadEntryPoint(void*) + 20
6 libsystem_pthread.dylib 0x000000019511fdc4 _pthread_body + 160
7 libsystem_pthread.dylib 0x000000019511fd20 _pthread_start + 156
8 libsystem_pthread.dylib 0x000000019511cef4 thread_start + 0
Thread 13 name: com.apple.CFSocket.private
Thread 13:
0 libsystem_kernel.dylib 0x0000000195083498 __select + 8
1 CoreFoundation 0x0000000182bb1124 __CFSocketManager + 668
2 libsystem_pthread.dylib 0x000000019511fdc4 _pthread_body + 160
3 libsystem_pthread.dylib 0x000000019511fd20 _pthread_start + 156
4 libsystem_pthread.dylib 0x000000019511cef4 thread_start + 0
Thread 14 name: WebCore: CFNetwork Loader
Thread 14:
0 libsystem_kernel.dylib 0x0000000195068e0c mach_msg_trap + 8
1 libsystem_kernel.dylib 0x0000000195068c84 mach_msg + 68
2 CoreFoundation 0x0000000182bab720 __CFRunLoopServiceMachPort + 196
3 CoreFoundation 0x0000000182ba9674 __CFRunLoopRun + 936
4 CoreFoundation 0x0000000182ad52d0 CFRunLoopRunSpecific + 392
5 WebCore 0x00000001919884ec WebCore::runLoaderThread(void*) + 284
6 JavaScriptCore 0x00000001840c4b9c WTF::wtfThreadEntryPoint(void*) + 20
7 libsystem_pthread.dylib 0x000000019511fdc4 _pthread_body + 160
8 libsystem_pthread.dylib 0x000000019511fd20 _pthread_start + 156
9 libsystem_pthread.dylib 0x000000019511cef4 thread_start + 0
Thread 0 crashed with ARM Thread State (64-bit):
x0: 0x0000000000000000 x1: 0x0000000000000000 x2: 0x00000000000084aa x3: 0x00000001950bda74
x4: 0x000000016fd666e8 x5: 0x0000000000000000 x6: 0x0000000000000000 x7: 0x0000000000000000
x8: 0x0000000000000000 x9: 0x00000001702a66c8 x10: 0x0000000000000000 x11: 0x0000000000000000
x12: 0x0000000000000023 x13: 0x0000000000000023 x14: 0x0000000000003fff x15: 0x0000000000000000
x16: 0xffffffffffffffc3 x17: 0x00000001948da6b8 x18: 0x0000000000000000 x19: 0x0000000044000000
x20: 0x000000016fd66b3b x21: 0x0000000000000000 x22: 0x0000000000000000 x23: 0x00000001701439d0
x24: 0x00000001990b0780 x25: 0x000000016fd66b40 x26: 0x00000001990b07c0 x27: 0x0000000000000000
x28: 0x46b2400000000000 fp: 0x000000016fd66b00 lr: 0x0000000194f3d954
sp: 0x000000016fd66af0 pc: 0x0000000000000000 cpsr: 0x80000000
I am unable to diagnose this crash log, which occurs when using the AVPlayer class-- sometimes it happens right away, and sometimes it happens when trying to play the 2nd or 3rd video..
Incident Identifier: 4E82E665-228D-4A97-8B85-6F5B65E2B457
CrashReporter Key: 46be3f0cd4d380b2ce08823fedd6d6d22c38df2f
Hardware Model: iPad4,2
Process: App [2433]
Path: /private/var/mobile/Containers/Bundle/Application/66E1EFE7-1BD0-4CE3-8FEF-47D58C36ADF7/App.app/App
Identifier: SXX.app
Version: 1.3 (1.3)
Code Type: ARM-64 (Native)
Parent Process: launchd [1]
Date/Time: 2015-03-31 15:59:07.361 -0700
Launch Time: 2015-03-31 15:57:50.272 -0700
OS Version: iOS 8.2 (12D508)
Report Version: 105
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Triggered by Thread: 6
Last Exception Backtrace:
0 CoreFoundation 0x18530a530 __exceptionPreprocess + 132
1 libobjc.A.dylib 0x1964280e4 objc_exception_throw + 60
2 CoreFoundation 0x18530a470 +[NSException raise:format:] + 128
3 Foundation 0x1861865e0 NSKVODeallocate + 340
4 AVFoundation 0x183b27b38 __destroy_helper_block_1474 + 28
5 libsystem_blocks.dylib 0x196ad1910 _Block_release + 256
6 libdispatch.dylib 0x196a79954 _dispatch_client_callout + 16
7 libdispatch.dylib 0x196a7e20c _dispatch_main_queue_callback_4CF + 1608
8 CoreFoundation 0x1852c22ec __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 12
9 CoreFoundation 0x1852c0394 __CFRunLoopRun + 1492
10 CoreFoundation 0x1851ed1f4 CFRunLoopRunSpecific + 396
11 GraphicsServices 0x18e51f6fc GSEventRunModal + 168
12 UIKit 0x189b7e10c UIApplicationMain + 1488
13 App 0x10001d4ac main (main.m:8)
14 libdyld.dylib 0x196aa6a08 start + 4
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0:
0 libsystem_kernel.dylib 0x0000000196bbf594 __semwait_signal_nocancel + 8
1 libsystem_c.dylib 0x0000000196aef1a0 nanosleep$NOCANCEL + 200
2 libsystem_c.dylib 0x0000000196b142b8 usleep$NOCANCEL + 64
3 libsystem_c.dylib 0x0000000196b36b1c abort + 116
4 App 0x0000000100042b50 uncaught_exception_handler + 32
5 CoreFoundation 0x000000018530a8ec __handleUncaughtException + 688
6 libobjc.A.dylib 0x00000001964283b0 _objc_terminate() + 112
7 libc++abi.dylib 0x0000000195c25bb0 std::__terminate(void (*)()) + 12
8 libc++abi.dylib 0x0000000195c25474 __cxa_throw + 132
9 libobjc.A.dylib 0x0000000196428200 objc_exception_throw + 344
10 CoreFoundation 0x000000018530a46c +[NSException raise:format:] + 124
11 Foundation 0x00000001861865dc NSKVODeallocate + 336
12 AVFoundation 0x0000000183b27b34 __destroy_helper_block_1474 + 24
13 libsystem_blocks.dylib 0x0000000196ad190c _Block_release + 252
14 libdispatch.dylib 0x0000000196a79950 _dispatch_client_callout + 12
15 libdispatch.dylib 0x0000000196a7e208 _dispatch_main_queue_callback_4CF + 1604
16 CoreFoundation 0x00000001852c22e8 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 8
17 CoreFoundation 0x00000001852c0390 __CFRunLoopRun + 1488
18 CoreFoundation 0x00000001851ed1f0 CFRunLoopRunSpecific + 392
19 GraphicsServices 0x000000018e51f6f8 GSEventRunModal + 164
20 UIKit 0x0000000189b7e108 UIApplicationMain + 1484
21 App 0x000000010001d4a8 main (main.m:8)
22 libdyld.dylib 0x0000000196aa6a04 start + 0
Thread 1 name: Dispatch queue: com.apple.libdispatch-manager
Thread 1:
0 libsystem_kernel.dylib 0x0000000196ba4c24 kevent64 + 8
1 libdispatch.dylib 0x0000000196a89e6c _dispatch_mgr_invoke + 272
2 libdispatch.dylib 0x0000000196a7b998 _dispatch_mgr_thread + 48
Thread 2 name: com.apple.NSURLConnectionLoader
Thread 2:
0 libsystem_kernel.dylib 0x0000000196ba4e0c mach_msg_trap + 8
1 libsystem_kernel.dylib 0x0000000196ba4c84 mach_msg + 68
2 CoreFoundation 0x00000001852c2214 __CFRunLoopServiceMachPort + 196
3 CoreFoundation 0x00000001852c0168 __CFRunLoopRun + 936
4 CoreFoundation 0x00000001851ed1f0 CFRunLoopRunSpecific + 392
5 CFNetwork 0x0000000184cee2a0 +[NSURLConnection(Loader) _resourceLoadLoop:] + 436
6 Foundation 0x0000000186202304 __NSThread__main__ + 1068
7 libsystem_pthread.dylib 0x0000000196c5bdc4 _pthread_body + 160
8 libsystem_pthread.dylib 0x0000000196c5bd20 _pthread_start + 156
9 libsystem_pthread.dylib 0x0000000196c58ef4 thread_start + 0
Thread 3:
0 libsystem_kernel.dylib 0x0000000196bbfc78 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x0000000196c592d8 _pthread_wqthread + 988
2 libsystem_pthread.dylib 0x0000000196c58eec start_wqthread + 0
Thread 4 name: com.apple.CFSocket.private
Thread 4:
0 libsystem_kernel.dylib 0x0000000196bbf498 __select + 8
1 CoreFoundation 0x00000001852c7c0c __CFSocketManager + 656
2 libsystem_pthread.dylib 0x0000000196c5bdc4 _pthread_body + 160
3 libsystem_pthread.dylib 0x0000000196c5bd20 _pthread_start + 156
4 libsystem_pthread.dylib 0x0000000196c58ef4 thread_start + 0
Thread 5 name: com.apple.coremedia.player.remote
Thread 5:
0 libsystem_kernel.dylib 0x0000000196ba4e0c mach_msg_trap + 8
1 libsystem_kernel.dylib 0x0000000196ba4c84 mach_msg + 68
2 MediaToolbox 0x00000001876efe7c FigExpressNotificationThread + 100
3 CoreMedia 0x0000000185b22028 figThreadMain + 244
4 libsystem_pthread.dylib 0x0000000196c5bdc4 _pthread_body + 160
5 libsystem_pthread.dylib 0x0000000196c5bd20 _pthread_start + 156
6 libsystem_pthread.dylib 0x0000000196c58ef4 thread_start + 0
Thread 6 Crashed:
0 libsystem_kernel.dylib 0x0000000196bbfc78 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x0000000196c592d8 _pthread_wqthread + 988
2 libsystem_pthread.dylib 0x0000000196c58eec start_wqthread + 0
Thread 7:
0 libsystem_kernel.dylib 0x0000000196bbfc78 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x0000000196c592d8 _pthread_wqthread + 988
2 libsystem_pthread.dylib 0x0000000196c58eec start_wqthread + 0
Thread 8 name: com.apple.coremedia.player.async
Thread 8:
0 libsystem_kernel.dylib 0x0000000196ba4e48 semaphore_wait_trap + 8
1 libdispatch.dylib 0x0000000196a87f3c _dispatch_semaphore_wait_slow + 252
2 MediaToolbox 0x00000001876e95bc fpa_AsyncMovieControlThread + 1952
3 CoreMedia 0x0000000185b22028 figThreadMain + 244
4 libsystem_pthread.dylib 0x0000000196c5bdc4 _pthread_body + 160
5 libsystem_pthread.dylib 0x0000000196c5bd20 _pthread_start + 156
6 libsystem_pthread.dylib 0x0000000196c58ef4 thread_start + 0
Thread 9 name: com.apple.coremedia.player.async
Thread 9:
0 libsystem_kernel.dylib 0x0000000196ba4e48 semaphore_wait_trap + 8
1 libdispatch.dylib 0x0000000196a87f3c _dispatch_semaphore_wait_slow + 252
2 MediaToolbox 0x00000001876e95bc fpa_AsyncMovieControlThread + 1952
3 CoreMedia 0x0000000185b22028 figThreadMain + 244
4 libsystem_pthread.dylib 0x0000000196c5bdc4 _pthread_body + 160
5 libsystem_pthread.dylib 0x0000000196c5bd20 _pthread_start + 156
6 libsystem_pthread.dylib 0x0000000196c58ef4 thread_start + 0
Thread 10:
0 libsystem_kernel.dylib 0x0000000196bbfc78 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x0000000196c592d8 _pthread_wqthread + 988
2 libsystem_pthread.dylib 0x0000000196c58eec start_wqthread + 0
Thread 11:
0 libsystem_kernel.dylib 0x0000000196bbfc78 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x0000000196c592d8 _pthread_wqthread + 988
2 libsystem_pthread.dylib 0x0000000196c58eec start_wqthread + 0
Thread 6 crashed with ARM Thread State (64-bit):
x0: 0x0000000000000004 x1: 0x0000000000000000 x2: 0x0000000000000000 x3: 0x0000000000000000
x4: 0x0000000000002d1f x5: 0x0000000000000000 x6: 0x0000000000000000 x7: 0x0000000000000000
x8: 0x0000000000000000 x9: 0x6800a3c4679d3eb0 x10: 0x0000000000000015 x11: 0x0000000000000000
x12: 0x000000012d0ea200 x13: 0x000000019ab850d8 x14: 0x0000000000000000 x15: 0x0000000000000001
x16: 0x0000000000000170 x17: 0x00000001964426b8 x18: 0x0000000000000000 x19: 0x000000010469c000
x20: 0x0000000000000009 x21: 0x00000000800002ff x22: 0x0000000000009f0f x23: 0x0000000000010000
x24: 0x000000019abab000 x25: 0x0000000000000000 x26: 0x0000000000000000 x27: 0x0000000000000000
x28: 0x0000000000000000 fp: 0x000000010469bf70 lr: 0x0000000196c592dc
sp: 0x000000010469bf10 pc: 0x0000000196bbfc78 cpsr: 0x40000000
Crash logs like this can be unhelpful. The most likely culprit is a nil pointer somewhere in your code. You may have no option but to step through your code with a debugger making sure that all your variables have the values you expect them to have.