Skip to content

ERROR:servo: cannot access a TLS value during or after it is destroyed #15161

@rzambre

Description

@rzambre

This error occurs upon Servo's termination be it by clicking the close button or by using the -o out.png option.

rzambre@rzambre:~/Documents/servo/servo-master$ ./mach run -r -o out.png https://www.starbucks.com
ERROR:script::dom::bindings::error: Error at https://staticxx.facebook.com/connect/xd_arbiter/r/YGoENyUbMBG.js?version=42#channel=f2c300e9728a182&origin=https%3A%2F%2Fwww.starbucks.com:51:1849 window.name is undefined
ERROR:script::dom::bindings::error: Error at https://staticxx.facebook.com/connect/xd_arbiter/r/YGoENyUbMBG.js?version=42#cb=feec9bc00c4674&domain=www.starbucks.com&origin=https%3A%2F%2Fwww.starbucks.com%2Ff2c300e9728a182&relation=parent&error=unknown_user:51:1849 window.name is undefined
ERROR:script::dom::bindings::error: Error at https://js-agent.newrelic.com/nr-1016.min.js:1:8367 n is undefined
Shutting down the Constellation after generating an output file or exit flag specified
cannot access a TLS value during or after it is destroyed (thread ScriptThread PipelineId { namespace_id: PipelineNamespaceId(1), index: PipelineIndex(13) }, at /Users/rustbuild/src/rust-buildbot/slave/nightly-dist-rustc-mac/build/src/libcore/option.rs:715)
cannot access a TLS value during or after it is destroyed (thread ScriptThread PipelineId { namespace_id: PipelineNamespaceId(2), index: PipelineIndex(2) }, at /Users/rustbuild/src/rust-buildbot/slave/nightly-dist-rustc-mac/build/src/libcore/option.rs:715)
cannot access a TLS value during or after it is destroyed (thread ScriptThread PipelineId { namespace_id: PipelineNamespaceId(1), index: PipelineIndex(2) }, at /Users/rustbuild/src/rust-buildbot/slave/nightly-dist-rustc-mac/build/src/libcore/option.rs:715)
cannot access a TLS value during or after it is destroyed (thread ScriptThread PipelineId { namespace_id: PipelineNamespaceId(1), index: PipelineIndex(6) }, at /Users/rustbuild/src/rust-buildbot/slave/nightly-dist-rustc-mac/build/src/libcore/option.rs:715)
stack backtrace:
   0:        0x1068922de - backtrace::backtrace::trace::h83f22a0c67832a07
   1:        0x1068925ec - backtrace::capture::Backtrace::new::hb4c98717c797695f
   2:        0x105ab74a4 - servo::main::{{closure}}::hfa17a854fbe4f560
   3:        0x1076e4414 - std::panicking::rust_panic_with_hook::h33761bada49f3713
   4:        0x1076e42a4 - std::panicking::begin_panic::h37a3cca06423c62e
   5:        0x1076e4212 - std::panicking::begin_panic_fmt::h4c0c43306d52c68f
   6:        0x1076e4177 - rust_begin_unwind
   7:        0x10770d960 - core::panicking::panic_fmt::hbd633f652cd3a047
   8:        0x10770d9ed - core::option::expect_failed::h6db9910a75455263
   9:        0x10630ac1b - script::script_thread::trace_thread::h415c4e6094ca0b4d
  10:        0x10630a5b6 - script::script_runtime::trace_rust_roots::h6a3c4f18ab6ca255
  11:        0x106fa4b41 - 2js2gc9GCRuntime11markRuntimeEP8JSTracerNS1_18TraceOrMarkRuntimeERNS_26AutoLockForExclusiveAccess
  12:        0x106d8ed5a - 2js2gc9GCRuntime14beginMarkPhaseEN2JS8gcreason6ReasonERNS_26AutoLockForExclusiveAccess
  13:        0x106d94d08 - 2js2gc9GCRuntime23incrementalCollectSliceERNS_11SliceBudgetEN2JS8gcreason6ReasonERNS_26AutoLockForExclusiveAccess
  14:        0x106d95648 - 2js2gc9GCRuntime7gcCycleEbRNS_11SliceBudgetEN2JS8gcreason6Reason
  15:        0x106d95b73 - 2js2gc9GCRuntime7collectEbNS_11SliceBudgetEN2JS8gcreason6Reason
  16:        0x106d95e58 - 2js2gc9GCRuntime2gcE18JSGCInvocationKindN2JS8gcreason6Reason
  17:        0x106e862e7 - _ZN9JSRuntime14destroyRuntimeEv
  18:        0x106d56a65 - _ZN2js14DestroyContextEP9JSContext
  19:        0x1069ca680 - <js::rust::Runtime as core::ops::Drop>::drop::h55aff9c59f3073ca
  20:        0x105fcfd61 - drop::ha0e61b7722e41f19
  21:        0x105dc1878 - std::sys::imp::fast_thread_local::destroy_value::h4213ea01acddbdbf
  22:     0x7fff933869fc - tlv_finalize
  23:     0x7fff935a14c4 - _pthread_tsd_cleanup
  24:     0x7fff935a1248 - _pthread_exit
  25:     0x7fff9359fab5 - _pthread_body
  26:     0x7fff9359f9f6 - _pthread_start
