-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Intermittent crash in /fetch/connection-pool/network-partition-key.html #27786
Copy link
Copy link
Closed
Labels
A-content/domInteracting with the DOM from web contentInteracting with the DOM from web contentI-crashNo impact; the issue is one of maintainability or tidiness.No impact; the issue is one of maintainability or tidiness.I-intermittentProblem reproduces intermittently.Problem reproduces intermittently.
Description
â–¶ CRASH [expected OK] /fetch/connection-pool/network-partition-key.html
│
│ error: XDG_RUNTIME_DIR not set in the environment.
│ libEGL warning: No hardware driver found, falling back to software rendering
│ [2020-11-20T16:44:14Z ERROR servo::browser] Multiple top level browsing contexts not supported yet.
│ [2020-11-20T16:44:15Z ERROR servo::browser] Multiple top level browsing contexts not supported yet.
│ [2020-11-20T16:44:16Z ERROR servo::browser] Multiple top level browsing contexts not supported yet.
│ [2020-11-20T16:44:16Z ERROR servo::browser] Multiple top level browsing contexts not supported yet.
│ [2020-11-20T16:44:17Z ERROR servo::browser] Multiple top level browsing contexts not supported yet.
│ [2020-11-20T16:44:18Z ERROR servo::browser] Multiple top level browsing contexts not supported yet.
│ [2020-11-20T16:44:18Z ERROR servo::browser] Multiple top level browsing contexts not supported yet.
│ [2020-11-20T16:44:19Z ERROR servo::browser] Multiple top level browsing contexts not supported yet.
│ [2020-11-20T16:44:20Z ERROR servo::browser] Multiple top level browsing contexts not supported yet.
│ [2020-11-20T16:44:21Z ERROR servo::browser] Multiple top level browsing contexts not supported yet.
│ [2020-11-20T16:44:22Z ERROR servo::browser] Multiple top level browsing contexts not supported yet.
│ [2020-11-20T16:44:23Z ERROR servo::browser] Multiple top level browsing contexts not supported yet.
│ [2020-11-20T16:44:24Z ERROR servo::browser] Multiple top level browsing contexts not supported yet.
│ evaluate_script failed
│ assertion failed: JS_IsExceptionPending(*cx) (thread WebWorker for http://web-platform.test:8000/fetch/connection-pool/resources/network-partition-key.py?partition_id=http://web-platform.test:8000&uuid=80bd8a22-3cca-4760-b98e-c03f4ae809f0&subresource_origin=http://www1.web-platform.test:8000&include_credentials=true&dispatch=fetch_file&path=fetch/connection-pool/resources/network-partition-worker.js, at components/script/dom/bindings/error.rs:157)
│ 0: servo::backtrace::print
│ 1: servo::main::{{closure}}
│ 2: std::panicking::rust_panic_with_hook
│ at /rustc/6c8927b0cf80ceee19386026cf9d7fd4fd9d486f/src/libstd/panicking.rs:530:17
│ 3: std::panicking::begin_panic
│ 4: script::dom::bindings::error::throw_dom_exception
│ 5: script::dom::bindings::codegen::Bindings::WorkerGlobalScopeBinding::WorkerGlobalScopeBinding::importScripts::{{closure}}
│ 6: mozjs::panic::wrap_panic
│ 7: script::dom::bindings::codegen::Bindings::WorkerGlobalScopeBinding::WorkerGlobalScopeBinding::importScripts
│ 8: CallJitMethodOp
│ 9: script::dom::bindings::utils::generic_call
│ 10: _Z12CallJSNativeP9JSContextPFbS0_jPN2JS5ValueEEN2js10CallReasonERKNS1_8CallArgsE
│ at /root/.cargo/git/checkouts/mozjs-fa11ffc7d4f1cc2d/a40b829/mozjs/js/src/vm/Interpreter.cpp:456:13
│ _ZN2js23InternalCallOrConstructEP9JSContextRKN2JS8CallArgsENS_14MaybeConstructENS_10CallReasonE
│ at /root/.cargo/git/checkouts/mozjs-fa11ffc7d4f1cc2d/a40b829/mozjs/js/src/vm/Interpreter.cpp:548:12
│ 11: _ZN2js13CallFromStackEP9JSContextRKN2JS8CallArgsE
│ at /root/.cargo/git/checkouts/mozjs-fa11ffc7d4f1cc2d/a40b829/mozjs/js/src/vm/Interpreter.cpp:621:10
│ _ZL9InterpretP9JSContextRN2js8RunStateE
│ at /root/.cargo/git/checkouts/mozjs-fa11ffc7d4f1cc2d/a40b829/mozjs/js/src/vm/Interpreter.cpp:3117:16
│ 12: _ZN2js9RunScriptEP9JSContextRNS_8RunStateE
│ at /root/.cargo/git/checkouts/mozjs-fa11ffc7d4f1cc2d/a40b829/mozjs/js/src/vm/Interpreter.cpp:423:10
│ 13: _ZN2js13ExecuteKernelEP9JSContextN2JS6HandleIP8JSScriptEER8JSObjectRKNS2_5ValueENS_16AbstractFramePtrEPS9_
│ at /root/.cargo/git/checkouts/mozjs-fa11ffc7d4f1cc2d/a40b829/mozjs/js/src/vm/Interpreter.cpp:810:13
│ 14: _ZN2js7ExecuteEP9JSContextN2JS6HandleIP8JSScriptEER8JSObjectPNS2_5ValueE
│ at /root/.cargo/git/checkouts/mozjs-fa11ffc7d4f1cc2d/a40b829/mozjs/js/src/vm/Interpreter.cpp:843:10
│ 15: _ZL20EvaluateSourceBufferIDsEbP9JSContextN2js9ScopeKindEN2JS6HandleIP8JSObjectEERKNS4_22ReadOnlyCompileOptionsERNS4_10SourceTextIT_EENS4_13MutableHandleINS4_5ValueEEE
│ at /root/.cargo/git/checkouts/mozjs-fa11ffc7d4f1cc2d/a40b829/mozjs/js/src/vm/CompilationAndEvaluation.cpp:562:10
│ 16: _ZN2JS8EvaluateEP9JSContextRKNS_22ReadOnlyCompileOptionsERNS_10SourceTextIN7mozilla8Utf8UnitEEENS_13MutableHandleINS_5ValueEEE
│ at /root/.cargo/git/checkouts/mozjs-fa11ffc7d4f1cc2d/a40b829/mozjs/js/src/vm/CompilationAndEvaluation.cpp:586:10
│ 17: mozjs::rust::Runtime::evaluate_script
│ 18: script::dom::workerglobalscope::WorkerGlobalScope::execute_script
│ 19: std::sys_common::backtrace::__rust_begin_short_backtrace
│ 20: core::ops::function::FnOnce::call_once{{vtable.shim}}
│ 21: <alloc::boxed::Box<F> as core::ops::function::FnOnce<A>>::call_once
│ at /rustc/6c8927b0cf80ceee19386026cf9d7fd4fd9d486f/src/liballoc/boxed.rs:1074:9
│ <alloc::boxed::Box<F> as core::ops::function::FnOnce<A>>::call_once
│ at /rustc/6c8927b0cf80ceee19386026cf9d7fd4fd9d486f/src/liballoc/boxed.rs:1074:9
│ std::sys::unix::thread::Thread::new::thread_start
│ at /rustc/6c8927b0cf80ceee19386026cf9d7fd4fd9d486f/src/libstd/sys/unix/thread.rs:87:17
│ 22: start_thread
│ 23: clone
│ [2020-11-20T16:44:26Z ERROR servo] assertion failed: JS_IsExceptionPending(*cx)
â”” Pipeline failed in hard-fail mode. Crashing!
Apparently we returned an error from
servo/components/script/dom/workerglobalscope.rs
Lines 269 to 285 in 5bc24b7
| let result = self.runtime.borrow().as_ref().unwrap().evaluate_script( | |
| self.reflector().get_jsobject(), | |
| &source, | |
| url.as_str(), | |
| 1, | |
| rval.handle_mut(), | |
| ); | |
| maybe_resume_unwind(); | |
| match result { | |
| Ok(_) => (), | |
| Err(_) => { | |
| println!("evaluate_script failed"); | |
| return Err(Error::JSFailed); | |
| }, | |
| } |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A-content/domInteracting with the DOM from web contentInteracting with the DOM from web contentI-crashNo impact; the issue is one of maintainability or tidiness.No impact; the issue is one of maintainability or tidiness.I-intermittentProblem reproduces intermittently.Problem reproduces intermittently.