Skip to content

Instantly share code, notes, and snippets.

@JALsnipe
Created January 21, 2015 17:42
Show Gist options
  • Select an option

  • Save JALsnipe/1577094029661130eb3a to your computer and use it in GitHub Desktop.

Select an option

Save JALsnipe/1577094029661130eb3a to your computer and use it in GitHub Desktop.
VideoCore 8.1.2 (12B440)
2015-01-21 12:37:30.095 SampleBroadcaster[339:137898] Creating context
2015-01-21 12:37:30.264 SampleBroadcaster[339:137898] Context creation succeeded
Apple::AudioMixer(lldb) bt all
* thread #1: tid = 0x21aaa, 0x331c1518 libsystem_kernel.dylib`mach_msg_trap + 20, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
* frame #0: 0x331c1518 libsystem_kernel.dylib`mach_msg_trap + 20
frame #1: 0x331c1310 libsystem_kernel.dylib`mach_msg + 40
frame #2: 0x252c759a CoreFoundation`__CFRunLoopServiceMachPort + 146
frame #3: 0x252c5b60 CoreFoundation`__CFRunLoopRun + 1016
frame #4: 0x25212b30 CoreFoundation`CFRunLoopRunSpecific + 476
frame #5: 0x25212942 CoreFoundation`CFRunLoopRunInMode + 106
frame #6: 0x23e6b5ec AVFoundation`-[AVRunLoopCondition _waitInMode:untilDate:] + 428
frame #7: 0x23e552ea AVFoundation`-[AVCaptureSession _buildAndRunGraph] + 1446
frame #8: 0x23e4f54e AVFoundation`-[AVCaptureSession _commitConfiguration] + 86
frame #9: 0x00041db2 SampleBroadcaster`videocore::iOS::CameraSource::toggleCamera(this=0x17d97e7c) + 454 at CameraSource.mm:296
frame #10: 0x0008f04c SampleBroadcaster`-[VCSimpleSession setCameraState:](self=0x17d9c1d0, _cmd=0x301ba8ad, cameraState=VCCameraStateFront) + 120 at VCSimpleSession.mm:234
frame #11: 0x0003b200 SampleBroadcaster`-[ViewController changeCamera:](self=0x17d8aa20, _cmd=0x000a73c9, sender=0x17d81b60) + 180 at ViewController.mm:100
frame #12: 0x287da196 UIKit`-[UIApplication sendAction:to:from:forEvent:] + 70
frame #13: 0x287da138 UIKit`-[UIControl sendAction:to:forEvent:] + 44
frame #14: 0x287c4d1c UIKit`-[UIControl _sendActionsForEvents:withEvent:] + 584
frame #15: 0x287d9b68 UIKit`-[UIControl touchesEnded:withEvent:] + 584
frame #16: 0x287d9842 UIKit`-[UIWindow _sendTouchesForEvent:] + 522
frame #17: 0x287d3150 UIKit`-[UIWindow sendEvent:] + 540
frame #18: 0x287a98c4 UIKit`-[UIApplication sendEvent:] + 196
frame #19: 0x28a1d372 UIKit`_UIApplicationHandleEventFromQueueEvent + 13874
frame #20: 0x287a8306 UIKit`_UIApplicationHandleEventQueue + 1294
frame #21: 0x252c7fd6 CoreFoundation`__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 14
frame #22: 0x252c73ea CoreFoundation`__CFRunLoopDoSources0 + 222
frame #23: 0x252c5a68 CoreFoundation`__CFRunLoopRun + 768
frame #24: 0x25212b30 CoreFoundation`CFRunLoopRunSpecific + 476
frame #25: 0x25212942 CoreFoundation`CFRunLoopRunInMode + 106
frame #26: 0x2c5f2050 GraphicsServices`GSEventRunModal + 136
frame #27: 0x288086f0 UIKit`UIApplicationMain + 1440
frame #28: 0x0003b3de SampleBroadcaster`main(argc=1, argv=0x0025aa4c) + 110 at main.m:33
thread #3: tid = 0x21b22, 0x331d59cc libsystem_kernel.dylib`__workq_kernreturn + 8
frame #0: 0x331d59cc libsystem_kernel.dylib`__workq_kernreturn + 8
frame #1: 0x33251ea0 libsystem_pthread.dylib`_pthread_wqthread + 792
frame #2: 0x33251b78 libsystem_pthread.dylib`start_wqthread + 8
thread #4: tid = 0x21b23, 0x331d59cc libsystem_kernel.dylib`__workq_kernreturn + 8
frame #0: 0x331d59cc libsystem_kernel.dylib`__workq_kernreturn + 8
frame #1: 0x33251ea0 libsystem_pthread.dylib`_pthread_wqthread + 792
thread #5: tid = 0x21b29, 0x331c12c8 libsystem_kernel.dylib`kevent64 + 24, queue = 'com.apple.libdispatch-manager'
frame #0: 0x331c12c8 libsystem_kernel.dylib`kevent64 + 24
frame #1: 0x004d2658 libdispatch.dylib`_dispatch_mgr_invoke + 280
frame #2: 0x004c74c2 libdispatch.dylib`_dispatch_mgr_thread + 38
thread #6: tid = 0x21b2c, 0x331d519c libsystem_kernel.dylib`__semwait_signal + 24, name = 'gputools.smt_poll.0x17d84760'
frame #0: 0x331d519c libsystem_kernel.dylib`__semwait_signal + 24
frame #1: 0x33134de4 libsystem_c.dylib`nanosleep + 172
frame #2: 0x33134d32 libsystem_c.dylib`usleep + 50
frame #3: 0x0051036c GPUToolsCore`smt_poll_thread_entry(void*) + 124
frame #4: 0x33253e66 libsystem_pthread.dylib`_pthread_body + 138
frame #5: 0x33253dda libsystem_pthread.dylib`_pthread_start + 118
frame #6: 0x33251b84 libsystem_pthread.dylib`thread_start + 8
thread #7: tid = 0x21b2d, 0x331d59cc libsystem_kernel.dylib`__workq_kernreturn + 8
frame #0: 0x331d59cc libsystem_kernel.dylib`__workq_kernreturn + 8
frame #1: 0x33251ea0 libsystem_pthread.dylib`_pthread_wqthread + 792
thread #8: tid = 0x21b33, 0x331d59cc libsystem_kernel.dylib`__workq_kernreturn + 8
frame #0: 0x331d59cc libsystem_kernel.dylib`__workq_kernreturn + 8
frame #1: 0x33251ea0 libsystem_pthread.dylib`_pthread_wqthread + 792
thread #9: tid = 0x21b54, 0x331d4b38 libsystem_kernel.dylib`__psynch_cvwait + 24, name = 'com.videocore.audiomix'
frame #0: 0x331d4b38 libsystem_kernel.dylib`__psynch_cvwait + 24
frame #1: 0x332533e0 libsystem_pthread.dylib`_pthread_cond_wait + 520
frame #2: 0x332542b0 libsystem_pthread.dylib`pthread_cond_wait + 40
frame #3: 0x3233cfa8 libc++.1.dylib`std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 36
frame #4: 0x0005689a SampleBroadcaster`videocore::JobQueue::thread(this=0x17e25e10) + 394 at JobQueue.hpp:113
frame #5: 0x0005670c SampleBroadcaster`videocore::JobQueue::JobQueue(this=0x17e26350)::'lambda'()::operator()() const + 16 at JobQueue.hpp:64
frame #6: 0x000565ca SampleBroadcaster`std::__1::__thread_proxy<std::__1::tuple<videocore::JobQueue::JobQueue(__vp=0x17e26350)::'lambda'()> >(void*, void*) + 258 at memory:2602
frame #7: 0x33253e66 libsystem_pthread.dylib`_pthread_body + 138
frame #8: 0x33253dda libsystem_pthread.dylib`_pthread_start + 118
thread #10: tid = 0x21b55, 0x331d4b38 libsystem_kernel.dylib`__psynch_cvwait + 24, name = 'com.videocore.audiomixer'
frame #0: 0x331d4b38 libsystem_kernel.dylib`__psynch_cvwait + 24
frame #1: 0x332533e0 libsystem_pthread.dylib`_pthread_cond_wait + 520
frame #2: 0x332542f0 libsystem_pthread.dylib`pthread_cond_timedwait + 44
frame #3: 0x3233d078 libc++.1.dylib`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<1ll, 1000000000ll> > >) + 184
frame #4: 0x0004d55c SampleBroadcaster`std::__1::cv_status std::__1::condition_variable::wait_for<long long, std::__1::ratio<1ll, 1000000000ll> >(this=0x17e25f44, __lk=0x034c19c0, __d=0x034c17b0) + 1860 at __mutex_base:381
frame #5: 0x0004cd74 SampleBroadcaster`std::__1::cv_status std::__1::condition_variable::wait_until<std::__1::chrono::steady_clock, std::__1::chrono::duration<long long, std::__1::ratio<1ll, 1000000000ll> > >(this=0x17e25f44, __lk=0x034c19c0, __t=0x17e25ef4) + 216 at __mutex_base:349
frame #6: 0x000590a6 SampleBroadcaster`videocore::GenericAudioMixer::mixThread(this=0x17e25dfc) + 2238 at GenericAudioMixer.cpp:433
frame #7: 0x0005bbe4 SampleBroadcaster`videocore::GenericAudioMixer::GenericAudioMixer(this=0x17e249a0)::$_0::operator()() const + 40 at GenericAudioMixer.cpp:114
frame #8: 0x0005ba8a SampleBroadcaster`std::__1::__thread_proxy<std::__1::tuple<videocore::GenericAudioMixer::GenericAudioMixer(__vp=0x17e249a0)::$_0> >(void*, void*) + 258 at memory:2602
frame #9: 0x33253e66 libsystem_pthread.dylib`_pthread_body + 138
frame #10: 0x33253dda libsystem_pthread.dylib`_pthread_start + 118
thread #11: tid = 0x21b56, 0x331d4b38 libsystem_kernel.dylib`__psynch_cvwait + 24, name = 'com.videocore.composite'
frame #0: 0x331d4b38 libsystem_kernel.dylib`__psynch_cvwait + 24
frame #1: 0x332533e0 libsystem_pthread.dylib`_pthread_cond_wait + 520
frame #2: 0x332542b0 libsystem_pthread.dylib`pthread_cond_wait + 40
frame #3: 0x3233cfa8 libc++.1.dylib`std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 36
frame #4: 0x0005689a SampleBroadcaster`videocore::JobQueue::thread(this=0x17e24560) + 394 at JobQueue.hpp:113
frame #5: 0x0005670c SampleBroadcaster`videocore::JobQueue::JobQueue(this=0x17d9df10)::'lambda'()::operator()() const + 16 at JobQueue.hpp:64
frame #6: 0x000565ca SampleBroadcaster`std::__1::__thread_proxy<std::__1::tuple<videocore::JobQueue::JobQueue(__vp=0x17d9df10)::'lambda'()> >(void*, void*) + 258 at memory:2602
frame #7: 0x33253e66 libsystem_pthread.dylib`_pthread_body + 138
frame #8: 0x33253dda libsystem_pthread.dylib`_pthread_start + 118
thread #12: tid = 0x21b5e, 0x331d59cc libsystem_kernel.dylib`__workq_kernreturn + 8
frame #0: 0x331d59cc libsystem_kernel.dylib`__workq_kernreturn + 8
frame #1: 0x33251ea0 libsystem_pthread.dylib`_pthread_wqthread + 792
thread #13: tid = 0x21b61, 0x331d4b38 libsystem_kernel.dylib`__psynch_cvwait + 24, name = 'com.videocore.compositeloop'
frame #0: 0x331d4b38 libsystem_kernel.dylib`__psynch_cvwait + 24
frame #1: 0x332533e0 libsystem_pthread.dylib`_pthread_cond_wait + 520
frame #2: 0x332542f0 libsystem_pthread.dylib`pthread_cond_timedwait + 44
frame #3: 0x3233d078 libc++.1.dylib`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<1ll, 1000000000ll> > >) + 184
frame #4: 0x0004d55c SampleBroadcaster`std::__1::cv_status std::__1::condition_variable::wait_for<long long, std::__1::ratio<1ll, 1000000000ll> >(this=0x17e24688, __lk=0x03eb9bf0, __d=0x03eb9aa0) + 1860 at __mutex_base:381
frame #5: 0x0004cd74 SampleBroadcaster`std::__1::cv_status std::__1::condition_variable::wait_until<std::__1::chrono::steady_clock, std::__1::chrono::duration<long long, std::__1::ratio<1ll, 1000000000ll> > >(this=0x17e24688, __lk=0x03eb9bf0, __t=0x17e24720) + 216 at __mutex_base:349
frame #6: 0x0004639a SampleBroadcaster`videocore::iOS::GLESVideoMixer::mixThread(this=0x17e2455c) + 1106 at GLESVideoMixer.mm:546
frame #7: 0x00048670 SampleBroadcaster`videocore::iOS::GLESVideoMixer::GLESVideoMixer(this=0x17d89170)>)::$_3::operator()() const + 16 at GLESVideoMixer.mm:214
frame #8: 0x0004852e SampleBroadcaster`std::__1::__thread_proxy<std::__1::tuple<videocore::iOS::GLESVideoMixer::GLESVideoMixer(__vp=0x17d89170)>)::$_3> >(void*, void*) + 258 at memory:2602
frame #9: 0x33253e66 libsystem_pthread.dylib`_pthread_body + 138
frame #10: 0x33253dda libsystem_pthread.dylib`_pthread_start + 118
thread #15: tid = 0x21b67, 0x331c1568 libsystem_kernel.dylib`semaphore_wait_trap + 8, name = 'com.apple.coremedia.player.async'
frame #0: 0x331c1568 libsystem_kernel.dylib`semaphore_wait_trap + 8
frame #1: 0x004d0a9e libdispatch.dylib`_dispatch_semaphore_wait_slow + 190
frame #2: 0x26ccafd2 MediaToolbox`fpa_AsyncMovieControlThread + 1966
frame #3: 0x25a6dc76 CoreMedia`figThreadMain + 186
frame #4: 0x33253e66 libsystem_pthread.dylib`_pthread_body + 138
frame #5: 0x33253dda libsystem_pthread.dylib`_pthread_start + 118
thread #16: tid = 0x21b77, 0x331c1518 libsystem_kernel.dylib`mach_msg_trap + 20, name = 'AVAudioSession Notify Thread'
frame #0: 0x331c1518 libsystem_kernel.dylib`mach_msg_trap + 20
frame #1: 0x331c1310 libsystem_kernel.dylib`mach_msg + 40
frame #2: 0x252c759a CoreFoundation`__CFRunLoopServiceMachPort + 146
frame #3: 0x252c5b60 CoreFoundation`__CFRunLoopRun + 1016
frame #4: 0x25212b30 CoreFoundation`CFRunLoopRunSpecific + 476
frame #5: 0x25212942 CoreFoundation`CFRunLoopRunInMode + 106
frame #6: 0x23f363ec libAVFAudio.dylib`GenericRunLoopThread::Entry(void*) + 132
frame #7: 0x23f288e6 libAVFAudio.dylib`CAPThread::Entry(CAPThread*) + 194
frame #8: 0x33253e66 libsystem_pthread.dylib`_pthread_body + 138
frame #9: 0x33253dda libsystem_pthread.dylib`_pthread_start + 118
thread #14: tid = 0x21b7c, 0x0005c4b0 SampleBroadcaster`std::__1::shared_ptr<videocore::IOutput>::~shared_ptr(this=0x07a29964) at memory:4446, name = 'AURemoteIO::IOThread'
frame #0: 0x0005c4b0 SampleBroadcaster`std::__1::shared_ptr<videocore::IOutput>::~shared_ptr(this=0x07a29964) at memory:4446
frame #1: 0x0004d800 SampleBroadcaster`std::__1::shared_ptr<videocore::IOutput>::~shared_ptr(this=0x07a29964) + 16 at memory:4446
frame #2: 0x0006a570 SampleBroadcaster`videocore::iOS::MicSource::inputCallback(this=0x17db0b1c, data=0x079a1000, data_size=4096, inNumberFrames=1024) + 400 at MicSource.mm:165
frame #3: 0x0006a18e SampleBroadcaster`handleInputBuffer(inRefCon=0x17db0b1c, ioActionFlags=0x07a29ab8, inTimeStamp=0x07a29b00, inBusNumber=1, inNumberFrames=1024, ioData=0x00000000) + 142 at MicSource.mm:61
frame #4: 0x24a8e974 AudioToolbox`AUIOHelper::NotifyInputAvailable(AudioTimeStamp const&, unsigned long, AudioBufferList const&) + 332
frame #5: 0x24a7f324 AudioToolbox`AURemoteIO::PerformIO(unsigned long, unsigned int, unsigned int, AudioTimeStamp const&, AudioTimeStamp const&, AudioBufferList const*, AudioBufferList*, int&) + 364
frame #6: 0x24a8045a AudioToolbox`AURIOCallbackReceiver_PerformIO + 394
frame #7: 0x24a786d6 AudioToolbox`_XPerformIO + 166
frame #8: 0x249da0ea AudioToolbox`mshMIGPerform + 190
frame #9: 0x24a521e4 AudioToolbox`MSHMIGDispatchMessage + 32
frame #10: 0x24a7f6b0 AudioToolbox`AURemoteIO::IOThread::Run() + 120
frame #11: 0x24a82d5c AudioToolbox`AURemoteIO::IOThread::Entry(void*) + 8
frame #12: 0x249b7a04 AudioToolbox`CAPThread::Entry(CAPThread*) + 208
frame #13: 0x33253e66 libsystem_pthread.dylib`_pthread_body + 138
frame #14: 0x33253dda libsystem_pthread.dylib`_pthread_start + 118
(lldb)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment