A XML parser written in Rust

Overview

RustyXML

Build Status

Documentation

RustyXML is a namespace aware XML parser written in Rust. Right now it provides a basic SAX-like API, and an ElementBuilder based on that.

The parser itself is derived from OFXMLParser as found in ObjFW https://webkeks.org/objfw/.

The current limitations are:

  • Incomplete error checking
  • Unstable API

This project tracks Rust stable.

Examples

Parse a string into an Element struct:

use xml::Element;

let elem: Option<Element> = "<a href='//example.com'/>".parse();

Get events from parsing string data:

use xml::{Event, Parser};

// Create a new Parser
let mut p = Parser::new();

// Feed data to be parsed
p.feed_str("<a href");
p.feed_str("='//example.com'/>");

// Get events for the fed data
for event in p {
    match event.unwrap() {
        Event::ElementStart(tag) => println!("<{}>", tag.name),
        Event::ElementEnd(tag) => println!("</{}>", tag.name),
        _ => ()
    }
}

This should print:

<a>
</a>

Build Elements from Parser Events:

use xml::{Parser, ElementBuilder};

let mut p = xml::Parser::new();
let mut e = xml::ElementBuilder::new();

p.feed_str("<a href='//example.com'/>");
for elem in p.filter_map(|x| e.handle_event(x)) {
    match elem {
        Ok(e) => println!("{}", e),
        Err(e) => println!("{}", e),
    }
}

Build Elements by hand:

let mut reply = xml::Element::new("iq".into(), Some("jabber:client".into()),
                                  vec![("type".into(), None, "error".into()),
                                       ("id".into(), None, "42".into())]);
reply.tag(xml::Element::new("error".into(), Some("jabber:client".into()),
                            vec![("type".into(), None, "cancel".into())]))
     .tag_stay(xml::Element::new("forbidden".into(),
                                 Some("urn:ietf:params:xml:ns:xmpp-stanzas".into()),
                                 vec![]))
     .tag(xml::Element::new("text".into(),
                            Some("urn:ietf:params:xml:ns:xmpp-stanzas".into()),
                            vec![]))
     .text("Permission denied".into());

Result (some whitespace added for readability):

<iq xmlns='jabber:client' id='42' type='error'>
  <error type='cancel'>
    <forbidden xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
    <text xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'>Permission denied</text>
  </error>
