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 /css/css-flexbox/flex-aspect-ratio-img-row-005.html #27009

Open
jdm opened this issue Jun 21, 2020 · 1 comment
Open

Intermittent crash in /css/css-flexbox/flex-aspect-ratio-img-row-005.html #27009

jdm opened this issue Jun 21, 2020 · 1 comment

Comments

@jdm
Copy link
Member

@jdm jdm commented Jun 21, 2020

▶ CRASH [expected OK] /css/css-flexbox/flex-aspect-ratio-img-row-005.html
  │ 
  │ error: XDG_RUNTIME_DIR not set in the environment.
  │ libEGL warning: No hardware driver found, falling back to software rendering
  │ assertion failed: `(left == right)`
  │   left: `Some(Rect(NaNx150.0 at (8.0, 535.0)))`,
  │  right: `Some(Rect(NaNx150.0 at (8.0, 535.0)))` (thread WRRenderBackend#0, at /root/.cargo/git/checkouts/webrender-c3596abe1cf4f320/1175aca/webrender/src/batch.rs:277)
  │    0: servo::backtrace::print
  │    1: servo::main::{{closure}}
  │    2: std::panicking::rust_panic_with_hook
  │              at /rustc/a74d1862d4d87a56244958416fd05976c58ca1a8/src/libstd/panicking.rs:481
  │    3: rust_begin_unwind
  │              at /rustc/a74d1862d4d87a56244958416fd05976c58ca1a8/src/libstd/panicking.rs:385
  │    4: std::panicking::begin_panic_fmt
  │              at /rustc/a74d1862d4d87a56244958416fd05976c58ca1a8/src/libstd/panicking.rs:339
  │    5: webrender::batch::AlphaBatchList::set_params_and_get_batch
  │    6: webrender::batch::AlphaBatchBuilder::push_single_instance
  │    7: webrender::batch::BatchBuilder::add_segmented_prim_to_batch
  │    8: webrender::batch::BatchBuilder::add_prim_to_batch
  │    9: <webrender::render_target::ColorRenderTarget as webrender::render_target::RenderTarget>::build
  │   10: webrender::frame_builder::FrameBuilder::build
  │   11: webrender::render_backend::Document::build_frame
  │   12: webrender::render_backend::RenderBackend::update_document
  │   13: webrender::render_backend::RenderBackend::process_transaction
  │   14: webrender::render_backend::RenderBackend::run
  │   15: std::sys_common::backtrace::__rust_begin_short_backtrace

We end up with a NaN width despite the attempt in #26758 to avoid them. It's worth tracing backwards to see where it comes from.

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.