Closed yemin82 closed 5 months ago
挂在opengl了,很奇怪
********** Crash dump: **********
Build fingerprint: 'HUAWEI/FDR/HWFDR:5.1.1/HuaweiMediaPad/FDR-A03LC233B016:user/release-keys'
#00 0x00000000001499f4 /data/app/com.example.diyplayer-2/lib/arm64/libmdk.so
mdk::abi::opengl::VideoShader::update(UGL::opengl::Material*)
/home/runner/work/mdk-sdk/mdk-sdk/mdk/video/opengl/VideoShader.cpp:241:18
#01 0x00000000001482cc /data/app/com.example.diyplayer-2/lib/arm64/libmdk.so
mdk::abi::OpenGLVideo::render(float const*)
/home/runner/work/mdk-sdk/mdk-sdk/mdk/video/opengl/OpenGLVideo.cpp:234:13
#02 0x000000000013d0a4 /data/app/com.example.diyplayer-2/lib/arm64/libmdk.so
mdk::abi::GLVideoRenderer::draw(mdk::abi::VideoFrame const&)
/home/runner/work/mdk-sdk/mdk-sdk/mdk/video/out/GLVideoRenderer.cpp:166:10
#03 0x0000000000143d0c /data/app/com.example.diyplayer-2/lib/arm64/libmdk.so (_ZN3mdk3abi13VideoRenderer6redrawEv+5332)
mdk::abi::VideoRenderer::redraw()
/home/runner/work/mdk-sdk/mdk-sdk/mdk/video/out/VideoOutput.cpp:912:5
#04 0x0000000000142130 /data/app/com.example.diyplayer-2/lib/arm64/libmdk.so (_ZN3mdk3abi13VideoRenderer4drawEv+2044)
mdk::abi::VideoRenderer::draw()
/home/runner/work/mdk-sdk/mdk-sdk/mdk/video/out/VideoOutput.cpp:839:12
#05 0x00000000000fed88 /data/app/com.example.diyplayer-2/lib/arm64/libmdk.so (_ZN3mdk3abi6Player11renderVideoEPv+44)
mdk::abi::VideoPresenter::renderVideo(void*)
/home/runner/work/mdk-sdk/mdk-sdk/mdk/video/VideoPresenter.cpp:493:63
mdk::abi::Player::renderVideo(void*)
/home/runner/work/mdk-sdk/mdk-sdk/mdk/core/Player.cpp:285:44
#06 0x000000000012d1c4 /data/app/com.example.diyplayer-2/lib/arm64/libmdk.so
mdk::abi::VideoPresenter::VideoPresenter()::$_0::operator()(UGS::PlatformSurface*, void*) const
/home/runner/work/mdk-sdk/mdk-sdk/mdk/video/VideoPresenter.cpp:198:9
decltype(std::declval<mdk::abi::VideoPresenter::VideoPresenter()::$_0&>()(std::declval<UGS::PlatformSurface*>(), std::declval<void*>())) std::__ndk1::__invoke[abi:v170000]<mdk::abi::VideoPresenter::VideoPresenter()::$_0&, UGS::PlatformSurface*, void*>(mdk::abi::VideoPresenter::VideoPresenter()::$_0&, UGS::PlatformSurface*&&, void*&&)
/usr/local/lib/android/sdk/ndk/26.3.11579264/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/c++/v1/__functional/invoke.h:394:23
bool std::__ndk1::__invoke_void_return_wrapper<bool, false>::__call<mdk::abi::VideoPresenter::VideoPresenter()::$_0&, UGS::PlatformSurface*, void*>(mdk::abi::VideoPresenter::VideoPresenter()::$_0&, UGS::PlatformSurface*&&, void*&&)
/usr/local/lib/android/sdk/ndk/26.3.11579264/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/c++/v1/__functional/invoke.h:478:16
std::__ndk1::__function::__alloc_func<mdk::abi::VideoPresenter::VideoPresenter()::$_0, std::__ndk1::allocator<mdk::abi::VideoPresenter::VideoPresenter()::$_0>, bool (UGS::PlatformSurface*, void*)>::operator()[abi:v170000](UGS::PlatformSurface*&&, void*&&)
/usr/local/lib/android/sdk/ndk/26.3.11579264/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/c++/v1/__functional/function.h:185:16
std::__ndk1::__function::__func<mdk::abi::VideoPresenter::VideoPresenter()::$_0, std::__ndk1::allocator<mdk::abi::VideoPresenter::VideoPresenter()::$_0>, bool (UGS::PlatformSurface*, void*)>::operator()(UGS::PlatformSurface*&&, void*&&)
/usr/local/lib/android/sdk/ndk/26.3.11579264/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/c++/v1/__functional/function.h:356:12
#07 0x000000000019df54 /data/app/com.example.diyplayer-2/lib/arm64/libmdk.so
std::__ndk1::__function::__value_func<bool (UGS::PlatformSurface*, void*)>::operator()[abi:v170000](UGS::PlatformSurface*&&, void*&&) const
/usr/local/lib/android/sdk/ndk/26.3.11579264/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/c++/v1/__functional/function.h:510:16
std::__ndk1::function<bool (UGS::PlatformSurface*, void*)>::operator()(UGS::PlatformSurface*, void*) const
/usr/local/lib/android/sdk/ndk/26.3.11579264/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/c++/v1/__functional/function.h:1156:12
UGS::RenderLoop::process(UGS::RenderLoop::SurfaceContext*)
/home/runner/work/mdk-sdk/mdk-sdk/mdk/video/surface/RenderLoop.cpp:280:23
#08 0x000000000019db04 /data/app/com.example.diyplayer-2/lib/arm64/libmdk.so
UGS::RenderLoop::update()::$_0::operator()() const
/home/runner/work/mdk-sdk/mdk-sdk/mdk/video/surface/RenderLoop.cpp:141:18
decltype(std::declval<UGS::RenderLoop::update()::$_0&>()()) std::__ndk1::__invoke[abi:v170000]<UGS::RenderLoop::update()::$_0&>(UGS::RenderLoop::update()::$_0&)
/usr/local/lib/android/sdk/ndk/26.3.11579264/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/c++/v1/__functional/invoke.h:394:23
void std::__ndk1::__invoke_void_return_wrapper<void, true>::__call<UGS::RenderLoop::update()::$_0&>(UGS::RenderLoop::update()::$_0&)
/usr/local/lib/android/sdk/ndk/26.3.11579264/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/c++/v1/__functional/invoke.h:487:9
std::__ndk1::__function::__alloc_func<UGS::RenderLoop::update()::$_0, std::__ndk1::allocator<UGS::RenderLoop::update()::$_0>, void ()>::operator()[abi:v170000]()
/usr/local/lib/android/sdk/ndk/26.3.11579264/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/c++/v1/__functional/function.h:185:16
std::__ndk1::__function::__func<UGS::RenderLoop::update()::$_0, std::__ndk1::allocator<UGS::RenderLoop::update()::$_0>, void ()>::operator()()
/usr/local/lib/android/sdk/ndk/26.3.11579264/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/c++/v1/__functional/function.h:356:12
#09 0x000000000019d680 /data/app/com.example.diyplayer-2/lib/arm64/libmdk.so
std::__ndk1::__function::__value_func<void ()>::operator()[abi:v170000]() const
/usr/local/lib/android/sdk/ndk/26.3.11579264/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/c++/v1/__functional/function.h:510:16
std::__ndk1::function<void ()>::operator()() const
/usr/local/lib/android/sdk/ndk/26.3.11579264/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/c++/v1/__functional/function.h:1156:12
UGS::RenderLoop::Private::run()
/home/runner/work/mdk-sdk/mdk-sdk/mdk/video/surface/RenderLoop.cpp:47:17
#10 0x000000000019d494 /data/app/com.example.diyplayer-2/lib/arm64/libmdk.so
UGS::RenderLoop::start(bool)::$_0::operator()() const
/home/runner/work/mdk-sdk/mdk-sdk/mdk/video/surface/RenderLoop.cpp:91:16
decltype(std::declval<UGS::RenderLoop::start(bool)::$_0>()()) std::__ndk1::__invoke[abi:v170000]<UGS::RenderLoop::start(bool)::$_0>(UGS::RenderLoop::start(bool)::$_0&&)
/usr/local/lib/android/sdk/ndk/26.3.11579264/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/c++/v1/__functional/invoke.h:394:23
void std::__ndk1::__thread_execute[abi:v170000]<std::__ndk1::unique_ptr<std::__ndk1::__thread_struct, std::__ndk1::default_delete<std::__ndk1::__thread_struct>>, UGS::RenderLoop::start(bool)::$_0>(std::__ndk1::tuple<std::__ndk1::unique_ptr<std::__ndk1::__thread_struct, std::__ndk1::default_delete<std::__ndk1::__thread_struct>>, UGS::RenderLoop::start(bool)::$_0>&, std::__ndk1::__tuple_indices<>)
/usr/local/lib/android/sdk/ndk/26.3.11579264/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/c++/v1/thread:282:5
void* std::__ndk1::__thread_proxy[abi:v170000]<std::__ndk1::tuple<std::__ndk1::unique_ptr<std::__ndk1::__thread_struct, std::__ndk1::default_delete<std::__ndk1::__thread_struct>>, UGS::RenderLoop::start(bool)::$_0>>(void*)
/usr/local/lib/android/sdk/ndk/26.3.11579264/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/c++/v1/thread:293:5
#11 0x00000000000190e0 /system/lib64/libc.so (_ZL15__pthread_startPv+52)
#12 0x00000000000153f0 /system/lib64/libc.so (__start_thread+16)
Crash dump is completed
安卓还是首选官方的吧,放弃了