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

WR hits unreachable code on MotionMark #421

Closed
Manishearth opened this issue Sep 26, 2016 · 1 comment
Closed

WR hits unreachable code on MotionMark #421

Manishearth opened this issue Sep 26, 2016 · 1 comment

Comments

@Manishearth
Copy link
Member

@Manishearth Manishearth commented Sep 26, 2016

By running Servo on http://browserbench.org/MotionMark/ with window.matchMedia = function() {return {}} in resources/user-agent-js/00.example.js, we hit this unreachable!()

$ ./mach run -r http://browserbench.org/MotionMark/ --userscripts -w
internal error: entered unreachable code (thread <unnamed>, at /Users/manishearth/mozilla/servo/./.cargo/git/checkouts/webrender-c3596abe1cf4f320/master/webrender/src/tiling.rs:1988)
stack backtrace:
   0:        0x10ae94c3e - backtrace::backtrace::trace::h0e60ef08c7c34e9f
   1:        0x10ae94f2c - backtrace::capture::Backtrace::new::h8bf319c36d8f5d1b
   2:        0x109a631f4 - servo::main::_{{closure}}::h2d2b5bc7b4eac464
   3:        0x10b331943 - std::panicking::rust_panic_with_hook::hb1322e5f2588b4db
   4:        0x10aeea114 - std::panicking::begin_panic::h0914615a412ba184
   5:        0x10af0c40a - webrender::frame::Frame::flatten::h51e44fdb58c5ae23
   6:        0x10af0c02d - webrender::frame::Frame::flatten::h51e44fdb58c5ae23
   7:        0x10af0c02d - webrender::frame::Frame::flatten::h51e44fdb58c5ae23
   8:        0x10af206f5 - webrender::render_backend::RenderBackend::build_scene::h52afb899b760e4ed
   9:        0x10af17751 - webrender::render_backend::RenderBackend::run::h02e7b47b1bbd522c
  10:        0x10aeea7ef - std::panicking::try::do_call::ha940a6c78ff65cb4
  11:        0x10b332c4a - __rust_maybe_catch_panic
  12:        0x10aef43f6 - _<F as alloc..boxed..FnBox<A>>::call_box::h7a759c70df46c07e
  13:        0x10b330864 - std::sys::thread::Thread::new::thread_start::h022e3887023c6290
  14:     0x7fff8ee9299c - _pthread_body
  15:     0x7fff8ee92919 - _pthread_start
ERROR:servo: internal error: entered unreachable code
@jdm
Copy link
Member

@jdm jdm commented Sep 26, 2016

glennw pushed a commit to glennw/webrender that referenced this issue Sep 27, 2016
glennw pushed a commit to glennw/webrender that referenced this issue Sep 27, 2016
bors-servo added a commit that referenced this issue Sep 27, 2016
Implement filter: brightness.

Fixes #421.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/webrender/422)
<!-- Reviewable:end -->
@jgraham jgraham mentioned this issue Sep 27, 2016
3 of 4 tasks complete
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
2 participants
You can’t perform that action at this time.