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

Intermittent CRASH IN /_webgl/conformance/textures/misc/texture-size-limit.html #25932

Open
asajeffrey opened this issue Mar 9, 2020 · 4 comments

Comments

@asajeffrey
Copy link
Member

@asajeffrey asajeffrey commented Mar 9, 2020

A GL_OUT_OF_MEMORY error:

▶ CRASH [expected OK] /_webgl/conformance/textures/misc/texture-size-limit.html
  │ 
  │ error: XDG_RUNTIME_DIR not set in the environment.
  │ libEGL warning: No hardware driver found, falling back to software rendering
  │ [2020-03-07T01:55:35Z ERROR canvas::webgl_thread] Last GL operation failed: TexImage2D { target: 34069, level: 13, effective_internal_format: 6410, size: 1×1, format: LuminanceAlpha, data_type: UnsignedByte, effective_data_type: 5121, unpacking_alignment: 1, alpha_treatment: None, y_axis_treatment: AsIs, pixel_format: None, data: IpcSharedMemory { os... }
  │ Unexpected WebGL error: 0x505 (1285) [TexImage2D { target: 34069, level: 13, effective_internal_format: 6410, size: 1×1, format: LuminanceAlpha, data_type: UnsignedByte, effective_data_type: 5121, unpacking_alignment: 1, alpha_treatment: None, y_axis_treatment: AsIs, pixel_format: None, data: IpcSharedMemory { os... }] (thread WebGL thread, at components/canvas/webgl_thread.rs:2141)
  │ stack backtrace:
  │    0: servo::backtrace::print
  │    1: servo::main::{{closure}}
  │    2: std::panicking::rust_panic_with_hook
  │              at src/libstd/panicking.rs:474
  │    3: rust_begin_unwind
  │              at src/libstd/panicking.rs:378
  │    4: std::panicking::begin_panic_fmt
  │              at src/libstd/panicking.rs:332
  │    5: canvas::webgl_thread::WebGLImpl::apply
  │    6: _ZN6canvas12webgl_thread11WebGLThread10handle_msg17h65f42ef764255adaE.llvm.5259457731796083051
  │    7: canvas::webgl_thread::WebGLThread::process
  │    8: std::sys_common::backtrace::__rust_begin_short_backtrace
  │    9: _ZN3std9panicking3try7do_call17heaab35c10c870dcaE.llvm.5277134497198370270
  │   10: __rust_maybe_catch_panic
  │              at src/libpanic_unwind/lib.rs:86
  │   11: core::ops::function::FnOnce::call_once{{vtable.shim}}
  │   12: <alloc::boxed::Box<F> as core::ops::function::FnOnce<A>>::call_once
  │              at /rustc/5d04ce67fd14538d03fa47a2598f80d49fd564c6/src/liballoc/boxed.rs:1017
  │   13: <alloc::boxed::Box<F> as core::ops::function::FnOnce<A>>::call_once
  │              at /rustc/5d04ce67fd14538d03fa47a2598f80d49fd564c6/src/liballoc/boxed.rs:1017
  │       std::sys_common::thread::start_thread
  │              at src/libstd/sys_common/thread.rs:13
  │       std::sys::unix::thread::Thread::new::thread_start
  │              at src/libstd/sys/unix/thread.rs:80
  │   14: start_thread
  │   15: __clone
  │ [2020-03-07T01:55:35Z ERROR servo] Unexpected WebGL error: 0x505 (1285) [TexImage2D { target: 34069, level: 13, effective_internal_format: 6410, size: 1×1, format: LuminanceAlpha, data_type: UnsignedByte, effective_data_type: 5121, unpacking_alignment: 1, alpha_treatment: None, y_axis_treatment: AsIs, pixel_format: None, data: IpcSharedMemory { os... }]
  │ called `Result::unwrap()` on an `Err` value: () (thread ScriptThread PipelineId { namespace_id: PipelineNamespaceId(1), index: PipelineIndex(1) }, at components/script/dom/webglrenderingcontext.rs:1441)
  │ stack backtrace:
  │    0: servo::backtrace::print
  │    1: servo::main::{{closure}}
  │    2: std::panicking::rust_panic_with_hook
  │              at src/libstd/panicking.rs:474
  │    3: rust_begin_unwind
  │              at src/libstd/panicking.rs:378
  │    4: core::panicking::panic_fmt
  │              at src/libcore/panicking.rs:85
  │    5: core::option::expect_none_failed
  │              at src/libcore/option.rs:1211
  │    6: <script::dom::webglrenderingcontext::WebGLRenderingContext as script::dom::bindings::codegen::Bindings::WebGLRenderingContextBinding::WebGLRenderingContextBinding::WebGLRenderingContextMethods>::DrawingBufferWidth
  │    7: _ZN3std9panicking3try7do_call17hf31e928d79b2eea7E.llvm.14950715087653940569
  │    8: __rust_maybe_catch_panic
  │              at src/libpanic_unwind/lib.rs:86
  │    9: script::dom::bindings::codegen::Bindings::WebGLRenderingContextBinding::WebGLRenderingContextBinding::get_drawingBufferWidth
  │   10: script::dom::bindings::utils::generic_call
  │   11: <unknown>
  │ [2020-03-07T01:55:35Z ERROR servo] called `Result::unwrap()` on an `Err` value: ()
  └ Pipeline failed in hard-fail mode.  Crashing!
@asajeffrey asajeffrey changed the title Intermittent CRASH IN /_webgl/tests/conformance/textures/misc/texture-size-limit.html Intermittent CRASH IN /_webgl/conformance/textures/misc/texture-size-limit.html Mar 10, 2020
@CYBAI
Copy link
Collaborator

@CYBAI CYBAI commented Apr 18, 2020

Might be same issue 👀 ?

  ▶ CRASH [expected FAIL] /css/CSS2/tables/table-anonymous-objects-097.xht
  │ 
  │ error: XDG_RUNTIME_DIR not set in the environment.
  │ libEGL warning: No hardware driver found, falling back to software rendering
  │ Shutting down the Constellation after generating an output file or exit flag specified
  │ Stack trace for thread "LayoutThread PipelineId { namespace_id: PipelineNamespaceId(1), index: PipelineIndex(1) }"
  └ stack backtrace:

Observed here 👈

@jdm
Copy link
Member

@jdm jdm commented Apr 18, 2020

That looks like #26129 instead.

@CYBAI
Copy link
Collaborator

@CYBAI CYBAI commented Apr 18, 2020

@jdm do you recognize it as #26129 by following lines 👀 ?

  │ Shutting down the Constellation after generating an output file or exit flag specified
  │ Stack trace for thread "LayoutThread PipelineId { namespace_id: PipelineNamespaceId(1), index: PipelineIndex(1) }"
@jdm
Copy link
Member

@jdm jdm commented Apr 18, 2020

Yes, my only clue is that it's a segfault in the layout thread. I can tell it's a segfault because there is no panic message reported.

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
3 participants
You can’t perform that action at this time.