Skip to content

Intermittent CRASH in /streams/readable-streams/crashtests/strategy-worker-terminate.html #30124

@mukilan

Description

@mukilan

This happens in layout 2020

Shutting down the Constellation after generating an output file or exit flag specified
assertion failed: `(left == right)`
  left: `2`,
 right: `1`: This runtime still has live children. (thread Script(1,1), at /home/mukilan/.cargo/git/checkouts/mozjs-fa11ffc7d4f1cc2d/8216870/rust-mozjs/src/rust.rs:411)
   0: servo::backtrace::print
   1: servo::main::{{closure}}
   2: <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call
             at /rustc/dc1d9d50fba2f6a1ccab8748a0050cde38253f60/library/alloc/src/boxed.rs:2002:9
      std::panicking::rust_panic_with_hook
             at /rustc/dc1d9d50fba2f6a1ccab8748a0050cde38253f60/library/std/src/panicking.rs:692:13
   3: std::panicking::begin_panic_handler::{{closure}}
             at /rustc/dc1d9d50fba2f6a1ccab8748a0050cde38253f60/library/std/src/panicking.rs:579:13
   4: std::sys_common::backtrace::__rust_end_short_backtrace
             at /rustc/dc1d9d50fba2f6a1ccab8748a0050cde38253f60/library/std/src/sys_common/backtrace.rs:137:18
   5: rust_begin_unwind
             at /rustc/dc1d9d50fba2f6a1ccab8748a0050cde38253f60/library/std/src/panicking.rs:575:5
   6: core::panicking::panic_fmt
             at /rustc/dc1d9d50fba2f6a1ccab8748a0050cde38253f60/library/core/src/panicking.rs:64:14
   7: core::panicking::assert_failed_inner
   8: core::panicking::assert_failed
   9: <mozjs::rust::Runtime as core::ops::drop::Drop>::drop
  10: core::ptr::drop_in_place<mozjs::rust::Runtime>
  11: core::ptr::drop_in_place<script::script_runtime::Runtime>
  12: core::ptr::drop_in_place<script::script_thread::ScriptThread>
  13: std::sys_common::backtrace::__rust_begin_short_backtrace
  14: core::ops::function::FnOnce::call_once{{vtable.shim}}
  15: <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once
             at /rustc/dc1d9d50fba2f6a1ccab8748a0050cde38253f60/library/alloc/src/boxed.rs:1988:9
      <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once
             at /rustc/dc1d9d50fba2f6a1ccab8748a0050cde38253f60/library/alloc/src/boxed.rs:1988:9
      std::sys::unix::thread::Thread::new::thread_start
             at /rustc/dc1d9d50fba2f6a1ccab8748a0050cde38253f60/library/std/src/sys/unix/thread.rs:108:17
  16: start_thread
  17: __clone3
mozilla::detail::MutexImpl::~MutexImpl: pthread_mutex_destroy failed: Device or resource busy
Caught signal 11 thread panicked while processing panic. aborting.
Redirecting call to abort() to mozalloc_abort

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-content/scriptRelated to the script threadI-crashNo impact; the issue is one of maintainability or tidiness.I-intermittentProblem reproduces intermittently.L-javascriptJavascript is required

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions