Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Impeller][Impeller_debug == true] Coredump when launching video_player plugin example #1

Closed
xiaowei-guan opened this issue Mar 21, 2024 · 2 comments

Comments

@xiaowei-guan
Copy link
Owner

Crash Info:

symbol file '/tmp/libflutter_engine.so' has been added to '/opt/usr/globalapps/com.example.example/lib/libflutter_engine.so'
(lldb) bt
* thread #1, name = 'runner', stop reason = signal SIGSEGV
  * frame #0: 0x00000000
    frame #1: 0xb45beca6 libflutter_engine.so`auto impeller::GLProc<void (unsigned int, unsigned int, unsigned int, int, unsigned int const*, unsigned char)>::operator()<int, int, int, int, std::nullptr_t, int>(int&&, int&&, int&&, int&&, std::nullptr_t&&, int&&) const + 230
    frame #2: 0xb45beaa4 libflutter_engine.so`impeller::ReactorGLES::FlushOps() + 164
    frame #3: 0xb45bdf0e libflutter_engine.so`impeller::ReactorGLES::React() + 254
    frame #4: 0xb45bddfb libflutter_engine.so`impeller::ReactorGLES::AddOperation(std::_fl::function<void (impeller::ReactorGLES const&)>) + 171
    frame #5: 0xb45b4b2d libflutter_engine.so`impeller::PipelineLibraryGLES::GetPipeline(impeller::PipelineDescriptor) + 1469
    frame #6: 0xb3f4394a libflutter_engine.so`impeller::PipelineLibrary::GetPipeline(std::_fl::optional<impeller::PipelineDescriptor>) + 74
    frame #7: 0xb3f4197d libflutter_engine.so`impeller::CreatePipelineFuture(impeller::Context const&, std::_fl::optional<impeller::PipelineDescriptor>) + 141
    frame #8: 0xb452faba libflutter_engine.so`impeller::RenderPipelineT<impeller::CheckerboardVertexShader, impeller::CheckerboardFragmentShader>::RenderPipelineT(impeller::Context const&, std::_fl::optional<impeller::PipelineDescriptor>) + 106
    frame #9: 0xb4525091 libflutter_engine.so`impeller::ContentContext::Variants<impeller::RenderPipelineT<impeller::CheckerboardVertexShader, impeller::CheckerboardFragmentShader> >::CreateDefault(impeller::Context const&, impeller::ContentContextOptions const&, std::initializer_list<float> const&) + 289
    frame #10: 0xb45235f8 libflutter_engine.so`impeller::ContentContext::ContentContext(std::_fl::shared_ptr<impeller::Context>, std::_fl::shared_ptr<impeller::TypographerContext>, std::_fl::shared_ptr<impeller::RenderTargetAllocator>) + 2616
    frame #11: 0xb44ffdb2 libflutter_engine.so`std::_fl::__unique_if<impeller::ContentContext>::__unique_single std::_fl::make_unique[abi:v15000]<impeller::ContentContext, std::_fl::shared_ptr<impeller::Context>&, std::_fl::shared_ptr<impeller::TypographerContext>, std::_fl::shared_ptr<impeller::RenderTargetAllocator> >(std::_fl::shared_ptr<impeller::Context>&, std::_fl::shared_ptr<impeller::TypographerContext>&&, std::_fl::shared_ptr<impeller::RenderTargetAllocator>&&) + 146
    frame #12: 0xb44ffc89 libflutter_engine.so`impeller::AiksContext::AiksContext(std::_fl::shared_ptr<impeller::Context>, std::_fl::shared_ptr<impeller::TypographerContext>, std::_fl::optional<std::_fl::shared_ptr<impeller::RenderTargetAllocator> >) + 169
    frame #13: 0xb45df88f libflutter_engine.so`std::_fl::__shared_ptr_emplace<impeller::AiksContext, std::_fl::allocator<impeller::AiksContext> >::__shared_ptr_emplace[abi:v15000]<std::_fl::shared_ptr<impeller::Context>&, std::_fl::shared_ptr<impeller::TypographerContext> >(std::_fl::allocator<impeller::AiksContext>, std::_fl::shared_ptr<impeller::Context>&, std::_fl::shared_ptr<impeller::TypographerContext>&&) + 143
    frame #14: 0xb4697ffa libflutter_engine.so`flutter::GPUSurfaceGLImpeller::GPUSurfaceGLImpeller(flutter::GPUSurfaceGLDelegate*, std::_fl::shared_ptr<impeller::Context>, bool) + 346
    frame #15: 0xb3e3a458 libflutter_engine.so`flutter::EmbedderSurfaceGLImpeller::CreateGPUSurface() + 200
    frame #16: 0xb3e37462 libflutter_engine.so`flutter::PlatformViewEmbedder::CreateRenderingSurface() + 50
    frame #17: 0xb45d9e6d libflutter_engine.so`std::_fl::__function::__func<flutter::PlatformView::NotifyCreated()::$_0, std::_fl::allocator<flutter::PlatformView::NotifyCreated()::$_0>, void ()>::operator()() + 45
    frame #18: 0xb3e6d17b libflutter_engine.so`fml::MessageLoopImpl::FlushTasks(fml::FlushType) + 283
    frame #19: 0xb3e6d023 libflutter_engine.so`fml::MessageLoopImpl::RunExpiredTasksNow() + 35
    frame #20: 0xb3e74ecd libflutter_engine.so`fml::MessageLoopLinux::Run() + 157
    frame #21: 0xb3e6cfca libflutter_engine.so`fml::MessageLoopImpl::DoRun() + 42
    frame #22: 0xb3e6cb73 libflutter_engine.so`fml::MessageLoop::Run() + 35
    frame #23: 0xb3e738d2 libflutter_engine.so`std::_fl::__function::__func<fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0, std::_fl::allocator<fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0>, void ()>::operator()() + 162
    frame #24: 0xb3e73539 libflutter_engine.so`fml::ThreadHandle::ThreadHandle(std::_fl::function<void ()>&&)::$_0::__invoke(void*) + 41
    frame #25: 0xb3955f4c libpthread.so.0`___lldb_unnamed_symbol31$$libpthread.so.0 + 204
    frame #26: 0xb7637ab6 libc.so.6`__clone at clone.S:108

@xiaowei-guan
Copy link
Owner Author

flutter/flutter#135715

@xiaowei-guan xiaowei-guan changed the title [Impeller] Coredump when launching video_player plugin example [Impeller][Impeller_debug == true] Coredump when launching video_player plugin example Mar 25, 2024
@xiaowei-guan
Copy link
Owner Author

mobile-emulator not support egl debug :

[W] tizen_renderer_egl.cc: OnProcResolver(423) > Could not resolve: glDebugMessageControlKHR
[W] tizen_renderer_egl.cc: OnProcResolver(423) > Could not resolve: glDiscardFramebufferEXT
[W] tizen_renderer_egl.cc: OnProcResolver(423) > Could not resolve: glDiscardFramebuffer
[W] tizen_renderer_egl.cc: OnProcResolver(423) > Could not resolve: glFramebufferTexture2DMultisampleEXT
[W] tizen_renderer_egl.cc: OnProcResolver(423) > Could not resolve: glFramebufferTexture2DMultisample
[W] tizen_renderer_egl.cc: OnProcResolver(423) > Could not resolve: glPushDebugGroupKHR
[W] tizen_renderer_egl.cc: OnProcResolver(423) > Could not resolve: glPopDebugGroupKHR
[W] tizen_renderer_egl.cc: OnProcResolver(423) > Could not resolve: glObjectLabelKHR
[W] tizen_renderer_egl.cc: OnProcResolver(423) > Could not resolve: glRenderbufferStorageMultisampleEXT
[W] tizen_renderer_egl.cc: OnProcResolver(423) > Could not resolve: glGenQueriesEXT
[W] tizen_renderer_egl.cc: OnProcResolver(423) > Could not resolve: glDeleteQueriesEXT
[W] tizen_renderer_egl.cc: OnProcResolver(423) > Could not resolve: glGetQueryObjectui64vEXT
[W] tizen_renderer_egl.cc: OnProcResolver(423) > Could not resolve: glGetQueryObjectui64v
[W] tizen_renderer_egl.cc: OnProcResolver(423) > Could not resolve: glBeginQueryEXT
[W] tizen_renderer_egl.cc: OnProcResolver(423) > Could not resolve: glEndQueryEXT
[W] tizen_renderer_egl.cc: OnProcResolver(423) > Could not resolve: glGetQueryObjectuivEXT

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

No branches or pull requests

1 participant