stack backtrace:
ERROR:servo: cannot access a TLS value during or after it is destroyed
   0:        0x1068922de - backtrace::backtrace::trace::h83f22a0c67832a07
   1:        0x1068925ec - backtrace::capture::Backtrace::new::hb4c98717c797695f
   2:        0x105ab74a4 - servo::main::{{closure}}::hfa17a854fbe4f560
   3:        0x1076e4414 - std::panicking::rust_panic_with_hook::h33761bada49f3713
   4:        0x1076e42a4 - std::panicking::begin_panic::h37a3cca06423c62e
   5:        0x1076e4212 - std::panicking::begin_panic_fmt::h4c0c43306d52c68f
   6:        0x1076e4177 - rust_begin_unwind
   7:        0x10770d960 - core::panicking::panic_fmt::hbd633f652cd3a047
   8:        0x10770d9ed - core::option::expect_failed::h6db9910a75455263
   9:        0x10630ac1b - script::script_thread::trace_thread::h415c4e6094ca0b4d
  10:        0x10630a5b6 - script::script_runtime::trace_rust_roots::h6a3c4f18ab6ca255
  11:        0x106fa4b41 - 2js2gc9GCRuntime11markRuntimeEP8JSTracerNS1_18TraceOrMarkRuntimeERNS_26AutoLockForExclusiveAccess
  12:        0x106d8ed5a - 2js2gc9GCRuntime14beginMarkPhaseEN2JS8gcreason6ReasonERNS_26AutoLockForExclusiveAccess
  13:        0x106d94d08 - 2js2gc9GCRuntime23incrementalCollectSliceERNS_11SliceBudgetEN2JS8gcreason6ReasonERNS_26AutoLockForExclusiveAccess
  14:        0x106d95648 - 2js2gc9GCRuntime7gcCycleEbRNS_11SliceBudgetEN2JS8gcreason6Reason
  15:        0x106d95b73 - 2js2gc9GCRuntime7collectEbNS_11SliceBudgetEN2JS8gcreason6Reason
  16:        0x106d95e58 - 2js2gc9GCRuntime2gcE18JSGCInvocationKindN2JS8gcreason6Reason
  17:        0x106e862e7 - _ZN9JSRuntime14destroyRuntimeEv
  18:        0x106d56a65 - _ZN2js14DestroyContextEP9JSContext
  19:        0x1069ca680 - <js::rust::Runtime as core::ops::Drop>::drop::h55aff9c59f3073ca
  20:        0x105fcfd61 - drop::ha0e61b7722e41f19
  21:        0x105dc1878 - std::sys::imp::fast_thread_local::destroy_value::h4213ea01acddbdbf
  22:     0x7fff933869fc - tlv_finalize
  23:     0x7fff935a14c4 - _pthread_tsd_cleanup
  24:     0x7fff935a1248 - _pthread_exit
  25:     0x7fff9359fab5 - _pthread_body
  26:     0x7fff9359f9f6 - _pthread_start
ERROR:servo: cannot access a TLS value during or after it is destroyed
stack backtrace:
   0:        0x1068922de - backtrace::backtrace::trace::h83f22a0c67832a07
   1:        0x1068925ec - backtrace::capture::Backtrace::new::hb4c98717c797695f
   2:        0x105ab74a4 - servo::main::{{closure}}::hfa17a854fbe4f560
   3:        0x1076e4414 - std::panicking::rust_panic_with_hook::h33761bada49f3713
   4:        0x1076e42a4 - std::panicking::begin_panic::h37a3cca06423c62e
   5:        0x1076e4212 - std::panicking::begin_panic_fmt::h4c0c43306d52c68f
   6:        0x1076e4177 - rust_begin_unwind
   7:        0x10770d960 - core::panicking::panic_fmt::hbd633f652cd3a047
   8:        0x10770d9ed - core::option::expect_failed::h6db9910a75455263
   9:        0x10630ac1b - script::script_thread::trace_thread::h415c4e6094ca0b4d
  10:        0x10630a5b6 - script::script_runtime::trace_rust_roots::h6a3c4f18ab6ca255
  11:        0x106fa4b41 - 2js2gc9GCRuntime11markRuntimeEP8JSTracerNS1_18TraceOrMarkRuntimeERNS_26AutoLockForExclusiveAccess
  12:        0x106d8ed5a - 2js2gc9GCRuntime14beginMarkPhaseEN2JS8gcreason6ReasonERNS_26AutoLockForExclusiveAccess
  13:        0x106d94d08 - 2js2gc9GCRuntime23incrementalCollectSliceERNS_11SliceBudgetEN2JS8gcreason6ReasonERNS_26AutoLockForExclusiveAccess
  14:        0x106d95648 - 2js2gc9GCRuntime7gcCycleEbRNS_11SliceBudgetEN2JS8gcreason6Reason
  15:        0x106d95b73 - 2js2gc9GCRuntime7collectEbNS_11SliceBudgetEN2JS8gcreason6Reason
  16:        0x106d95e58 - 2js2gc9GCRuntime2gcE18JSGCInvocationKindN2JS8gcreason6Reason
  17:        0x106e862e7 - _ZN9JSRuntime14destroyRuntimeEv
  18:        0x106d56a65 - _ZN2js14DestroyContextEP9JSContext
  19:        0x1069ca680 - <js::rust::Runtime as core::ops::Drop>::drop::h55aff9c59f3073ca
  20:        0x105fcfd61 - drop::ha0e61b7722e41f19
  21:        0x105dc1878 - std::sys::imp::fast_thread_local::destroy_value::h4213ea01acddbdbf
  22:     0x7fff933869fc - tlv_finalize
  23:     0x7fff935a14c4 - _pthread_tsd_cleanup
  24:     0x7fff935a1248 - _pthread_exit
  25:     0x7fff9359fab5 - _pthread_body
  26:     0x7fff9359f9f6 - _pthread_start
