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

M123 update: Check failed: !surface_. #101

Open
zakharvoit opened this issue May 8, 2024 · 0 comments
Open

M123 update: Check failed: !surface_. #101

zakharvoit opened this issue May 8, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@zakharvoit
Copy link

The issue happens after the M123 update when trying to start a WebXR experience, this can be fixed by reverting the following two changes https://chromium-review.googlesource.com/c/chromium/src/+/5002738, https://chromium-review.googlesource.com/c/chromium/src/+/5004070. We need to find a better solution for this issue.

[9761:9821:0508/092441.093940:FATAL:gl_surface_egl.cc(369)] Check failed: !surface_. 

Stack Trace:
  RELADDR   FUNCTION                                                                          FILE:LINE
  0000000009dd4e97  base::debug::StackTrace::StackTrace(unsigned long)                                ../../base/debug/stack_trace.cc:221:12
  0000000009ce00c3  logging::LogMessage::Flush()                                                      ../../base/logging.cc:706:29
  0000000009ce0027  logging::LogMessage::~LogMessage()                                                ../../base/logging.cc:695:3
  0000000009ccdd4b  logging::(anonymous namespace)::DCheckLogMessage::~DCheckLogMessage()             ../../base/check.cc:160:3
  0000000009ccdd77  logging::(anonymous namespace)::DCheckLogMessage::~DCheckLogMessage()             ../../base/check.cc:155:32
  0000000009ccd7bf  logging::NotReachedError::~NotReachedError()                                      ../../base/check.cc:341:3
  000000000ac88b77  gl::NativeViewGLSurfaceEGL::Initialize(gl::GLSurfaceFormat)                       ../../ui/gl/gl_surface_egl.cc:369:3
  000000000b9fa08f  gpu::GLES2CommandBufferStub::Initialize(gpu::CommandBufferStub*, gpu::mojom::CreateCommandBufferParams const&, base::UnsafeSharedMemoryRegion)  ../../gpu/ipc/service/gles2_command_buffer_stub.cc:200:33
  000000000b9fcff7  gpu::GpuChannel::CreateCommandBuffer(mojo::StructPtr<gpu::mojom::CreateCommandBufferParams>, int, base::UnsafeSharedMemoryRegion, mojo::PendingAssociatedReceiver<gpu::mojom::CommandBuffer>, mojo::PendingAssociatedRemote<gpu::mojom::CommandBufferClient>, base::OnceCallback<void (gpu::ContextResult, gpu::Capabilities const&, gpu::GLCapabilities const&)>)  ../../gpu/ipc/service/gpu_channel.cc:1116:13
  000000000ba0076b  void base::internal::DecayedFunctorTraits<void (gpu::GpuChannel::*)(mojo::StructPtr<gpu::mojom::CreateCommandBufferParams>, int, base::UnsafeSharedMemoryRegion, mojo::PendingAssociatedReceiver<gpu::mojom::CommandBuffer>, mojo::PendingAssociatedRemote<gpu::mojom::CommandBufferClient>, base::OnceCallback<void (gpu::ContextResult, gpu::Capabilities const&, gpu::GLCapabilities const&)>), base::WeakPtr<gpu::GpuChannel>&&, mojo::StructPtr<gpu::mojom::CreateCommandBufferParams>&&, int&&, base::UnsafeSharedMemoryRegion&&, mojo::PendingAssociatedReceiver<gpu::mojom::CommandBuffer>&&, mojo::PendingAssociatedRemote<gpu::mojom::CommandBufferClient>&&, base::OnceCallback<void (gpu::ContextResult, gpu::Capabilities const&, gpu::GLCapabilities const&)>&&>::Invoke<void (gpu::GpuChannel::*)(mojo::StructPtr<gpu::mojom::CreateCommandBufferParams>, int, base::UnsafeSharedMemoryRegion, mojo::PendingAssociatedReceiver<gpu::mojom::CommandBuffer>, mojo::PendingAssociatedRemote<gpu::mojom::CommandBufferClient>, base::OnceCallback<void (gpu::ContextResult, gpu::Capabilities const&, gpu::GLCapabilities const&)>), base::WeakPtr<gpu::GpuChannel> const&, mojo::StructPtr<gpu::mojom::CreateCommandBufferParams>, int, base::UnsafeSharedMemoryRegion, mojo::PendingAssociatedReceiver<gpu::mojom::CommandBuffer>, mojo::PendingAssociatedRemote<gpu::mojom::CommandBufferClient>, base::OnceCallback<void (gpu::ContextResult, gpu::Capabilities const&, gpu::GLCapabilities const&)>>(void (gpu::GpuChannel::*)(mojo::StructPtr<gpu::mojom::CreateCommandBufferParams>, int, base::UnsafeSharedMemoryRegion, mojo::PendingAssociatedReceiver<gpu::mojom::CommandBuffer>, mojo::PendingAssociatedRemote<gpu::mojom::CommandBufferClient>, base::OnceCallback<void (gpu::ContextResult, gpu::Capabilities const&, gpu::GLCapabilities const&)>), base::WeakPtr<gpu::GpuChannel> const&, mojo::StructPtr<gpu::mojom::CreateCommandBufferParams>&&, int&&, base::UnsafeSharedMemoryRegion&&, mojo::PendingAssociatedReceiver<gpu::mojom::CommandBuffer>&&, mojo::PendingAssociatedRemote<gpu::mojom::CommandBufferClient>&&, base::OnceCallback<void (gpu::ContextResult, gpu::Capabilities const&, gpu::GLCapabilities const&)>&&)  ../../base/functional/bind_internal.h:752:12
  000000000ba00697  void base::internal::InvokeHelper<true, base::internal::FunctorTraits<void (gpu::GpuChannel::*)(mojo::StructPtr<gpu::mojom::CreateCommandBufferParams>, int, base::UnsafeSharedMemoryRegion, mojo::PendingAssociatedReceiver<gpu::mojom::CommandBuffer>, mojo::PendingAssociatedRemote<gpu::mojom::CommandBufferClient>, base::OnceCallback<void (gpu::ContextResult, gpu::Capabilities const&, gpu::GLCapabilities const&)>), base::WeakPtr<gpu::GpuChannel>&&, mojo::StructPtr<gpu::mojom::CreateCommandBufferParams>&&, int&&, base::UnsafeSharedMemoryRegion&&, mojo::PendingAssociatedReceiver<gpu::mojom::CommandBuffer>&&, mojo::PendingAssociatedRemote<gpu::mojom::CommandBufferClient>&&, base::OnceCallback<void (gpu::ContextResult, gpu::Capabilities const&, gpu::GLCapabilities const&)>&&>, void, 0ul, 1ul, 2ul, 3ul, 4ul, 5ul, 6ul>::MakeItSo<void (gpu::GpuChannel::*)(mojo::StructPtr<gpu::mojom::CreateCommandBufferParams>, int, base::UnsafeSharedMemoryRegion, mojo::PendingAssociatedReceiver<gpu::mojom::CommandBuffer>, mojo::PendingAssociatedRemote<gpu::mojom::CommandBufferClient>, base::OnceCallback<void (gpu::ContextResult, gpu::Capabilities const&, gpu::GLCapabilities const&)>), std::__Cr::tuple<base::WeakPtr<gpu::GpuChannel>, mojo::StructPtr<gpu::mojom::CreateCommandBufferParams>, int, base::UnsafeSharedMemoryRegion, mojo::PendingAssociatedReceiver<gpu::mojom::CommandBuffer>, mojo::PendingAssociatedRemote<gpu::mojom::CommandBufferClient>, base::OnceCallback<void (gpu::ContextResult, gpu::Capabilities const&, gpu::GLCapabilities const&)>>>(void (gpu::GpuChannel::*&&)(mojo::StructPtr<gpu::mojom::CreateCommandBufferParams>, int, base::UnsafeSharedMemoryRegion, mojo::PendingAssociatedReceiver<gpu::mojom::CommandBuffer>, mojo::PendingAssociatedRemote<gpu::mojom::CommandBufferClient>, base::OnceCallback<void (gpu::ContextResult, gpu::Capabilities const&, gpu::GLCapabilities const&)>), std::__Cr::tuple<base::WeakPtr<gpu::GpuChannel>, mojo::StructPtr<gpu::mojom::CreateCommandBufferParams>, int, base::UnsafeSharedMemoryRegion, mojo::PendingAssociatedReceiver<gpu::mojom::CommandBuffer>, mojo::PendingAssociatedRemote<gpu::mojom::CommandBufferClient>, base::OnceCallback<void (gpu::ContextResult, gpu::Capabilities const&, gpu::GLCapabilities const&)>>&&)  ../../base/functional/bind_internal.h:946:5
  00000000045f073b  base::OnceCallback<void ()>::Run() &&                                             ../../base/functional/callback.h:156:12
  0000000009d4254b  base::TaskAnnotator::RunTaskImpl(base::PendingTask&)                              ../../base/task/common/task_annotator.cc:202:34
  v------>  void base::TaskAnnotator::RunTask<base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::LazyNow*)::$_3>(perfetto::StaticString, base::PendingTask&, base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::LazyNow*)::$_3&&)  ../../base/task/common/task_annotator.h:89:5
  0000000009d688db  base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::LazyNow*)  ../../base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:473:23
  0000000009d6844f  base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork()   ../../base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:338:41
  0000000009ce9f47  base::MessagePumpDefault::Run(base::MessagePump::Delegate*)                       ../../base/message_loop/message_pump_default.cc:40:55
  0000000009d68f23  base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool, base::TimeDelta)  ../../base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:641:12
  0000000009d1f723  base::RunLoop::Run(base::Location const&)                                         ../../base/run_loop.cc:134:14
  000000000bacd76b  content::GpuMain(content::MainFunctionParams)                                     ../../content/gpu/gpu_main.cc:431:14
  0000000004851187  content::RunOtherNamedProcessTypeMain(std::__Cr::basic_string<char, std::__Cr::char_traits<char>, std::__Cr::allocator<char>> const&, content::MainFunctionParams, content::ContentMainDelegate*)  ../../content/app/content_main_runner_impl.cc:771:14
  0000000004851d87  content::ContentMainRunnerImpl::Run()                                             ../../content/app/content_main_runner_impl.cc:1146:10
  000000000484f5cf  content::RunContentProcess(content::ContentMainParams, content::ContentMainRunner*)  ../../content/app/content_main.cc:335:36
  v------>  content::JNI_ContentMain_Start(_JNIEnv*, unsigned char)                           ../../content/app/android/content_main_android.cc:52:10
  000000000485095b  Java_org_jni_1zero_GEN_1JNI_org_1chromium_1content_1app_1ContentMain_1start       gen/jni_headers/content/public/android/content_main_dex_jni/ContentMain_jni.h:44:10

@zakharvoit zakharvoit added the bug Something isn't working label May 8, 2024
zakharvoit added a commit that referenced this issue May 9, 2024
zakharvoit added a commit that referenced this issue May 9, 2024
Reason for revert: see #101

This reverts commit e2f6d5d.
zakharvoit added a commit that referenced this issue May 9, 2024
zakharvoit added a commit that referenced this issue May 9, 2024
Reason for revert: see #101

This reverts commit e2f6d5d.
abhijeetk pushed a commit to abhijeetk/chromium that referenced this issue Aug 13, 2024
abhijeetk pushed a commit to abhijeetk/chromium that referenced this issue Aug 13, 2024
abhijeetk pushed a commit to abhijeetk/chromium that referenced this issue Aug 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant