AliPlayerSDK icon indicating copy to clipboard operation
AliPlayerSDK copied to clipboard

SDK Crash When Render Player View: SIGBUS Error

Open niyaoyao opened this issue 5 years ago • 2 comments

libobjc.A.dylib        0x1801d43bc        objc_opt_respondsToSelector
OpenGLES        0x19a5f3868        <redacted>
AliyunPlayer        0xe04b0        alivc::AlivcEAGLContext::CreateSurface(void*, int, int)
AliyunPlayer        0x101794        alivc::DisplayNode::onPrepared()
AliyunPlayer        0xfec9c        alivc::Node::Proceed(long long)
AliyunPlayer        0xe4a24        alivc::RenderEngineService::OnService(alivc::RenderRequestRefreshForceReq&, alivc::MdfAddr&)
AliyunPlayer        0xe9ab8        alivc::MsgService::MsgService<alivc::RenderEngineService, alivc::RenderRequestRefreshForceReq>(alivc::RenderEngineService*, alivc::RenderRequestRefreshForceReq*)::'lambda'(alivc::IService*, alivc::MdfMsg&, bool)::operator()(alivc::IService*, alivc::MdfMsg&, bool) const
AliyunPlayer        0xd6840        std::__1::function<int (alivc::IService*, alivc::MdfMsg&, bool)>::operator()(alivc::IService*, alivc::MdfMsg&, bool) const
AliyunPlayer        0xd61f8        alivc::IService::OnServiceMsg(alivc::MdfMsg&, bool)
AliyunPlayer        0xd7d40        alivc::ThreadService::ProcessMsg()
AliyunPlayer        0xd7c54        alivc::ThreadService::OnRun()
AliyunPlayer        0xd8208        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 (*)(alivc::ThreadService*), alivc::ThreadService*> >(void*)
libsystem_pthread.dylib        0x1801ad1ec        _pthread_start


binaryImages:

Licaishi_client    D7C830A3-FFC3-3D6A-938D-196D7946B832    arm64    1
libobjc.A.dylib    B39048C3-8395-3DE4-AF4D-ACA3097FDC53    arm64    0
OpenGLES    BBEA5C5E-C4E5-3502-B1DB-53935A260B37    arm64    0
AliyunPlayer    E85B4F32-95A5-39BD-8593-FF4F69A9AF26    arm64    2
libsystem_pthread.dylib    C3FA4F34-750F-362B-BEFE-835BFB15C0F8    arm64    0
libsystem_kernel.dylib    92CBD0CB-514F-3A23-A21C-169E915052A7    arm64    0
libc++.1.dylib    4547C800-A653-3ECE-9808-C26768583E25    arm64    0
UIKitCore    82C949DD-37F6-35F7-B3EF-62BA342F6BF5    arm64    0
QuartzCore    5A4A8F86-A37D-3290-AC6A-9C03140FA5D3    arm64    0
CoreFoundation    DA838E75-6B30-360E-9661-C4800A7E1BF6    arm64    0
GraphicsServices    0BF55C8C-AF00-33C8-8292-6D40FFEB6F46    arm64    0
libdyld.dylib    E1637502-BFCB-3BBC-B3E1-CCF78617E0E4    arm64    0

Main Thread

libsystem_kernel.dylib        0x180288c8c        __psynch_cvwait
libsystem_pthread.dylib        0x1801aa4e0        <redacted>
libc++.1.dylib        0x1802da840        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> > >)
AliyunPlayer        0x6d378        std::__1::cv_status std::__1::condition_variable::wait_until<std::__1::chrono::steady_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > >(std::__1::unique_lock<std::__1::mutex>&, std::__1::chrono::time_point<std::__1::chrono::steady_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > > const&)
AliyunPlayer        0xd5900        alivc::ISyncMsgRst::Wait()
AliyunPlayer        0xd5fdc        alivc::IService::SendMsg(char*&, unsigned int, unsigned long, alivc::MdfAddr const&, bool, alivc::ISyncMsgRst*, bool)
AliyunPlayer        0x2a648        int alivc::IService::SendMsg<alivc::RenderRequestRefreshForceReq>(alivc::RenderRequestRefreshForceReq const&, alivc::MdfAddr const&, bool)
AliyunPlayer        0x2a420        alivc::VideoRenderProxy::RefreshScreen()
AliyunPlayer        0x30210        alivc_player::ApsaraPlayerService::Redraw()
AliyunPlayer        0xe0114        -[AliPlayerView layoutSubviews]
UIKitCore        0x184929270        <redacted>
QuartzCore        0x186e155f8        <redacted>
QuartzCore        0x186e19e28        <redacted>
QuartzCore        0x186e25894        <redacted>
QuartzCore        0x186d6e9f0        <redacted>
QuartzCore        0x186d98890        <redacted>
QuartzCore        0x186d99284        <redacted>
CoreFoundation        0x18040dc48        <redacted>
CoreFoundation        0x180408b34        <redacted>
CoreFoundation        0x180409100        <redacted>
CoreFoundation        0x1804088bc        CFRunLoopRunSpecific
GraphicsServices        0x18a274328        GSEventRunModal
UIKitCore        0x18449e6d4        UIApplicationMain
Licaishi_client        0x100280dc8        <redacted>
libdyld.dylib        0x180293460        <redacted>


binaryImages:

Licaishi_client    D7C830A3-FFC3-3D6A-938D-196D7946B832    arm64    1
libobjc.A.dylib    B39048C3-8395-3DE4-AF4D-ACA3097FDC53    arm64    0
OpenGLES    BBEA5C5E-C4E5-3502-B1DB-53935A260B37    arm64    0
AliyunPlayer    E85B4F32-95A5-39BD-8593-FF4F69A9AF26    arm64    2
libsystem_pthread.dylib    C3FA4F34-750F-362B-BEFE-835BFB15C0F8    arm64    0
libsystem_kernel.dylib    92CBD0CB-514F-3A23-A21C-169E915052A7    arm64    0
libc++.1.dylib    4547C800-A653-3ECE-9808-C26768583E25    arm64    0
UIKitCore    82C949DD-37F6-35F7-B3EF-62BA342F6BF5    arm64    0
QuartzCore    5A4A8F86-A37D-3290-AC6A-9C03140FA5D3    arm64    0
CoreFoundation    DA838E75-6B30-360E-9661-C4800A7E1BF6    arm64    0
GraphicsServices    0BF55C8C-AF00-33C8-8292-6D40FFEB6F46    arm64    0
libdyld.dylib    E1637502-BFCB-3BBC-B3E1-CCF78617E0E4    arm64    0

How Can I Deal with The Issue? Thank you for your help.

niyaoyao avatar Nov 19 '19 06:11 niyaoyao

do you solve this problem ?@niyaoyao

hanhuizhu avatar Jun 30 '20 12:06 hanhuizhu

Haven't yet. Perhaps, it's a memory management issue, not the SDK internal problem. It maybe a problem for incorrect allocation or release, I think. However I haven't find out the solution for it.

hanhuizhu [email protected] 于2020年6月30日周二 下午8:33写道:

do you solve this problem ?@niyaoyao https://github.com/niyaoyao

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/aliyunvideo/AliPlayerSDK/issues/13#issuecomment-651761676, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEN3H5ASSUFAB4AAI4DBDODRZHLQNANCNFSM4JO6NQ5A .

niyaoyao avatar Jul 01 '20 01:07 niyaoyao