VideoCore-Inactive icon indicating copy to clipboard operation
VideoCore-Inactive copied to clipboard

random crashes

Open zhifeng-huang opened this issue 9 years ago • 4 comments

Crash 1: Crashed: com.videocore.network EXC_BAD_ACCESS KERN_INVALID_ADDRESS at 0x00000001c4febeb8

Thread : Crashed: com.videocore.network 0 libobjc.A.dylib 0x00000001980cfbd0 objc_msgSend + 16 1 EdCast 0x00000001007f9490 videocore::Apple::StreamSession::startNetwork() (StreamSession.mm:213) 2 EdCast 0x00000001007f93ec ___ZN9videocore5Apple13StreamSession7connectENSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEiNS2_8functionIFvRNS_14IStreamSessionElEEE_block_invoke (StreamSession.mm:90) 3 libdispatch.dylib 0x00000001987013ac _dispatch_call_block_and_release + 24 4 libdispatch.dylib 0x000000019870136c _dispatch_client_callout + 16 5 libdispatch.dylib 0x000000019870b4c0 _dispatch_queue_drain + 1216 6 libdispatch.dylib 0x0000000198704474 _dispatch_queue_invoke + 132 7 libdispatch.dylib 0x000000019870d224 _dispatch_root_queue_drain + 664 8 libdispatch.dylib 0x000000019870e75c _dispatch_worker_thread3 + 108 9 libsystem_pthread.dylib 0x00000001988dd2e4 _pthread_wqthread + 816

Crash 2: Crashed: com.videocore.session.graph EXC_BAD_ACCESS KERN_INVALID_ADDRESS at 0x000000000000000f

Thread : Crashed: com.videocore.session.graph 0 VideoToolbox 0x000000018ca82f30 VTCompressionSessionInvalidate + 20 1 EdCast 0x00000001007dd9c0 videocore::Apple::H264Encode::teardownCompressionSession() (H264Encode.mm:260) 2 EdCast 0x00000001007dd9c0 videocore::Apple::H264Encode::teardownCompressionSession() (H264Encode.mm:260) 3 EdCast 0x00000001007dd8e0 videocore::Apple::H264Encode::~H264Encode() (H264Encode.mm:110) 4 EdCast 0x00000001007dd9f8 videocore::Apple::H264Encode::~H264Encode() (H264Encode.mm:109) 5 EdCast 0x0000000100822670 std::__1::__shared_ptr_emplace<videocore::Apple::H264Encode, std::__1::allocatorvideocore::Apple::H264Encode >::__on_zero_shared() (memory:3735) 6 libc++.1.dylib 0x0000000197871764 std::__1::__shared_weak_count::__release_shared() + 64 7 EdCast 0x000000010081f620 std::__1::shared_ptrvideocore::ITransform::~shared_ptr() (memory:4448) 8 EdCast 0x000000010081f500 std::__1::shared_ptrvideocore::ITransform::~shared_ptr() (memory:4446) 9 EdCast 0x00000001008190a0 -VCSimpleSession addEncodersAndPacketizers 10 EdCast 0x000000010081ea50 ___ZZ50-[VCSimpleSession startSessionInternal:streamKey:]ENK3$_0clERN9videocore11RTMPSessionE13ClientState_t_block_invoke (VCSimpleSession.mm:499) 11 libdispatch.dylib 0x00000001987013ac _dispatch_call_block_and_release + 24 12 libdispatch.dylib 0x000000019870136c _dispatch_client_callout + 16 13 libdispatch.dylib 0x000000019870b4c0 _dispatch_queue_drain + 1216 14 libdispatch.dylib 0x0000000198704474 _dispatch_queue_invoke + 132 15 libdispatch.dylib 0x000000019870d224 _dispatch_root_queue_drain + 664 16 libdispatch.dylib 0x000000019870e75c _dispatch_worker_thread3 + 108 17 libsystem_pthread.dylib 0x00000001988dd2e4 _pthread_wqthread + 816

zhifeng-huang avatar Mar 31 '15 21:03 zhifeng-huang

They all seem like memory management issues.

zhifeng-huang avatar Mar 31 '15 21:03 zhifeng-huang

Can you provide us with more information? What were you doing when these crashes occurred?

JALsnipe avatar Mar 31 '15 21:03 JALsnipe

Most of them happen few seconds after I start a stream.

zhifeng-huang avatar Mar 31 '15 21:03 zhifeng-huang

Hey! Probably I fixed this issue #348

artFintch avatar Oct 04 '16 15:10 artFintch