So I’m looking at my crash logs for my app trying to figure out what it might doing. Here is an example. Read from the bottom up, and it stops at (2)
0 Little Digits 0x00214aaa _ZNSt6vectorIP24ofxiPhoneExternalDisplaySaIS1_EED1Ev + 1694
1 Little Digits 0x002156d4 _ZNSt6vectorIP24ofxiPhoneExternalDisplaySaIS1_EED1Ev + 4808
2 libsystem_c.dylib 0x34f2a7ec _sigtramp + 48
3 Little Digits 0x00000000 + 0
4 AudioToolbox 0x353db48e _ZN10AUIOHelper20NotifyInputAvailableERK14AudioTimeStampmRK15AudioBufferList + 374
5 AudioToolbox 0x353cb792 _ZN10AURemoteIO9PerformIOEjjRK15XAudioTimeStampS2_Ri + 462
6 AudioToolbox 0x353cba96 AURIOCallbackReceiver_PerformIO + 198
7 AudioToolbox 0x353c2a24 _XPerformIO + 184
8 AudioToolbox 0x3532bce2 mshMIGPerform + 374
9 AudioToolbox 0x35396b9c MSHMIGDispatchMessage + 28
10 AudioToolbox 0x353cb2f0 _ZN10AURemoteIO8IOThread3RunEv + 64
11 AudioToolbox 0x353cef48 _ZN10AURemoteIO8IOThread5EntryEPv + 8
12 AudioToolbox 0x3530bca2 _ZN9CAPThread5EntryEPS_ + 214
13 libsystem_c.dylib 0x34ee1734 _pthread_start + 320
14 libsystem_c.dylib 0x34ee15ef thread_start + 7
The only thing I can see there stepping through is:
NotifyInputAvailableERK14AudioTimeStampmRK15AudioBufferList
I just found this on google
http://stackoverflow.com/questions/7354964/intermittent-crash-in-recordingcallback-on-app-launch
perhaps related?
my code looks a bit like this:
class soundRecording: public ofBaseSoundInput{
init(){
soundStream.setInput(this);
soundStream.setup(0, 1, sampleRate, startBufferSize, 4);
}
}
Any thoughts appreciated. Thanks.