Repository navigation
Closed
Labels
A-gfx/displaylistA-webrenderB-fuzzingFound by a fuzzer.C-has-manual-testcaseA minimal testcase exists that can be run manually.I-panicServo encounters a panic.
Description
Minimal testcase:
<style>
:host {}
:scope,h3 {-webkit-transition-duration: 300ms;border-left: 0.98em double rgb(59,49,217);}
:root,#x1 {-webkit-animation: keyframes1,keyframes2 1.5s normal;}
@keyframes keyframes2 { 100% { border-right: outset }
60% { translate: 12% </style>
<script>
function main() {try { var sheet0 = document.styleSheets[0];} catch (e) {}
try { sheet0.deleteRule(32 % sheet0.cssRules.length); x29.offsetHeight;} catch (e) {}
try { var v9 = window.top;} catch (e) {}
try { sheet0.insertRule("ellipse:only-of-type {}");} catch (e) {}
try { var v17 = v9.frames;} catch (e) {}
try { v17.scroll(1,32768);} catch (e) {}
}
</script>
<body onload="main()">
<font id="x29" face="f2()">
<audio id="class3" src="x">System: Linux
Version: Version: Servo 0.3.0-44e29da6d
Command: servo/target/debug/servoshell
(servoshell:492195): GLib-GObject-CRITICAL **: 18:27:11.229: ../../../gobject/gsignal.c:2685: instance '0x7e4278169e40' has no handler with id '38'
NaN should be between 0 and 1 (thread WRSceneBuilder#0, at /home/fred/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/webrender_api-0.69.0/src/color.rs:131)
0: servoshell::backtrace::print
at /home/fred/src-obj/servo/ports/servoshell/backtrace.rs:18:5
1: servoshell::panic_hook::panic_hook
at /home/fred/src-obj/servo/ports/servoshell/panic_hook.rs:40:17
2: core::ops::function::Fn::call
at /home/fred/.rustup/toolchains/1.95.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/function.rs:79:5
3: <alloc::boxed::Box<dyn for<'a, 'b> core::ops::function::Fn<(&'a std::panic::PanicHookInfo<'b>,), Output = ()> + core::marker::Sync + core::marker::Send> as core::ops::function::Fn<(&std::panic::PanicHookInfo,)>>::call
at /rustc/59807616e1fa2540724bfbac14d7976d7e4a3860/library/alloc/src/boxed.rs:2254:9
std::panicking::panic_with_hook
at /rustc/59807616e1fa2540724bfbac14d7976d7e4a3860/library/std/src/panicking.rs:833:13
4: std::panicking::panic_handler::{closure#0}
at /rustc/59807616e1fa2540724bfbac14d7976d7e4a3860/library/std/src/panicking.rs:698:13
5: std::sys::backtrace::__rust_end_short_backtrace::<std::panicking::panic_handler::{closure#0}, !>
at /rustc/59807616e1fa2540724bfbac14d7976d7e4a3860/library/std/src/sys/backtrace.rs:182:18
6: __rustc::rust_begin_unwind
at /rustc/59807616e1fa2540724bfbac14d7976d7e4a3860/library/std/src/panicking.rs:689:5
7: core::panicking::panic_fmt
at /rustc/59807616e1fa2540724bfbac14d7976d7e4a3860/library/core/src/panicking.rs:80:14
8: webrender_api::color::round_to_int
at /home/fred/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/webrender_api-0.69.0/src/color.rs:131:5
9: <webrender_api::color::ColorU as core::convert::From<webrender_api::color::ColorF>>::from
at /home/fred/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/webrender_api-0.69.0/src/color.rs:144:16
10: <T as core::convert::Into<U>>::into
at /home/fred/.rustup/toolchains/1.95.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/convert/mod.rs:778:9
11: <webrender::border::BorderSideAu as core::convert::From<webrender_api::display_item::BorderSide>>::from
at /home/fred/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/webrender-0.69.0/src/border.rs:81:31
12: <T as core::convert::Into<U>>::into
at /home/fred/.rustup/toolchains/1.95.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/convert/mod.rs:778:9
13: <webrender::border::NormalBorderAu as core::convert::From<webrender_api::display_item::NormalBorder>>::from
at /home/fred/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/webrender-0.69.0/src/border.rs:128:33
14: <T as core::convert::Into<U>>::into
at /home/fred/.rustup/toolchains/1.95.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/convert/mod.rs:778:9
15: webrender::border::<impl webrender::scene_building::SceneBuilder>::add_normal_border
at /home/fred/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/webrender-0.69.0/src/border.rs:235:32
16: webrender::scene_building::SceneBuilder::add_border
at /home/fred/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/webrender-0.69.0/src/scene_building.rs:3375:22
17: webrender::scene_building::SceneBuilder::build_item
at /home/fred/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/webrender-0.69.0/src/scene_building.rs:1826:22
18: webrender::scene_building::SceneBuilder::build_all
at /home/fred/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/webrender-0.69.0/src/scene_building.rs:1050:30
19: webrender::scene_building::SceneBuilder::build
at /home/fred/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/webrender-0.69.0/src/scene_building.rs:620:17
20: webrender::scene_builder_thread::SceneBuilderThread::process_transaction
at /home/fred/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/webrender-0.69.0/src/scene_builder_thread.rs:648:25
21: webrender::scene_builder_thread::SceneBuilderThread::run::{{closure}}
at /home/fred/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/webrender-0.69.0/src/scene_builder_thread.rs:335:41
22: core::iter::adapters::map::map_try_fold::{{closure}}
at /home/fred/.rustup/toolchains/1.95.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/iter/adapters/map.rs:95:28
23: <alloc::vec::into_iter::IntoIter<T,A> as core::iter::traits::iterator::Iterator>::try_fold
at /home/fred/.rustup/toolchains/1.95.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/vec/into_iter.rs:356:25
24: <core::iter::adapters::map::Map<I,F> as core::iter::traits::iterator::Iterator>::try_fold
at /home/fred/.rustup/toolchains/1.95.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/iter/adapters/map.rs:121:19
25: <I as alloc::vec::in_place_collect::SpecInPlaceCollect<T,I>>::collect_in_place
at /home/fred/.rustup/toolchains/1.95.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/vec/in_place_collect.rs:378:18
26: alloc::vec::in_place_collect::from_iter_in_place
at /home/fred/.rustup/toolchains/1.95.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/vec/in_place_collect.rs:269:9
27: alloc::vec::in_place_collect::<impl alloc::vec::spec_from_iter::SpecFromIter<T,I> for alloc::vec::Vec<T>>::from_iter
at /home/fred/.rustup/toolchains/1.95.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/vec/in_place_collect.rs:245:9
28: <alloc::vec::Vec<T> as core::iter::traits::collect::FromIterator<T>>::from_iter
at /home/fred/.rustup/toolchains/1.95.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/vec/mod.rs:3865:9
29: core::iter::traits::iterator::Iterator::collect
at /home/fred/.rustup/toolchains/1.95.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/iter/traits/iterator.rs:2064:9
30: webrender::scene_builder_thread::SceneBuilderThread::run
at /home/fred/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/webrender-0.69.0/src/scene_builder_thread.rs:336:26
31: webrender::renderer::init::create_webrender_instance::{{closure}}
at /home/fred/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/webrender-0.69.0/src/renderer/init.rs:625:23
32: std::sys::backtrace::__rust_begin_short_backtrace
at /home/fred/.rustup/toolchains/1.95.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/backtrace.rs:166:18
33: std::thread::lifecycle::spawn_unchecked::{{closure}}::{{closure}}
at /home/fred/.rustup/toolchains/1.95.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/lifecycle.rs:91:13
34: <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once
at /home/fred/.rustup/toolchains/1.95.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/panic/unwind_safe.rs:274:9
35: std::panicking::catch_unwind::do_call
at /home/fred/.rustup/toolchains/1.95.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panicking.rs:581:40
36: __rust_try
37: std::panicking::catch_unwind
at /home/fred/.rustup/toolchains/1.95.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panicking.rs:544:19
std::panic::catch_unwind
at /home/fred/.rustup/toolchains/1.95.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panic.rs:359:14
std::thread::lifecycle::spawn_unchecked::{{closure}}
at /home/fred/.rustup/toolchains/1.95.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/lifecycle.rs:89:26
38: core::ops::function::FnOnce::call_once{{vtable.shim}}
at /home/fred/.rustup/toolchains/1.95.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/function.rs:250:5
39: <alloc::boxed::Box<dyn core::ops::function::FnOnce<(), Output = ()> + core::marker::Send> as core::ops::function::FnOnce<()>>::call_once
at /rustc/59807616e1fa2540724bfbac14d7976d7e4a3860/library/alloc/src/boxed.rs:2240:9
<std::sys::thread::unix::Thread>::new::thread_start
at /rustc/59807616e1fa2540724bfbac14d7976d7e4a3860/library/std/src/sys/thread/unix.rs:118:17
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-gfx/displaylistA-webrenderB-fuzzingFound by a fuzzer.C-has-manual-testcaseA minimal testcase exists that can be run manually.I-panicServo encounters a panic.
Activity
layout: Prevent animations from producing invalid color values (servo…