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

texImage2DBadArgs.htm aborts in ASAN builds #27477

Open
jdm opened this issue Aug 1, 2020 · 1 comment
Open

texImage2DBadArgs.htm aborts in ASAN builds #27477

jdm opened this issue Aug 1, 2020 · 1 comment
Labels
A-content/webgl 3d canvas API I-crash No impact; the issue is one of maintainability or tidiness.

Comments

@jdm
Copy link
Member

jdm commented Aug 1, 2020

The root cause here is servo/ipc-channel#268. Found via #27474.

@jdm jdm added I-crash No impact; the issue is one of maintainability or tidiness. A-content/webgl 3d canvas API labels Aug 1, 2020
@jdm
Copy link
Member Author

jdm commented Aug 1, 2020

Also observed in gl-teximage.html:

  â–¶ CRASH [expected OK] /_webgl/conformance/textures/misc/gl-teximage.html
  │ 
  │ Stack trace for thread "ScriptThread PipelineId { namespace_id: PipelineNamespaceId(1), index: PipelineIndex(1) }"
  │    0: backtrace::backtrace::trace_unsynchronized
  │    1: <servo::backtrace::Print as core::fmt::Debug>::fmt
  │    2: core::fmt::write
  │    3: std::io::Write::write_fmt
  │    4: servo::backtrace::print
  │    5: servo::install_crash_handler::handler
  │    6: __sigtramp
  │    7: ipc_channel::platform::macos::OsIpcSharedMemory::from_bytes
  │    8: <script::dom::webglrenderingcontext::WebGLRenderingContext as script::dom::bindings::codegen::Bindings::WebGLRenderingContextBinding::WebGLRenderingContextBinding::WebGLRenderingContextMethods>::TexImage2D
  │    9: script::dom::bindings::codegen::Bindings::WebGLRenderingContextBinding::WebGLRenderingContextBinding::texImage2D::{{closure}}
  │   10: std::panicking::try::do_call
  │   11: ___rust_try
  │   12: std::panic::catch_unwind
  │   13: mozjs::panic::wrap_panic
  │   14: script::dom::bindings::codegen::Bindings::WebGLRenderingContextBinding::WebGLRenderingContextBinding::texImage2D
  │   15: _CallJitMethodOp
  │   16: script::dom::bindings::utils::generic_call
  │   17: __ZN2js23InternalCallOrConstructEP9JSContextRKN2JS8CallArgsENS_14MaybeConstructENS_10CallReasonE
  â””   18: __ZN2js3jit14DoCallFallbackEP9JSContextPNS0_13BaselineFrameEPNS0_15ICCall_FallbackEjPN2JS5ValueENS7_13MutableHandleIS8_EE

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-content/webgl 3d canvas API I-crash No impact; the issue is one of maintainability or tidiness.
Projects
None yet
Development

No branches or pull requests

1 participant