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

assertion failed: child_index.0 >= parent_index.0 #23438

Open
CYBAI opened this issue May 22, 2019 · 2 comments

Comments

@CYBAI
Copy link
Collaborator

commented May 22, 2019

Built with color-backtrace branch and the branch has rebased to latest master on 8095df8fe9 πŸ‘€

Url: https://www.joshwcomeau.com/posts/folding-the-dom/

Check full backtrace
β†’ RUST_BACKTRACE=full ./mach run https://www.joshwcomeau.com/posts/folding-the-dom/
Oh noez! Panic! πŸ’₯
Message:  assertion failed: child_index.0 >= parent_index.0
Location: /Users/cybai/.cargo/git/checkouts/webrender-c3596abe1cf4f320/e53aae0/webrender/src/clip_scroll_tree.rs:171
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ BACKTRACE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 0: __ZN9backtrace9backtrace5trace17h839e9c61c986478eE
    at /Users/cybai/.cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.9/src/backtrace/mod.rs:42
      40 β”‚                  // to be skipped
      41 β”‚ pub fn trace<F: FnMut(&Frame) -> bool>(mut cb: F) {
      42 >     trace_imp(&mut cb)
      43 β”‚ }
      44 β”‚
 1: __ZN15color_backtrace12PanicHandler15print_backtrace17h15f476f22af10f44E
    at /Users/cybai/.cargo/registry/src/github.com-1ecc6299db9ec823/color-backtrace-0.1.3/src/lib.rs:241
     239 β”‚         // Collect frame info.
     240 β”‚         let mut symbols = Vec::new();
     241 >         backtrace::trace(|x| {
     242 β”‚             backtrace::resolve(x.ip(), |sym| {
     243 β”‚                 symbols.push((
 2: __ZN15color_backtrace12PanicHandler2go17h0b5dd8d5d04687f7E
    at /Users/cybai/.cargo/registry/src/github.com-1ecc6299db9ec823/color-backtrace-0.1.3/src/lib.rs:344
     342 β”‚
     343 β”‚         if self.v >= Verbosity::MEDIUM {
     344 >             self.print_backtrace()?;
     345 β”‚         }
     346 β”‚
 3: __ZN15color_backtrace20create_panic_handler28_$u7b$$u7b$closure$u7d$$u7d$17h5cb27815b918031cE
    at /Users/cybai/.cargo/registry/src/github.com-1ecc6299db9ec823/color-backtrace-0.1.3/src/lib.rs:83
      81 β”‚         let _lock = mutex.lock();
      82 β”‚
      83 >         PanicHandler::new(pi).go().unwrap();
      84 β”‚     })
      85 β”‚ }
 4: __ZN3std9panicking20rust_panic_with_hook17h4d29a1b082e04079E
    at /rustc/a9ec99f4201ec33026a468ef1289f98a95b4d71a/src/libstd/panicking.rs:478
 5: __ZN3std9panicking11begin_panic17h51568018097a9712E
    at /rustc/a9ec99f4201ec33026a468ef1289f98a95b4d71a/src/libstd/panicking.rs:408
 6: __ZN9webrender16clip_scroll_tree14ClipScrollTree22get_relative_transform17h168e8679b07092acE
    at /Users/cybai/.cargo/git/checkouts/webrender-c3596abe1cf4f320/e53aae0/webrender/src/clip_scroll_tree.rs:171
     169 β”‚         parent_index: SpatialNodeIndex,
     170 β”‚     ) -> RelativeTransform<LayoutPixel> {
     171 >         assert!(child_index.0 >= parent_index.0);
     172 β”‚         let child = &self.spatial_nodes[child_index.0 as usize];
     173 β”‚         let parent = &self.spatial_nodes[parent_index.0 as usize];
 7: __ZN9webrender10prim_store35CoordinateSpaceMapping$LT$F$C$T$GT$3new17h9d1564963e583173E
    at /Users/cybai/.cargo/git/checkouts/webrender-c3596abe1cf4f320/e53aae0/webrender/src/prim_store/mod.rs:157
     155 β”‚             (CoordinateSpaceMapping::ScaleOffset(scale_offset), VisibleFace::Front)
     156 β”‚         } else {
     157 >             let relative = clip_scroll_tree
     158 β”‚                 .get_relative_transform(target_node_index, ref_spatial_node_index);
     159 β”‚             (
 8: __ZN9webrender10prim_store24SpaceMapper$LT$F$C$T$GT$23set_target_spatial_node17h43e48b2da228e4d8E
    at /Users/cybai/.cargo/git/checkouts/webrender-c3596abe1cf4f320/e53aae0/webrender/src/prim_store/mod.rs:211
     209 β”‚             self.current_target_spatial_node_index = target_node_index;
     210 β”‚
     211 >             let (kind, visible_face) = CoordinateSpaceMapping::new(
     212 β”‚                 self.ref_spatial_node_index,
     213 β”‚                 target_node_index,
 9: __ZN9webrender7picture16PicturePrimitive11post_update17h69120a0c98f6572dE
    at /Users/cybai/.cargo/git/checkouts/webrender-c3596abe1cf4f320/e53aae0/webrender/src/picture.rs:2763
    2761 β”‚             // include it in the surface bounding rect.
    2762 β”‚             let surface = state.current_surface_mut();
    2763 >             surface.map_local_to_surface.set_target_spatial_node(
    2764 β”‚                 cluster.spatial_node_index,
    2765 β”‚                 frame_context.clip_scroll_tree,
10: __ZN9webrender7picture18PictureUpdateState6update17hba3aebbc24921af5E
    at /Users/cybai/.cargo/git/checkouts/webrender-c3596abe1cf4f320/e53aae0/webrender/src/picture.rs:1735
    1733 β”‚             }
    1734 β”‚
    1735 >             picture_primitives[pic_index.0].post_update(
    1736 β”‚                 prim_list,
    1737 β”‚                 self,
11: __ZN9webrender7picture18PictureUpdateState6update17hba3aebbc24921af5E
    at /Users/cybai/.cargo/git/checkouts/webrender-c3596abe1cf4f320/e53aae0/webrender/src/picture.rs:1724
    1722 β”‚         ) {
    1723 β”‚             for (child_pic_index, clip_chain_id) in &prim_list.pictures {
    1724 >                 self.update(
    1725 β”‚                     *child_pic_index,
    1726 β”‚                     *clip_chain_id,
12: __ZN9webrender7picture18PictureUpdateState6update17hba3aebbc24921af5E
    at /Users/cybai/.cargo/git/checkouts/webrender-c3596abe1cf4f320/e53aae0/webrender/src/picture.rs:1724
    1722 β”‚         ) {
    1723 β”‚             for (child_pic_index, clip_chain_id) in &prim_list.pictures {
    1724 >                 self.update(
    1725 β”‚                     *child_pic_index,
    1726 β”‚                     *clip_chain_id,
13: __ZN9webrender7picture18PictureUpdateState6update17hba3aebbc24921af5E
    at /Users/cybai/.cargo/git/checkouts/webrender-c3596abe1cf4f320/e53aae0/webrender/src/picture.rs:1724
    1722 β”‚         ) {
    1723 β”‚             for (child_pic_index, clip_chain_id) in &prim_list.pictures {
    1724 >                 self.update(
    1725 β”‚                     *child_pic_index,
    1726 β”‚                     *clip_chain_id,
14: __ZN9webrender7picture18PictureUpdateState10update_all17h854b17b535b50cc7E
    at /Users/cybai/.cargo/git/checkouts/webrender-c3596abe1cf4f320/e53aae0/webrender/src/picture.rs:1638
    1636 β”‚         };
    1637 β”‚
    1638 >         state.update(
    1639 β”‚             pic_index,
    1640 β”‚             ClipChainId::NONE,
15: __ZN9webrender13frame_builder12FrameBuilder40build_layer_screen_rects_and_cull_layers17hc24de746a23b1500E
    at /Users/cybai/.cargo/git/checkouts/webrender-c3596abe1cf4f320/e53aae0/webrender/src/frame_builder.rs:378
     376 β”‚         // which surfaces have valid cached surfaces that don't need to
     377 β”‚         // be rendered this frame.
     378 >         PictureUpdateState::update_all(
     379 β”‚             surfaces,
     380 β”‚             self.root_pic_index,
16: __ZN9webrender13frame_builder12FrameBuilder5build17h5ec073dcfac24041E
    at /Users/cybai/.cargo/git/checkouts/webrender-c3596abe1cf4f320/e53aae0/webrender/src/frame_builder.rs:553
     551 β”‚         let screen_world_rect = (self.output_rect.to_f32() / global_device_pixel_scale).round_out();
     552 β”‚
     553 >         let main_render_task_id = self.build_layer_screen_rects_and_cull_layers(
     554 β”‚             screen_world_rect,
     555 β”‚             clip_scroll_tree,
17: __ZN9webrender14render_backend8Document11build_frame17h8c1d04a9c291a7afE
    at /Users/cybai/.cargo/git/checkouts/webrender-c3596abe1cf4f320/e53aae0/webrender/src/render_backend.rs:509
     507 β”‚         let frame = {
     508 β”‚             let frame_builder = self.frame_builder.as_mut().unwrap();
     509 >             let frame = frame_builder.build(
     510 β”‚                 resource_cache,
     511 β”‚                 gpu_cache,
18: __ZN9webrender14render_backend13RenderBackend15update_document17h3e07744f0f9832ceE
    at /Users/cybai/.cargo/git/checkouts/webrender-c3596abe1cf4f320/e53aae0/webrender/src/render_backend.rs:1372
    1370 β”‚                 let frame_build_start_time = precise_time_ns();
    1371 β”‚
    1372 >                 let rendered_document = doc.build_frame(
    1373 β”‚                     &mut self.resource_cache,
    1374 β”‚                     &mut self.gpu_cache,
19: __ZN9webrender14render_backend13RenderBackend3run17he0f4b1d4edc19735E
    at /Users/cybai/.cargo/git/checkouts/webrender-c3596abe1cf4f320/e53aae0/webrender/src/render_backend.rs:900
     898 β”‚                         }
     899 β”‚
     900 >                         self.update_document(
     901 β”‚                             txn.document_id,
     902 β”‚                             txn.resource_updates.take(),
20: __ZN9webrender8renderer8Renderer3new28_$u7b$$u7b$closure$u7d$$u7d$17h09441d067ff31638E
    at /Users/cybai/.cargo/git/checkouts/webrender-c3596abe1cf4f320/e53aae0/webrender/src/renderer.rs:2054
    2052 β”‚                 namespace_alloc_by_client,
    2053 β”‚             );
    2054 >             backend.run(backend_profile_counters);
    2055 β”‚             if let Some(ref thread_listener) = *thread_listener_for_render_backend {
    2056 β”‚                 thread_listener.thread_stopped(&rb_thread_name);
21: __ZN3std10sys_common9backtrace28__rust_begin_short_backtrace17h02009b4ca83325adE
    at /rustc/a9ec99f4201ec33026a468ef1289f98a95b4d71a/src/libstd/sys_common/backtrace.rs:136
22: __ZN3std6thread7Builder15spawn_unchecked28_$u7b$$u7b$closure$u7d$$u7d$28_$u7b$$u7b$closure$u7d$$u7d$17hf0339ecd81954e4bE
    at /rustc/a9ec99f4201ec33026a468ef1289f98a95b4d71a/src/libstd/thread/mod.rs:469
23: __ZN101_$LT$std..panic..AssertUnwindSafe$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$$LP$$RP$$GT$$GT$9call_once17h77b1adff87290c2fE
    at /rustc/a9ec99f4201ec33026a468ef1289f98a95b4d71a/src/libstd/panic.rs:309
24: __ZN3std9panicking3try7do_call17h85296f0122754666E
    at /rustc/a9ec99f4201ec33026a468ef1289f98a95b4d71a/src/libstd/panicking.rs:293
25: ___rust_maybe_catch_panic
    at /rustc/a9ec99f4201ec33026a468ef1289f98a95b4d71a/src/libpanic_unwind/lib.rs:85
26: __ZN3std9panicking3try17hc12a41e7fcf2bb93E
    at /rustc/a9ec99f4201ec33026a468ef1289f98a95b4d71a/src/libstd/panicking.rs:272
27: __ZN3std5panic12catch_unwind17hc9626848f4301177E
    at /rustc/a9ec99f4201ec33026a468ef1289f98a95b4d71a/src/libstd/panic.rs:388
28: __ZN3std6thread7Builder15spawn_unchecked28_$u7b$$u7b$closure$u7d$$u7d$17hd1d0074ebd7b73bbE
    at /rustc/a9ec99f4201ec33026a468ef1289f98a95b4d71a/src/libstd/thread/mod.rs:468
29: __ZN4core3ops8function6FnOnce40call_once$u7b$$u7b$vtable.shim$u7d$$u7d$17hde3da988d2c8b6c9E
    at /rustc/a9ec99f4201ec33026a468ef1289f98a95b4d71a/src/libcore/ops/function.rs:231
30: __ZN83_$LT$alloc..boxed..Box$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$A$GT$$GT$9call_once17h3ec79158893c158bE
    at /rustc/a9ec99f4201ec33026a468ef1289f98a95b4d71a/src/liballoc/boxed.rs:704
31: __ZN3std3sys4unix6thread6Thread3new12thread_start17h42de43c740cec52bE
    at /rustc/a9ec99f4201ec33026a468ef1289f98a95b4d71a/src/liballoc/boxed.rs:704
32: __pthread_body
    at <unknown source file>
33: __pthread_start
    at <unknown source file>
Oh noez! Panic! πŸ’₯
Message:  Webrender was shut down before processing CloneApi: io error: No senders exist for this port.
Location: /Users/cybai/.cargo/git/checkouts/webrender-c3596abe1cf4f320/e53aae0/webrender_api/src/api.rs:979
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ BACKTRACE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 0: __ZN9backtrace9backtrace5trace17h839e9c61c986478eE
    at /Users/cybai/.cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.9/src/backtrace/mod.rs:42
      40 β”‚                  // to be skipped
      41 β”‚ pub fn trace<F: FnMut(&Frame) -> bool>(mut cb: F) {
      42 >     trace_imp(&mut cb)
      43 β”‚ }
      44 β”‚
 1: __ZN15color_backtrace12PanicHandler15print_backtrace17h15f476f22af10f44E
    at /Users/cybai/.cargo/registry/src/github.com-1ecc6299db9ec823/color-backtrace-0.1.3/src/lib.rs:241
     239 β”‚         // Collect frame info.
     240 β”‚         let mut symbols = Vec::new();
     241 >         backtrace::trace(|x| {
     242 β”‚             backtrace::resolve(x.ip(), |sym| {
     243 β”‚                 symbols.push((
 2: __ZN15color_backtrace12PanicHandler2go17h0b5dd8d5d04687f7E
    at /Users/cybai/.cargo/registry/src/github.com-1ecc6299db9ec823/color-backtrace-0.1.3/src/lib.rs:344
     342 β”‚
     343 β”‚         if self.v >= Verbosity::MEDIUM {
     344 >             self.print_backtrace()?;
     345 β”‚         }
     346 β”‚
 3: __ZN15color_backtrace20create_panic_handler28_$u7b$$u7b$closure$u7d$$u7d$17h5cb27815b918031cE
    at /Users/cybai/.cargo/registry/src/github.com-1ecc6299db9ec823/color-backtrace-0.1.3/src/lib.rs:83
      81 β”‚         let _lock = mutex.lock();
      82 β”‚
      83 >         PanicHandler::new(pi).go().unwrap();
      84 β”‚     })
      85 β”‚ }
 4: __ZN3std9panicking20rust_panic_with_hook17h4d29a1b082e04079E
    at /rustc/a9ec99f4201ec33026a468ef1289f98a95b4d71a/src/libstd/panicking.rs:478
 5: __ZN3std9panicking18continue_panic_fmt17h4a5eb546816972c4E
    at /rustc/a9ec99f4201ec33026a468ef1289f98a95b4d71a/src/libstd/panicking.rs:381
 6: __ZN3std9panicking15begin_panic_fmt17h1bef9ef925c1eb3eE
    at /rustc/a9ec99f4201ec33026a468ef1289f98a95b4d71a/src/libstd/panicking.rs:336
 7: __ZN13webrender_api3api15RenderApiSender10create_api17ha2e9ce569adc3cb1E
    at /Users/cybai/.cargo/git/checkouts/webrender-c3596abe1cf4f320/e53aae0/webrender_api/src/api.rs:979
     977 β”‚                 let webrender_is_alive = self.api_sender.send(ApiMsg::WakeUp);
     978 β”‚                 if webrender_is_alive.is_err() {
     979 >                     panic!("Webrender was shut down before processing CloneApi: {}", e);
     980 β”‚                 } else {
     981 β”‚                     panic!("CloneApi message response was dropped while Webrender was still alive: {}", e);
 8: __ZN6script3dom16htmlmediaelement18MediaFrameRenderer3new17h7999ab6116c0e067E
    at /Users/cybai/codespace/mozilla/servo/components/script/dom/htmlmediaelement.rs:97
      95 β”‚     fn new(render_api_sender: RenderApiSender) -> Self {
      96 β”‚         Self {
      97 >             api: render_api_sender.create_api(),
      98 β”‚             current_frame: None,
      99 β”‚             old_frame: None,
 9: __ZN6script3dom16htmlmediaelement16HTMLMediaElement13new_inherited17h8d4c86cfacfb6012E
    at /Users/cybai/codespace/mozilla/servo/components/script/dom/htmlmediaelement.rs:308
     306 β”‚             in_flight_play_promises_queue: Default::default(),
     307 β”‚             player: Default::default(),
     308 >             frame_renderer: Arc::new(Mutex::new(MediaFrameRenderer::new(
     309 β”‚                 document.window().get_webrender_api_sender(),
     310 β”‚             ))),
10: __ZN6script3dom16htmlvideoelement16HTMLVideoElement13new_inherited17haab5e9322494c85aE
    at /Users/cybai/codespace/mozilla/servo/components/script/dom/htmlvideoelement.rs:67
      65 β”‚     ) -> HTMLVideoElement {
      66 β”‚         HTMLVideoElement {
      67 >             htmlmediaelement: HTMLMediaElement::new_inherited(local_name, prefix, document),
      68 β”‚             video_width: Cell::new(DEFAULT_WIDTH),
      69 β”‚             video_height: Cell::new(DEFAULT_HEIGHT),
11: __ZN6script3dom16htmlvideoelement16HTMLVideoElement3new17hd5dfc94a8d6473afE
    at /Users/cybai/codespace/mozilla/servo/components/script/dom/htmlvideoelement.rs:83
      81 β”‚     ) -> DomRoot<HTMLVideoElement> {
      82 β”‚         Node::reflect_node(
      83 >             Box::new(HTMLVideoElement::new_inherited(
      84 β”‚                 local_name, prefix, document,
      85 β”‚             )),
12: __ZN6script3dom6create26create_native_html_element17h95bf48c872e07856E
    at /Users/cybai/codespace/mozilla/servo/components/script/dom/create.rs:364
     362 β”‚         local_name!("ul") => make!(HTMLUListElement),
     363 β”‚         local_name!("var") => make!(HTMLElement),
     364 >         local_name!("video") => make!(HTMLVideoElement),
     365 β”‚         local_name!("wbr") => make!(HTMLElement),
     366 β”‚         local_name!("xmp") => make!(HTMLPreElement),
13: __ZN6script3dom6create19create_html_element17hd194ba2a89112071E
    at /Users/cybai/codespace/mozilla/servo/components/script/dom/create.rs:193
     191 β”‚
     192 β”‚     // Steps 7.1-7.2
     193 >     let result = create_native_html_element(name.clone(), prefix, document, creator);
     194 β”‚
     195 β”‚     // Step 7.3
14: __ZN6script3dom6create14create_element17h6ee8202770c92076E
    at /Users/cybai/codespace/mozilla/servo/components/script/dom/create.rs:381
     379 β”‚     let prefix = name.prefix.clone();
     380 β”‚     match name.ns {
     381 >         ns!(html) => create_html_element(name, prefix, is, document, creator, mode),
     382 β”‚         ns!(svg) => create_svg_element(name, prefix, document),
     383 β”‚         _ => Element::new(name.local, name.ns, prefix, document),
15: __ZN6script3dom7element7Element6create17hf0bb8269eb94f20bE
    at /Users/cybai/codespace/mozilla/servo/components/script/dom/element.rs:253
     251 β”‚         mode: CustomElementCreationMode,
     252 β”‚     ) -> DomRoot<Element> {
     253 >         create_element(name, is, document, creator, mode)
     254 β”‚     }
     255 β”‚
16: __ZN6script3dom11servoparser24create_element_for_token17h7b73d143c8f0a15bE
    at /Users/cybai/codespace/mozilla/servo/components/script/dom/servoparser/mod.rs:1167
    1165 β”‚         CustomElementCreationMode::Asynchronous
    1166 β”‚     };
    1167 >     let element = Element::create(name, is, document, creator, creation_mode);
    1168 β”‚
    1169 β”‚     // Step 8.
17: __ZN97_$LT$script..dom..servoparser..Sink$u20$as$u20$markup5ever..interface..tree_builder..TreeSink$GT$14create_element17h0ea63636e6a91bf9E
    at /Users/cybai/codespace/mozilla/servo/components/script/dom/servoparser/mod.rs:947
     945 β”‚             .map(|attr| ElementAttribute::new(attr.name, DOMString::from(String::from(attr.value))))
     946 β”‚             .collect();
     947 >         let element = create_element_for_token(
     948 β”‚             name,
     949 β”‚             attrs,
18: __ZN11markup5ever9interface12tree_builder14create_element17h0f3991f5961b8a82E
    at /Users/cybai/.cargo/registry/src/github.com-1ecc6299db9ec823/markup5ever-0.8.1/interface/tree_builder.rs:124
     122 β”‚         _ => {},
     123 β”‚     }
     124 >     sink.create_element(name, attrs, flags)
     125 β”‚ }
     126 β”‚
19: __ZN9html5ever12tree_builder32TreeBuilder$LT$Handle$C$Sink$GT$14insert_element17h834bffe9d010e4e0E
    at /Users/cybai/.cargo/registry/src/github.com-1ecc6299db9ec823/html5ever-0.23.0/src/tree_builder/mod.rs:1292
    1290 β”‚         // Step 7.
    1291 β”‚         let qname = QualName::new(None, ns, name);
    1292 >         let elem = create_element(&mut self.sink, qname.clone(), attrs.clone());
    1293 β”‚
    1294 β”‚         let insertion_point = self.appropriate_place_for_insertion(None);
20: __ZN9html5ever12tree_builder32TreeBuilder$LT$Handle$C$Sink$GT$18insert_element_for17hac995d6e3b83ed5dE
    at /Users/cybai/.cargo/registry/src/github.com-1ecc6299db9ec823/html5ever-0.23.0/src/tree_builder/mod.rs:1331
    1329 β”‚
    1330 β”‚     fn insert_element_for(&mut self, tag: Tag) -> Handle {
    1331 >         self.insert_element(Push, ns!(html), tag.name, tag.attrs)
    1332 β”‚     }
    1333 β”‚
21: __ZN9html5ever12tree_builder32TreeBuilder$LT$Handle$C$Sink$GT$4step17h52d9b4471d769c85E
    at /Users/cybai/codespace/mozilla/servo/target/debug/build/html5ever-a8cd2909a7882e2b/out/rules.rs:768
     766 β”‚ self . parse_raw_data ( tag , Rawtext )
     767 β”‚ } else {
     768 > self . reconstruct_formatting ( ) ; self . insert_element_for ( tag ) ; Done
     769 β”‚ }
     770 β”‚ } , ( true , :: tree_builder :: types :: TagToken ( tag @ :: tokenizer :: Tag {
22: __ZN9html5ever12tree_builder32TreeBuilder$LT$Handle$C$Sink$GT$21process_to_completion17h143bbc25a5431f85E
    at /Users/cybai/.cargo/registry/src/github.com-1ecc6299db9ec823/html5ever-0.23.0/src/tree_builder/mod.rs:337
     335 β”‚             } else {
     336 β”‚                 let mode = self.mode;
     337 >                 self.step(mode, token)
     338 β”‚             };
     339 β”‚             match result {
23: __ZN120_$LT$html5ever..tree_builder..TreeBuilder$LT$Handle$C$Sink$GT$$u20$as$u20$html5ever..tokenizer..interface..TokenSink$GT$13process_token17h091c261056bc900bE
    at /Users/cybai/.cargo/registry/src/github.com-1ecc6299db9ec823/html5ever-0.23.0/src/tree_builder/mod.rs:524
     522 β”‚         };
     523 β”‚
     524 >         self.process_to_completion(token)
     525 β”‚     }
     526 β”‚
24: __ZN9html5ever9tokenizer21Tokenizer$LT$Sink$GT$13process_token17h236f1a02b08d9973E
    at /Users/cybai/.cargo/registry/src/github.com-1ecc6299db9ec823/html5ever-0.23.0/src/tokenizer/mod.rs:234
     232 β”‚             ret
     233 β”‚         } else {
     234 >             self.sink.process_token(token, self.current_line)
     235 β”‚         }
     236 β”‚     }
25: __ZN9html5ever9tokenizer21Tokenizer$LT$Sink$GT$16emit_current_tag17hecf654a5da8ceef2E
    at /Users/cybai/.cargo/registry/src/github.com-1ecc6299db9ec823/html5ever-0.23.0/src/tokenizer/mod.rs:436
     434 β”‚         });
     435 β”‚
     436 >         match self.process_token(token) {
     437 β”‚             TokenSinkResult::Continue => ProcessResult::Continue,
     438 β”‚             TokenSinkResult::Plaintext => {
26: __ZN9html5ever9tokenizer21Tokenizer$LT$Sink$GT$4step17h6dc3a183d9f1ef57E
    at /Users/cybai/.cargo/registry/src/github.com-1ecc6299db9ec823/html5ever-0.23.0/src/tokenizer/mod.rs:638
     636 β”‚     ( $me:ident : emit_tag $s:ident ) => ({
     637 β”‚         $me.state = states::$s;
     638 >         return $me.emit_current_tag();
     639 β”‚     });
     640 β”‚
27: __ZN9html5ever9tokenizer21Tokenizer$LT$Sink$GT$3run17h10224373dec2b4b1E
    at /Users/cybai/.cargo/registry/src/github.com-1ecc6299db9ec823/html5ever-0.23.0/src/tokenizer/mod.rs:366
     364 β”‚         } else {
     365 β”‚             loop {
     366 >                 match self.step(input) {
     367 β”‚                     ProcessResult::Continue => (),
     368 β”‚                     ProcessResult::Suspend => break,
28: __ZN9html5ever9tokenizer21Tokenizer$LT$Sink$GT$4feed17h00279c501daa7a23E
    at /Users/cybai/.cargo/registry/src/github.com-1ecc6299db9ec823/html5ever-0.23.0/src/tokenizer/mod.rs:221
     219 β”‚         };
     220 β”‚
     221 >         self.run(input)
     222 β”‚     }
     223 β”‚
29: __ZN6script3dom11servoparser4html9Tokenizer4feed17h706cdd265b889775E
    at /Users/cybai/codespace/mozilla/servo/components/script/dom/servoparser/html.rs:81
      79 β”‚
      80 β”‚     pub fn feed(&mut self, input: &mut BufferQueue) -> Result<(), DomRoot<HTMLScriptElement>> {
      81 >         match self.inner.feed(input) {
      82 β”‚             TokenizerResult::Done => Ok(()),
      83 β”‚             TokenizerResult::Script(script) => Err(DomRoot::from_ref(script.downcast().unwrap())),
30: __ZN6script3dom11servoparser9Tokenizer4feed17hc2cb1f0216357437E
    at /Users/cybai/codespace/mozilla/servo/components/script/dom/servoparser/mod.rs:599
     597 β”‚     fn feed(&mut self, input: &mut BufferQueue) -> Result<(), DomRoot<HTMLScriptElement>> {
     598 β”‚         match *self {
     599 >             Tokenizer::Html(ref mut tokenizer) => tokenizer.feed(input),
     600 β”‚             Tokenizer::AsyncHtml(ref mut tokenizer) => tokenizer.feed(input),
     601 β”‚             Tokenizer::Xml(ref mut tokenizer) => tokenizer.feed(input),
31: __ZN6script3dom11servoparser11ServoParser13do_parse_sync28_$u7b$$u7b$closure$u7d$$u7d$17hfb205639d459248dE
    at /Users/cybai/codespace/mozilla/servo/components/script/dom/servoparser/mod.rs:477
     475 β”‚             }
     476 β”‚         }
     477 >         self.tokenize(|tokenizer| tokenizer.feed(&mut *self.network_input.borrow_mut()));
     478 β”‚
     479 β”‚         if self.suspended.get() {
32: __ZN6script3dom11servoparser11ServoParser8tokenize17ha06e915eaf654142E
    at /Users/cybai/codespace/mozilla/servo/components/script/dom/servoparser/mod.rs:515
     513 β”‚
     514 β”‚             self.document.reflow_if_reflow_timer_expired();
     515 >             let script = match feed(&mut *self.tokenizer.borrow_mut()) {
     516 β”‚                 Ok(()) => return,
     517 β”‚                 Err(script) => script,
33: __ZN6script3dom11servoparser11ServoParser13do_parse_sync17h7f0839a1263294d6E
    at /Users/cybai/codespace/mozilla/servo/components/script/dom/servoparser/mod.rs:477
     475 β”‚             }
     476 β”‚         }
     477 >         self.tokenize(|tokenizer| tokenizer.feed(&mut *self.network_input.borrow_mut()));
     478 β”‚
     479 β”‚         if self.suspended.get() {
34: __ZN6script3dom11servoparser11ServoParser10parse_sync28_$u7b$$u7b$closure$u7d$$u7d$17h8291218f91eb2453E
    at /Users/cybai/codespace/mozilla/servo/components/script/dom/servoparser/mod.rs:459
     457 β”‚                 .time_profiler_chan()
     458 β”‚                 .clone(),
     459 >             || self.do_parse_sync(),
     460 β”‚         )
     461 β”‚     }
35: __ZN14profile_traits4time7profile17h0cf127c50be11ff6E
    at /Users/cybai/codespace/mozilla/servo/components/profile_traits/time.rs:146
     144 β”‚     let start_time = precise_time_ns();
     145 β”‚
     146 >     let val = callback();
     147 β”‚
     148 β”‚     let end_time = precise_time_ns();
36: __ZN6script3dom11servoparser11ServoParser10parse_sync17h8033e45e24b51bfdE
    at /Users/cybai/codespace/mozilla/servo/components/script/dom/servoparser/mod.rs:451
     449 β”‚         };
     450 β”‚         let profiler_category = self.tokenizer.borrow().profiler_category();
     451 >         profile(
     452 β”‚             profiler_category,
     453 β”‚             Some(metadata),
37: __ZN6script3dom11servoparser11ServoParser17parse_bytes_chunk17hbbcb368e2106ca64E
    at /Users/cybai/codespace/mozilla/servo/components/script/dom/servoparser/mod.rs:502
     500 β”‚         self.push_bytes_input_chunk(input);
     501 β”‚         if !self.suspended.get() {
     502 >             self.parse_sync();
     503 β”‚         }
     504 β”‚     }
38: __ZN93_$LT$script..dom..servoparser..ParserContext$u20$as$u20$net_traits..FetchResponseListener$GT$22process_response_chunk17h8beb48f5d2ad0733E
    at /Users/cybai/codespace/mozilla/servo/components/script/dom/servoparser/mod.rs:786
     784 β”‚             return;
     785 β”‚         }
     786 >         parser.parse_bytes_chunk(payload);
     787 β”‚     }
     788 β”‚
39: __ZN6script13script_thread12ScriptThread18handle_fetch_chunk17h0dd04345a12899dcE
    at /Users/cybai/codespace/mozilla/servo/components/script/script_thread.rs:3423
    3421 β”‚             .find(|&&mut (pipeline_id, _)| pipeline_id == id);
    3422 β”‚         if let Some(&mut (_, ref mut ctxt)) = parser {
    3423 >             ctxt.process_response_chunk(chunk);
    3424 β”‚         }
    3425 β”‚     }
40: __ZN6script13script_thread12ScriptThread29handle_msg_from_constellation17h2198c8b718629beaE
    at /Users/cybai/codespace/mozilla/servo/components/script/script_thread.rs:1625
    1623 β”‚                     },
    1624 β”‚                     FetchResponseMsg::ProcessResponseChunk(chunk) => {
    1625 >                         self.handle_fetch_chunk(id, chunk)
    1626 β”‚                     },
    1627 β”‚                     FetchResponseMsg::ProcessResponseEOF(eof) => self.handle_fetch_eof(id, eof),
41: __ZN6script13script_thread12ScriptThread11handle_msgs28_$u7b$$u7b$closure$u7d$$u7d$17ha43ced817d1e3f9fE
    at /Users/cybai/codespace/mozilla/servo/components/script/script_thread.rs:1356
    1354 β”‚                         return Some(false);
    1355 β”‚                     },
    1356 >                     FromConstellation(inner_msg) => self.handle_msg_from_constellation(inner_msg),
    1357 β”‚                     FromScript(inner_msg) => self.handle_msg_from_script(inner_msg),
    1358 β”‚                     FromScheduler(inner_msg) => self.handle_timer_event(inner_msg),
42: __ZN6script13script_thread12ScriptThread13profile_event17h17088479c4cc9fcaE
    at /Users/cybai/codespace/mozilla/servo/components/script/script_thread.rs:1593
    1591 β”‚             profile(profiler_cat, None, self.time_profiler_chan.clone(), f)
    1592 β”‚         } else {
    1593 >             f()
    1594 β”‚         };
    1595 β”‚         let end = precise_time_ns();
43: __ZN6script13script_thread12ScriptThread11handle_msgs17ha47a9789b90b7756E
    at /Users/cybai/codespace/mozilla/servo/components/script/script_thread.rs:1350
    1348 β”‚             let pipeline_id = self.message_to_pipeline(&msg);
    1349 β”‚
    1350 >             let result = self.profile_event(category, pipeline_id, move || {
    1351 β”‚                 match msg {
    1352 β”‚                     FromConstellation(ConstellationControlMsg::ExitScriptThread) => {
44: __ZN6script13script_thread12ScriptThread5start17h9ffad06d390c1a9eE
    at /Users/cybai/codespace/mozilla/servo/components/script/script_thread.rs:1183
    1181 β”‚     pub fn start(&self) {
    1182 β”‚         debug!("Starting script thread.");
    1183 >         while self.handle_msgs() {
    1184 β”‚             // Go on...
    1185 β”‚             debug!("Running script thread.");
45: __ZN90_$LT$script..script_thread..ScriptThread$u20$as$u20$script_traits..ScriptThreadFactory$GT$6create28_$u7b$$u7b$closure$u7d$$u7d$28_$u7b$$u7b$closure$u7d$$u7d$17hc3a8d33473edb543E
    at /Users/cybai/codespace/mozilla/servo/components/script/script_thread.rs:740
     738 β”‚                 mem_profiler_chan.run_with_memory_reporting(
     739 β”‚                     || {
     740 >                         script_thread.start();
     741 β”‚                         let _ = script_thread.content_process_shutdown_chan.send(());
     742 β”‚                     },
46: __ZN14profile_traits3mem12ProfilerChan25run_with_memory_reporting17h4746e77317311187E
    at /Users/cybai/codespace/mozilla/servo/components/profile_traits/mem.rs:88
      86 β”‚         ));
      87 β”‚
      88 >         f();
      89 β”‚
      90 β”‚         self.send(ProfilerMsg::UnregisterReporter(reporter_name));
47: __ZN90_$LT$script..script_thread..ScriptThread$u20$as$u20$script_traits..ScriptThreadFactory$GT$6create28_$u7b$$u7b$closure$u7d$$u7d$17h8d6157582d39843eE
    at /Users/cybai/codespace/mozilla/servo/components/script/script_thread.rs:738
     736 β”‚
     737 β”‚                 let reporter_name = format!("script-reporter-{}", id);
     738 >                 mem_profiler_chan.run_with_memory_reporting(
     739 β”‚                     || {
     740 β”‚                         script_thread.start();
48: __ZN3std10sys_common9backtrace28__rust_begin_short_backtrace17h0b2e131162708a8cE
    at /rustc/a9ec99f4201ec33026a468ef1289f98a95b4d71a/src/libstd/sys_common/backtrace.rs:136
49: __ZN3std6thread7Builder15spawn_unchecked28_$u7b$$u7b$closure$u7d$$u7d$28_$u7b$$u7b$closure$u7d$$u7d$17h28ae8869dacc52d7E
    at /rustc/a9ec99f4201ec33026a468ef1289f98a95b4d71a/src/libstd/thread/mod.rs:469
50: __ZN101_$LT$std..panic..AssertUnwindSafe$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$$LP$$RP$$GT$$GT$9call_once17hc27a61c87355ce16E
    at /rustc/a9ec99f4201ec33026a468ef1289f98a95b4d71a/src/libstd/panic.rs:309
51: __ZN3std9panicking3try7do_call17h7f08cef820609022E
    at /rustc/a9ec99f4201ec33026a468ef1289f98a95b4d71a/src/libstd/panicking.rs:293
52: ___rust_maybe_catch_panic
    at /rustc/a9ec99f4201ec33026a468ef1289f98a95b4d71a/src/libpanic_unwind/lib.rs:85
53: __ZN3std9panicking3try17hffa99c6e59aaf970E
    at /rustc/a9ec99f4201ec33026a468ef1289f98a95b4d71a/src/libstd/panicking.rs:272
54: __ZN3std5panic12catch_unwind17h89bddfd3105651a6E
    at /rustc/a9ec99f4201ec33026a468ef1289f98a95b4d71a/src/libstd/panic.rs:388
55: __ZN3std6thread7Builder15spawn_unchecked28_$u7b$$u7b$closure$u7d$$u7d$17ha0574d0ceaaba60aE
    at /rustc/a9ec99f4201ec33026a468ef1289f98a95b4d71a/src/libstd/thread/mod.rs:468
56: __ZN4core3ops8function6FnOnce40call_once$u7b$$u7b$vtable.shim$u7d$$u7d$17habebde2d2f072e6eE
    at /rustc/a9ec99f4201ec33026a468ef1289f98a95b4d71a/src/libcore/ops/function.rs:231
57: __ZN83_$LT$alloc..boxed..Box$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$A$GT$$GT$9call_once17h3ec79158893c158bE
    at /rustc/a9ec99f4201ec33026a468ef1289f98a95b4d71a/src/liballoc/boxed.rs:704
58: __ZN3std3sys4unix6thread6Thread3new12thread_start17h42de43c740cec52bE
    at /rustc/a9ec99f4201ec33026a468ef1289f98a95b4d71a/src/liballoc/boxed.rs:704
59: __pthread_body
    at <unknown source file>
60: __pthread_start
    at <unknown source file>
Oh noez! Panic! πŸ’₯
Message:  called `Result::unwrap()` on an `Err` value: Io(Custom { kind: NotFound, error: StringError("Bogus destination port.") })
Location: src/libcore/result.rs:999
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ BACKTRACE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
                          (7 post panic frames hidden)
 7: __ZN4core9panicking9panic_fmt17h08425221a00ef4a4E
    at /rustc/a9ec99f4201ec33026a468ef1289f98a95b4d71a/src/libcore/panicking.rs:85
 8: __ZN4core6result13unwrap_failed17hdd1a02650339d52fE
    at /rustc/a9ec99f4201ec33026a468ef1289f98a95b4d71a/src/libcore/macros.rs:18
 9: __ZN4core6result19Result$LT$T$C$E$GT$6unwrap17h6f935231accd90c6E
    at /rustc/a9ec99f4201ec33026a468ef1289f98a95b4d71a/src/libcore/result.rs:800
10: __ZN13webrender_api3api9RenderApi14send_frame_msg17h982506d7d52c4312E
    at /Users/cybai/.cargo/git/checkouts/webrender-c3596abe1cf4f320/e53aae0/webrender_api/src/api.rs:1211
    1209 β”‚         // `RenderApi` instances for layout and compositor.
    1210 β”‚         //assert_eq!(document_id.0, self.namespace_id);
    1211 >         self.api_sender
    1212 β”‚             .send(ApiMsg::UpdateDocument(document_id, TransactionMsg::frame_message(msg)))
    1213 β”‚             .unwrap()
11: __ZN13webrender_api3api9RenderApi8hit_test17h936a4c2896268705E
    at /Users/cybai/.cargo/git/checkouts/webrender-c3596abe1cf4f320/e53aae0/webrender_api/src/api.rs:1238
    1236 β”‚         let (tx, rx) = channel::msg_channel().unwrap();
    1237 β”‚
    1238 >         self.send_frame_msg(
    1239 β”‚             document_id,
    1240 β”‚             FrameMsg::HitTest(pipeline_id, point, flags, tx)
12: __ZN11compositing10compositor26IOCompositor$LT$Window$GT$17hit_test_at_point17h44f6dae7905af986E
    at /Users/cybai/codespace/mozilla/servo/components/compositing/compositor.rs:680
     678 β”‚
     679 β”‚         let world_cursor = webrender_api::WorldPoint::from_untyped(&scaled_point);
     680 >         self.webrender_api.hit_test(
     681 β”‚             self.webrender_document,
     682 β”‚             None,
13: __ZN11compositing10compositor26IOCompositor$LT$Window$GT$38dispatch_mouse_window_move_event_class17h4b63e99ae8fc60e4E
    at /Users/cybai/codespace/mozilla/servo/components/compositing/compositor.rs:706
     704 β”‚         }
     705 β”‚
     706 >         let results = self.hit_test_at_point(cursor);
     707 β”‚         if let Some(item) = results.items.first() {
     708 β”‚             let node_address = Some(UntrustedNodeAddress(item.tag.0 as *const c_void));
14: __ZN11compositing10compositor26IOCompositor$LT$Window$GT$32on_mouse_window_move_event_class17h359fac926c20b409E
    at /Users/cybai/codespace/mozilla/servo/components/compositing/compositor.rs:694
     692 β”‚         }
     693 β”‚
     694 >         self.dispatch_mouse_window_move_event_class(cursor);
     695 β”‚     }
     696 β”‚
15: __ZN5servo19Servo$LT$Window$GT$19handle_window_event17hfc0c214644c6a6e0E
    at /Users/cybai/codespace/mozilla/servo/components/servo/lib.rs:388
     386 β”‚
     387 β”‚             WindowEvent::MouseWindowMoveEventClass(cursor) => {
     388 >                 self.compositor.on_mouse_window_move_event_class(cursor);
     389 β”‚             },
     390 β”‚
16: __ZN5servo19Servo$LT$Window$GT$13handle_events17h77613780d534506aE
    at /Users/cybai/codespace/mozilla/servo/components/servo/lib.rs:541
     539 β”‚         }
     540 β”‚         for event in events {
     541 >             self.handle_window_event(event);
     542 β”‚         }
     543 β”‚         if self.compositor.shutdown_state != ShutdownState::FinishedShuttingDown {
17: __ZN5servo3app3App13handle_events17h5d993094cf7b9c58E
    at /Users/cybai/codespace/mozilla/servo/ports/glutin/app.rs:156
     154 β”‚         loop {
     155 β”‚             browser.handle_servo_events(servo_events);
     156 >             servo.handle_events(browser.get_events());
     157 β”‚             if browser.shutdown_requested() {
     158 β”‚                 return true;
18: __ZN5servo3app3App8run_loop28_$u7b$$u7b$closure$u7d$$u7d$17h1b09eef7f672bbf9E
    at /Users/cybai/codespace/mozilla/servo/ports/glutin/app.rs:118
     116 β”‚                     self.winit_event_to_servo_event(e);
     117 β”‚                     if self.has_events() && !self.suspended.get() {
     118 >                         stop = self.handle_events();
     119 β”‚                     }
     120 β”‚                     if stop || self.window.is_animating() && !self.suspended.get() {
19: __ZN5winit8platform8platform11events_loop10EventsLoop11run_forever28_$u7b$$u7b$closure$u7d$$u7d$17h685332a045236c8dE
    at /Users/cybai/.cargo/registry/src/github.com-1ecc6299db9ec823/winit-0.18.0/src/platform/macos/events_loop.rs:233
     231 β”‚
     232 β”‚         let mut callback = |event| {
     233 >             if let ControlFlow::Break = callback(event) {
     234 β”‚                 control_flow.set(ControlFlow::Break);
     235 β”‚             }
20: __ZN5winit8platform8platform11events_loop12UserCallback15call_with_event17h38ea218b47141c99E
    at /Users/cybai/.cargo/registry/src/github.com-1ecc6299db9ec823/winit-0.18.0/src/platform/macos/events_loop.rs:149
     147 β”‚             None => return,
     148 β”‚         };
     149 >         (*callback)(event);
     150 β”‚         *self.mutex.lock().unwrap() = Some(callback);
     151 β”‚     }
21: __ZN5winit8platform8platform11events_loop6Shared38call_user_callback_with_pending_events17hc93cc7614765b9c6E
    at /Users/cybai/.cargo/registry/src/github.com-1ecc6299db9ec823/winit-0.18.0/src/platform/macos/events_loop.rs:69
      67 β”‚             };
      68 β”‚             unsafe {
      69 >                 self.user_callback.call_with_event(event);
      70 β”‚             }
      71 β”‚         }
22: __ZN5winit8platform8platform11events_loop10EventsLoop11run_forever17ha92c9de7d43ce080E
    at /Users/cybai/.cargo/registry/src/github.com-1ecc6299db9ec823/winit-0.18.0/src/platform/macos/events_loop.rs:243
     241 β”‚             unsafe {
     242 β”‚                 // First, yield all pending events.
     243 >                 self.shared.call_user_callback_with_pending_events();
     244 β”‚                 if let ControlFlow::Break = control_flow.get() {
     245 β”‚                     break;
23: __ZN5winit10EventsLoop11run_forever17hbec344c197b253abE
    at /Users/cybai/.cargo/registry/src/github.com-1ecc6299db9ec823/winit-0.18.0/src/lib.rs:264
     262 β”‚         where F: FnMut(Event) -> ControlFlow
     263 β”‚     {
     264 >         self.events_loop.run_forever(callback)
     265 β”‚     }
     266 β”‚
24: __ZN5servo11events_loop10EventsLoop11run_forever17hec4a6fd63ec40927E
    at /Users/cybai/codespace/mozilla/servo/ports/glutin/events_loop.rs:56
      54 β”‚     pub fn run_forever<F>(&mut self, mut callback: F) where F: FnMut(glutin::Event) -> glutin::ControlFlow {
      55 β”‚         if let Some(ref mut events_loop) = self.0 {
      56 >             events_loop.run_forever(callback);
      57 β”‚         } else {
      58 β”‚             loop {
25: __ZN5servo3app3App8run_loop17hd28586c0a21c85f0E
    at /Users/cybai/codespace/mozilla/servo/ports/glutin/app.rs:115
     113 β”‚             } else {
     114 β”‚                 // We block on winit's event loop (window events)
     115 >                 events_loop.run_forever(|e| {
     116 β”‚                     self.winit_event_to_servo_event(e);
     117 β”‚                     if self.has_events() && !self.suspended.get() {
26: __ZN5servo3app3App3run17h37fd4770e9c9fd69E
    at /Users/cybai/codespace/mozilla/servo/ports/glutin/app.rs:65
      63 β”‚         };
      64 β”‚
      65 >         app.run_loop();
      66 β”‚     }
      67 β”‚
27: __ZN5servo4main17hf66309264501b295E
    at /Users/cybai/codespace/mozilla/servo/ports/glutin/main2.rs:133
     131 β”‚     }
     132 β”‚
     133 >     App::run();
     134 β”‚
     135 β”‚     platform::deinit()
28: __ZN3std2rt10lang_start28_$u7b$$u7b$closure$u7d$$u7d$17ha6bbf6fd4c26a797E
    at /rustc/a9ec99f4201ec33026a468ef1289f98a95b4d71a/src/libstd/rt.rs:64
29: __ZN3std9panicking3try7do_call17hc5b81a4c5184c30fE
    at /rustc/a9ec99f4201ec33026a468ef1289f98a95b4d71a/src/libstd/panicking.rs:293
30: ___rust_maybe_catch_panic
    at /rustc/a9ec99f4201ec33026a468ef1289f98a95b4d71a/src/libpanic_unwind/lib.rs:85
31: __ZN3std2rt19lang_start_internal17h4d03e2decac65644E
    at /rustc/a9ec99f4201ec33026a468ef1289f98a95b4d71a/src/libstd/rt.rs:48
32: __ZN3std2rt10lang_start17h4da0fe4159fe78cbE
    at /rustc/a9ec99f4201ec33026a468ef1289f98a95b4d71a/src/libstd/rt.rs:64
33: _main
    at <unknown source file>
Servo exited with return value 101

@CYBAI CYBAI added the I-panic label May 22, 2019

@CYBAI

This comment has been minimized.

Copy link
Collaborator Author

commented May 23, 2019

 7: __ZN13webrender_api3api15RenderApiSender10create_api17ha2e9ce569adc3cb1E
    at /Users/cybai/.cargo/git/checkouts/webrender-c3596abe1cf4f320/e53aae0/webrender_api/src/api.rs:979
     977 β”‚                 let webrender_is_alive = self.api_sender.send(ApiMsg::WakeUp);
     978 β”‚                 if webrender_is_alive.is_err() {
     979 >                     panic!("Webrender was shut down before processing CloneApi: {}", e);
     980 β”‚                 } else {
     981 β”‚                     panic!("CloneApi message response was dropped while Webrender was still alive: {}", e);
 8: __ZN6script3dom16htmlmediaelement18MediaFrameRenderer3new17h7999ab6116c0e067E
    at /Users/cybai/codespace/mozilla/servo/components/script/dom/htmlmediaelement.rs:97
      95 β”‚     fn new(render_api_sender: RenderApiSender) -> Self {
      96 β”‚         Self {
      97 >             api: render_api_sender.create_api(),
      98 β”‚             current_frame: None,
      99 β”‚             old_frame: None,
 9: __ZN6script3dom16htmlmediaelement16HTMLMediaElement13new_inherited17h8d4c86cfacfb6012E
    at /Users/cybai/codespace/mozilla/servo/components/script/dom/htmlmediaelement.rs:308
     306 β”‚             in_flight_play_promises_queue: Default::default(),
     307 β”‚             player: Default::default(),
     308 >             frame_renderer: Arc::new(Mutex::new(MediaFrameRenderer::new(
     309 β”‚                 document.window().get_webrender_api_sender(),
     310 β”‚             ))),

Looks like it's related to layout of video element πŸ‘€?

cc @ferjm @ceyusa

@ferjm ferjm added this to To do in Media playback May 23, 2019

@dralley

This comment has been minimized.

Copy link

commented May 26, 2019

https://midi.city causes a similar crash. Details here: servo/webrender#3652

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
3 participants
You can’t perform that action at this time.