</iq>

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Comments
  • Cannot get element child

    Cannot get element child

    I am noticing an issue parsing this xml

    Where this works:

    fn parse_next_path (e: &Element) {
        for ec in e.children.iter() {
            match ec {
                &Xml::ElementNode(ref ecc) => println!("{:?}",ecc), // Element { name: "path", ... }
                _ => (),
            }
        }
    }
    

    but this does not: println!("{:?}",e.get_child("path", None));

    where e is: println!("{:?}",e);

    I'm using it as such:

    fn test_svg () {
        let v = load_svg("assets/rust-logo-blk.svg");
        parse_next_path(&v[0]);
    }
    
    
    fn load_svg (path: &str) -> Vec<Element> {
        let mut p = xml::Parser::new();
        let mut eb = xml::ElementBuilder::new();
    
        let mut f = match File::open(path) {
            Ok(file) => file,
            Err(err) => { println!("fail: load file");
                          panic!(err) },
        };
    
        let mut c = String::new();
        if let Err(err) = f.read_to_string(&mut c) {
            println!("fail: read file");
            panic!(err);
        };
    
        p.feed_str(&c);
        let mut ve = vec!();
        for e in p.filter_map(|x| eb.handle_event(x)) {
            if let Ok(_e) = e {
                ve.push(_e);
            }
        }
    
        ve
    }
    

    Any idea what I am doing wrong?

    opened by viperscape 3
  • Attribute order is non-deterministic

    Attribute order is non-deterministic

    Right now the attributes in an Element are stored in a HashMap and when you write out the XML as a string their order is potentially different each time.

    This is problematic because:

    • it means the generated string is unstable (which is a nuisance if you're trying to write reproducible tests), and
    • it makes it impossible to control the output order (which may be useful for human readable XML files).

    In my case, I'm running into both issues. I'm using XML output for some integration tests, and I need the files to be produced consistently, and I also would like the output to be human readable with the attributes in a sensible order and related attributes together.

    Ideally the attributes would be stored in some sort of map that preserved insertion order (like indexmap), and output would be deterministic.

    opened by julianandrews 2
  • Crash when scrolling https://commons.wikimedia.org/wiki/SVG_examples\#/media/File:Svg_example1.svg

    Crash when scrolling https://commons.wikimedia.org/wiki/SVG_examples\#/media/File:Svg_example1.svg

    ➜  servo git:(master) ✗ ./mach run -r https://commons.wikimedia.org/wiki/SVG_examples\#/media/File:Svg_example1.svg
    thread 'ScriptThread PipelineId { namespace_id: PipelineNamespaceId(0), index: PipelineIndex(0) }' panicked at 'assertion failed: base_time >= self.timers.borrow().last().unwrap().scheduled_for', /Users/dzbarsky/mozilla/servo/components/script/timers.rs:181
    stack backtrace:
       1:        0x1079fbf78 - sys::backtrace::tracing::imp::write::h3153bab3099b48114Zu
       2:        0x1079ffb69 - panicking::default_handler::_$u7b$$u7b$closure$u7d$$u7d$::closure.43920
       3:        0x1079ff798 - panicking::default_handler::h1183b2a11c8682560zz
       4:        0x1079eab86 - sys_common::unwind::begin_unwind_inner::h1f97bc9e4cfe0396LZt
       5:        0x1066b5cf4 - sys_common::unwind::begin_unwind::h6481259910813868563
       6:        0x1068110eb - dom::window::Window::handle_fire_timer::h92524bd46661cb1fNSp
       7:        0x10669b23a - script_thread::ScriptThread::handle_msgs::_$u7b$$u7b$closure$u7d$$u7d$::closure.190725
       8:        0x1066840ee - script_thread::ScriptThread::handle_msgs::hd72f54bba8f6eed5IOu
       9:        0x1066223b7 - sys_common::unwind::try::try_fn::h3013048867185780675
      10:        0x1079fb2ab - __rust_try
      11:        0x1079fb233 - sys_common::unwind::inner_try::hdf6affff6fc30ecdNWt
      12:        0x1066238da - boxed::F.FnBox<A>::call_box::h13085430024443057572
      13:        0x1079fec4c - sys::thread::Thread::new::thread_start::he33a0e5f2597fcdejOy
      14:     0x7fff8d430c12 - _pthread_body
      15:     0x7fff8d430b8f - _pthread_start
    thread 'PaintThread PipelineId { namespace_id: PipelineNamespaceId(0), index: PipelineIndex(0) }' panicked at 'called `Result::unwrap()` on an `Err` value: Error { repr: Custom(Custom { kind: NotFound, error: StringError("Bogus destination port.") }) }', ../src/libcore/result.rs:746
    stack backtrace:
    thread 'LayoutThread PipelineId { namespace_id: PipelineNamespaceId(0), index: PipelineIndex(0) }' panicked at 'called `Result::unwrap()` on an `Err` value: Error { repr: Custom(Custom { kind: Other, error: StringError("MPSC send failed") }) }', ../src/libcore/result.rs:746
       1:        0x1079fbf78 - sys::backtrace::tracing::imp::write::h3153bab3099b48114Zu
       2:        0x1079ffb69 - panicking::default_handler::_$u7b$$u7b$closure$u7d$$u7d$::closure.43920
       3:        0x1079ff798 - panicking::default_handler::h1183b2a11c8682560zz
       4:        0x1079eab86 - sys_common::unwind::begin_unwind_inner::h1f97bc9e4cfe0396LZt
       5:        0x1079ebbbe - sys_common::unwind::begin_unwind_fmt::hda8646f04aa67d8aRYt
       6:        0x1079fb317 - rust_begin_unwind
       7:        0x107a25750 - panicking::panic_fmt::h40f5ec0cdc3fc429FRL
       8:        0x106b085c7 - result::unwrap_failed::h15701348243162605805
       9:        0x106b25053 - sys_common::unwind::try::try_fn::h17287309935825285798
      10:        0x1079fb2ab - __rust_try
      11:        0x1079fb233 - sys_common::unwind::inner_try::hdf6affff6fc30ecdNWt
      12:        0x106b2584a - boxed::F.FnBox<A>::call_box::h2250166956578653066
      13:        0x1079fec4c - sys::thread::Thread::new::thread_start::he33a0e5f2597fcdejOy
      14:     0x7fff8d430c12 - _pthread_body
      15:     0x7fff8d430b8f - _pthread_start
    stack backtrace:
       1:        0x1079fbf78 - sys::backtrace::tracing::imp::write::h3153bab3099b48114Zu
       2:        0x1079ffb69 - panicking::default_handler::_$u7b$$u7b$closure$u7d$$u7d$::closure.43920
       3:        0x1079ff798 - panicking::default_handler::h1183b2a11c8682560zz
       4:        0x1079eab86 - sys_common::unwind::begin_unwind_inner::h1f97bc9e4cfe0396LZt
       5:        0x1079ebbbe - sys_common::unwind::begin_unwind_fmt::hda8646f04aa67d8aRYt
       6:        0x1079fb317 - rust_begin_unwind
       7:        0x107a25750 - panicking::panic_fmt::h40f5ec0cdc3fc429FRL
       8:        0x106025ca7 - result::unwrap_failed::h9305062634317406219
       9:        0x1060c1053 - layout_thread::LayoutThread::exit_now::hf5df5c8e35ae90bbwur
      10:        0x10609a435 - layout_thread::LayoutThread::handle_request_helper::h4e2d4222133ce73a2jr
      11:        0x1060863b4 - layout_thread::LayoutThread::handle_request::hcc9862cdad29e05d5dr
      12:        0x10603a6ea - sys_common::unwind::try::try_fn::h6355336848629699739
      13:        0x1079fb2ab - __rust_try
      14:        0x1079fb233 - sys_common::unwind::inner_try::hdf6affff6fc30ecdNWt
      15:        0x10603b2c1 - boxed::F.FnBox<A>::call_box::h11011109450462989032
      16:        0x1079fec4c - sys::thread::Thread::new::thread_start::he33a0e5f2597fcdejOy
      17:     0x7fff8d430c12 - _pthread_body
      18:     0x7fff8d430b8f - _pthread_start
    thread 'PaintThread PipelineId { namespace_id: PipelineNamespaceId(0), index: PipelineIndex(2) }' panicked at 'called `Result::unwrap()` on an `Err` value: Error { repr: Custom(Custom { kind: NotFound, error: StringError("Bogus destination port.") }) }', ../src/libcore/result.rs:746
    stack backtrace:
       1:        0x1079fbf78 - sys::backtrace::tracing::imp::write::h3153bab3099b48114Zu
       2:        0x1079ffb69 - panicking::default_handler::_$u7b$$u7b$closure$u7d$$u7d$::closure.43920
       3:        0x1079ff798 - panicking::default_handler::h1183b2a11c8682560zz
       4:        0x1079eab86 - sys_common::unwind::begin_unwind_inner::h1f97bc9e4cfe0396LZt
       5:        0x1079ebbbe - sys_common::unwind::begin_unwind_fmt::hda8646f04aa67d8aRYt
       6:        0x1079fb317 - rust_begin_unwind
       7:        0x107a25750 - panicking::panic_fmt::h40f5ec0cdc3fc429FRL
       8:        0x106b085c7 - result::unwrap_failed::h15701348243162605805
       9:        0x106b25053 - sys_common::unwind::try::try_fn::h17287309935825285798
      10:        0x1079fb2ab - __rust_try
      11:        0x1079fb233 - sys_common::unwind::inner_try::hdf6affff6fc30ecdNWt
      12:        0x106b2584a - boxed::F.FnBox<A>::call_box::h2250166956578653066
      13:        0x1079fec4c - sys::thread::Thread::new::thread_start::he33a0e5f2597fcdejOy
      14:     0x7fff8d430c12 - _pthread_body
      15:     0x7fff8d430b8f - _pthread_start
    thread 'LayoutThread PipelineId { namespace_id: PipelineNamespaceId(0), index: PipelineIndex(2) }' panicked at 'called `Result::unwrap()` on an `Err` value: Error { repr: Custom(Custom { kind: Other, error: StringError("MPSC send failed") }) }', ../src/libcore/result.rs:746
    stack backtrace:
       1:        0x1079fbf78 - sys::backtrace::tracing::imp::write::h3153bab3099b48114Zu
       2:        0x1079ffb69 - panicking::default_handler::_$u7b$$u7b$closure$u7d$$u7d$::closure.43920
       3:        0x1079ff798 - panicking::default_handler::h1183b2a11c8682560zz
       4:        0x1079eab86 - sys_common::unwind::begin_unwind_inner::h1f97bc9e4cfe0396LZt
       5:        0x1079ebbbe - sys_common::unwind::begin_unwind_fmt::hda8646f04aa67d8aRYt
       6:        0x1079fb317 - rust_begin_unwind
       7:        0x107a25750 - panicking::panic_fmt::h40f5ec0cdc3fc429FRL
       8:        0x106025ca7 - result::unwrap_failed::h9305062634317406219
       9:        0x1060c1053 - layout_thread::LayoutThread::exit_now::hf5df5c8e35ae90bbwur
      10:        0x10609a435 - layout_thread::LayoutThread::handle_request_helper::h4e2d4222133ce73a2jr
      11:        0x1060863b4 - layout_thread::LayoutThread::handle_request::hcc9862cdad29e05d5dr
      12:        0x10603a6ea - sys_common::unwind::try::try_fn::h6355336848629699739
      13:        0x1079fb2ab - __rust_try
    thread 'PaintThread PipelineId { namespace_id: PipelineNamespaceId(0), index: PipelineIndex(3) }' panicked at 'called `Result::unwrap()` on an `Err` value: Error { repr: Custom(Custom { kind: NotFound, error: StringError("Bogus destination port.") }) }', ../src/libcore/result.rs:746
      14:        0x1079fb233 - sys_common::unwind::inner_try::hdf6affff6fc30ecdNWt
      15:        0x10603b2c1 - boxed::F.FnBox<A>::call_box::h11011109450462989032
      16:        0x1079fec4c - sys::thread::Thread::new::thread_start::he33a0e5f2597fcdejOy
      17:     0x7fff8d430c12 - _pthread_body
      18:     0x7fff8d430b8f - _pthread_start
    stack backtrace:
    thread 'ScriptThread PipelineId { namespace_id: PipelineNamespaceId(0), index: PipelineIndex(2) }' panicked at 'called `Result::unwrap()` on an `Err` value: RecvError', ../src/libcore/result.rs:746
       1:        0x1079fbf78 - sys::backtrace::tracing::imp::write::h3153bab3099b48114Zu
       2:        0x1079ffb69 - panicking::default_handler::_$u7b$$u7b$closure$u7d$$u7d$::closure.43920
       3:        0x1079ff798 - panicking::default_handler::h1183b2a11c8682560zz
       4:        0x1079eab86 - sys_common::unwind::begin_unwind_inner::h1f97bc9e4cfe0396LZt
       5:        0x1079ebbbe - sys_common::unwind::begin_unwind_fmt::hda8646f04aa67d8aRYt
       6:        0x1079fb317 - rust_begin_unwind
       7:        0x107a25750 - panicking::panic_fmt::h40f5ec0cdc3fc429FRL
       8:        0x106b085c7 - result::unwrap_failed::h15701348243162605805
       9:        0x106b25053 - sys_common::unwind::try::try_fn::h17287309935825285798
      10:        0x1079fb2ab - __rust_try
      11:        0x1079fb233 - sys_common::unwind::inner_try::hdf6affff6fc30ecdNWt
      12:        0x106b2584a - boxed::F.FnBox<A>::call_box::h2250166956578653066
      13:        0x1079fec4c - sys::thread::Thread::new::thread_start::he33a0e5f2597fcdejOy
      14:     0x7fff8d430c12 - _pthread_body
      15:     0x7fff8d430b8f - _pthread_start
    stack backtrace:
       1:        0x1079fbf78 - sys::backtrace::tracing::imp::write::h3153bab3099b48114Zu
       2:        0x1079ffb69 - panicking::default_handler::_$u7b$$u7b$closure$u7d$$u7d$::closure.43920
       3:        0x1079ff798 - panicking::default_handler::h1183b2a11c8682560zz
       4:        0x1079eab86 - sys_common::unwind::begin_unwind_inner::h1f97bc9e4cfe0396LZt
       5:        0x1079ebbbe - sys_common::unwind::begin_unwind_fmt::hda8646f04aa67d8aRYt
       6:        0x1079fb317 - rust_begin_unwind
       7:        0x107a25750 - panicking::panic_fmt::h40f5ec0cdc3fc429FRL
       8:        0x1066960e5 - result::unwrap_failed::h2432856923581932681
       9:        0x10669bfa2 - script_thread::ScriptThread::handle_msgs::_$u7b$$u7b$closure$u7d$$u7d$::closure.190725
      10:        0x1066840ee - script_thread::ScriptThread::handle_msgs::hd72f54bba8f6eed5IOu
      11:        0x1066223b7 - sys_common::unwind::try::try_fn::h3013048867185780675
      12:        0x1079fb2ab - __rust_try
      13:        0x1079fb233 - sys_common::unwind::inner_try::hdf6affff6fc30ecdNWt
      14:        0x1066238da - boxed::F.FnBox<A>::call_box::h13085430024443057572
      15:        0x1079fec4c - sys::thread::Thread::new::thread_start::he33a0e5f2597fcdejOy
      16:     0x7fff8d430c12 - _pthread_body
      17:     0x7fff8d430b8f - _pthread_start
    thread 'LayoutThread PipelineId { namespace_id: PipelineNamespaceId(0), index: PipelineIndex(3) }' panicked at 'called `Result::unwrap()` on an `Err` value: Error { repr: Custom(Custom { kind: Other, error: StringError("MPSC send failed") }) }', ../src/libcore/result.rs:746
    stack backtrace:
       1:        0x1079fbf78 - sys::backtrace::tracing::imp::write::h3153bab3099b48114Zu
       2:        0x1079ffb69 - panicking::default_handler::_$u7b$$u7b$closure$u7d$$u7d$::closure.43920
       3:        0x1079ff798 - panicking::default_handler::h1183b2a11c8682560zz
       4:        0x1079eab86 - sys_common::unwind::begin_unwind_inner::h1f97bc9e4cfe0396LZt
       5:        0x1079ebbbe - sys_common::unwind::begin_unwind_fmt::hda8646f04aa67d8aRYt
       6:        0x1079fb317 - rust_begin_unwind
       7:        0x107a25750 - panicking::panic_fmt::h40f5ec0cdc3fc429FRL
       8:        0x106025ca7 - result::unwrap_failed::h9305062634317406219
       9:        0x1060c1053 - layout_thread::LayoutThread::exit_now::hf5df5c8e35ae90bbwur
      10:        0x10609a435 - layout_thread::LayoutThread::handle_request_helper::h4e2d4222133ce73a2jr
      11:        0x1060863b4 - layout_thread::LayoutThread::handle_request::hcc9862cdad29e05d5dr
      12:        0x10603a6ea - sys_common::unwind::try::try_fn::h6355336848629699739
      13:        0x1079fb2ab - __rust_try
      14:        0x1079fb233 - sys_common::unwind::inner_try::hdf6affff6fc30ecdNWt
      15:        0x10603b2c1 - boxed::F.FnBox<A>::call_box::h11011109450462989032
      16:        0x1079fec4c - sys::thread::Thread::new::thread_start::he33a0e5f2597fcdejOy
      17:     0x7fff8d430c12 - _pthread_body
      18:     0x7fff8d430b8f - _pthread_start
    thread 'ScriptThread PipelineId { namespace_id: PipelineNamespaceId(0), index: PipelineIndex(3) }' panicked at 'called `Result::unwrap()` on an `Err` value: RecvError', ../src/libcore/result.rs:746
    stack backtrace:
       1:        0x1079fbf78 - sys::backtrace::tracing::imp::write::h3153bab3099b48114Zu
       2:        0x1079ffb69 - panicking::default_handler::_$u7b$$u7b$closure$u7d$$u7d$::closure.43920
       3:        0x1079ff798 - panicking::default_handler::h1183b2a11c8682560zz
       4:        0x1079eab86 - sys_common::unwind::begin_unwind_inner::h1f97bc9e4cfe0396LZt
       5:        0x1079ebbbe - sys_common::unwind::begin_unwind_fmt::hda8646f04aa67d8aRYt
       6:        0x1079fb317 - rust_begin_unwind
       7:        0x107a25750 - panicking::panic_fmt::h40f5ec0cdc3fc429FRL
       8:        0x1066960e5 - result::unwrap_failed::h2432856923581932681
       9:        0x10669bfa2 - script_thread::ScriptThread::handle_msgs::_$u7b$$u7b$closure$u7d$$u7d$::closure.190725
      10:        0x1066840ee - script_thread::ScriptThread::handle_msgs::hd72f54bba8f6eed5IOu
      11:        0x1066223b7 - sys_common::unwind::try::try_fn::h3013048867185780675
      12:        0x1079fb2ab - __rust_try
      13:        0x1079fb233 - sys_common::unwind::inner_try::hdf6affff6fc30ecdNWt
      14:        0x1066238da - boxed::F.FnBox<A>::call_box::h13085430024443057572
      15:        0x1079fec4c - sys::thread::Thread::new::thread_start::he33a0e5f2597fcdejOy
      16:     0x7fff8d430c12 - _pthread_body
      17:     0x7fff8d430b8f - _pthread_start
    thread 'PaintThread PipelineId { namespace_id: PipelineNamespaceId(0), index: PipelineIndex(5) }' panicked at 'called `Result::unwrap()` on an `Err` value: Error { repr: Custom(Custom { kind: NotFound, error: StringError("Bogus destination port.") }) }', ../src/libcore/result.rs:746
    stack backtrace:
       1:        0x1079fbf78 - sys::backtrace::tracing::imp::write::h3153bab3099b48114Zu
       2:        0x1079ffb69 - panicking::default_handler::_$u7b$$u7b$closure$u7d$$u7d$::closure.43920
       3:        0x1079ff798 - panicking::default_handler::h1183b2a11c8682560zz
       4:        0x1079eab86 - sys_common::unwind::begin_unwind_inner::h1f97bc9e4cfe0396LZt
       5:        0x1079ebbbe - sys_common::unwind::begin_unwind_fmt::hda8646f04aa67d8aRYt
       6:        0x1079fb317 - rust_begin_unwind
       7:        0x107a25750 - panicking::panic_fmt::h40f5ec0cdc3fc429FRL
       8:        0x106b085c7 - result::unwrap_failed::h15701348243162605805
       9:        0x106b25053 - sys_common::unwind::try::try_fn::h17287309935825285798
      10:        0x1079fb2ab - __rust_try
    thread 'LayoutThread PipelineId { namespace_id: PipelineNamespaceId(0), index: PipelineIndex(5) }' panicked at 'called `Result::unwrap()` on an `Err` value: Error { repr: Custom(Custom { kind: Other, error: StringError("MPSC send failed") }) }', ../src/libcore/result.rs:746
      11:        0x1079fb233 - sys_common::unwind::inner_try::hdf6affff6fc30ecdNWt
      12:        0x106b2584a - boxed::F.FnBox<A>::call_box::h2250166956578653066
    thread 'PaintThread PipelineId { namespace_id: PipelineNamespaceId(0), index: PipelineIndex(7) }' panicked at 'called `Result::unwrap()` on an `Err` value: Error { repr: Custom(Custom { kind: NotFound, error: StringError("Bogus destination port.") }) }', ../src/libcore/result.rs:746
      13:        0x1079fec4c - sys::thread::Thread::new::thread_start::he33a0e5f2597fcdejOy
      14:     0x7fff8d430c12 - _pthread_body
      15:     0x7fff8d430b8f - _pthread_start
    stack backtrace:
       1:        0x1079fbf78 - sys::backtrace::tracing::imp::write::h3153bab3099b48114Zu
    thread 'PaintThread PipelineId { namespace_id: PipelineNamespaceId(0), index: PipelineIndex(6) }' panicked at 'called `Result::unwrap()` on an `Err` value: Error { repr: Custom(Custom { kind: NotFound, error: StringError("Bogus destination port.") }) }', ../src/libcore/result.rs:746
       2:        0x1079ffb69 - panicking::default_handler::_$u7b$$u7b$closure$u7d$$u7d$::closure.43920
       3:        0x1079ff798 - panicking::default_handler::h1183b2a11c8682560zz
       4:        0x1079eab86 - sys_common::unwind::begin_unwind_inner::h1f97bc9e4cfe0396LZt
    thread 'LayoutThread PipelineId { namespace_id: PipelineNamespaceId(0), index: PipelineIndex(6) }' panicked at 'called `Result::unwrap()` on an `Err` value: Error { repr: Custom(Custom { kind: Other, error: StringError("MPSC send failed") }) }', ../src/libcore/result.rs:746
       5:        0x1079ebbbe - sys_common::unwind::begin_unwind_fmt::hda8646f04aa67d8aRYt
       6:        0x1079fb317 - rust_begin_unwind
       7:        0x107a25750 - panicking::panic_fmt::h40f5ec0cdc3fc429FRL
    thread 'LayoutThread PipelineId { namespace_id: PipelineNamespaceId(0), index: PipelineIndex(7) }' panicked at 'called `Result::unwrap()` on an `Err` value: Error { repr: Custom(Custom { kind: Other, error: StringError("MPSC send failed") }) }', ../src/libcore/result.rs:746
       8:        0x106025ca7 - result::unwrap_failed::h9305062634317406219
       9:        0x1060c1053 - layout_thread::LayoutThread::exit_now::hf5df5c8e35ae90bbwur
      10:        0x10609a435 - layout_thread::LayoutThread::handle_request_helper::h4e2d4222133ce73a2jr
      11:        0x1060863b4 - layout_thread::LayoutThread::handle_request::hcc9862cdad29e05d5dr
      12:        0x10603a6ea - sys_common::unwind::try::try_fn::h6355336848629699739
    thread 'PaintThread PipelineId { namespace_id: PipelineNamespaceId(0), index: PipelineIndex(8) }' panicked at 'called `Result::unwrap()` on an `Err` value: Error { repr: Custom(Custom { kind: NotFound, error: StringError("Bogus destination port.") }) }', ../src/libcore/result.rs:746
      13: thread ' LayoutThread PipelineId { namespace_id: PipelineNamespaceId(0), index: PipelineIndex(8) } ' panicked at ' called `Result::unwrap()` on an `Err` value: Error { repr: Custom(Custom { kind: Other, error: StringError("MPSC send failed") }) } ',  ../src/libcore/result.rs : 7460x
    1079fb2ab - __rust_try
      14:        0x1079fb233 - sys_common::unwind::inner_try::hdf6affff6fc30ecdNWt
      15:        0x10603b2c1 - boxed::F.FnBox<A>::call_box::h11011109450462989032
      16:        0x1079fec4c - sys::thread::Thread::new::thread_start::he33a0e5f2597fcdejOy
      17:     0x7fff8d430c12 - _pthread_body
      18:     0x7fff8d430b8f - _pthread_start
    stack backtrace:
    thread 'ScriptThread PipelineId { namespace_id: PipelineNamespaceId(0), index: PipelineIndex(5) }' panicked at 'called `Result::unwrap()` on an `Err` value: RecvError', ../src/libcore/result.rs:746
       1:        0x1079fbf78 - sys::backtrace::tracing::imp::write::h3153bab3099b48114Zu
       2:        0x1079ffb69 - panicking::default_handler::_$u7b$$u7b$closure$u7d$$u7d$::closure.43920
       3:        0x1079ff798 - panicking::default_handler::h1183b2a11c8682560zz
       4:        0x1079eab86 - sys_common::unwind::begin_unwind_inner::h1f97bc9e4cfe0396LZt
       5:        0x1079ebbbe - sys_common::unwind::begin_unwind_fmt::hda8646f04aa67d8aRYt
       6:        0x1079fb317 - rust_begin_unwind
       7:        0x107a25750 - panicking::panic_fmt::h40f5ec0cdc3fc429FRL
       8:        0x106b085c7 - result::unwrap_failed::h15701348243162605805
       9:        0x106b25053 - sys_common::unwind::try::try_fn::h17287309935825285798
      10:        0x1079fb2ab - __rust_try
      11:        0x1079fb233 - sys_common::unwind::inner_try::hdf6affff6fc30ecdNWt
      12:        0x106b2584a - boxed::F.FnBox<A>::call_box::h2250166956578653066
      13:        0x1079fec4c - sys::thread::Thread::new::thread_start::he33a0e5f2597fcdejOy
      14:     0x7fff8d430c12 - _pthread_body
      15:     0x7fff8d430b8f - _pthread_start
    stack backtrace:
       1:        0x1079fbf78 - sys::backtrace::tracing::imp::write::h3153bab3099b48114Zu
       2:        0x1079ffb69 - panicking::default_handler::_$u7b$$u7b$closure$u7d$$u7d$::closure.43920
       3:        0x1079ff798 - panicking::default_handler::h1183b2a11c8682560zz
       4:        0x1079eab86 - sys_common::unwind::begin_unwind_inner::h1f97bc9e4cfe0396LZt
       5:        0x1079ebbbe - sys_common::unwind::begin_unwind_fmt::hda8646f04aa67d8aRYt
       6:        0x1079fb317 - rust_begin_unwind
       7:        0x107a25750 - panicking::panic_fmt::h40f5ec0cdc3fc429FRL
       8:        0x106b085c7 - result::unwrap_failed::h15701348243162605805
       9:        0x106b25053 - sys_common::unwind::try::try_fn::h17287309935825285798
      10:        0x1079fb2ab - __rust_try
      11:        0x1079fb233 - sys_common::unwind::inner_try::hdf6affff6fc30ecdNWt
      12:        0x106b2584a - boxed::F.FnBox<A>::call_box::h2250166956578653066
      13:        0x1079fec4c - sys::thread::Thread::new::thread_start::he33a0e5f2597fcdejOy
      14:     0x7fff8d430c12 - _pthread_body
      15:     0x7fff8d430b8f - _pthread_start
    stack backtrace:
       1:        0x1079fbf78 - sys::backtrace::tracing::imp::write::h3153bab3099b48114Zu
       2:        0x1079ffb69 - panicking::default_handler::_$u7b$$u7b$closure$u7d$$u7d$::closure.43920
       3:        0x1079ff798 - panicking::default_handler::h1183b2a11c8682560zz
       4:        0x1079eab86 - sys_common::unwind::begin_unwind_inner::h1f97bc9e4cfe0396LZt
       5:        0x1079ebbbe - sys_common::unwind::begin_unwind_fmt::hda8646f04aa67d8aRYt
       6:        0x1079fb317 - rust_begin_unwind
       7:        0x107a25750 - panicking::panic_fmt::h40f5ec0cdc3fc429FRL
       8:        0x106025ca7 - result::unwrap_failed::h9305062634317406219
       9:        0x1060c1053 - layout_thread::LayoutThread::exit_now::hf5df5c8e35ae90bbwur
      10:        0x10609a435 - layout_thread::LayoutThread::handle_request_helper::h4e2d4222133ce73a2jr
      11:        0x1060863b4 - layout_thread::LayoutThread::handle_request::hcc9862cdad29e05d5dr
      12:        0x10603a6ea - sys_common::unwind::try::try_fn::h6355336848629699739
      13:        0x1079fb2ab - __rust_try
      14:        0x1079fb233 - sys_common::unwind::inner_try::hdf6affff6fc30ecdNWt
      15:        0x10603b2c1 - boxed::F.FnBox<A>::call_box::h11011109450462989032
      16:        0x1079fec4c - sys::thread::Thread::new::thread_start::he33a0e5f2597fcdejOy
      17:     0x7fff8d430c12 - _pthread_body
      18:     0x7fff8d430b8f - _pthread_start
    stack backtrace:
    thread 'ScriptThread PipelineId { namespace_id: PipelineNamespaceId(0), index: PipelineIndex(6) }' panicked at 'called `Result::unwrap()` on an `Err` value: RecvError', ../src/libcore/result.rs:746
       1:        0x1079fbf78 - sys::backtrace::tracing::imp::write::h3153bab3099b48114Zu
       2:        0x1079ffb69 - panicking::default_handler::_$u7b$$u7b$closure$u7d$$u7d$::closure.43920
       3:        0x1079ff798 - thread 'PaintThread PipelineId { namespace_id: PipelineNamespaceId(0), index: PipelineIndex(11) }panicking' panicked at '::called `Result::unwrap()` on an `Err` value: Error { repr: Custom(Custom { kind: NotFound, error: StringError("Bogus destination port.") }) }default_handler', ::../src/libcore/result.rsh1183b2a11c8682560zz:
    746
       4:        0x1079eab86 - sys_common::unwind::begin_unwind_inner::h1f97bc9e4cfe0396LZt
       5:        0x1079ebbbe - sys_common::unwind::begin_unwind_fmt::hda8646f04aa67d8aRYt
       6:        0x1079fb317 - rust_begin_unwind
       7:        0x107a25750 - panicking::panic_fmt::h40f5ec0cdc3fc429FRL
       8:        0x106025ca7 - result::unwrap_failed::h9305062634317406219
       9:        0x1060c1053 - layout_thread::LayoutThread::exit_now::hf5df5c8e35ae90bbwur
      10:        0x10609a435 - layout_thread::LayoutThread::handle_request_helper::h4e2d4222133ce73a2jr
      11:        0x1060863b4 - layout_thread::LayoutThread::handle_request::hcc9862cdad29e05d5dr
      12:        0x10603a6ea - sys_common::unwind::try::try_fn::h6355336848629699739
    thread 'LayoutThread PipelineId { namespace_id: PipelineNamespaceId(0), index: PipelineIndex(11) }' panicked at 'called `Result::unwrap()` on an `Err` value: Error { repr: Custom(Custom { kind: Other, error: StringError("MPSC send failed") }) }', ../src/libcore/result.rs:746
      13:        0x1079fb2ab - __rust_try
      14:        0x1079fb233 - sys_common::unwind::inner_try::hdf6affff6fc30ecdNWt
      15:        0x10603b2c1 - boxed::F.FnBox<A>::call_box::h11011109450462989032
      16:        0x1079fec4c - sys::thread::Thread::new::thread_start::he33a0e5f2597fcdejOy
      17:     0x7fff8d430c12 - _pthread_body
      18:     0x7fff8d430b8f - _pthread_start
    stack backtrace:
       1:        0x1079fbf78 - sys::backtrace::tracing::imp::write::h3153bab3099b48114Zu
    thread 'ScriptThread PipelineId { namespace_id: PipelineNamespaceId(0), index: PipelineIndex(7) }' panicked at 'called `Result::unwrap()` on an `Err` value: RecvError', ../src/libcore/result.rs:746
       2:        0x1079ffb69 - panicking::default_handler::_$u7b$$u7b$closure$u7d$$u7d$::closure.43920
       3:        0x1079ff798 - panicking::default_handler::h1183b2a11c8682560zz
       4:        0x1079eab86 - sys_common::unwind::begin_unwind_inner::h1f97bc9e4cfe0396LZt
       5:        0x1079ebbbe - sys_common::unwind::begin_unwind_fmt::hda8646f04aa67d8aRYt
       6:        0x1079fb317 - rust_begin_unwind
       7:        0x107a25750 - panicking::panic_fmt::h40f5ec0cdc3fc429FRL
       8:        0x106b085c7 - result::unwrap_failed::h15701348243162605805
       9:        0x106b25053 - sys_common::unwind::try::try_fn::h17287309935825285798
      10:        0x1079fb2ab - __rust_try
      11:        0x1079fb233 - sys_common::unwind::inner_try::hdf6affff6fc30ecdNWt
      12:        0x106b2584a - boxed::F.FnBox<A>::call_box::h2250166956578653066
      13:        0x1079fec4c - sys::thread::Thread::new::thread_start::he33a0e5f2597fcdejOy
      14:     0x7fff8d430c12 - _pthread_body
      15:     0x7fff8d430b8f - _pthread_start
    stack backtrace:
       1:        0x1079fbf78 - sys::backtrace::tracing::imp::write::h3153bab3099b48114Zu
       2:        0x1079ffb69 - panicking::default_handler::_$u7b$$u7b$closure$u7d$$u7d$::closure.43920
       3:        0x1079ff798 - panicking::default_handler::h1183b2a11c8682560zz
       4:        0x1079eab86 - sys_common::unwind::begin_unwind_inner::h1f97bc9e4cfe0396LZt
       5:        0x1079ebbbe - sys_common::unwind::begin_unwind_fmt::hda8646f04aa67d8aRYt
       6:        0x1079fb317 - rust_begin_unwind
       7:        0x107a25750 - panicking::panic_fmt::h40f5ec0cdc3fc429FRL
       8:        0x106025ca7 - result::unwrap_failed::h9305062634317406219
       9:        0x1060c1053 - layout_thread::LayoutThread::exit_now::hf5df5c8e35ae90bbwur
      10:        0x10609a435 - layout_thread::LayoutThread::handle_request_helper::h4e2d4222133ce73a2jr
      11:        0x1060863b4 - layout_thread::LayoutThread::handle_request::hcc9862cdad29e05d5dr
    thread 'PaintThread PipelineId { namespace_id: PipelineNamespaceId(0), index: PipelineIndex(14) }' panicked at 'called `Result::unwrap()` on an `Err` value: Error { repr: Custom(Custom { kind: NotFound, error: StringError("Bogus destination port.") }) }', ../src/libcore/result.rs:746
      12:        0x10603a6ea - sys_common::unwind::try::try_fn::h6355336848629699739
      13:        0x1079fb2ab - __rust_try
      14:        0x1079fb233 - sys_common::unwind::inner_try::hdf6affff6fc30ecdNWt
      15:        0x10603b2c1 - boxed::F.FnBox<A>::call_box::h11011109450462989032
      16:        0x1079fec4c - sys::thread::Thread::new::thread_start::he33a0e5f2597fcdejOy
      17:     0x7fff8d430c12 - _pthread_body
      18:     0x7fff8d430b8f - _pthread_start
    stack backtrace:
    thread 'ScriptThread PipelineId { namespace_id: PipelineNamespaceId(0), index: PipelineIndex(8) }' panicked at 'called `Result::unwrap()` on an `Err` value: RecvError', ../src/libcore/result.rs:746
       1:        0x1079fbf78 - sys::backtrace::tracing::imp::write::h3153bab3099b48114Zu
    thread 'LayoutThread PipelineId { namespace_id: PipelineNamespaceId(0), index: PipelineIndex(14) }' panicked at 'called `Result::unwrap()` on an `Err` value: Error { repr: Custom(Custom { kind: Other, error: StringError("MPSC send failed") }) }', ../src/libcore/result.rs:746
       2:        0x1079ffb69 - panicking::default_handler::_$u7b$$u7b$closure$u7d$$u7d$::closure.43920
       3:        0x1079ff798 - panicking::default_handler::h1183b2a11c8682560zz
       4:        0x1079eab86 - sys_common::unwind::begin_unwind_inner::h1f97bc9e4cfe0396LZt
       5:        0x1079ebbbe - sys_common::unwind::begin_unwind_fmt::hda8646f04aa67d8aRYt
       6:        0x1079fb317 - rust_begin_unwind
       7:        0x107a25750 - panicking::panic_fmt::h40f5ec0cdc3fc429FRL
       8:        0x1066960e5 - result::unwrap_failed::h2432856923581932681
       9:        0x10669bfa2 - script_thread::ScriptThread::handle_msgs::_$u7b$$u7b$closure$u7d$$u7d$::closure.190725
      10:        0x1066840ee - script_thread::ScriptThread::handle_msgs::hd72f54bba8f6eed5IOu
      11:        0x1066223b7 - sys_common::unwind::try::try_fn::h3013048867185780675
      12:        0x1079fb2ab - __rust_try
      thread 'PaintThread PipelineId { namespace_id: PipelineNamespaceId(0), index: PipelineIndex(13) }' panicked at 'called `Result::unwrap()` on an `Err` value: Error { repr: Custom(Custom { kind: NotFound, error: StringError("Bogus destination port.") }) }', ../src/libcore/result.rs:746
    13:        0x1079fb233 - sys_common::unwind::inner_try::hdf6affff6fc30ecdNWt
      14:        0x1066238da - boxed::F.FnBox<A>::call_box::h13085430024443057572
    thread 'LayoutThread PipelineId { namespace_id: PipelineNamespaceId(0), index: PipelineIndex(13) }' panicked at 'called `Result::unwrap()` on an `Err` value: Error { repr: Custom(Custom { kind: Other, error: StringError("MPSC send failed") }) }', ../src/libcore/result.rs:746
      15:        0x1079fec4c - sys::thread::Thread::new::thread_start::he33a0e5f2597fcdejOy
      16:     0x7fff8d430c12 - _pthread_body
      17:     0x7fff8d430b8f - _pthread_start
    stack backtrace:
       1:        0x1079fbf78 - sys::backtrace::tracing::imp::write::h3153bab3099b48114Zu
       2:        0x1079ffb69 - panicking::default_handler::_$u7b$$u7b$closure$u7d$$u7d$::closure.43920
       3:        0x1079ff798 - panicking::default_handler::h1183b2a11c8682560zz
       4:        0x1079eab86 - sys_common::unwind::begin_unwind_inner::h1f97bc9e4cfe0396LZt
    thread 'PaintThread PipelineId { namespace_id: PipelineNamespaceId(0), index: PipelineIndex(16) }' panicked at 'called `Result::unwrap()` on an `Err` value: Error { repr: Custom(Custom { kind: NotFound, error: StringError("Bogus destination port.") }) }', ../src/libcore/result.rs:746
       5:        0x1079ebbbe - sys_common::unwind::begin_unwind_fmt::hda8646f04aa67d8aRYt
    thread 'LayoutThread PipelineId { namespace_id: PipelineNamespaceId(0), index: PipelineIndex(16) }' panicked at 'called `Result::unwrap()` on an `Err` value: Error { repr: Custom(Custom { kind: Other, error: StringError("MPSC send failed") }) }', ../src/libcore/result.rs:746
       6:        0x1079fb317 - rust_begin_unwind
       7:        0x107a25750 - panicking::panic_fmt::h40f5ec0cdc3fc429FRL
       8:        0x1066960e5 - result::unwrap_failed::h2432856923581932681
       9:        0x10669bfa2 - script_thread::ScriptThread::handle_msgs::_$u7b$$u7b$closure$u7d$$u7d$::closure.190725
      10:        0x1066840ee - script_thread::ScriptThread::handle_msgs::hd72f54bba8f6eed5IOu
      11:        0x1066223b7 - sys_common::unwind::try::try_fn::h3013048867185780675
      12:        0x1079fb2ab - __rust_try
      13:        0x1079fb233 - sys_common::unwind::inner_try::hdf6affff6fc30ecdNWt
      14:        0x1066238da - boxed::F.FnBox<A>::call_box::h13085430024443057572
      15:        0x1079fec4c - sys::thread::Thread::new::thread_start::he33a0e5f2597fcdejOy
      16:     0x7fff8d430c12 - _pthread_body
      17:     0x7fff8d430b8f - _pthread_start
    stack backtrace:
       1:        0x1079fbf78 - sys::backtrace::tracing::imp::write::h3153bab3099b48114Zu
       2:        0x1079ffb69 - panicking::default_handler::_$u7b$$u7b$closure$u7d$$u7d$::closure.43920
       3:        0x1079ff798 - panicking::default_handler::h1183b2a11c8682560zz
    thread 'PaintThread PipelineId { namespace_id: PipelineNamespaceId(0), index: PipelineIndex(12) }' panicked at 'called `Result::unwrap()` on an `Err` value: Error { repr: Custom(Custom { kind: NotFound, error: StringError("Bogus destination port.") }) }', ../src/libcore/result.rs:746
       4:        0x1079eab86 - sys_common::unwind::begin_unwind_inner::h1f97bc9e4cfe0396LZt
       5:        0x1079ebbbe - sys_common::unwind::begin_unwind_fmt::hda8646f04aa67d8aRYt
    thread 'LayoutThread PipelineId { namespace_id: PipelineNamespaceId(0), index: PipelineIndex(12) }' panicked at 'called `Result::unwrap()` on an `Err` value: Error { repr: Custom(Custom { kind: Other, error: StringError("MPSC send failed") }) }', ../src/libcore/result.rs:746
       6:        0x1079fb317 - rust_begin_unwind
       7:        0x107a25750 - panicking::panic_fmt::h40f5ec0cdc3fc429FRL
       8:        0x106b085c7 - result::unwrap_failed::h15701348243162605805
       9:        0x106b25053 - sys_common::unwind::try::try_fn::h17287309935825285798
      10:        0x1079fb2ab - __rust_try
      11:        0x1079fb233 - sys_common::unwind::inner_try::hdf6affff6fc30ecdNWt
      12:        0x106b2584a - boxed::F.FnBox<A>::call_box::h2250166956578653066
      13:        0x1079fec4c - sys::thread::Thread::new::thread_start::he33a0e5f2597fcdejOy
      14:     0x7fff8d430c12 - _pthread_body
      15:     0x7fff8d430b8f - _pthread_start
    stack backtrace:
       1:        0x1079fbf78 - sys::backtrace::tracing::imp::write::h3153bab3099b48114Zu
       2:        0x1079ffb69 - panicking::default_handler::_$u7b$$u7b$closure$u7d$$u7d$::closure.43920
    thread 'PaintThread PipelineId { namespace_id: PipelineNamespaceId(0), index: PipelineIndex(17) }' panicked at 'called `Result::unwrap()` on an `Err` value: Error { repr: Custom(Custom { kind: NotFound, error: StringError("Bogus destination port.") }) }', ../src/libcore/result.rs:746
       3:        0x1079ff798 - panicking::default_handler::h1183b2a11c8682560zz
       4:        0x1079eab86 - sys_common::unwind::begin_unwind_inner::h1f97bc9e4cfe0396LZt
       5:        0x1079ebbbe - sys_common::unwind::begin_unwind_fmt::hda8646f04aa67d8aRYt
       6:        0x1079fb317 - rust_begin_unwind
       7:        0x107a25750 - panicking::panic_fmt::h40f5ec0cdc3fc429FRL
       8:        0x106025ca7 - result::unwrap_failed::h9305062634317406219
       9:        0x1060c1053 - layout_thread::LayoutThread::exit_now::hf5df5c8e35ae90bbwur
      10:        0x10609a435 - layout_thread::LayoutThread::handle_request_helper::h4e2d4222133ce73a2jr
      11:        0x1060863b4 - layout_thread::LayoutThread::handle_request::hcc9862cdad29e05d5dr
      12:        0x10603a6ea - sys_common::unwind::try::try_fn::h6355336848629699739
      13:        0x1079fb2ab - __rust_try
      14:        0x1079fb233 - sys_common::unwind::inner_try::hdf6affff6fc30ecdNWt
      15:        0x10603b2c1 - boxed::F.FnBox<A>::call_box::h11011109450462989032
      16:        0x1079fec4c - sys::thread::Thread::new::thread_start::he33a0e5f2597fcdejOy
      17:     0x7fff8d430c12 - _pthread_body
      18:     0x7fff8d430b8f - _pthread_start
    stack backtrace:
    thread 'ScriptThread PipelineId { namespace_id: PipelineNamespaceId(0), index: PipelineIndex(11) }' panicked at 'called `Result::unwrap()` on an `Err` value: RecvError', ../src/libcore/result.rs:746
       1:        0x1079fbf78 - sys::backtrace::tracing::imp::write::h3153bab3099b48114Zu
       2:        0x1079ffb69 - panicking::default_handler::_$u7b$$u7b$closure$u7d$$u7d$::closure.43920
       3:        0x1079ff798 - panicking::default_handler::h1183b2a11c8682560zz
       4:        0x1079eab86 - sys_common::unwind::begin_unwind_inner::h1f97bc9e4cfe0396LZt
       5:        0x1079ebbbe - sys_common::unwind::begin_unwind_fmt::hda8646f04aa67d8aRYt
       6:        0x1079fb317 - rust_begin_unwind
       7:        0x107a25750 - panicking::panic_fmt::h40f5ec0cdc3fc429FRL
       8:        0x1066960e5 - result::unwrap_failed::h2432856923581932681
       9:        0x10669bfa2 - script_thread::ScriptThread::handle_msgs::_$u7b$$u7b$closure$u7d$$u7d$::closure.190725
      10:        0x1066840ee - script_thread::ScriptThread::handle_msgs::hd72f54bba8f6eed5IOu
      11:        0x1066223b7 - sys_common::unwind::try::try_fn::h3013048867185780675
      12:        0x1079fb2ab - __rust_try
      13:        0x1079fb233 - sys_common::unwind::inner_try::hdf6affff6fc30ecdNWt
      14:        0x1066238da - boxed::F.FnBox<A>::call_box::h13085430024443057572
      15:        0x1079fec4c - sys::thread::Thread::new::thread_start::he33a0e5f2597fcdejOy
      16:     0x7fff8d430c12 - _pthread_body
      17:     0x7fff8d430b8f - _pthread_start
    stack backtrace:
       1:        0x1079fbf78 - sys::backtrace::tracing::imp::write::h3153bab3099b48114Zu
       2:        0x1079ffb69 - panicking::default_handler::_$u7b$$u7b$closure$u7d$$u7d$::closure.43920
       3:        0x1079ff798 - panicking::default_handler::h1183b2a11c8682560zz
       4:        0x1079eab86 - sys_common::unwind::begin_unwind_inner::h1f97bc9e4cfe0396LZt
    thread 'PaintThread PipelineId { namespace_id: PipelineNamespaceId(0), index: PipelineIndex(15) }' panicked at 'called `Result::unwrap()` on an `Err` value: Error { repr: Custom(Custom { kind: NotFound, error: StringError("Bogus destination port.") }) }', ../src/libcore/result.rs:746
    thread 'LayoutThread PipelineId { namespace_id: PipelineNamespaceId(0), index: PipelineIndex(15) }' panicked at 'called `Result::unwrap()` on an `Err` value: Error { repr: Custom(Custom { kind: Other, error: StringError("MPSC send failed") }) }', ../src/libcore/result.rs:746
       5:        0x1079ebbbe - sys_common::unwind::begin_unwind_fmt::hda8646f04aa67d8aRYt
       6:        0x1079fb317 - rust_begin_unwind
       7:        0x107a25750 - panicking::panic_fmt::h40f5ec0cdc3fc429FRL
       8:        0x106b085c7 - result::unwrap_failed::h15701348243162605805
       9:        0x106b25053 - sys_common::unwind::try::try_fn::h17287309935825285798
      10:        0x1079fb2ab - __rust_try
      11:        0x1079fb233 - sys_common::unwind::inner_try::hdf6affff6fc30ecdNWt
      12:        0x106b2584a - boxed::F.FnBox<A>::call_box::h2250166956578653066
      13:        0x1079fec4c - sys::thread::Thread::new::thread_start::he33a0e5f2597fcdejOy
      14:     0x7fff8d430c12 - _pthread_body
      15:     0x7fff8d430b8f - _pthread_start
    stack backtrace:
       1:        0x1079fbf78 - sys::backtrace::tracing::imp::write::h3153bab3099b48114Zu
       2:        0x1079ffb69 - panicking::default_handler::_$u7b$$u7b$closure$u7d$$u7d$::closure.43920
       3:        0x1079ff798 - panicking::default_handler::h1183b2a11c8682560zz
    thread 'PaintThread PipelineId { namespace_id: PipelineNamespaceId(0), index: PipelineIndex(21) }' panicked at 'called `Result::unwrap()` on an `Err` value: Error { repr: Custom(Custom { kind: NotFound, error: StringError("Bogus destination port.") }) }', ../src/libcore/result.rs:746
       4:        0x1079eab86 - sys_common::unwind::begin_unwind_inner::h1f97bc9e4cfe0396LZt
       5:        0x1079ebbbe - sys_common::unwind::begin_unwind_fmt::hda8646f04aa67d8aRYt
       6:        0x1079fb317 - rust_begin_unwind
       7:        0x107a25750 - panicking::panic_fmt::h40f5ec0cdc3fc429FRL
       8:        0x1066960e5 - result::unwrap_failed::h2432856923581932681
       9:        0x10669bfa2 - script_thread::ScriptThread::handle_msgs::_$u7b$$u7b$closure$u7d$$u7d$::closure.190725
      10:        0x1066840ee - script_thread::ScriptThread::handle_msgs::hd72f54bba8f6eed5IOu
      11:        0x1066223b7 - sys_common::unwind::try::try_fn::h3013048867185780675
      12:        0x1079fb2ab - __rust_try
      13:        0x1079fb233 - sys_common::unwind::inner_try::hdf6affff6fc30ecdNWt
      14:        0x1066238da - boxed::F.FnBox<A>::call_box::h13085430024443057572
      15:        0x1079fec4c - sys::thread::Thread::new::thread_start::he33a0e5f2597fcdejOy
      16:     0x7fff8d430c12 - _pthread_body
      17:     0x7fff8d430b8f - _pthread_start
    stack backtrace:
       1:        0x1079fbf78 - sys::backtrace::tracing::imp::write::h3153bab3099b48114Zu
       2:        0x1079ffb69 - panicking::default_handler::_$u7b$$u7b$closure$u7d$$u7d$::closure.43920
       3:        0x1079ff798 - panicking::default_handler::h1183b2a11c8682560zz
       4:        0x1079eab86 - sys_common::unwind::begin_unwind_inner::h1f97bc9e4cfe0396LZt
       5:        0x1079ebbbe - sys_common::unwind::begin_unwind_fmt::hda8646f04aa67d8aRYt
       6:        0x1079fb317 - rust_begin_unwind
       7:        0x107a25750 - panicking::panic_fmt::h40f5ec0cdc3fc429FRL
       8:        0x106025ca7 - result::unwrap_failed::h9305062634317406219
       9:        0x1060c1053 - layout_thread::LayoutThread::exit_now::hf5df5c8e35ae90bbwur
      10:        0x10609a435 - layout_thread::LayoutThread::handle_request_helper::h4e2d4222133ce73a2jr
      11:        0x1060863b4 - layout_thread::LayoutThread::handle_request::hcc9862cdad29e05d5dr
      12:        0x10603a6ea - sys_common::unwind::try::try_fn::h6355336848629699739
    thread 'PaintThread PipelineId { namespace_id: PipelineNamespaceId(0), index: PipelineIndex(18) }' panicked at 'called `Result::unwrap()` on an `Err` value: Error { repr: Custom(Custom { kind: NotFound, error: StringError("Bogus destination port.") }) }', ../src/libcore/result.rs:746
    thread 'LayoutThread PipelineId { namespace_id: PipelineNamespaceId(0), index: PipelineIndex(18) }' panicked at 'called `Result::unwrap()` on an `Err` value: Error { repr: Custom(Custom { kind: Other, error: StringError("MPSC send failed") }) }', ../src/libcore/result.rs:746
      13:        0x1079fb2ab - __rust_try
      14:        0x1079fb233 - sys_common::unwind::inner_try::hdf6affff6fc30ecdNWt
      15:        0x10603b2c1 - boxed::F.FnBox<A>::call_box::h11011109450462989032
      16:        0x1079fec4c - sys::thread::Thread::new::thread_start::he33a0e5f2597fcdejOy
      17:     0x7fff8d430c12 - _pthread_body
      18:     0x7fff8d430b8f - _pthread_start
    stack backtrace:
    thread 'ScriptThread PipelineId { namespace_id: PipelineNamespaceId(0), index: PipelineIndex(14) }' panicked at 'called `Result::unwrap()` on an `Err` value: RecvError', ../src/libcore/result.rs:746
       1:        0x1079fbf78 - sys::backtrace::tracing::imp::write::h3153bab3099b48114Zu
       2:        0x1079ffb69 - panicking::default_handler::_$u7b$$u7b$closure$u7d$$u7d$::closure.43920
       3:        0x1079ff798 - panicking::default_handler::h1183b2a11c8682560zz
       4:        0x1079eab86 - sys_common::unwind::begin_unwind_inner::h1f97bc9e4cfe0396LZt
       5:        0x1079ebbbe - sys_common::unwind::begin_unwind_fmt::hda8646f04aa67d8aRYt
       6:        0x1079fb317 - rust_begin_unwind
       7:        0x107a25750 - panicking::panic_fmt::h40f5ec0cdc3fc429FRL
       8:        0x106b085c7 - result::unwrap_failed::h15701348243162605805
       9:        0x106b25053 - sys_common::unwind::try::try_fn::h17287309935825285798
      10:        0x1079fb2ab - __rust_try
      11:        0x1079fb233 - sys_common::unwind::inner_try::hdf6affff6fc30ecdNWt
    thread 'LayoutThread PipelineId { namespace_id: PipelineNamespaceId(0), index: PipelineIndex(24) }' panicked at 'thread 'called `Result::unwrap()` on an `Err` value: Error { repr: Custom(Custom { kind: Other, error: StringError("MPSC send failed") }) }', ../src/libcore/result.rs:746
    PaintThread PipelineId { namespace_id: PipelineNamespaceId(0), index: PipelineIndex(24) }' panicked at 'called `Result::unwrap()` on an `Err` value: Error { repr: Custom(Custom { kind: NotFound, error: StringError("Bogus destination port.") }) }', ../src/libcore/result.rs:746
      12:        0x106b2584a - boxed::F.FnBox<A>::call_box::h2250166956578653066
      13:        0x1079fec4c - sys::thread::Thread::new::thread_start::he33a0e5f2597fcdejOy
      14:     0x7fff8d430c12 - _pthread_body
      15:     0x7fff8d430b8f - _pthread_start
    stack backtrace:
       1:        0x1079fbf78 - sys::backtrace::tracing::imp::write::h3153bab3099b48114Zu
       2:        0x1079ffb69 - panicking::default_handler::_$u7b$$u7b$closure$u7d$$u7d$::closure.43920
       3:        0x1079ff798 - panicking::default_handler::h1183b2a11c8682560zz
       4:        0x1079eab86 - sys_common::unwind::begin_unwind_inner::h1f97bc9e4cfe0396LZt
       5:        0x1079ebbbe - sys_common::unwind::begin_unwind_fmt::hda8646f04aa67d8aRYt
       6:        0x1079fb317 - rust_begin_unwind
       7:        0x107a25750 - panicking::panic_fmt::h40f5ec0cdc3fc429FRL
       8:        0x106025ca7 - result::unwrap_failed::h9305062634317406219
       9:        0x1060c1053 - layout_thread::LayoutThread::exit_now::hf5df5c8e35ae90bbwur
      10:        0x1060a01d6 - layout_thread::LayoutThread::handle_request_helper::h4e2d4222133ce73a2jr
      11:        0x10608633a - layout_thread::LayoutThread::handle_request::hcc9862cdad29e05d5dr
      12:        0x10603a6ea - sys_common::unwind::try::try_fn::h6355336848629699739
      13:        0x1079fb2ab - __rust_try
      14:        0x1079fb233 - sys_common::unwind::inner_try::hdf6affff6fc30ecdNWt
      15:        0x10603b2c1 - boxed::F.FnBox<A>::call_box::h11011109450462989032
      16:        0x1079fec4c - sys::thread::Thread::new::thread_start::he33a0e5f2597fcdejOy
      17:     0x7fff8d430c12 - _pthread_body
      18:     0x7fff8d430b8f - _pthread_start
    stack backtrace:
    thread 'PaintThread PipelineId { namespace_id: PipelineNamespaceId(0), index: PipelineIndex(27) }' panicked at 'called `Result::unwrap()` on an `Err` value: Error { repr: Custom(Custom { kind: NotFound, error: StringError("Bogus destination port.") }) }', ../src/libcore/result.rs:746
       1:        0x1079fbf78 - sys::backtrace::tracing::imp::write::h3153bab3099b48114Zu
       2:        0x1079ffb69 - panicking::default_handler::_$u7b$$u7b$closure$u7d$$u7d$::closure.43920
       3:        0x1079ff798 - panicking::default_handler::h1183b2a11c8682560zz
       4:        0x1079eab86 - sys_common::unwind::begin_unwind_inner::h1f97bc9e4cfe0396LZt
       5:        0x1079ebbbe - sys_common::unwind::begin_unwind_fmt::hda8646f04aa67d8aRYt
       6:        0x1079fb317 - rust_begin_unwind
       7:        0x107a25750 - panicking::panic_fmt::h40f5ec0cdc3fc429FRL
       8:        0x106b085c7 - result::unwrap_failed::h15701348243162605805
       9:        0x106b25053 - sys_common::unwind::try::try_fn::h17287309935825285798
      10:        0x1079fb2ab - __rust_try
      11:        0x1079fb233 - sys_common::unwind::inner_try::hdf6affff6fc30ecdNWt
      12:        0x106b2584a - boxed::F.FnBox<A>::call_box::h2250166956578653066
      13:        0x1079fec4c - sys::thread::Thread::new::thread_start::he33a0e5f2597fcdejOy
      14:     0x7fff8d430c12 - _pthread_body
      15:     0x7fff8d430b8f - _pthread_start
    stack backtrace:
       1:        0x1079fbf78 - sys::backtrace::tracing::imp::write::h3153bab3099b48114Zu
       2:        0x1079ffb69 - panicking::default_handler::_$u7b$$u7b$closure$u7d$$u7d$::closure.43920
       3:        0x1079ff798 - panicking::default_handler::h1183b2a11c8682560zz
       4:        0x1079eab86 - sys_common::unwind::begin_unwind_inner::h1f97bc9e4cfe0396LZt
       5:        0x1079ebbbe - sys_common::unwind::begin_unwind_fmt::hda8646f04aa67d8aRYt
       6:        0x1079fb317 - rust_begin_unwind
       7:        0x107a25750 - panicking::panic_fmt::h40f5ec0cdc3fc429FRL
       8:        0x106025ca7 - result::unwrap_failed::h9305062634317406219
       9:        0x1060c1053 - layout_thread::LayoutThread::exit_now::hf5df5c8e35ae90bbwur
      10:        0x10609a435 - layout_thread::LayoutThread::handle_request_helper::h4e2d4222133ce73a2jr
      11:        0x1060863b4 - layout_thread::LayoutThread::handle_request::hcc9862cdad29e05d5dr
      12:        0x10603a6ea - sys_common::unwind::try::try_fn::h6355336848629699739
      13:        0x1079fb2ab - __rust_try
      14:        0x1079fb233 - sys_common::unwind::inner_try::hdf6affff6fc30ecdNWt
      15:        0x10603b2c1 - boxed::F.FnBox<A>::call_box::h11011109450462989032
    thread 'LayoutThread PipelineId { namespace_id: PipelineNamespaceId(0), index: PipelineIndex(27) }' panicked at 'called `Result::unwrap()` on an `Err` value: Error { repr: Custom(Custom { kind: Other, error: StringError("MPSC send failed") }) }', ../src/libcore/result.rs:746
      16:        0x1079fec4c - sys::thread::Thread::new::thread_start::he33a0e5f2597fcdejOy
      17:     0x7fff8d430c12 - _pthread_body
      18:     0x7fff8d430b8f - _pthread_start
    stack backtrace:
    thread 'ScriptThread PipelineId { namespace_id: PipelineNamespaceId(0), index: PipelineIndex(16) }' panicked at 'called `Result::unwrap()` on an `Err` value: RecvError', ../src/libcore/result.rs:746
       1:        0x1079fbf78 - sys::backtrace::tracing::imp::write::h3153bab3099b48114Zu
       2:        0x1079ffb69 - panicking::default_handler::_$u7b$$u7b$closure$u7d$$u7d$::closure.43920
       3:        0x1079ff798 - panicking::default_handler::h1183b2a11c8682560zz
       4:        0x1079eab86 - sys_common::unwind::begin_unwind_inner::h1f97bc9e4cfe0396LZt
       5:        0x1079ebbbe - sys_common::unwind::begin_unwind_fmt::hda8646f04aa67d8aRYt
       6:        0x1079fb317 - rust_begin_unwind
       7:        0x107a25750 - panicking::panic_fmt::h40f5ec0cdc3fc429FRL
       8:        0x106b085c7 - result::unwrap_failed::h15701348243162605805
       9:        0x106b25053 - sys_common::unwind::try::try_fn::h17287309935825285798
      10:        0x1079fb2ab - __rust_try
      11:        0x1079fb233 - sys_common::unwind::inner_try::hdf6affff6fc30ecdNWt
      12:        0x106b2584a - boxed::F.FnBox<A>::call_box::h2250166956578653066
      13:        0x1079fec4c - sys::thread::Thread::new::thread_start::he33a0e5f2597fcdejOy
      14:     0x7fff8d430c12 - _pthread_body
      15:     0x7fff8d430b8f - _pthread_start
    stack backtrace:
       1:        0x1079fbf78 - sys::backtrace::tracing::imp::write::h3153bab3099b48114Zu
    thread 'PaintThread PipelineId { namespace_id: PipelineNamespaceId(0), index: PipelineIndex(29) }' panicked at 'called `Result::unwrap()` on an `Err` value: Error { repr: Custom(Custom { kind: NotFound, error: StringError("Bogus destination port.") }) }', ../src/libcore/result.rs:746
       2:        0x1079ffb69 - panicking::default_handler::_$u7b$$u7b$closure$u7d$$u7d$::closure.43920
       3:        0x1079ff798 - panicking::default_handler::h1183b2a11c8682560zz
       4:        0x1079eab86 - sys_common::unwind::begin_unwind_inner::h1f97bc9e4cfe0396LZt
       5:        0x1079ebbbe - sys_common::unwind::begin_unwind_fmt::hda8646f04aa67d8aRYt
       6:        0x1079fb317 - rust_begin_unwind
       7:        0x107a25750 - panicking::panic_fmt::h40f5ec0cdc3fc429FRL
       8:        0x106025ca7 - result::unwrap_failed::h9305062634317406219
       9:        0x1060c1053 - layout_thread::LayoutThread::exit_now::hf5df5c8e35ae90bbwur
      10:        0x1060a01d6 - layout_thread::LayoutThread::handle_request_helper::h4e2d4222133ce73a2jr
      11:        0x10608633a - layout_thread::LayoutThread::handle_request::hcc9862cdad29e05d5dr
      12:        0x10603a6ea - sys_common::unwind::try::try_fn::h6355336848629699739
      13:        0x1079fb2ab - __rust_try
      14:        0x1079fb233 - sys_common::unwind::inner_try::hdf6affff6fc30ecdNWt
      15:        0x10603b2c1 - boxed::F.FnBox<A>::call_box::h11011109450462989032
      16:        0x1079fec4c - sys::thread::Thread::new::thread_start::he33a0e5f2597fcdejOy
      17:     0x7fff8d430c12 - _pthread_body
      18:     0x7fff8d430b8f - _pthread_start
    stack backtrace:
       1:        0x1079fbf78 - sys::backtrace::tracing::imp::write::h3153bab3099b48114Zu
       2:        0x1079ffb69 - panicking::default_handler::_$u7b$$u7b$closure$u7d$$u7d$::closure.43920
       3:        0x1079ff798 - panicking::default_handler::h1183b2a11c8682560zz
       4:        0x1079eab86 - sys_common::unwind::begin_unwind_inner::h1f97bc9e4cfe0396LZt
    thread 'PaintThread PipelineId { namespace_id: PipelineNamespaceId(0), index: PipelineIndex(31) }' panicked at 'called `Result::unwrap()` on an `Err` value: Error { repr: Custom(Custom { kind: NotFound, error: StringError("Bogus destination port.") }) }', ../src/libcore/result.rs:746
       5:        0x1079ebbbe - sys_common::unwind::begin_unwind_fmt::hda8646f04aa67d8aRYt
       6:        0x1079fb317 - rust_begin_unwind
       7:        0x107a25750 - panicking::panic_fmt::h40f5ec0cdc3fc429FRL
       8:        0x106b085c7 - result::unwrap_failed::h15701348243162605805
       9:        0x106b25053 - sys_common::unwind::try::try_fn::h17287309935825285798
      10:        0x1079fb2ab - __rust_try
      11:        0x1079fb233 - sys_common::unwind::inner_try::hdf6affff6fc30ecdNWt
      12:        0x106b2584a - boxed::F.FnBox<A>::call_box::h2250166956578653066
      13:        0x1079fec4c - sys::thread::Thread::new::thread_start::he33a0e5f2597fcdejOy
      14:     0x7fff8d430c12 - _pthread_body
      15:     0x7fff8d430b8f - _pthread_start
    stack backtrace:
       1:        0x1079fbf78 - sys::backtrace::tracing::imp::write::h3153bab3099b48114Zu
       2:        0x1079ffb69 - panicking::default_handler::_$u7b$$u7b$closure$u7d$$u7d$::closure.43920
       3:        0x1079ff798 - panicking::default_handler::h1183b2a11c8682560zz
       4:        0x1079eab86 - sys_common::unwind::begin_unwind_inner::h1f97bc9e4cfe0396LZt
    thread 'LayoutThread PipelineId { namespace_id: PipelineNamespaceId(0), index: PipelineIndex(31) }' panicked at 'called `Result::unwrap()` on an `Err` value: Error { repr: Custom(Custom { kind: Other, error: StringError("MPSC send failed") }) }', ../src/libcore/result.rs:746
       5:        0x1079ebbbe - sys_common::unwind::begin_unwind_fmt::hda8646f04aa67d8aRYt
       6:        0x1079fb317 - rust_begin_unwind
       7:        0x107a25750 - panicking::panic_fmt::h40f5ec0cdc3fc429FRL
       8:        0x1066960e5 - result::unwrap_failed::h2432856923581932681
       9:        0x10669bfa2 - script_thread::ScriptThread::handle_msgs::_$u7b$$u7b$closure$u7d$$u7d$::closure.190725
      10:        0x1066840ee - script_thread::ScriptThread::handle_msgs::hd72f54bba8f6eed5IOu
      11:        0x1066223b7 - sys_common::unwind::try::try_fn::h3013048867185780675
      12:        0x1079fb2ab - __rust_try
      13:        0x1079fb233 - sys_common::unwind::inner_try::hdf6affff6fc30ecdNWt
      14:        0x1066238da - boxed::F.FnBox<A>::call_box::h13085430024443057572
      15:        0x1079fec4c - sys::thread::Thread::new::thread_start::he33a0e5f2597fcdejOy
      16:     0x7fff8d430c12 - _pthread_body
      17:     0x7fff8d430b8f - _pthread_start
    stack backtrace:
       1:        0x1079fbf78 - sys::backtrace::tracing::imp::write::h3153bab3099b48114Zu
       2:        0x1079ffb69 - panicking::default_handler::_$u7b$$u7b$closure$u7d$$u7d$::closure.43920
       3:        0x1079ff798 - panicking::default_handler::h1183b2a11c8682560zz
    thread 'PaintThread PipelineId { namespace_id: PipelineNamespaceId(0), index: PipelineIndex(22) }' panicked at 'called `Result::unwrap()` on an `Err` value: Error { repr: Custom(Custom { kind: NotFound, error: StringError("Bogus destination port.") }) }', ../src/libcore/result.rs:746
       4:        0x1079eab86 - sys_common::unwind::begin_unwind_inner::h1f97bc9e4cfe0396LZt
       5:        0x1079ebbbe - sys_common::unwind::begin_unwind_fmt::hda8646f04aa67d8aRYt
       6:        0x1079fb317 - rust_begin_unwind
       7:        0x107a25750 - panicking::panic_fmt::h40f5ec0cdc3fc429FRL
       8:        0x106b085c7 - result::unwrap_failed::h15701348243162605805
       9:        0x106b25053 - sys_common::unwind::try::try_fn::h17287309935825285798
      10:        0x1079fb2ab - __rust_try
      11:        0x1079fb233 - sys_common::unwind::inner_try::hdf6affff6fc30ecdNWt
      12:        0x106b2584a - boxed::F.FnBox<A>::call_box::h2250166956578653066
      13:        0x1079fec4c - sys::thread::Thread::new::thread_start::he33a0e5f2597fcdejOy
      14:     0x7fff8d430c12 - _pthread_body
      15:     0x7fff8d430b8f - _pthread_start
    stack backtrace:
       1:        0x1079fbf78 - sys::backtrace::tracing::imp::write::h3153bab3099b48114Zu
       2:        0x1079ffb69 - panicking::default_handler::_$u7b$$u7b$closure$u7d$$u7d$::closure.43920
       3:        0x1079ff798 - panicking::default_handler::h1183b2a11c8682560zz
       4:        0x1079eab86 - sys_common::unwind::begin_unwind_inner::h1f97bc9e4cfe0396LZt
       5:        0x1079ebbbe - sys_common::unwind::begin_unwind_fmt::hda8646f04aa67d8aRYt
       6:        0x1079fb317 - rust_begin_unwind
       7:        0x107a25750 - panicking::panic_fmt::h40f5ec0cdc3fc429FRL
       8:        0x106025ca7 - result::unwrap_failed::h9305062634317406219
       9:        0x1060c1053 - layout_thread::LayoutThread::exit_now::hf5df5c8e35ae90bbwur
      10:        0x10609a435 - layout_thread::LayoutThread::handle_request_helper::h4e2d4222133ce73a2jr
      11:        0x1060863b4 - layout_thread::LayoutThread::handle_request::hcc9862cdad29e05d5dr
      12:        0x10603a6ea - sys_common::unwind::try::try_fn::h6355336848629699739
      13:        0x1079fb2ab - __rust_try
    thread '<main>' panicked at 'Compositor layer has an unknown pipeline (PipelineId { namespace_id: PipelineNamespaceId(0), index: PipelineIndex(0) }).', /Users/dzbarsky/mozilla/servo/components/compositing/compositor.rs:749
      14:        0x1079fb233 - sys_common::unwind::inner_try::hdf6affff6fc30ecdNWt
      15:        0x10603b2c1 - boxed::F.FnBox<A>::call_box::h11011109450462989032
      16:        0x1079fec4c - sys::thread::Thread::new::thread_start::he33a0e5f2597fcdejOy
      17:     0x7fff8d430c12 - _pthread_body
      18:     0x7fff8d430b8f - _pthread_start
    stack backtrace:
    thread 'ScriptThread PipelineId { namespace_id: PipelineNamespaceId(0), index: PipelineIndex(15) }' panicked at 'called `Result::unwrap()` on an `Err` value: RecvError', ../src/libcore/result.rs:746
       1:        0x1079fbf78 - sys::backtrace::tracing::imp::write::h3153bab3099b48114Zu
    thread 'PaintThread PipelineId { namespace_id: PipelineNamespaceId(0), index: PipelineIndex(35) }' panicked at 'called `Result::unwrap()` on an `Err` value: Error { repr: Custom(Custom { kind: NotFound, error: StringError("Bogus destination port.") }) }', ../src/libcore/result.rs:746
       2:        0x1079ffb69 - panicking::default_handler::_$u7b$$u7b$closure$u7d$$u7d$::closure.43920
       3:        0x1079ff798 - panicking::default_handler::h1183b2a11c8682560zz
       4:        0x1079eab86 - sys_common::unwind::begin_unwind_inner::h1f97bc9e4cfe0396LZt
       5:        0x1079ebbbe - sys_common::unwind::begin_unwind_fmt::hda8646f04aa67d8aRYt
       6:        0x1079fb317 - rust_begin_unwind
       7:        0x107a25750 - panicking::panic_fmt::h40f5ec0cdc3fc429FRL
       8:        0x106b085c7 - result::unwrap_failed::h15701348243162605805
       9:        0x106b25053 - sys_common::unwind::try::try_fn::h17287309935825285798
      10:        0x1079fb2ab - __rust_try
      11:        0x1079fb233 - sys_common::unwind::inner_try::hdf6affff6fc30ecdNWt
      12:        0x106b2584a - boxed::F.FnBox<A>::call_box::h2250166956578653066
      13:        0x1079fec4c - sys::thread::Thread::new::thread_start::he33a0e5f2597fcdejOy
      14:     0x7fff8d430c12 - _pthread_body
      15:     0x7fff8d430b8f - _pthread_start
    stack backtrace:
       1:        0x1079fbf78 - sys::backtrace::tracing::imp::write::h3153bab3099b48114Zu
       2:        0x1079ffb69 - panicking::default_handler::_$u7b$$u7b$closure$u7d$$u7d$::closure.43920
       3:        0x1079ff798 - panicking::default_handler::h1183b2a11c8682560zz
       4:        0x1079eab86 - sys_common::unwind::begin_unwind_inner::h1f97bc9e4cfe0396LZt
       5:        0x1079ebbbe - sys_common::unwind::begin_unwind_fmt::hda8646f04aa67d8aRYt
       6:        0x1079fb317 - rust_begin_unwind
       7:        0x107a25750 - panicking::panic_fmt::h40f5ec0cdc3fc429FRL
       8:        0x106b085c7 - result::unwrap_failed::h15701348243162605805
       9:        0x106b25053 - sys_common::unwind::try::try_fn::h17287309935825285798
      10:        0x1079fb2ab - __rust_try
      11:        0x1079fb233 - sys_common::unwind::inner_try::hdf6affff6fc30ecdNWt
      12:        0x106b2584a - boxed::F.FnBox<A>::call_box::h2250166956578653066
      13:        0x1079fec4c - sys::thread::Thread::new::thread_start::he33a0e5f2597fcdejOy
      14:     0x7fff8d430c12 - _pthread_body
      15:     0x7fff8d430b8f - _pthread_start
    stack backtrace:
       1:        0x1079fbf78 - sys::backtrace::tracing::imp::write::h3153bab3099b48114Zu
       2:        0x1079ffb69 - panicking::default_handler::_$u7b$$u7b$closure$u7d$$u7d$::closure.43920
       3:        0x1079ff798 - panicking::default_handler::h1183b2a11c8682560zz
       4:        0x1079eab86 - sys_common::unwind::begin_unwind_inner::h1f97bc9e4cfe0396LZt
       5:        0x1079ebbbe - sys_common::unwind::begin_unwind_fmt::hda8646f04aa67d8aRYt
       6:        0x1079fb317 - rust_begin_unwind
       7:        0x107a25750 - panicking::panic_fmt::h40f5ec0cdc3fc429FRL
       8:        0x106025ca7 - result::unwrap_failed::h9305062634317406219
       9:        0x1060c1053 - layout_thread::LayoutThread::exit_now::hf5df5c8e35ae90bbwur
      10:        0x10609a435 - layout_thread::LayoutThread::handle_request_helper::h4e2d4222133ce73a2jr
      11:        0x1060863b4 - layout_thread::LayoutThread::handle_request::hcc9862cdad29e05d5dr
      12:        0x10603a6ea - sys_common::unwind::try::try_fn::h6355336848629699739
      13:        0x1079fb2ab - __rust_try
      14:        0x1079fb233 - sys_common::unwind::inner_try::hdf6affff6fc30ecdNWt
      15:        0x10603b2c1 - boxed::F.FnBox<A>::call_box::h11011109450462989032
      16:        0x1079fec4c - sys::thread::Thread::new::thread_start::he33a0e5f2597fcdejOy
      17:     0x7fff8d430c12 - _pthread_body
      18:     0x7fff8d430b8f - _pthread_start
    stack backtrace:
    thread 'ScriptThread PipelineId { namespace_id: PipelineNamespaceId(0), index: PipelineIndex(18) }' panicked at 'called `Result::unwrap()` on an `Err` value: RecvError', ../src/libcore/result.rs:746
       1:        0x1079fbf78 - sys::backtrace::tracing::imp::write::h3153bab3099b48114Zu
       2:        0x1079ffb69 - panicking::default_handler::_$u7b$$u7b$closure$u7d$$u7d$::closure.43920
       3:        0x1079ff798 - panicking::default_handler::h1183b2a11c8682560zz
       4:        0x1079eab86 - sys_common::unwind::begin_unwind_inner::h1f97bc9e4cfe0396LZt
       5:        0x1079ebbbe - sys_common::unwind::begin_unwind_fmt::hda8646f04aa67d8aRYt
       6:        0x1079fb317 - rust_begin_unwind
       7:        0x107a25750 - panicking::panic_fmt::h40f5ec0cdc3fc429FRL
       8:        0x1066960e5 - result::unwrap_failed::h2432856923581932681
       9:        0x10669bfa2 - script_thread::ScriptThread::handle_msgs::_$u7b$$u7b$closure$u7d$$u7d$::closure.190725
      10:        0x1066840ee - script_thread::ScriptThread::handle_msgs::hd72f54bba8f6eed5IOu
      11:        0x1066223b7 - sys_common::unwind::try::try_fn::h3013048867185780675
      12:        0x1079fb2ab - __rust_try
      13:        0x1079fb233 - sys_common::unwind::inner_try::hdf6affff6fc30ecdNWt
      14:        0x1066238da - boxed::F.FnBox<A>::call_box::h13085430024443057572
      15:        0x1079fec4c - sys::thread::Thread::new::thread_start::he33a0e5f2597fcdejOy
      16:     0x7fff8d430c12 - _pthread_body
      17:     0x7fff8d430b8f - _pthread_start
    stack backtrace:
       1:        0x1079fbf78 - sys::backtrace::tracing::imp::write::h3153bab3099b48114Zu
       2:        0x1079ffb69 - panicking::default_handler::_$u7b$$u7b$closure$u7d$$u7d$::closure.43920
       3:        0x1079ff798 - panicking::default_handler::h1183b2a11c8682560zz
       4:        0x1079eab86 - sys_common::unwind::begin_unwind_inner::h1f97bc9e4cfe0396LZt
    thread 'PaintThread PipelineId { namespace_id: PipelineNamespaceId(0), index: PipelineIndex(26) }' panicked at 'called `Result::unwrap()` on an `Err` value: Error { repr: Custom(Custom { kind: NotFound, error: StringError("Bogus destination port.") }) }', ../src/libcore/result.rs:746
    thread 'LayoutThread PipelineId { namespace_id: PipelineNamespaceId(0), index: PipelineIndex(26) }' panicked at 'called `Result::unwrap()` on an `Err` value: Error { repr: Custom(Custom { kind: Other, error: StringError("MPSC send failed") }) }', ../src/libcore/result.rs:746
       5:        0x1079ebbbe - sys_common::unwind::begin_unwind_fmt::hda8646f04aa67d8aRYt
       6:        0x1079fb317 - rust_begin_unwind
       7:        0x107a25750 - panicking::panic_fmt::h40f5ec0cdc3fc429FRL
       8:        0x106025ca7 - result::unwrap_failed::h9305062634317406219
       9:        0x1060c1053 - layout_thread::LayoutThread::exit_now::hf5df5c8e35ae90bbwur
      10:        0x10609a435 - layout_thread::LayoutThread::handle_request_helper::h4e2d4222133ce73a2jr
      11:        0x1060863b4 - layout_thread::LayoutThread::handle_request::hcc9862cdad29e05d5dr
      12:        0x10603a6ea - sys_common::unwind::try::try_fn::h6355336848629699739
      13:        0x1079fb2ab - __rust_try
      14:        0x1079fb233 - sys_common::unwind::inner_try::hdf6affff6fc30ecdNWt
      15:        0x10603b2c1 - boxed::F.FnBox<A>::call_box::h11011109450462989032
      16:        0x1079fec4c - sys::thread::Thread::new::thread_start::he33a0e5f2597fcdejOy
      17:     0x7fff8d430c12 - _pthread_body
      18:     0x7fff8d430b8f - _pthread_start
    stack backtrace:
       1:        0x1079fbf78 - sys::backtrace::tracing::imp::write::h3153bab3099b48114Zu
    thread 'ScriptThread PipelineId { namespace_id: PipelineNamespaceId(0), index: PipelineIndex(24) }' panicked at 'called `Result::unwrap()` on an `Err` value: RecvError', ../src/libcore/result.rs:746
       2:        0x1079ffb69 - panicking::default_handler::_$u7b$$u7b$closure$u7d$$u7d$::closure.43920
       3:        0x1079ff798 - panicking::default_handler::h1183b2a11c8682560zz
       4:        0x1079eab86 - sys_common::unwind::begin_unwind_inner::h1f97bc9e4cfe0396LZt
       5:        0x1079ebbbe - sys_common::unwind::begin_unwind_fmt::hda8646f04aa67d8aRYt
       6:        0x1079fb317 - rust_begin_unwind
       7:        0x107a25750 - panicking::panic_fmt::h40f5ec0cdc3fc429FRL
       8:        0x106b085c7 - result::unwrap_failed::h15701348243162605805
       9:        0x106b25053 - sys_common::unwind::try::try_fn::h17287309935825285798
      10:        0x1079fb2ab - __rust_try
      11:        0x1079fb233 - sys_common::unwind::inner_try::hdf6affff6fc30ecdNWt
      12:        0x106b2584a - boxed::F.FnBox<A>::call_box::h2250166956578653066
      13:        0x1079fec4c - sys::thread::Thread::new::thread_start::he33a0e5f2597fcdejOy
      14:     0x7fff8d430c12 - _pthread_body
      15:     0x7fff8d430b8f - _pthread_start
    stack backtrace:
       1:        0x1079fbf78 - sys::backtrace::tracing::imp::write::h3153bab3099b48114Zu
       2:        0x1079ffb69 - panicking::default_handler::_$u7b$$u7b$closure$u7d$$u7d$::closure.43920
       3:        0x1079ff798 - panicking::default_handler::h1183b2a11c8682560zz
       4:        0x1079eab86 - sys_common::unwind::begin_unwind_inner::h1f97bc9e4cfe0396LZt
       5:        0x1079ebbbe - sys_common::unwind::begin_unwind_fmt::hda8646f04aa67d8aRYt
       6:        0x1079fb317 - rust_begin_unwind
       7:        0x107a25750 - panicking::panic_fmt::h40f5ec0cdc3fc429FRL
       8:        0x106b085c7 - result::unwrap_failed::h15701348243162605805
       9:        0x106b25053 - sys_common::unwind::try::try_fn::h17287309935825285798
      10:        0x1079fb2ab - __rust_try
      11:        0x1079fb233 - sys_common::unwind::inner_try::hdf6affff6fc30ecdNWt
      12:        0x106b2584a - boxed::F.FnBox<A>::call_box::h2250166956578653066
      13:        0x1079fec4c - sys::thread::Thread::new::thread_start::he33a0e5f2597fcdejOy
      14:     0x7fff8d430c12 - _pthread_body
      15:     0x7fff8d430b8f - _pthread_start
    stack backtrace:
       1:        0x1079fbf78 - sys::backtrace::tracing::imp::write::h3153bab3099b48114Zu
       2:        0x1079ffb69 - panicking::default_handler::_$u7b$$u7b$closure$u7d$$u7d$::closure.43920
       3:        0x1079ff798 - panicking::default_handler::h1183b2a11c8682560zz
       4:        0x1079eab86 - sys_common::unwind::begin_unwind_inner::h1f97bc9e4cfe0396LZt
       5:        0x1079ebbbe - sys_common::unwind::begin_unwind_fmt::hda8646f04aa67d8aRYt
       6:        0x1079fb317 - rust_begin_unwind
       7:        0x107a25750 - panicking::panic_fmt::h40f5ec0cdc3fc429FRL
       8:        0x106025ca7 - result::unwrap_failed::h9305062634317406219
       9:        0x1060c1053 - layout_thread::LayoutThread::exit_now::hf5df5c8e35ae90bbwur
      10:        0x10609a435 - layout_thread::LayoutThread::handle_request_helper::h4e2d4222133ce73a2jr
      11:        0x1060863b4 - layout_thread::LayoutThread::handle_request::hcc9862cdad29e05d5dr
      12:        0x10603a6ea - sys_common::unwind::try::try_fn::h6355336848629699739
      13:        0x1079fb2ab - __rust_try
      14:        0x1079fb233 - sys_common::unwind::inner_try::hdf6affff6fc30ecdNWt
      15:        0x10603b2c1 - boxed::F.FnBox<A>::call_box::h11011109450462989032
      16:        0x1079fec4c - sys::thread::Thread::new::thread_start::he33a0e5f2597fcdejOy
      17:     0x7fff8d430c12 - _pthread_body
      18:     0x7fff8d430b8f - _pthread_start
    stack backtrace:
    thread 'ScriptThread PipelineId { namespace_id: PipelineNamespaceId(0), index: PipelineIndex(27) }' panicked at 'called `Result::unwrap()` on an `Err` value: RecvError', ../src/libcore/result.rs:746
       1:        0x1079fbf78 - sys::backtrace::tracing::imp::write::h3153bab3099b48114Zu
       2:        0x1079ffb69 - panicking::default_handler::_$u7b$$u7b$closure$u7d$$u7d$::closure.43920
       3:        0x1079ff798 - panicking::default_handler::h1183b2a11c8682560zz
       4:        0x1079eab86 - sys_common::unwind::begin_unwind_inner::h1f97bc9e4cfe0396LZt
       5:        0x1079ebbbe - sys_common::unwind::begin_unwind_fmt::hda8646f04aa67d8aRYt
       6:        0x1079fb317 - rust_begin_unwind
       7:        0x107a25750 - panicking::panic_fmt::h40f5ec0cdc3fc429FRL
       8:        0x1066960e5 - result::unwrap_failed::h2432856923581932681
       9:        0x10669bfa2 - script_thread::ScriptThread::handle_msgs::_$u7b$$u7b$closure$u7d$$u7d$::closure.190725
      10:        0x1066840ee - script_thread::ScriptThread::handle_msgs::hd72f54bba8f6eed5IOu
      11:        0x1066223b7 - sys_common::unwind::try::try_fn::h3013048867185780675
      12:        0x1079fb2ab - __rust_try
      13:        0x1079fb233 - sys_common::unwind::inner_try::hdf6affff6fc30ecdNWt
      14:        0x1066238da - boxed::F.FnBox<A>::call_box::h13085430024443057572
      15:        0x1079fec4c - sys::thread::Thread::new::thread_start::he33a0e5f2597fcdejOy
      16:     0x7fff8d430c12 - _pthread_body
      17:     0x7fff8d430b8f - _pthread_start
    stack backtrace:
       1:        0x1079fbf78 - sys::backtrace::tracing::imp::write::h3153bab3099b48114Zu
       2:        0x1079ffb69 - panicking::default_handler::_$u7b$$u7b$closure$u7d$$u7d$::closure.43920
       3:        0x1079ff798 - panicking::default_handler::h1183b2a11c8682560zz
       4:        0x1079eab86 - sys_common::unwind::begin_unwind_inner::h1f97bc9e4cfe0396LZt
       5:        0x1079ebbbe - sys_common::unwind::begin_unwind_fmt::hda8646f04aa67d8aRYt
       6:        0x1079fb317 - rust_begin_unwind
       7:        0x107a25750 - panicking::panic_fmt::h40f5ec0cdc3fc429FRL
    thread 'PaintThread PipelineId { namespace_id: PipelineNamespaceId(0), index: PipelineIndex(30) }' panicked at 'called `Result::unwrap()` on an `Err` value: Error { repr: Custom(Custom { kind: NotFound, error: StringError("Bogus destination port.") }) }', ../src/libcore/result.rs:746
    thread 'ScriptThread PipelineId { namespace_id: PipelineNamespaceId(0), index: PipelineIndex(30) }' panicked at 'called `Result::unwrap()` on an `Err` value: RecvError', ../src/libcore/result.rs:746
       8:        0x106b085c7 - result::unwrap_failed::h15701348243162605805
       9:        0x106b25053 - sys_common::unwind::try::try_fn::h17287309935825285798
      10:        0x1079fb2ab - __rust_try
      11:        0x1079fb233 - sys_common::unwind::inner_try::hdf6affff6fc30ecdNWt
      12:        0x106b2584a - boxed::F.FnBox<A>::call_box::h2250166956578653066
      13:        0x1079fec4c - sys::thread::Thread::new::thread_start::he33a0e5f2597fcdejOy
      14:     0x7fff8d430c12 - _pthread_body
      15:     0x7fff8d430b8f - _pthread_start
    stack backtrace:
       1:        0x1079fbf78 - sys::backtrace::tracing::imp::write::h3153bab3099b48114Zu
       2:        0x1079ffb69 - panicking::default_handler::_$u7b$$u7b$closure$u7d$$u7d$::closure.43920
       3:        0x1079ff798 - panicking::default_handler::h1183b2a11c8682560zz
       4:        0x1079eab86 - sys_common::unwind::begin_unwind_inner::h1f97bc9e4cfe0396LZt
       5:        0x1079ebbbe - sys_common::unwind::begin_unwind_fmt::hda8646f04aa67d8aRYt
       6:        0x1079fb317 - rust_begin_unwind
       7:        0x107a25750 - panicking::panic_fmt::h40f5ec0cdc3fc429FRL
       8:        0x106b085c7 - result::unwrap_failed::h15701348243162605805
       9:        0x106b25053 - sys_common::unwind::try::try_fn::h17287309935825285798
      10:        0x1079fb2ab - __rust_try
      11:        0x1079fb233 - sys_common::unwind::inner_try::hdf6affff6fc30ecdNWt
      12:        0x106b2584a - boxed::F.FnBox<A>::call_box::h2250166956578653066
      13:        0x1079fec4c - sys::thread::Thread::new::thread_start::he33a0e5f2597fcdejOy
      14:     0x7fff8d430c12 - _pthread_body
      15:     0x7fff8d430b8f - _pthread_start
    stack backtrace:
       1:        0x1079fbf78 - sys::backtrace::tracing::imp::write::h3153bab3099b48114Zu
       2:        0x1079ffb69 - panicking::default_handler::_$u7b$$u7b$closure$u7d$$u7d$::closure.43920
       3:        0x1079ff798 - panicking::default_handler::h1183b2a11c8682560zz
       4:        0x1079eab86 - sys_common::unwind::begin_unwind_inner::h1f97bc9e4cfe0396LZt
       5:        0x1079ebbbe - sys_common::unwind::begin_unwind_fmt::hda8646f04aa67d8aRYt
       6:        0x1079fb317 - rust_begin_unwind
       7:        0x107a25750 - panicking::panic_fmt::h40f5ec0cdc3fc429FRL
       8:        0x106025ca7 - result::unwrap_failed::h9305062634317406219
       9:        0x1060c1053 - layout_thread::LayoutThread::exit_now::hf5df5c8e35ae90bbwur
      10:        0x10609a435 - layout_thread::LayoutThread::handle_request_helper::h4e2d4222133ce73a2jr
      11:        0x1060863b4 - layout_thread::LayoutThread::handle_request::hcc9862cdad29e05d5dr
      12:        0x10603a6ea - sys_common::unwind::try::try_fn::h6355336848629699739
      13:        0x1079fb2ab - __rust_try
      14:        0x1079fb233 - sys_common::unwind::inner_try::hdf6affff6fc30ecdNWt
      15:        0x10603b2c1 - boxed::F.FnBox<A>::call_box::h11011109450462989032
      16:        0x1079fec4c - sys::thread::Thread::new::thread_start::he33a0e5f2597fcdejOy
      17:     0x7fff8d430c12 - _pthread_body
      18:     0x7fff8d430b8f - _pthread_start
    stack backtrace:
    thread 'ScriptThread PipelineId { namespace_id: PipelineNamespaceId(0), index: PipelineIndex(31) }' panicked at 'called `Result::unwrap()` on an `Err` value: RecvError', ../src/libcore/result.rs:746
       1:        0x1079fbf78 - sys::backtrace::tracing::imp::write::h3153bab3099b48114Zu
       2:        0x1079ffb69 - panicking::default_handler::_$u7b$$u7b$closure$u7d$$u7d$::closure.43920
       3:        0x1079ff798 - panicking::default_handler::h1183b2a11c8682560zz
       4:        0x1079eab86 - sys_common::unwind::begin_unwind_inner::h1f97bc9e4cfe0396LZt
       5:        0x1079ebbbe - sys_common::unwind::begin_unwind_fmt::hda8646f04aa67d8aRYt
       6:        0x1079fb317 - rust_begin_unwind
       7:        0x107a25750 - panicking::panic_fmt::h40f5ec0cdc3fc429FRL
       8:        0x106b085c7 - result::unwrap_failed::h15701348243162605805
       9:        0x106b25053 - sys_common::unwind::try::try_fn::h17287309935825285798
      10:        0x1079fb2ab - __rust_try
      11:        0x1079fb233 - sys_common::unwind::inner_try::hdf6affff6fc30ecdNWt
      12:        0x106b2584a - boxed::F.FnBox<A>::call_box::h2250166956578653066
      13:        0x1079fec4c - sys::thread::Thread::new::thread_start::he33a0e5f2597fcdejOy
      14:     0x7fff8d430c12 - _pthread_body
      15:     0x7fff8d430b8f - _pthread_start
    stack backtrace:
       1:        0x1079fbf78 - sys::backtrace::tracing::imp::write::h3153bab3099b48114Zu
       2:        0x1079ffb69 - panicking::default_handler::_$u7b$$u7b$closure$u7d$$u7d$::closure.43920
       3:        0x1079ff798 - panicking::default_handler::h1183b2a11c8682560zz
       4:        0x1079eab86 - sys_common::unwind::begin_unwind_inner::h1f97bc9e4cfe0396LZt
       5:        0x1079ebbbe - sys_common::unwind::begin_unwind_fmt::hda8646f04aa67d8aRYt
       6:        0x105edd88e - compositor::IOCompositor<Window>::send_viewport_rect_for_layer::h7387207546878844700
       7:        0x105ef9823 - compositor::IOCompositor<Window>::composite_specific_target::h2654917611176591776
       8:        0x105eff491 - compositor::IOCompositor<Window>::composite::h1121933124066457677
       9:        0x105ecfa0e - compositor::IOCompositor<Window>.CompositorEventListener::handle_events::h16731245972770370430
      10:        0x105f05b27 - Browser::handle_events::h4e76ace6519c696btea
      11:        0x105eba1a5 - main::h9cc0aa5bb4f2f2aeqaa
      12:        0x1079ff3a2 - sys_common::unwind::try::try_fn::h13791246699442426615
      13:        0x1079fb2ab - __rust_try
      14:        0x1079ff260 - rt::lang_start::h32ace63a1577ce666rz
    stack backtrace:
       1:        0x1079fbf78 - sys::backtrace::tracing::imp::write::h3153bab3099b48114Zu
       2:        0x1079ffb69 - panicking::default_handler::_$u7b$$u7b$closure$u7d$$u7d$::closure.43920
       3:        0x1079ff798 - panicking::default_handler::h1183b2a11c8682560zz
       4:        0x1079eab86 - sys_common::unwind::begin_unwind_inner::h1f97bc9e4cfe0396LZt
       5:        0x1079ebbbe - sys_common::unwind::begin_unwind_fmt::hda8646f04aa67d8aRYt
    thread 'CompositorScriptListener' panicked at 'called `Result::unwrap()` on an `Err` value: "SendError(..)"', ../src/libcore/result.rs:746
       6:        0x1079fb317 - rust_begin_unwind
    thread 'Constellation' panicked at 'called `Result::unwrap()` on an `Err` value: "SendError(..)"', ../src/libcore/result.rs:746
       7:        0x107a25750 - panicking::panic_fmt::h40f5ec0cdc3fc429FRL
       8:        0x1066960e5 - result::unwrap_failed::h2432856923581932681
       9:        0x1066a6ebd - script_thread::shut_down_layout::hfd44109340ceab4b58v
      10:        0x10669b661 - script_thread::ScriptThread::handle_msgs::_$u7b$$u7b$closure$u7d$$u7d$::closure.190725
      11:        0x1066840ee - script_thread::ScriptThread::handle_msgs::hd72f54bba8f6eed5IOu
      12:        0x1066223b7 - sys_common::unwind::try::try_fn::h3013048867185780675
      13:        0x1079fb2ab - __rust_try
    Servo exited with return value 101
    
    opened by dzbarsky 2
  • Unescape unicode character entities

    Unescape unicode character entities

    While working with some feeds in the wild (Craigslist), I found that craigslist was escaping & < > " using unicode character entities (&x26; &x3C; &x3E and &x22; respectively) as well as the more usually character entities. This pull request allows RustyXML to unescape these additional character entities.

    opened by brycefisher 2
  • What version of Rust does this compile against?

    What version of Rust does this compile against?

    This project looks awesome! What version of rust should I use to compile this? Also, is it possible to use this as a library in another rust application?

    opened by brycefisher 2
  • Relicense under dual MIT/Apache-2.0

    Relicense under dual MIT/Apache-2.0

    This issue was automatically generated. Feel free to close without ceremony if you do not agree with re-licensing or if it is not possible for other reasons. Respond to @cmr with any questions or concerns, or pop over to #rust-offtopic on IRC to discuss.

    You're receiving this because someone (perhaps the project maintainer) published a crates.io package with the license as "MIT" xor "Apache-2.0" and the repository field pointing here.

    TL;DR the Rust ecosystem is largely Apache-2.0. Being available under that license is good for interoperation. The MIT license as an add-on can be nice for GPLv2 projects to use your code.

    Why?

    The MIT license requires reproducing countless copies of the same copyright header with different names in the copyright field, for every MIT library in use. The Apache license does not have this drawback. However, this is not the primary motivation for me creating these issues. The Apache license also has protections from patent trolls and an explicit contribution licensing clause. However, the Apache license is incompatible with GPLv2. This is why Rust is dual-licensed as MIT/Apache (the "primary" license being Apache, MIT only for GPLv2 compat), and doing so would be wise for this project. This also makes this crate suitable for inclusion and unrestricted sharing in the Rust standard distribution and other projects using dual MIT/Apache, such as my personal ulterior motive, the Robigalia project.

    Some ask, "Does this really apply to binary redistributions? Does MIT really require reproducing the whole thing?" I'm not a lawyer, and I can't give legal advice, but some Google Android apps include open source attributions using this interpretation. Others also agree with it. But, again, the copyright notice redistribution is not the primary motivation for the dual-licensing. It's stronger protections to licensees and better interoperation with the wider Rust ecosystem.

    How?

    To do this, get explicit approval from each contributor of copyrightable work (as not all contributions qualify for copyright, due to not being a "creative work", e.g. a typo fix) and then add the following to your README:

    ## License
    
    Licensed under either of
    
     * Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)
     * MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)
    
    at your option.
    
    ### Contribution
    
    Unless you explicitly state otherwise, any contribution intentionally submitted
    for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any
    additional terms or conditions.
    

    and in your license headers, if you have them, use the following boilerplate (based on that used in Rust):

    // Copyright 2016 RustyXML developers
    //
    // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
    // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
    // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
    // option. This file may not be copied, modified, or distributed
    // except according to those terms.
    

    It's commonly asked whether license headers are required. I'm not comfortable making an official recommendation either way, but the Apache license recommends it in their appendix on how to use the license.

    Be sure to add the relevant LICENSE-{MIT,APACHE} files. You can copy these from the Rust repo for a plain-text version.

    And don't forget to update the license metadata in your Cargo.toml to:

    license = "MIT/Apache-2.0"
    

    I'll be going through projects which agree to be relicensed and have approval by the necessary contributors and doing this changes, so feel free to leave the heavy lifting to me!

    Contributor checkoff

    To agree to relicensing, comment with :

    I license past and future contributions under the dual MIT/Apache-2.0 license, allowing licensees to chose either at their option.
    

    Or, if you're a contributor, you can check the box in this repo next to your name. My scripts will pick this exact phrase up and check your checkbox, but I'll come through and manually review this issue later as well.

    • [x] @Florob
    • [ ] @kokarez
    • [x] @frewsxcv
    opened by emberian 1
  • Push version to Crates.io?

    Push version to Crates.io?

    I love this library, thanks for the work you put into it :)

    I'd like to be able to publish my library https://github.com/frewsxcv/rust-rss to crates.io, but am unable to since my library depends on this git repository (instead of an explicit rustyxml crates.io version). Have you considered publishing a version on crates.io?

    opened by frewsxcv 1
  • Error type needs

    Error type needs "Clone" and "fmt" methods

    For compatibility with Rust's new approach to error handling, the Error type needs "Clone" and "fmt" methods. Ref: http://lucumr.pocoo.org/2014/11/6/error-handling-in-rust/

    #[derive(PartialEq, Debug, Copy)
    /// The structure returned, when erroneous XML is read
    pub struct Error {
    /// The line number at which the error occurred
    pub line: u32,
    /// The column number at which the error occurred
    pub col: u32,
    /// A message describing the type of the error
    pub msg: &'static str
    }
    

    [derive(PartialEq, Debug, Copy)]

    now needs to be

    [derive(PartialEq, Debug, Clone)]

    due to a language change

    and a "fmt" method is needed for consistency with the new error handling approach.

    opened by John-Nagle 1
  • Basic example for how to use library

    Basic example for how to use library

    I was hoping to use RustyXML for a small project, but can't really figure out how to use it due to being new to rust and being unable to find an example.

    opened by sirlag 0
  • Automated fixes to follow Rust development

    Automated fixes to follow Rust development

    Hi,

    This is an automated pull request to help you follow recent Rust developments. Those changes were applied automatically to spare you the tedious search and replace work needed.

    This is still in testing, and will not replace manual compilation (but will probably remove the annoying part). This may not compile out of the box, because that script does not analyze the type (yet)

    If you do not want to receive those kinds of pull requests, I apologize forthis annoying notification and will not bother you again with this. If you have ideas about how to improve that system, you can check it out at https://github.com/Geal/rustfix

    You can reach me here on Github, or on IRC (Freenode, Mozilla, etc) by the nickname 'geal'.

    Here are the fixes applied:

    Cheers!

    opened by Geal 0
Owner
null
An XML library in Rust

SXD-Document An XML library in Rust. Overview The project is currently broken into two crates: document - Basic DOM manipulation and reading/writing X

Jake Goulding 146 Nov 11, 2022
An XML library in Rust

xml-rs, an XML library for Rust Documentation xml-rs is an XML library for Rust programming language. It is heavily inspired by Java Streaming API for

Vladimir Matveev 417 Dec 13, 2022
serde-like serialization and deserialization of static Rust types in XML

static-xml static-xml is a serde-like serialization and deserialization library for XML, currently written as a layer on top of xml-rs. Status: in ear

Scott Lamb 8 Nov 22, 2022
An XPath library in Rust

SXD-XPath An XML XPath library in Rust. Overview The project is broken into two crates: document - Basic DOM manipulation and reading/writing XML from

Jake Goulding 107 Nov 11, 2022
A Rust OpenType manipulation library

fonttools-rs   This is an attempt to write an Rust library to read, manipulate and write TTF/OTF files. It is in the early stages of development. Cont

Simon Cozens 36 Nov 14, 2022
A XML parser written in Rust

RustyXML Documentation RustyXML is a namespace aware XML parser written in Rust. Right now it provides a basic SAX-like API, and an ElementBuilder bas

null 97 Dec 27, 2022
Rust high performance xml reader and writer

quick-xml High performance xml pull reader/writer. The reader: is almost zero-copy (use of Cow whenever possible) is easy on memory allocation (the AP

Johann Tuffe 802 Dec 31, 2022
An XML library in Rust

SXD-Document An XML library in Rust. Overview The project is currently broken into two crates: document - Basic DOM manipulation and reading/writing X

Jake Goulding 146 Nov 11, 2022
An XML library in Rust

xml-rs, an XML library for Rust Documentation xml-rs is an XML library for Rust programming language. It is heavily inspired by Java Streaming API for

Vladimir Matveev 417 Dec 13, 2022
serde-like serialization and deserialization of static Rust types in XML

static-xml static-xml is a serde-like serialization and deserialization library for XML, currently written as a layer on top of xml-rs. Status: in ear

Scott Lamb 8 Nov 22, 2022
Anglosaxon is a command line tool to parse XML files using SAX

anglosaxon - Convert large XML files to other formats anglosaxon is a command line tool to parse XML files using SAX. You can do simple transformation

Amanda 8 Oct 7, 2022
dovi_meta is a CLI tool for creating Dolby Vision XML metadata from an encoded deliverable with binary metadata.

dovi_meta dovi_meta is a CLI tool for creating Dolby Vision XML metadata from an encoded deliverable with binary metadata. Building Toolchain The mini

Rainbaby 12 Dec 14, 2022
This project returns Queried value from SOAP(XML) in form of JSON.

About This is project by team SSDD for HachNUThon (TechHolding). This project stores and allows updating SOAP(xml) data and responds to various querie

Sandipsinh Rathod 3 Apr 30, 2023
Language server for Odoo Python/JS/XML

odoo-lsp Features Completion, definition and references for models, XML IDs and model fields Works for records, templates, env.ref() and other structu

Viet Dinh 5 Aug 31, 2023
Yet Another Parser library for Rust. A lightweight, dependency free, parser combinator inspired set of utility methods to help with parsing strings and slices.

Yap: Yet another (rust) parsing library A lightweight, dependency free, parser combinator inspired set of utility methods to help with parsing input.

James Wilson 117 Dec 14, 2022
Website for Microformats Rust parser (using 'microformats-parser'/'mf2')

Website for Microformats Rust parser (using 'microformats-parser'/'mf2')

Microformats 5 Jul 19, 2022
A language parser tool to build recursive descent top down parser.

lang-pt A language parser tool to generate recursive descent top down parser. Overview Parsers written for the languages like Javascript are often cus

Creative Forest 7 Jan 4, 2023
This library is a pull parser for CommonMark, written in Rust

This library is a pull parser for CommonMark, written in Rust. It comes with a simple command-line tool, useful for rendering to HTML, and is also designed to be easy to use from as a library.

Raph Levien 1.5k Jan 1, 2023
Rustymind is a driver and parser for NeuroSky MindWave EEG headset written in pure Rust.

Rustymind is a driver and parser for NeuroSky MindWave EEG headset written in pure Rust. You can use it to connect, interact, and plot real time data from the headset.

Junjun Dong 34 Sep 13, 2022
A HDPSG-inspired symbolic natural language parser written in Rust

Treebender A symbolic natural language parsing library for Rust, inspired by HDPSG. What is this? This is a library for parsing natural or constructed

Theia Vogel 32 Dec 26, 2022