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
assertion failed: rect.size.width >= Zero::zero() caused by BlockFlow::setup_clip_scroll_node_for_overflow #23093
Labels
A-gfx/displaylist
A-layout/block
A-webcompat
C-has-manual-testcase
I-panic
Servo encounters a panic.
Comments
mateon1
changed the title
assertion failed: rect.size.width >= Zero::zero() caused by BlockFlow::setip_clip_scroll_node_for_overflow
assertion failed: rect.size.width >= Zero::zero() caused by BlockFlow::setup_clip_scroll_node_for_overflow
Mar 25, 2019
jdm
added
C-has-manual-testcase
A-gfx/displaylist
A-layout/block
I-panic
Servo encounters a panic.
labels
Mar 25, 2019
Here's a version for the <pre style="border: solid; border-collapse: collapse; max-height: 0vh; overflow-x: scroll">x</pre> BacktraceVMware, Inc.
llvmpipe (LLVM 7.0, 256 bits)
3.3 (Core Profile) Mesa 18.3.4
assertion failed: rect.size.height >= Zero::zero() (thread LayoutThread PipelineId { namespace_id: PipelineNamespaceId(1), index: PipelineIndex(1) }, at /home/mateon/.cargo/registry/src/github.com-1ecc6299db9ec823/euclid-0.19.4/src/rect.rs:271)
stack backtrace:
0: 0x55805082aed6 - backtrace::backtrace::libunwind::trace::h8af3b710f1a5e12e
at /home/mateon/.cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.9/src/backtrace/libunwind.rs:53
- backtrace::backtrace::trace::h2a1223234ae0346f
at /home/mateon/.cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.9/src/backtrace/mod.rs:42
1: 0x5580508254e3 - backtrace::capture::Backtrace::new_unresolved::h2dd57ce7b77a7435
at /home/mateon/.cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.9/src/capture.rs:88
2: 0x55805082543d - backtrace::capture::Backtrace::new::h8c6b161078e28d12
at /home/mateon/.cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.9/src/capture.rs:63
3: 0x5580497dd351 - servo::main::{{closure}}::h5fe9a894213f10e8
at ports/servo/non_android_main.rs:110
4: 0x558052918a48 - rust_panic_with_hook
at src/libstd/panicking.rs:482
5: 0x5580529184e1 - continue_panic_fmt
at src/libstd/panicking.rs:385
6: 0x5580529183c5 - rust_begin_unwind
7: 0x558052937cac - panic_fmt
at src/libcore/panicking.rs:85
8: 0x558052937beb - panic
at src/libcore/panicking.rs:49
9: 0x55804d693173 - <euclid::rect::TypedRect<T, U>>::inner_rect::h1b6e3a58314dc57f
at /shared/dev/rust/servo/<::core::macros::panic macros>:3
10: 0x55804d62f742 - layout::display_list::builder::<impl layout::block::BlockFlow>::setup_clip_scroll_node_for_overflow::hc2a022384c012667
at components/layout/display_list/builder.rs:2584
11: 0x55804d62e70e - layout::display_list::builder::<impl layout::block::BlockFlow>::setup_clipping_for_block::hcd0e4f63bb9efa4d
at components/layout/display_list/builder.rs:2435
12: 0x55804d62dfb1 - layout::display_list::builder::<impl layout::block::BlockFlow>::collect_stacking_contexts_for_block::h76d47c9e157ed822
at components/layout/display_list/builder.rs:2349
13: 0x55804d62aba1 - <layout::block::BlockFlow as layout::flow::Flow>::collect_stacking_contexts::h6b155fa8c821f330
at components/layout/block.rs:2564
14: 0x55804d604cd2 - layout::flow::BaseFlow::collect_stacking_contexts_for_children::h294d4c160414c815
at components/layout/flow.rs:1217
15: 0x55804d62e206 - layout::display_list::builder::<impl layout::block::BlockFlow>::collect_stacking_contexts_for_block::h76d47c9e157ed822
at components/layout/display_list/builder.rs:2366
16: 0x55804d62aba1 - <layout::block::BlockFlow as layout::flow::Flow>::collect_stacking_contexts::h6b155fa8c821f330
at components/layout/block.rs:2564
17: 0x55804d604cd2 - layout::flow::BaseFlow::collect_stacking_contexts_for_children::h294d4c160414c815
at components/layout/flow.rs:1217
18: 0x55804d62e206 - layout::display_list::builder::<impl layout::block::BlockFlow>::collect_stacking_contexts_for_block::h76d47c9e157ed822
at components/layout/display_list/builder.rs:2366
19: 0x55804d62aba1 - <layout::block::BlockFlow as layout::flow::Flow>::collect_stacking_contexts::h6b155fa8c821f330
at components/layout/block.rs:2564
20: 0x55804d74511a - layout::sequential::build_display_list_for_subtree::hb58463b7cb5cec03
at components/layout/sequential.rs:77
21: 0x55804a1745f9 - layout_thread::LayoutThread::compute_abs_pos_and_build_display_list::{{closure}}::h58075e51d552f326
at components/layout_thread/lib.rs:1035
22: 0x55804a1b95f6 - profile_traits::time::profile::h9fe2e60f7ec7f2e7
at /shared/dev/rust/servo/components/profile_traits/time.rs:142
23: 0x55804a04807b - layout_thread::LayoutThread::compute_abs_pos_and_build_display_list::h1ed2d9657645f024
at components/layout_thread/lib.rs:1010
24: 0x55804a04f145 - layout_thread::LayoutThread::perform_post_main_layout_passes::h01232d83b35f4388
at components/layout_thread/lib.rs:1798
25: 0x55804a04ee7e - layout_thread::LayoutThread::perform_post_style_recalc_layout_passes::he179434151a2cc3e
at components/layout_thread/lib.rs:1778
26: 0x55804a04b762 - layout_thread::LayoutThread::handle_reflow::ha8796ca750bf9a52
at components/layout_thread/lib.rs:1459
27: 0x55804a1738e9 - layout_thread::LayoutThread::handle_request_helper::{{closure}}::hbfae2b3293339477
at components/layout_thread/lib.rs:726
28: 0x55804a1b8dee - profile_traits::time::profile::h85dc10afe741d48b
at /shared/dev/rust/servo/components/profile_traits/time.rs:142
29: 0x55804a04412d - layout_thread::LayoutThread::handle_request_helper::h57e1d40c3617997c
at components/layout_thread/lib.rs:722
30: 0x55804a043334 - layout_thread::LayoutThread::handle_request::hb5fa803528c22ce9
at components/layout_thread/lib.rs:672
31: 0x55804a041d72 - layout_thread::LayoutThread::start::hf920768435aa8160
at components/layout_thread/lib.rs:558
32: 0x55804a172492 - <layout_thread::LayoutThread as layout_traits::LayoutThreadFactory>::create::{{closure}}::{{closure}}::heb8dfaef58fad40e
at components/layout_thread/lib.rs:313
33: 0x55804a113a7e - profile_traits::mem::ProfilerChan::run_with_memory_reporting::hc617bc87948860f1
at /shared/dev/rust/servo/components/profile_traits/mem.rs:88
34: 0x55804a172d58 - <layout_thread::LayoutThread as layout_traits::LayoutThreadFactory>::create::{{closure}}::hb9e0a07a00999f71
at components/layout_thread/lib.rs:311
35: 0x55804a2dbb94 - std::sys_common::backtrace::__rust_begin_short_backtrace::h69408bfd53070bc1
at /rustc/0ea22717a1e01fa535534b85a5347a7e49fc79de/src/libstd/sys_common/backtrace.rs:136
36: 0x55804a21d413 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::hff71ded556757c3e
at /rustc/0ea22717a1e01fa535534b85a5347a7e49fc79de/src/libstd/thread/mod.rs:469
37: 0x55804a2dabf3 - <std::panic::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h6c192e3f82a95cfb
at /rustc/0ea22717a1e01fa535534b85a5347a7e49fc79de/src/libstd/panic.rs:309
38: 0x55804a2f6b29 - std::panicking::try::do_call::hde4e69918d8709c8
at /rustc/0ea22717a1e01fa535534b85a5347a7e49fc79de/src/libstd/panicking.rs:297
39: 0x5580529235f9 - __rust_maybe_catch_panic
at src/libpanic_unwind/lib.rs:87
40: 0x55804a2f624f - std::panicking::try::he65f80095cf99d71
at /rustc/0ea22717a1e01fa535534b85a5347a7e49fc79de/src/libstd/panicking.rs:276
41: 0x55804a2daeb5 - std::panic::catch_unwind::h5f0795995ca0c47c
at /rustc/0ea22717a1e01fa535534b85a5347a7e49fc79de/src/libstd/panic.rs:388
42: 0x55804a21d1df - std::thread::Builder::spawn_unchecked::{{closure}}::hb09d73e49d72953c
at /rustc/0ea22717a1e01fa535534b85a5347a7e49fc79de/src/libstd/thread/mod.rs:468
43: 0x55804a21d4e8 - <F as alloc::boxed::FnBox<A>>::call_box::h9566bf7cccb22507
at /rustc/0ea22717a1e01fa535534b85a5347a7e49fc79de/src/liballoc/boxed.rs:749
44: 0x55805292293d - call_once<(),()>
at /rustc/0ea22717a1e01fa535534b85a5347a7e49fc79de/src/liballoc/boxed.rs:759
- start_thread
at src/libstd/sys_common/thread.rs:14
- thread_start
at src/libstd/sys/unix/thread.rs:80
45: 0x7f718b88dfa2 - start_thread
46: 0x7f718b7a282e - clone
47: 0x0 - <unknown>
Pipeline failed in hard-fail mode. Crashing!
```</details> |
I'm getting this same assertion on https://glitch.com/~servo-web-layer-gl cc @SimonSapin
|
This seems to affect all Glitch pages, e.g. https://glitch.com/~iw-agenda-generator |
Workaround is to use foo.glitch.me instead of glitch.com/~foo, but that's a different view. |
Another variant from #20029, which appears to be a duplicate issue:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
A-gfx/displaylist
A-layout/block
A-webcompat
C-has-manual-testcase
I-panic
Servo encounters a panic.
Another euclid crash found while fuzzing.
servo/components/layout/display_list/builder.rs
Line 2585 in 40d599e
At this point
border_box
has a zero width and 1118 Au height, and the border is nonzero, causinginner_rect
to panic.Most likely relevant part:
Full backtrace
The text was updated successfully, but these errors were encountered: