Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Leaving Babylon playground triggers worker lifetime assertion #26433

Closed
jdm opened this issue May 5, 2020 · 1 comment
Closed

Leaving Babylon playground triggers worker lifetime assertion #26433

jdm opened this issue May 5, 2020 · 1 comment

Comments

@jdm
Copy link
Member

@jdm jdm commented May 5, 2020

assertion failed: `(left == right)`
  left: `4`,
 right: `1`: This runtime still has live children. (thread ScriptThread PipelineId { namespace_id: PipelineNamespaceId(1), index: PipelineIndex(1) }, at /Users/joshmatthews/.cargo/git/checkouts/rust-mozjs-8611526964119dd6/11cabde/src/rust.rs:424)
   0: backtrace::backtrace::trace_unsynchronized
   1: <servo::backtrace::Print as core::fmt::Debug>::fmt
   2: core::fmt::write
   3: std::io::Write::write_fmt
   4: servo::backtrace::print
   5: servo::main::{{closure}}
   6: std::panicking::rust_panic_with_hook
   7: rust_begin_unwind
   8: std::panicking::begin_panic_fmt
   9: <mozjs::rust::Runtime as core::ops::drop::Drop>::drop
  10: core::ptr::drop_in_place
  11: core::ptr::drop_in_place
  12: core::ptr::drop_in_place
  13: <alloc::rc::Rc<T> as core::ops::drop::Drop>::drop
  14: core::ptr::drop_in_place
  15: core::ptr::drop_in_place
  16: <script::script_thread::ScriptThread as script_traits::ScriptThreadFactory>::create::{{closure}}
  17: std::sys_common::backtrace::__rust_begin_short_backtrace
  18: std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}
  19: <std::panic::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once
  20: std::panicking::try::do_call
  21: __rust_try
  22: std::panicking::try
  23: std::panic::catch_unwind
  24: std::thread::Builder::spawn_unchecked::{{closure}}
  25: core::ops::function::FnOnce::call_once{{vtable.shim}}
  26: <alloc::boxed::Box<F> as core::ops::function::FnOnce<A>>::call_once
  27: std::sys::unix::thread::Thread::new::thread_start
  28: _pthread_start
[2020-05-05T19:02:03Z ERROR servo] assertion failed: `(left == right)`
      left: `4`,
     right: `1`: This runtime still has live children.
@gterzian
Copy link
Member

@gterzian gterzian commented Jun 17, 2020

Pretty sure this would have been fixed along with #25212

@gterzian gterzian closed this Jun 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.