-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Open
Labels
A-layout/gridC-has-manual-testcaseC-needs-testI-panicServo encounters a panic.Servo encounters a panic.
Description
Minimal testcase:
<!DOCTYPE html>
<div id="a">
<div id="b"></div>
</div>
<style>
#a {
display: grid;
grid: repeat(2,0) / auto-flow;
}
#b {
grid-column-start: custom-ident;
}
</style>System: Linux
Version: Version: Servo 0.0.2-cc4c762a7
Command: ./servo/servo --enable-experimental-web-platform-features
out of bounds. Column must be less than 1, but is 1 (thread Script(1,1), at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/grid-0.18.0/src/lib.rs:681)
0: servoshell::backtrace::print
1: servoshell::panic_hook::panic_hook
2: std::panicking::panic_with_hook
3: std::panicking::panic_handler::{{closure}}
4: std::sys::backtrace::__rust_end_short_backtrace
5: __rustc::rust_begin_unwind
6: core::panicking::panic_fmt
7: grid::Grid<T>::iter_col
8: taffy::compute::grid::compute_grid_layout
9: layout::formatting_contexts::IndependentFormattingContext::layout
10: layout::flow::<impl layout::formatting_contexts::IndependentFormattingContext>::layout_in_flow_block_level
11: layout::flow::BlockLevelBox::layout
12: rayon::iter::plumbing::bridge_producer_consumer::helper
13: layout::flow::BlockContainer::layout
14: layout::flow::BlockLevelBox::layout::{{closure}}
15: layout::flow::BlockLevelBox::layout
16: rayon::iter::plumbing::bridge_producer_consumer::helper
17: layout::flow::BlockContainer::layout
18: layout::flow::BlockFormattingContext::layout
19: layout::formatting_contexts::IndependentFormattingContext::layout
20: layout::flow::<impl layout::formatting_contexts::IndependentFormattingContext>::layout_in_flow_block_level
21: layout::flow::BlockLevelBox::layout
22: rayon::iter::plumbing::bridge_producer_consumer::helper
23: layout::flow::BlockContainer::layout
24: layout::flow::BlockFormattingContext::layout
25: layout::layout_impl::LayoutThread::restyle_and_build_trees::{{closure}}
26: layout::layout_impl::LayoutThread::handle_reflow
27: <layout::layout_impl::LayoutThread as layout_api::Layout>::reflow
28: script::dom::window::Window::reflow
29: script::dom::document::Document::update_the_rendering
30: script::dom::window::Window::allow_layout_if_necessary
31: script::dom::document::Document::finish_load
32: script::dom::servoparser::ServoParser::parse_sync
33: <script::dom::servoparser::ParserContext as script::network_listener::FetchResponseListener>::process_response_eof
34: script::script_thread::ScriptThread::handle_msg_from_script
35: script::script_thread::ScriptThread::handle_msgs::{{closure}}
36: script::script_thread::ScriptThread::handle_msgs
37: std::sys::backtrace::__rust_begin_short_backtrace
38: core::ops::function::FnOnce::call_once{{vtable.shim}}
39: std::sys::thread::unix::Thread::new::thread_start
40: start_thread
at ./nptl/pthread_create.c:447:8
41: clone3
at ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78:0
Metadata
Metadata
Assignees
Labels
A-layout/gridC-has-manual-testcaseC-needs-testI-panicServo encounters a panic.Servo encounters a panic.