Skip to content
This repository has been archived by the owner on Aug 26, 2021. It is now read-only.

Problem playing private video #11

Open
robmontesinos opened this issue Jun 8, 2015 · 3 comments
Open

Problem playing private video #11

robmontesinos opened this issue Jun 8, 2015 · 3 comments

Comments

@robmontesinos
Copy link

I am trying to play a private video with VIMVideoPlayer and I am getting the following back trace after crash - the code is identical to the Saga example app. It even crashes with the saga video link - https://secure-c.vimeocdn.com/p/video/yosemite_hd_ii_hd.mp4. The Saga app plays my private video link.

Any idea why this is happening? I'm thinking there is something off in the setup of libraries. I don't see any libraries set up for Saga like AVFoundation.

(* thread #1: tid = 0x7c7e3, 0x0000000108685519 libc++abi.dylib__cxa_throw, queue = 'com.apple.main-thread', stop reason = breakpoint 1.2 frame #0: 0x0000000108685519 libc++abi.dylibcxa_throw
frame #1: 0x00000001234e3755 AudioCodecsACBaseCodec::GetPropertyInfo(unsigned int, unsigned int&, unsigned char&) + 521 frame #2: 0x000000012358a69a AudioCodecsGetPropertyInfo(void_, unsigned int, unsigned int_, unsigned char_) + 38
frame #3: 0x0000000106fda751 AudioToolboxCodecConverter::CheckInitialize(void const_, unsigned int) + 433 frame #4: 0x0000000106fda3fa AudioToolboxCodecConverter::CodecConverter(OpaqueAudioComponent
&, OpaqueAudioComponentInstance
, StreamDescPair const&, StreamDescPair const&, bool, AudioConverterPrimeInfo const&) + 618
frame #5: 0x0000000106fdf6a3 AudioToolboxCodecDecoderFactory::BuildCodecConverterChain(StreamDescPair const&, ChainBuildSettings const&, AudioConverterChain_, PCMConverterFactory_) + 275 frame #6: 0x0000000106fc6b90 AudioToolboxConverterRegistry::CreateConverter(StreamDescPair const&, AudioConverterChain**, unsigned int, AudioClassDescription const*) + 272
frame #7: 0x0000000106fb5ae4 AudioToolbox_AudioConverterNewInternal + 340 frame #8: 0x000000010700ba7a AudioToolboxAudioQueueObject::AudioQueueObject(bool, bool, AudioStreamBasicDescription const&, unsigned int, AQRemoteClient&, AudioQueueOwner*, audit_token_t, unsigned int, int&) + 2314
frame #9: 0x000000010700c35a AudioToolboxAudioQueueObject::AudioQueueObject(bool, bool, AudioStreamBasicDescription const&, unsigned int, AQRemoteClient&, AudioQueueOwner_, audit_token_t, unsigned int, int&) + 74 frame #10: 0x000000010703ce98 AudioToolboxAQServer_NewQueue + 440
frame #11: 0x0000000107047d15 AudioToolboxAudioQueueNew(bool, AudioStreamBasicDescription const_, TCACallback<void*, void*> const&, CACallbackTarget const&, unsigned int, unsigned int, OpaqueAudioQueue**) + 373 frame #12: 0x0000000107047b91 AudioToolboxAudioQueueNewOutput + 81
frame #13: 0x0000000110a17ee9 MediaToolboxFigAudioQueueTimingShimNewOutput + 35 frame #14: 0x00000001108fa615 MediaToolboxsubaq_createSubAudioQueue + 637
frame #15: 0x00000001108fa0e4 MediaToolboxFigAudioQueueCreate + 752 frame #16: 0x00000001109a6306 MediaToolboxFigAudioQueueRenderPipelineCreate + 630
frame #17: 0x000000011095f4ab MediaToolboxfp_buildAudioRenderPipelineForTrack + 894 frame #18: 0x00000001109588cb MediaToolboxitemfig_rebuildRenderPipelinesAndBoss + 3269
frame #19: 0x0000000110957663 MediaToolboxplayerfig_prepareWorkingItem2 + 151 frame #20: 0x000000011094f8a6 MediaToolboxplayerfig_prepareWorkingItem + 91
frame #21: 0x000000011096467f MediaToolboxitemfig_assetPropertyBatchLoaded_prepareWorkingItem_internal + 137 frame #22: 0x00000001109645e8 MediaToolboxitemfig_assetPropertyBatchLoaded_prepareWorkingItem + 20
frame #23: 0x000000010847c920 CoreMediafigDeferredNotificationRun + 43 frame #24: 0x0000000107ffe174 CoreFoundation__CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION** + 20
frame #25: 0x0000000107ffdd35 CoreFoundation__CFRunLoopDoTimer + 1045 frame #26: 0x0000000107fbfd3d CoreFoundation__CFRunLoopRun + 1901
frame #27: 0x0000000107fbf366 CoreFoundationCFRunLoopRunSpecific + 470 frame #28: 0x000000010a5f1a3e GraphicsServicesGSEventRunModal + 161
frame #29: 0x0000000104bb5900 UIKit`UIApplicationMain + 1282

@robmontesinos
Copy link
Author

On the other hand, if I set breakpoints to only catch Objective C exceptions, the private video plays in my app. If I remove all breakpoints, it also works. Is this a good solve? There is a C++ exception being thrown out. Oh well.

@alfiehanssen
Copy link
Contributor

Hard to tell from the output you pasted. If you think find it's related to framework inclusion let us know. Although seems like something the compiler would flag upfront.

@robmontesinos
Copy link
Author

This seems to be the important line from the output (bolded for emphasis):

libc++abi.dylib__cxa_throw, queue = 'com.apple.main-thread', stop reason = breakpoint 1.2 frame #0: 0x0000000108685519 libc++abi.dylibcxa_throw

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants