Closed louistran99 closed 9 years ago
Can you symbolicate your crash report so I can see which methods made your app crashes?
the .dSYM file is included with the TestFlight build which is meant to symbolicate the crash report. However, as you can see it doesn't for some reason. I did hook up the TestFlight build to Xcode and get the NSLog out to the console -- "Devices" -> "Louis Tran's iPhone" on the left panel -> "the triangle at the bottom left". Here's the output on the console:
Nov 6 17:01:57 Louis-Trans-iPhone Postlets[1092]
There is a bunch of calls in the SCRecordSession that use "objectAtIndex:". It may be possible that you modified the SCRecordSession's recordSegments outside of the SCRecorder dispatchQueue. The API is not very clear that you can only modify these values when the SCRecordSession is not inside an SCRecorder. I changed a bunch of stuff on the last version I pushed today (2.1.4), and the SCRecordSession is now freely modifiable even when it is set inside an SCRecorder.
Can you check if the issue has been fixed with the work I have done? If it's not, we will try something else.
Thanks. I'll check it out.
Are you still having this problem?
?I no longer have this problem.
From: Simon CORSIN notifications@github.com Sent: Wednesday, November 26, 2014 9:15 AM To: rFlex/SCRecorder Cc: Louis Tran Subject: Re: [SCRecorder] Crash only when Testflight (compiled and run OK via Xcode) (#78)
Are you still having this problem?
Reply to this email directly or view it on GitHubhttps://github.com/rFlex/SCRecorder/issues/78#issuecomment-64679462.
App runs great when I build it in Xcode but crashed when I distribute to beta testers via TestFlight. The crash report is as follow:
Thread 2 name: Dispatch queue: me.corsin.SCRecorder.RecordSession Thread 2 Crashed: 0 libsystem_kernel.dylib 0x36069dfc pthread_kill + 8 1 libsystem_pthread.dylib 0x360e7d32 pthread_kill + 58 2 libsystem_c.dylib 0x36009904 abort + 72 3 libc++abi.dylib 0x353449c4 abort_message + 84 4 libc++abi.dylib 0x3535e66c default_terminate_handler() + 264 5 libobjc.A.dylib 0x35a23f22 _objc_terminate() + 190 6 libc++abi.dylib 0x3535bde0 std::terminate(void (*)()) + 76 7 libc++abi.dylib 0x3535b5a4 cxa_throw + 108 8 libobjc.A.dylib 0x35a23d5a objc_exception_throw + 246 9 CoreFoundation 0x2818d834 -[NSArrayM objectAtIndex:] + 228 10 Postlets 0x000d294c 0xa4000 + 190796 11 Postlets 0x000d2b4e 0xa4000 + 191310 12 Postlets 0x00320c7a 0xa4000 + 2608250 13 Postlets 0x00324950 0xa4000 + 2623824 14 Postlets 0x00325474 0xa4000 + 2626676 15 libdispatch.dylib 0x35f837b8 _dispatch_call_block_and_release + 8 16 libdispatch.dylib 0x35f8b5ac _dispatch_queue_drain + 948 17 libdispatch.dylib 0x35f85f80 _dispatch_queue_invoke + 80 18 libdispatch.dylib 0x35f8cb98 _dispatch_root_queue_drain + 336 19 libdispatch.dylib 0x35f8dcd2 _dispatch_worker_thread3 + 90 20 libsystem_pthread.dylib 0x360e4e2e _pthread_wqthread + 666 21 libsystem_pthread.dylib 0x360e4b80 start_wqthread + 4
Here's how I set up the SCRecorder and SCRecordSession:
Any pointer as to why SCRecorder crashes under Testflight built is appreciated...