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

Mac crash in glDrawArrays #25990

Open
asajeffrey opened this issue Mar 19, 2020 · 1 comment
Open

Mac crash in glDrawArrays #25990

asajeffrey opened this issue Mar 19, 2020 · 1 comment

Comments

@asajeffrey
Copy link
Member

@asajeffrey asajeffrey commented Mar 19, 2020

This can happen when running the WebGL test suite without --headless:

  ▶ CRASH [expected ERROR] /_webgl/conformance2/rendering/uniform-block-buffer-size.html
  │ 
  │ DESCRIPTION: This test verifies an active UniformBlock should be populated with a large enough buffer object
  │ 
  │ PASS WebGL context exists
  │ 
  │ Testing drawArrays and drawArraysInstanced
  │ PASS getError was expected value: NO_ERROR : Set up succeeded
  │ FAIL getError expected: INVALID_OPERATION. Was NO_ERROR : drawArrays: UniformBlock is not backed by a buffer
  │ FAIL getError expected: INVALID_OPERATION. Was NO_ERROR : drawArraysInstanced: UniformBlock is not backed by a buffer
  │ Stack trace for thread "WebGL thread"
  │ stack backtrace:
  │    0: <servo::backtrace::Print as core::fmt::Debug>::fmt
  │    1: core::fmt::write
  │    2: std::io::Write::write_fmt
  │    3: servo::backtrace::print
  │    4: servo::install_crash_handler::handler
  │    5: _sigtramp
  │    6: _ZN4Gen714updateDispatchEP13GLDContextRecP17GLDRenderDispatchPj
  │    7: gldUpdateDispatch
  │    8: gleDoDrawDispatchCoreGL3
  │    9: glDrawArrays_ACC_GL3Exec
  │   10: canvas::webgl_thread::WebGLImpl::apply
  │   11: canvas::webgl_thread::WebGLThread::handle_msg
  │   12: canvas::webgl_thread::WebGLThread::process
  │   13: std::sys_common::backtrace::__rust_begin_short_backtrace
  │   14: core::ops::function::FnOnce::call_once{{vtable.shim}}
  │   15: <alloc::boxed::Box<F> as core::ops::function::FnOnce<A>>::call_once
  │   16: std::sys::unix::thread::Thread::new::thread_start
  │   17: _pthread_body
  └   18: _pthread_start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.