aliyunvideo / AliPlayerSDK

AliyunPlayer SDK 4.x version
MIT License
123 stars 29 forks source link

5.2.2 debug 调试的时候会crash,不调试就没问题 #44

Closed iOSleep closed 3 years ago

iOSleep commented 3 years ago

image

Thread 1 Queue : com.apple.main-thread (serial)
#0  0x00000001c31cf644 in mach_msg_trap ()
#1  0x00000001c31cea48 in mach_msg ()
#2  0x0000000197a430fc in __CFRunLoopServiceMachPort ()
#3  0x0000000197a3d570 in __CFRunLoopRun ()
#4  0x0000000197a3cba0 in CFRunLoopRunSpecific ()
#5  0x00000001ae77a598 in GSEventRunModal ()
#6  0x000000019a32c3d8 in -[UIApplication _run] ()
#7  0x000000019a331958 in UIApplicationMain ()
#8  0x000000010427a300 in main at MY_PATH/main.m:16
#9  0x000000019771b568 in start ()
Thread 2#0  0x00000001df54a86c in start_wqthread ()
gputools.smt_poll.0x281108560 (3)#0 0x00000001c31f2bf0 in __semwait_signal ()
#1  0x00000001a07ae6d4 in nanosleep ()
#2  0x00000001a07ae5ac in usleep ()
#3  0x000000010822b7d0 in smt_poll_thread_entry(void*) ()
#4  0x00000001df545b3c in _pthread_start ()
gputools.smt_poll.0x28110c6e0 (4)#0 0x00000001c31f2bf0 in __semwait_signal ()
#1  0x00000001a07ae6d4 in nanosleep ()
#2  0x00000001a07ae5ac in usleep ()
#3  0x0000000104f5838c in ___lldb_unnamed_symbol2227$$libMTLCapture.dylib ()
#4  0x00000001df545b3c in _pthread_start ()
AVAudioSession Notify Thread (5)#0  0x00000001c31cf644 in mach_msg_trap ()
#1  0x00000001c31cea48 in mach_msg ()
#2  0x0000000197a430fc in __CFRunLoopServiceMachPort ()
#3  0x0000000197a3d570 in __CFRunLoopRun ()
#4  0x0000000197a3cba0 in CFRunLoopRunSpecific ()
#5  0x000000019efb2098 in GenericRunLoopThread::Entry(void*) ()
#6  0x000000019efb3ff8 in CAPThread::Entry(CAPThread*) ()
#7  0x00000001df545b3c in _pthread_start ()
Thread 7#0  0x00000001df54a86c in start_wqthread ()
Thread 8#0  0x00000001df54a86c in start_wqthread ()
com.apple.uikit.eventfetch-thread (9)#0 0x00000001c31cf644 in mach_msg_trap ()
#1  0x00000001c31cea48 in mach_msg ()
#2  0x0000000197a430fc in __CFRunLoopServiceMachPort ()
#3  0x0000000197a3d570 in __CFRunLoopRun ()
#4  0x0000000197a3cba0 in CFRunLoopRunSpecific ()
#5  0x0000000198c5c7f8 in -[NSRunLoop(NSRunLoop) runMode:beforeDate:] ()
#6  0x0000000198c5c6d8 in -[NSRunLoop(NSRunLoop) runUntilDate:] ()
#7  0x000000019a3d8140 in -[UIEventFetcher threadMain] ()
#8  0x0000000198db94bc in __NSThread__start__ ()
#9  0x00000001df545b3c in _pthread_start ()
Thread 10#0 0x00000001c31f348c in __workq_kernreturn ()
Thread 11#0 0x00000001df54a86c in start_wqthread ()
com.apple.NSURLConnectionLoader (12)#0  0x00000001c31cf644 in mach_msg_trap ()
#1  0x00000001c31cea48 in mach_msg ()
#2  0x0000000197a430fc in __CFRunLoopServiceMachPort ()
#3  0x0000000197a3d570 in __CFRunLoopRun ()
#4  0x0000000197a3cba0 in CFRunLoopRunSpecific ()
#5  0x00000001982ce5d0 in ___lldb_unnamed_symbol11130$$CFNetwork ()
#6  0x0000000198db94bc in __NSThread__start__ ()
#7  0x00000001df545b3c in _pthread_start ()
Thread 13#0 0x00000001c31f2bf0 in __semwait_signal ()
#1  0x00000001a07ae6d4 in nanosleep ()
#2  0x00000001a07ae4d4 in sleep ()
#3  0x0000000104603698 in monitorCachedData at /Users/xc/Documents/WPK/KSCrash/Source/KSCrash/Recording/KSCrashCachedData.c:162
#4  0x00000001df545b3c in _pthread_start ()
Thread 14#0 0x00000001c31f261c in __psynch_cvwait ()
#1  0x00000001df53f2fc in _pthread_cond_wait$VARIANT$mp ()
#2  0x00000001041943ac in ActiveObj::dequeue() at MY_PATH/Core/AudioCore/Download/http/ActiveObj.mm:81
#3  0x0000000104194250 in ActiveObj::activeThread(void*) at MY_PATH/Core/AudioCore/Download/http/ActiveObj.mm:60
#4  0x00000001df545b3c in _pthread_start ()
Thread 15#0 0x00000001c31f261c in __psynch_cvwait ()
#1  0x00000001df53f2fc in _pthread_cond_wait$VARIANT$mp ()
#2  0x00000001041943ac in ActiveObj::dequeue() at MY_PATH/Core/AudioCore/Download/http/ActiveObj.mm:81
#3  0x0000000104194250 in ActiveObj::activeThread(void*) at MY_PATH/Core/AudioCore/Download/http/ActiveObj.mm:60
#4  0x00000001df545b3c in _pthread_start ()
JavaScriptCore bmalloc scavenger (16)#0 0x00000001c31f261c in __psynch_cvwait ()
#1  0x00000001df53f2fc in _pthread_cond_wait$VARIANT$mp ()
#2  0x00000001abec8e0c in std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) ()
#3  0x00000001a1632b54 in void std::__1::condition_variable_any::wait<std::__1::unique_lock<bmalloc::Mutex> >(std::__1::unique_lock<bmalloc::Mutex>&) ()
#4  0x00000001a1637584 in bmalloc::Scavenger::threadRunLoop() ()
#5  0x00000001a1636f98 in bmalloc::Scavenger::threadEntryPoint(bmalloc::Scavenger*) ()
#6  0x00000001a16386c0 in void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void (*)(bmalloc::Scavenger*), bmalloc::Scavenger*> >(void*) ()
#7  0x00000001df545b3c in _pthread_start ()
Thread 18#0 0x00000001c31f348c in __workq_kernreturn ()
Thread 22#0 0x00000001c31f348c in __workq_kernreturn ()
Thread 27#0 0x00000001c31cf644 in mach_msg_trap ()
#1  0x00000001c31cea48 in mach_msg ()
#2  0x0000000197a430fc in __CFRunLoopServiceMachPort ()
#3  0x0000000197a3d570 in __CFRunLoopRun ()
#4  0x0000000197a3cba0 in CFRunLoopRunSpecific ()
#5  0x0000000198c5c7f8 in -[NSRunLoop(NSRunLoop) runMode:beforeDate:] ()
#6  0x0000000198c8d964 in -[NSRunLoop(NSRunLoop) run] ()
#7  0x00000001042a8c9c in +[HTTPServer bonjourThread] at MY_PATH/Core/ZFPlayer/KTVHttpCaches/KTVHttpCache/CocoaHTTPServer/Core/HTTPServer.m:758
#8  0x0000000198db94bc in __NSThread__start__ ()
#9  0x00000001df545b3c in _pthread_start ()
Thread 28#0 0x00000001c31f261c in __psynch_cvwait ()
#1  0x00000001df53f2fc in _pthread_cond_wait$VARIANT$mp ()
#2  0x00000001abec8e0c in std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) ()
#3  0x0000000105455044 in AlivcConan::AlivcEventReportManager::releaseFunc() ()
#4  0x000000010545b054 in void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void (AlivcConan::AlivcEventReportManager::*)(), AlivcConan::AlivcEventReportManager*> >(void*) ()
#5  0x00000001df545b3c in _pthread_start ()
alivc.Conan.MessageLoop (29)#0  0x00000001c31f2b00 in __select ()
#1  0x0000000106d40a20 in Curl_poll ()
#2  0x0000000106d3b120 in Curl_multi_wait ()
#3  0x0000000106d36388 in curl_easy_perform ()
#4  0x0000000105485b34 in std::__1::__function::__func<AlivcConan::NetworkManager::SendRequest(AlivcConan::HttpRequest&, std::__1::function<void (int, AlivcConan::HttpResponse&)>, std::__1::weak_ptr<std::__1::atomic<bool> >)::$_0, std::__1::allocator<AlivcConan::NetworkManager::SendRequest(AlivcConan::HttpRequest&, std::__1::function<void (int, AlivcConan::HttpResponse&)>, std::__1::weak_ptr<std::__1::atomic<bool> >)::$_0>, void ()>::operator()() ()
#5  0x0000000105486534 in AlivcConan::Task::exec() ()
#6  0x000000010548689c in AlivcConan::MessageLoop::loop() ()
#7  0x0000000105486ce0 in void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, AlivcConan::MessageLoop::start()::$_0> >(void*) ()
#8  0x00000001df545b3c in _pthread_start ()
alivc.Conan.MessageLoop (30)#0  0x00000001c31f261c in __psynch_cvwait ()
#1  0x00000001df53f2fc in _pthread_cond_wait$VARIANT$mp ()
#2  0x00000001abec8ea4 in 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> > >) ()
#3  0x0000000105487800 in std::__1::cv_status std::__1::condition_variable::wait_for<long long, std::__1::ratio<1l, 1000l> >(std::__1::unique_lock<std::__1::mutex>&, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000l> > const&) ()
#4  0x0000000105486a68 in AlivcConan::BlockingQueue<std::__1::shared_ptr<AlivcConan::Task> >::take() ()
#5  0x00000001054868e0 in AlivcConan::MessageLoop::loop() ()
#6  0x0000000105486ce0 in void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, AlivcConan::MessageLoop::start()::$_0> >(void*) ()
#7  0x00000001df545b3c in _pthread_start ()
PlayerNotifier (32)#0   0x00000001c31f261c in __psynch_cvwait ()
#1  0x00000001df53f2fc in _pthread_cond_wait$VARIANT$mp ()
#2  0x00000001abec8e0c in std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) ()
#3  0x000000010593a4a0 in Cicada::PlayerNotifier::post_loop() ()
#4  0x00000001059b2018 in afThread::onRun() ()
#5  0x00000001059b2684 in void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void (*)(void*), afThread*> >(void*) ()
#6  0x00000001df545b3c in _pthread_start ()
ApsaraPlayerService (33)#0  0x00000001c31cf644 in mach_msg_trap ()
#1  0x00000001c31cea48 in mach_msg ()
#2  0x00000001a9d292d0 in VTDecompressionSessionRemoteClient_Create ()
#3  0x00000001a9cf4344 in __VTDecompressionSessionRemote_Create_block_invoke ()
#4  0x00000001a02ba1d4 in FigRPCCreateServerConnectionForObject ()
#5  0x00000001a9cf3fec in VTDecompressionSessionRemote_Create ()
#6  0x00000001a9c62bc4 in VTDecompressionSessionCreateWithOptions ()
#7  0x00000001059d234c in Cicada::AFVTBDecoder::createDecompressionSession(unsigned char*, int, int, int) ()
#8  0x00000001059d2274 in Cicada::AFVTBDecoder::init_decoder_internal() ()
#9  0x00000001059d2580 in Cicada::AFVTBDecoder::init_decoder(Stream_meta const*, void*, unsigned long long) ()
#10 0x00000001059cfdb8 in ActiveDecoder::open(Stream_meta const*, void*, unsigned long long) ()
#11 0x000000010591fad4 in Cicada::SuperMediaPlayer::CreateVideoDecoder(bool, Stream_meta&) ()
#12 0x000000010591ec68 in Cicada::SuperMediaPlayer::SetUpVideoPath() ()
#13 0x000000010591a900 in Cicada::SuperMediaPlayer::setUpAVPath() ()
#14 0x0000000105919750 in Cicada::SuperMediaPlayer::ProcessVideoLoop() ()
#15 0x0000000105919450 in Cicada::SuperMediaPlayer::mainService() ()
#16 0x00000001059239a4 in std::__1::__function::__func<Cicada::SuperMediaPlayer::SuperMediaPlayer()::$_0, std::__1::allocator<Cicada::SuperMediaPlayer::SuperMediaPlayer()::$_0>, int ()>::operator()() ()
#17 0x00000001059b2018 in afThread::onRun() ()
#18 0x00000001059b2684 in void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void (*)(void*), afThread*> >(void*) ()
#19 0x00000001df545b3c in _pthread_start ()
AbrManager (34)#0   0x00000001c31f261c in __psynch_cvwait ()
#1  0x00000001df53f2fc in _pthread_cond_wait$VARIANT$mp ()
#2  0x00000001abec8ea4 in 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> > >) ()
#3  0x0000000105928a0c in AbrManager::AbrAdjustFun() ()
#4  0x0000000105928cac in std::__1::__function::__func<AbrManager::AbrManager()::$_0, std::__1::allocator<AbrManager::AbrManager()::$_0>, int ()>::operator()() ()
#5  0x00000001059b2018 in afThread::onRun() ()
#6  0x00000001059b2684 in void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void (*)(void*), afThread*> >(void*) ()
#7  0x00000001df545b3c in _pthread_start ()
avFormatDemuxer (35)#0  0x00000001c31f2b00 in __select ()
#1  0x00000001059a4a44 in Cicada::CURLConnection::FillBuffer(unsigned int) ()
#2  0x00000001059a7854 in Cicada::CurlDataSource::Read(void*, unsigned long) ()
#3  0x0000000105983478 in Cicada::avFormatDemuxer::avio_callback_read(void*, unsigned char*, int) ()
#4  0x0000000106c47320 in read_packet_wrapper ()
#5  0x0000000106c46628 in fill_buffer ()
#6  0x0000000106c471f0 in avio_read ()
#7  0x0000000106c9bdb4 in append_packet_chunked ()
#8  0x0000000106c633c0 in mov_read_packet ()
#9  0x0000000106c9c9b8 in ff_read_packet ()
#10 0x0000000106c9d86c in read_frame_internal ()
#11 0x0000000106c9d6d0 in av_read_frame ()
#12 0x000000010598362c in Cicada::avFormatDemuxer::ReadPacketInternal(std::__1::unique_ptr<IAFPacket, std::__1::default_delete<IAFPacket> >&) ()
#13 0x0000000105984814 in Cicada::avFormatDemuxer::readLoop() ()
#14 0x0000000105985528 in std::__1::__function::__func<Cicada::avFormatDemuxer::init()::$_0, std::__1::allocator<Cicada::avFormatDemuxer::init()::$_0>, int ()>::operator()() ()
#15 0x00000001059b2018 in afThread::onRun() ()
#16 0x00000001059b2684 in void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void (*)(void*), afThread*> >(void*) ()
#17 0x00000001df545b3c in _pthread_start ()
AFActiveDecoder (36)#0  0x00000001c31f261c in __psynch_cvwait ()
#1  0x00000001df53f2fc in _pthread_cond_wait$VARIANT$mp ()
#2  0x00000001abec8ea4 in 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> > >) ()
#3  0x00000001059d0464 in ActiveDecoder::decode_func() ()
#4  0x00000001059d19b8 in std::__1::__function::__func<ActiveDecoder::open(Stream_meta const*, void*, unsigned long long)::$_0, std::__1::allocator<ActiveDecoder::open(Stream_meta const*, void*, unsigned long long)::$_0>, int ()>::operator()() ()
#5  0x00000001059b2018 in afThread::onRun() ()
#6  0x00000001059b2684 in void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void (*)(void*), afThread*> >(void*) ()
#7  0x00000001df545b3c in _pthread_start ()
Thread 37#0 0x00000001abe49c90 in objc_retain ()
#1  0x0000000104f6ce28 in ___lldb_unnamed_symbol2733$$libMTLCapture.dylib ()
#2  0x0000000104f6c614 in ___lldb_unnamed_symbol2725$$libMTLCapture.dylib ()
#3  0x00000001dfb4823c in GLDDeviceRec::getDepthStencilStateFromKey(GLRDepthStencilKey const*) ()
#4  0x00000001dfb541fc in GLDContextRec::initWithShareGroup(GLDShareGroupRec*, GLDStateRec const*, GLDPluginStateRec const*, GLRPixelFormat const*, GLDContextConfigRec*) ()
#5  0x00000001dfb549b0 in gldCreateContext ()
#6  0x00000001c8b6fa88 in gliCreateContextWithShared ()
#7  0x00000001c8c3e4f8 in -[EAGLContext commonInitWithAPI:properties:] ()
#8  0x00000001c8c3e27c in -[EAGLContext initWithAPI:properties:] ()
#9  0x00000001053076ac in EAGLContext_initWithAPIProperties(EAGLContext*, objc_selector*, EAGLRenderingAPI, NSDictionary*) ()
#10 0x00000001059dff0c in Cicada::CicadaEAGLContext::Init(void*) ()
#11 0x00000001059ddf8c in GLRender::VSyncOnInit() ()
#12 0x00000001059b1f18 in afThread::onRun() ()
#13 0x00000001059b2684 in void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void (*)(void*), afThread*> >(void*) ()
#14 0x00000001df545b3c in _pthread_start ()

image

2020-12-22 11:15:01.836696+0800 ergeduoduoipad[1754:297502] 播放器尺寸:848, 478
2020-12-22 11:15:01.836775+0800 ergeduoduoipad[1754:297502] 播放器状态更新:0
2020-12-22 11:15:01.836802+0800 ergeduoduoipad[1754:297502] AVPStatusIdle
2020-12-22 11:15:01.843051+0800 ergeduoduoipad[1754:297646] *** -[CaptureMTLDepthStencilState retain]: message sent to deallocated instance 0x282fb6cd0
iOSleep commented 3 years ago

关闭了这个选项可以了 截屏2020-12-22 11 21 14