Closed Bug 948995 Opened 11 years ago Closed 8 years ago

Assertion failure: mRooted (Mismatched calls to Unpin!), at c:/Mozilla/src/b2g-inbound/dom/workers/XMLHttpRequest.cpp:1677

Categories

(Core :: Networking, defect)

Other Branch
x86_64
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: mayhemer, Unassigned)

Details

During shutdown.

>	xul.dll!mozilla::dom::workers::XMLHttpRequest::Unpin() Line 1677	C++
 	xul.dll!`anonymous namespace'::AutoUnpinXHR::~AutoUnpinXHR() Line 1281	C++
 	xul.dll!mozilla::dom::workers::XMLHttpRequest::SendInternal(const nsAString_internal & aStringBody={...}, JSAutoStructuredCloneBuffer & aBody={...}, nsTArray<nsCOMPtr<nsISupports> > & aClonedObjects={...}, mozilla::ErrorResult & aRv={...}) Line 1736	C++
 	xul.dll!mozilla::dom::workers::XMLHttpRequest::Send(mozilla::ErrorResult & aRv={...}) Line 1944	C++
 	xul.dll!mozilla::dom::XMLHttpRequestBinding_workers::send(JSContext * cx=0x0bf19090, JS::Handle<JSObject *> obj={...}, mozilla::dom::workers::XMLHttpRequest * self=0x044b5738, const JSJitMethodCallArgs & args={...}) Line 2306	C++
 	xul.dll!mozilla::dom::XMLHttpRequestBinding_workers::genericMethod(JSContext * cx=0x0bf19090, unsigned int argc=0, JS::Value * vp=0x02be8838) Line 3043	C++
 	mozjs.dll!js::CallJSNative(JSContext * cx=0x0bf19090, bool (JSContext *, unsigned int, JS::Value *) * native=0x10abe0e0, const JS::CallArgs & args={...}) Line 220	C++
 	mozjs.dll!js::Invoke(JSContext * cx=0x0bf19090, JS::CallArgs args={...}, js::MaybeConstruct construct=NO_CONSTRUCT) Line 463	C++
 	mozjs.dll!Interpret(JSContext * cx=0x0bf19090, js::RunState & state={...}) Line 2505	C++
 	mozjs.dll!js::RunScript(JSContext * cx=0x0bf19090, js::RunState & state={...}) Line 420	C++
 	mozjs.dll!js::ExecuteKernel(JSContext * cx=0x0bf19090, JS::Handle<JSScript *> script={...}, JSObject & scopeChainArg={...}, const JS::Value & thisv={...}, js::ExecuteType type=EXECUTE_GLOBAL, js::AbstractFramePtr evalInFrame={...}, JS::Value * result=0x00000000) Line 611	C++
 	mozjs.dll!js::Execute(JSContext * cx=0x0bf19090, JS::Handle<JSScript *> script={...}, JSObject & scopeChainArg={...}, JS::Value * rval=0x00000000) Line 648	C++
 	mozjs.dll!JS::Evaluate(JSContext * cx=0x0bf19090, JS::Handle<JSObject *> obj={...}, const JS::ReadOnlyCompileOptions & optionsArg={...}, const wchar_t * chars=0x0b1eac10, unsigned int length=37979, JS::Value * rval=0x00000000) Line 4763	C++
 	xul.dll!`anonymous namespace'::ScriptExecutorRunnable::WorkerRun(JSContext * aCx=0x0bf19090, mozilla::dom::workers::WorkerPrivate * aWorkerPrivate=0x045721d0) Line 735	C++
 	xul.dll!mozilla::dom::workers::WorkerRunnable::Run() Line 1883	C++
 	xul.dll!mozilla::dom::workers::WorkerPrivate::RunSyncLoop(JSContext * aCx=0x0bf19090, unsigned int aSyncLoopKey=2) Line 4548	C++
 	xul.dll!mozilla::dom::workers::AutoSyncLoopHolder::RunAndForget(JSContext * aCx=0x0bf19090) Line 1263	C++
 	xul.dll!`anonymous namespace'::LoadAllScripts(JSContext * aCx=0x0bf19090, mozilla::dom::workers::WorkerPrivate * aWorkerPrivate=0x045721d0, nsTArray<`anonymous namespace'::ScriptLoadInfo> & aLoadInfos={...}, bool aIsWorkerScript=false) Line 792	C++
 	xul.dll!mozilla::dom::workers::scriptloader::Load(JSContext * aCx=0x0bf19090, mozilla::dom::workers::WorkerPrivate * aWorkerPrivate=0x045721d0, const mozilla::dom::Sequence<nsString> & aScriptURLs={...}, mozilla::ErrorResult & aRv={...}) Line 916	C++
 	xul.dll!mozilla::dom::workers::WorkerGlobalScope::ImportScripts(JSContext * aCx=0x0bf19090, const mozilla::dom::Sequence<nsString> & aScriptURLs={...}, mozilla::ErrorResult & aRv={...}) Line 144	C++
 	xul.dll!mozilla::dom::WorkerGlobalScopeBinding_workers::importScripts(JSContext * cx=0x0bf19090, JS::Handle<JSObject *> obj={...}, mozilla::dom::workers::WorkerGlobalScope * self=0x151ac2c8, const JSJitMethodCallArgs & args={...}) Line 189	C++
 	xul.dll!mozilla::dom::WorkerGlobalScopeBinding_workers::genericMethod(JSContext * cx=0x0bf19090, unsigned int argc=4, JS::Value * vp=0x02be85c0) Line 919	C++
 	mozjs.dll!js::CallJSNative(JSContext * cx=0x0bf19090, bool (JSContext *, unsigned int, JS::Value *) * native=0x10aba900, const JS::CallArgs & args={...}) Line 220	C++
 	mozjs.dll!js::Invoke(JSContext * cx=0x0bf19090, JS::CallArgs args={...}, js::MaybeConstruct construct=NO_CONSTRUCT) Line 463	C++
 	mozjs.dll!Interpret(JSContext * cx=0x0bf19090, js::RunState & state={...}) Line 2505	C++
 	mozjs.dll!js::RunScript(JSContext * cx=0x0bf19090, js::RunState & state={...}) Line 420	C++
 	mozjs.dll!js::ExecuteKernel(JSContext * cx=0x0bf19090, JS::Handle<JSScript *> script={...}, JSObject & scopeChainArg={...}, const JS::Value & thisv={...}, js::ExecuteType type=EXECUTE_GLOBAL, js::AbstractFramePtr evalInFrame={...}, JS::Value * result=0x00000000) Line 611	C++
 	mozjs.dll!js::Execute(JSContext * cx=0x0bf19090, JS::Handle<JSScript *> script={...}, JSObject & scopeChainArg={...}, JS::Value * rval=0x00000000) Line 648	C++
 	mozjs.dll!JS::Evaluate(JSContext * cx=0x0bf19090, JS::Handle<JSObject *> obj={...}, const JS::ReadOnlyCompileOptions & optionsArg={...}, const wchar_t * chars=0x07a6ffc0, unsigned int length=1100, JS::Value * rval=0x00000000) Line 4763	C++
 	xul.dll!`anonymous namespace'::ScriptExecutorRunnable::WorkerRun(JSContext * aCx=0x0bf19090, mozilla::dom::workers::WorkerPrivate * aWorkerPrivate=0x045721d0) Line 735	C++
 	xul.dll!mozilla::dom::workers::WorkerRunnable::Run() Line 1883	C++
 	xul.dll!mozilla::dom::workers::WorkerPrivate::RunSyncLoop(JSContext * aCx=0x0bf19090, unsigned int aSyncLoopKey=1) Line 4548	C++
 	xul.dll!mozilla::dom::workers::AutoSyncLoopHolder::RunAndForget(JSContext * aCx=0x0bf19090) Line 1263	C++
 	xul.dll!`anonymous namespace'::LoadAllScripts(JSContext * aCx=0x0bf19090, mozilla::dom::workers::WorkerPrivate * aWorkerPrivate=0x045721d0, nsTArray<`anonymous namespace'::ScriptLoadInfo> & aLoadInfos={...}, bool aIsWorkerScript=false) Line 792	C++
 	xul.dll!mozilla::dom::workers::scriptloader::Load(JSContext * aCx=0x0bf19090, mozilla::dom::workers::WorkerPrivate * aWorkerPrivate=0x045721d0, const mozilla::dom::Sequence<nsString> & aScriptURLs={...}, mozilla::ErrorResult & aRv={...}) Line 916	C++
 	xul.dll!mozilla::dom::workers::WorkerGlobalScope::ImportScripts(JSContext * aCx=0x0bf19090, const mozilla::dom::Sequence<nsString> & aScriptURLs={...}, mozilla::ErrorResult & aRv={...}) Line 144	C++
 	xul.dll!mozilla::dom::WorkerGlobalScopeBinding_workers::importScripts(JSContext * cx=0x0bf19090, JS::Handle<JSObject *> obj={...}, mozilla::dom::workers::WorkerGlobalScope * self=0x151ac2c8, const JSJitMethodCallArgs & args={...}) Line 189	C++
 	xul.dll!mozilla::dom::WorkerGlobalScopeBinding_workers::genericMethod(JSContext * cx=0x0bf19090, unsigned int argc=1, JS::Value * vp=0x02be8548) Line 919	C++
 	mozjs.dll!js::CallJSNative(JSContext * cx=0x0bf19090, bool (JSContext *, unsigned int, JS::Value *) * native=0x10aba900, const JS::CallArgs & args={...}) Line 220	C++
 	mozjs.dll!js::Invoke(JSContext * cx=0x0bf19090, JS::CallArgs args={...}, js::MaybeConstruct construct=NO_CONSTRUCT) Line 463	C++
 	mozjs.dll!Interpret(JSContext * cx=0x0bf19090, js::RunState & state={...}) Line 2505	C++
 	mozjs.dll!js::RunScript(JSContext * cx=0x0bf19090, js::RunState & state={...}) Line 420	C++
 	mozjs.dll!js::ExecuteKernel(JSContext * cx=0x0bf19090, JS::Handle<JSScript *> script={...}, JSObject & scopeChainArg={...}, const JS::Value & thisv={...}, js::ExecuteType type=EXECUTE_GLOBAL, js::AbstractFramePtr evalInFrame={...}, JS::Value * result=0x00000000) Line 611	C++
 	mozjs.dll!js::Execute(JSContext * cx=0x0bf19090, JS::Handle<JSScript *> script={...}, JSObject & scopeChainArg={...}, JS::Value * rval=0x00000000) Line 648	C++
 	mozjs.dll!JS::Evaluate(JSContext * cx=0x0bf19090, JS::Handle<JSObject *> obj={...}, const JS::ReadOnlyCompileOptions & optionsArg={...}, const wchar_t * chars=0x0b810198, unsigned int length=5124, JS::Value * rval=0x00000000) Line 4763	C++
 	xul.dll!`anonymous namespace'::ScriptExecutorRunnable::WorkerRun(JSContext * aCx=0x0bf19090, mozilla::dom::workers::WorkerPrivate * aWorkerPrivate=0x045721d0) Line 735	C++
 	xul.dll!mozilla::dom::workers::WorkerRunnable::Run() Line 1883	C++
 	xul.dll!mozilla::dom::workers::WorkerPrivate::RunSyncLoop(JSContext * aCx=0x0bf19090, unsigned int aSyncLoopKey=0) Line 4548	C++
 	xul.dll!mozilla::dom::workers::AutoSyncLoopHolder::RunAndForget(JSContext * aCx=0x0bf19090) Line 1263	C++
 	xul.dll!`anonymous namespace'::LoadAllScripts(JSContext * aCx=0x0bf19090, mozilla::dom::workers::WorkerPrivate * aWorkerPrivate=0x045721d0, nsTArray<`anonymous namespace'::ScriptLoadInfo> & aLoadInfos={...}, bool aIsWorkerScript=true) Line 792	C++
 	xul.dll!mozilla::dom::workers::scriptloader::LoadWorkerScript(JSContext * aCx=0x0bf19090) Line 891	C++
 	xul.dll!`anonymous namespace'::CompileScriptRunnable::WorkerRun(JSContext * aCx=0x0bf19090, mozilla::dom::workers::WorkerPrivate * aWorkerPrivate=0x045721d0) Line 820	C++
 	xul.dll!mozilla::dom::workers::WorkerRunnable::Run() Line 1883	C++
 	xul.dll!mozilla::dom::workers::WorkerPrivate::DoRunLoop(JSContext * aCx=0x0bf19090) Line 3857	C++
 	xul.dll!`anonymous namespace'::WorkerThreadRunnable::Run() Line 1018	C++
 	xul.dll!nsThread::ProcessNextEvent(bool mayWait=false, bool * result=0x1651f82f) Line 634	C++
 	xul.dll!NS_ProcessNextEvent(nsIThread * thread=0x07aceba0, bool mayWait=false) Line 263	C++
 	xul.dll!mozilla::ipc::MessagePumpForNonMainThreads::Run(base::MessagePump::Delegate * aDelegate=0x03abe698) Line 301	C++
 	xul.dll!MessageLoop::RunInternal() Line 227	C++
 	xul.dll!MessageLoop::RunHandler() Line 220	C++
 	xul.dll!MessageLoop::Run() Line 194	C++
 	xul.dll!nsThread::ThreadFunc(void * arg=0x07aceba0) Line 265	C++
 	nss3.dll!_PR_NativeRunThread(void * arg=0x0b961890) Line 397	C
 	nss3.dll!pr_root(void * arg=0x0b961890) Line 90	C


On a "DOM Worker" thread.

No STR, just shutdown.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.