ERROR:servo: cannot access a TLS value during or after it is destroyed
stack backtrace:
   0:        0x1068922de - backtrace::backtrace::trace::h83f22a0c67832a07
   1:        0x1068925ec - backtrace::capture::Backtrace::new::hb4c98717c797695f
   2:        0x105ab74a4 - servo::main::{{closure}}::hfa17a854fbe4f560
   3:        0x1076e4414 - std::panicking::rust_panic_with_hook::h33761bada49f3713
   4:        0x1076e42a4 - std::panicking::begin_panic::h37a3cca06423c62e
   5:        0x1076e4212 - std::panicking::begin_panic_fmt::h4c0c43306d52c68f
   6:        0x1076e4177 - rust_begin_unwind
   7:        0x10770d960 - core::panicking::panic_fmt::hbd633f652cd3a047
   8:        0x10770d9ed - core::option::expect_failed::h6db9910a75455263
   9:        0x10630ac1b - script::script_thread::trace_thread::h415c4e6094ca0b4d
  10:        0x10630a5b6 - script::script_runtime::trace_rust_roots::h6a3c4f18ab6ca255
  11:        0x106fa4b41 - 2js2gc9GCRuntime11markRuntimeEP8JSTracerNS1_18TraceOrMarkRuntimeERNS_26AutoLockForExclusiveAccess
  12:        0x106d8ed5a - 2js2gc9GCRuntime14beginMarkPhaseEN2JS8gcreason6ReasonERNS_26AutoLockForExclusiveAccess
  13:        0x106d94d08 - 2js2gc9GCRuntime23incrementalCollectSliceERNS_11SliceBudgetEN2JS8gcreason6ReasonERNS_26AutoLockForExclusiveAccess
  14:        0x106d95648 - 2js2gc9GCRuntime7gcCycleEbRNS_11SliceBudgetEN2JS8gcreason6Reason
  15:        0x106d95b73 - 2js2gc9GCRuntime7collectEbNS_11SliceBudgetEN2JS8gcreason6Reason
  16:        0x106d95e58 - 2js2gc9GCRuntime2gcE18JSGCInvocationKindN2JS8gcreason6Reason
  17:        0x106e862e7 - _ZN9JSRuntime14destroyRuntimeEv
  18:        0x106d56a65 - _ZN2js14DestroyContextEP9JSContext
  19:        0x1069ca680 - <js::rust::Runtime as core::ops::Drop>::drop::h55aff9c59f3073ca
  20:        0x105fcfd61 - drop::ha0e61b7722e41f19
  21:        0x105dc1878 - std::sys::imp::fast_thread_local::destroy_value::h4213ea01acddbdbf
  22:     0x7fff933869fc - tlv_finalize
  23:     0x7fff935a14c4 - _pthread_tsd_cleanup
  24:     0x7fff935a1248 - _pthread_exit
  25:     0x7fff9359fab5 - _pthread_body
  26:     0x7fff9359f9f6 - _pthread_start
ERROR:servo: cannot access a TLS value during or after it is destroyed
cannot access a TLS value during or after it is destroyed (thread ScriptThread PipelineId { namespace_id: PipelineNamespaceId(0), index: PipelineIndex(1) }, at /Users/rustbuild/src/rust-buildbot/slave/nightly-dist-rustc-mac/build/src/libcore/option.rs:715)

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-content/scriptRelated to the script threadI-panicServo encounters a panic.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions