Repository navigation
Closed
Labels
A-content/bindingsThe DOM bindingsC-disabledThe issue describes an intermittent failure in a test, which has been temporarily disabledI-crashA crash occurred without any panic.I-intermittentProblem reproduces intermittently.
Description
(gdb) bt
#0 0x000055555820072a in js::ObjectGroup::compartment (this=0xfffe2b2b2b2b2b2b)
at /js/src/vm/ObjectGroup.h:127
#1 0x0000555558201677 in JSObject::compartment (this=0x7fffef6faeb0)
at /js/src/jsobj.h:170
#2 0x0000555558292a70 in JSObject::global (this=0x7fffef6faeb0)
at /js/src/jsobjinlines.h:427
#3 0x0000555558623ae3 in JSCompartment::wrap (this=0x7fffe6490e00, cx=0x7fffe64dd8c0, obj=..., existingArg=...)
at /js/src/jscompartment.cpp:408
#4 0x00005555585f735a in JSCompartment::wrap (this=0x7fffe6490e00, cx=0x7fffe64dd8c0, vp=..., existing=...)
at /js/src/jscompartmentinlines.h:117
#5 0x00005555585beebe in JS_WrapValue (cx=0x7fffe64dd8c0, vp=...)
at /js/src/jsapi.cpp:819
#6 0x0000555556fdc413 in {{inlined-root}}::to_jsval (self=0x7fffe73f5c68, cx=0x7fffe64dd8c0, rval=...)
at /src/conversions.rs:169
#7 0x0000555557a20e78 in script::dom::bindings::codegen::Bindings::MessageEventBinding::get_data::{{closure}} ()
at /Bindings/MessageEventBinding.rs:223
#8 0x0000555557a20e99 in extern$u20$$u22$rust.call$u22$$u20$fn$LP$$u5b$closure$SP$$u2f$...$MessageEventBinding.rs.214.55.$u20$224.22$u20$this.$RF$$BP$const$u20$dom..messageevent..MessageEvent$C$$u20$cx.$RF$$BP$mut$u20$js..jsapi..JSContext$C$$u20$args.$RF$js..jsapi..JSJitGetterCallArgs$u5d$$C$$u20$$LP$$RP$$RP$$u20$.$GT$$u20$bool::once_shim.80345::hc7b5e96d18539594 ()
at /webrender_traits-aa8db8cbebbc2a47/master/src/lib.rs:429
#9 0x00005555570e62b3 in {{inlined-root}}::call_once<bool,closure> (self=..., _args=0)
at /libstd/panic.rs:256
#10 0x00005555578c83e4 in std::panicking::try::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::h90d724e32708f9ca ()
at /webrender_traits-aa8db8cbebbc2a47/master/src/lib.rs:429
#11 0x0000555556a23ae5 in {{inlined-root}}::call<closure> (f=0x7fffe73f5f48)
at /libstd/panicking.rs:272
#12 0x000055555a3c3d37 in __rust_maybe_catch_panic ()
#13 0x00005555578c834e in std::panicking::try::_$u7b$$u7b$closure$u7d$$u7d$::hab4bc5046beba327 ()
at /webrender_traits-aa8db8cbebbc2a47/master/src/lib.rs:429
#14 0x0000555556abe750 in {{inlined-root}}::with<core::cell::Cell<usize>,closure,core::result::Result<(), Box<Any>>> (self=0x55555bf90cd0 <std::panicking::PANIC_COUNT::hb31a7bdb4c0bf563>, f=...)
at /libstd/thread/local.rs:245
#15 0x0000555556a09c04 in {{inlined-root}}::try<bool,std::panic::AssertUnwindSafe<closure>> (f=...)
at /libstd/panicking.rs:235
#16 0x00005555568f93da in {{inlined-root}}::catch_unwind<std::panic::AssertUnwindSafe<closure>,bool> (f=...)
at /libstd/panic.rs:312
#17 0x00005555573f203c in script::dom::bindings::codegen::Bindings::MessageEventBinding::get_data (cx=0x7fffe64dd8c0, _obj=..., this=0x7fffdf48e680, args=...)
at /Bindings/MessageEventBinding.rs:214
#18 0x00005555581dbc72 in CallJitGetterOp (info=0x55555bd37c30 <const96774>, cx=0x7fffe64dd8c0, thisObj=..., specializedThis=0x7fffdf48e680, argc=0, vp=0x7fffe73f68a0)
at src/jsglue.cpp:454
#19 0x0000555557226d41 in script::dom::bindings::utils::generic_call (cx=0x7fffe64dd8c0, argc=0, vp=0x7fffe73f68a0, is_lenient=false,
call=0x5555581dbc0d <CallJitGetterOp(JSJitInfo const*, JSContext*, JS::HandleObject, void*, unsigned int, JS::Value*)>)
at /components/script/dom/bindings/utils.rs:484
#20 0x0000555557226dfc in script::dom::bindings::utils::generic_getter (cx=0x7fffe64dd8c0, argc=0, vp=0x7fffe73f68a0)
at /components/script/dom/bindings/utils.rs:500
#21 0x000055555850f03a in js::jit::DoCallNativeGetter (cx=0x7fffe64dd8c0, callee=..., obj=..., result=...)
at /js/src/jit/SharedIC.cpp:3165
Metadata
Metadata
Assignees
Labels
A-content/bindingsThe DOM bindingsC-disabledThe issue describes an intermittent failure in a test, which has been temporarily disabledI-crashA crash occurred without any panic.I-intermittentProblem reproduces intermittently.
Activity
[-]Crash in workers/interfaces.worker[/-][+]Crash in workers/interfaces.worker, causing intermittent /XMLHttpRequest/send-usp.worker[/+]asajeffrey commentedon Jul 29, 2016
Causing an intermittent in
/XMLHttpRequest/send-usp.worker:http://build.servo.org/builders/mac-rel-wpt/builds/2351
jdm commentedon Sep 7, 2016
@Ms2ger You mentioned on IRC once that you had talked to JSAPI people about this; could you add the results of those discussions here?
Ms2ger commentedon Sep 8, 2016
I don't think anybody looked any deeper than that.
[-]Crash in workers/interfaces.worker, causing intermittent /XMLHttpRequest/send-usp.worker[/-][+]Crash in workers/interfaces.worker, causing intermittent /XMLHttpRequest/send-usp.worker and /WebCryptoAPI/import_export/rsa_importKey.worker[/+]jdm commentedon Sep 23, 2016
Ms2ger commentedon Nov 14, 2016
I looked into this for a bit. The value we get out of
StructuredCloneData::readinWorker::handle_messageis anObjectValuepointing to a reclaimed object (dereferencing the*mut JSObjectyields0xfffe2b2b2b2b2b2b).Ms2ger commentedon Nov 14, 2016
For my reference: https://github.com/Ms2ger/servo/tree/debug-12654
jdm commentedon Nov 14, 2016
If you can reproduce this, it would be worth seeing whether it's also caused by #13096.
Enable interfaces.worker.html.
Auto merge of #15081 - servo:interfaces.worker, r=jdm
Auto merge of #15191 - servo:jdm-patch-1, r=mbrubeck