Closed Bug 1179540 Opened 9 years ago Closed 9 years ago

Intermittent fetch-event-async-respond-with.https.html | application crashed [@ mozilla::dom::workers::ServiceWorker::PostMessage(JSContext *,JS::Handle<JS::Value>,mozilla::dom::Optional<mozilla::dom::Sequence<JS::Value> > const &,mozilla::ErrorResult &)]

Categories

(Core :: DOM: Service Workers, defect)

41 Branch
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: KWierso, Unassigned)

References

Details

(Keywords: intermittent-failure)

Attachments

(1 file)

16:20:59 INFO - TEST-PASS | /_mozilla/service-workers/service-worker/fetch-event-after-navigation-within-page.https.html | Service Worker should respond to fetch event after the pushState
16:20:59 INFO - TEST-OK | /_mozilla/service-workers/service-worker/fetch-event-after-navigation-within-page.https.html | took 370ms
16:20:59 INFO - TEST-START | /_mozilla/service-workers/service-worker/fetch-event-async-respond-with.https.html
16:20:59 INFO - PROCESS | 1352 | WARNING: content window passed to PrivateBrowsingUtils.isWindowPrivate. Use isContentWindowPrivate instead (but only for frame scripts).
16:20:59 INFO - PROCESS | 1352 | pbu_isWindowPrivate@resource://gre/modules/PrivateBrowsingUtils.jsm:25:14
16:20:59 INFO - PROCESS | 1352 | nsBrowserAccess.prototype.openURI@chrome://browser/content/browser.js:15853:21
16:20:59 INFO - PROCESS | 1352 | __marionetteFunc@dummy file:22:30
16:20:59 INFO - PROCESS | 1352 | @dummy file:31:3
16:20:59 INFO - PROCESS | 1352 | executeWithCallback@chrome://marionette/content/listener.js:771:5
16:20:59 INFO - PROCESS | 1352 | executeAsyncScript@chrome://marionette/content/listener.js:645:3
16:21:01 INFO - mozcrash Downloading symbols from: https://queue.taskcluster.net/v1/task/p8EOfLOmRImRREvjqOFIfQ/artifacts/public/build/firefox-42.0a1.en-US.win32.crashreporter-symbols.zip
16:21:11 INFO - mozcrash Saved minidump as C:\slave\test\build\blobber_upload_dir\98de43eb-9d39-4be8-a4a5-894f9aa74506.dmp
16:21:11 INFO - mozcrash Saved app info as C:\slave\test\build\blobber_upload_dir\98de43eb-9d39-4be8-a4a5-894f9aa74506.extra
16:21:12 INFO - PROCESS-CRASH | /_mozilla/service-workers/service-worker/fetch-event-async-respond-with.https.html | application crashed [@ mozilla::dom::workers::ServiceWorker::PostMessage(JSContext *,JS::Handle<JS::Value>,mozilla::dom::Optional<mozilla::dom::Sequence<JS::Value> > const &,mozilla::ErrorResult &)]
16:21:12 INFO - Crash dump filename: c:\users\cltbld\appdata\local\temp\tmplkpbax.mozrunner\minidumps\98de43eb-9d39-4be8-a4a5-894f9aa74506.dmp
16:21:12 INFO - Operating system: Windows NT
16:21:12 INFO - 6.1.7601 Service Pack 1
16:21:12 INFO - CPU: x86
16:21:12 INFO - GenuineIntel family 6 model 30 stepping 5
16:21:12 INFO - 8 CPUs
16:21:12 INFO -
16:21:12 INFO - Crash reason: EXCEPTION_ACCESS_VIOLATION_READ
16:21:12 INFO - Crash address: 0x8
16:21:12 INFO -
16:21:12 INFO - Thread 0 (crashed)
16:21:12 INFO - 0 xul.dll!mozilla::dom::workers::ServiceWorker::PostMessage(JSContext *,JS::Handle<JS::Value>,mozilla::dom::Optional<mozilla::dom::Sequence<JS::Value> > const &,mozilla::ErrorResult &) [ServiceWorker.cpp:7f66e53e2d69 : 101 + 0x6]
16:21:12 INFO - eip = 0x670229ea esp = 0x002bd4e8 ebp = 0x002bd4f8 ebx = 0x00000000
16:21:12 INFO - esi = 0x00000000 edi = 0x002bd5cc eax = 0x00000000 ecx = 0x002bd4f4
16:21:12 INFO - edx = 0x67901908 efl = 0x00010246
16:21:12 INFO - Found by: given as instruction pointer in context
16:21:12 INFO - 1 xul.dll!mozilla::dom::ServiceWorkerBinding::postMessage [ServiceWorkerBinding.cpp:7f66e53e2d69 : 211 + 0x18]
16:21:12 INFO - eip = 0x66bc5213 esp = 0x002bd500 ebp = 0x002bd5a8
16:21:12 INFO - Found by: call frame info
16:21:12 INFO - 2 xul.dll!mozilla::dom::GenericBindingMethod(JSContext *,unsigned int,JS::Value *) [BindingUtils.cpp:7f66e53e2d69 : 2560 + 0x1b]
16:21:12 INFO - eip = 0x6601e881 esp = 0x002bd5b0 ebp = 0x002bd5f4
16:21:12 INFO - Found by: call frame info
16:21:12 INFO - 3 xul.dll!js::Invoke(JSContext *,JS::CallArgs,js::MaybeConstruct) [Interpreter.cpp:7f66e53e2d69 : 711 + 0xa5]
16:21:12 INFO - eip = 0x66015bf3 esp = 0x002bd5fc ebp = 0x002bd96c
16:21:12 INFO - Found by: call frame info
16:21:12 INFO - 4 xul.dll!js::DirectProxyHandler::call(JSContext *,JS::Handle<JSObject *>,JS::CallArgs const &) [DirectProxyHandler.cpp:7f66e53e2d69 : 77 + 0x1d2]
16:21:12 INFO - eip = 0x65e6c596 esp = 0x002bd974 ebp = 0x002bda34
16:21:12 INFO - Found by: call frame info
16:21:12 INFO - 5 xul.dll!js::CrossCompartmentWrapper::call(JSContext *,JS::Handle<JSObject *>,JS::CallArgs const &) [CrossCompartmentWrapper.cpp:7f66e53e2d69 : 289 + 0x13]
16:21:12 INFO - eip = 0x65e6dee2 esp = 0x002bda3c ebp = 0x002bdb74
16:21:12 INFO - Found by: call frame info
16:21:12 INFO - 6 xul.dll!js::Invoke(JSContext *,JS::CallArgs,js::MaybeConstruct) [Interpreter.cpp:7f66e53e2d69 : 699 + 0x11e]
16:21:12 INFO - eip = 0x66015f9e esp = 0x002bdb7c ebp = 0x002bdeec
16:21:12 INFO - Found by: call frame info
16:21:12 INFO - 7 xul.dll!Interpret [Interpreter.cpp:7f66e53e2d69 : 2959 + 0x23]
16:21:12 INFO - eip = 0x65f70098 esp = 0x002bdef4 ebp = 0x002beca8
16:21:12 INFO - Found by: call frame info
16:21:12 INFO - 8 xul.dll!js::Invoke(JSContext *,JS::CallArgs,js::MaybeConstruct) [Interpreter.cpp:7f66e53e2d69 : 731 + 0x2c]
16:21:12 INFO - eip = 0x66016014 esp = 0x002becb0 ebp = 0x49394bf3
16:21:12 INFO - Found by: call frame info with scanning
16:21:12 INFO - 9 xul.dll!js::Invoke(JSContext *,JS::Value const &,JS::Value const &,unsigned int,JS::Value const *,JS::MutableHandle<JS::Value>) [Interpreter.cpp:7f66e53e2d69 : 768 + 0x1d]
16:21:12 INFO - eip = 0x6601691c esp = 0x002bf01c ebp = 0x002bf0c8
16:21:12 INFO - Found by: call frame info
16:21:12 INFO - 10 xul.dll!JS::Call(JSContext *,JS::Handle<JS::Value>,JS::Handle<JS::Value>,JS::HandleValueArray const &,JS::MutableHandle<JS::Value>) [jsapi.cpp:7f66e53e2d69 : 4579 + 0xf]
16:21:12 INFO - eip = 0x65d5bca6 esp = 0x002bf0d0 ebp = 0x002bf104
16:21:12 INFO - Found by: call frame info
16:21:12 INFO - 11 xul.dll!mozilla::dom::AnyCallback::Call(JSContext *,JS::Handle<JS::Value>,JS::Handle<JS::Value>,JS::MutableHandle<JS::Value>,mozilla::ErrorResult &) [PromiseBinding.cpp:7f66e53e2d69 : 79 + 0x35]
16:21:12 INFO - eip = 0x65d5bfe9 esp = 0x002bf10c ebp = 0x002bf24c
16:21:12 INFO - Found by: call frame info
16:21:12 INFO - 12 xul.dll!mozilla::dom::WrapperPromiseCallback::Call(JSContext *,JS::Handle<JS::Value>) [PromiseCallback.cpp:7f66e53e2d69 : 212 + 0x62]
16:21:12 INFO - eip = 0x65d5c835 esp = 0x002bf254 ebp = 0x002bf400
16:21:12 INFO - Found by: call frame info
16:21:12 INFO - 13 xul.dll!mozilla::dom::PromiseCallbackTask::Run() [Promise.cpp:7f66e53e2d69 : 100 + 0x1f]
16:21:12 INFO - eip = 0x661d89ba esp = 0x002bf408 ebp = 0x002bf4fc
16:21:12 INFO - Found by: call frame info
16:21:12 INFO - 14 xul.dll!nsXPConnect::AfterProcessNextEvent(nsIThreadInternal *,unsigned int,bool) [nsXPConnect.cpp:7f66e53e2d69 : 974 + 0x85]
16:21:12 INFO - eip = 0x65daa760 esp = 0x002bf504 ebp = 0x002bf598
16:21:12 INFO - Found by: call frame info
16:21:12 INFO - 15 xul.dll!nsThread::ProcessNextEvent(bool,bool *) [nsThread.cpp:7f66e53e2d69 : 867 + 0xd]
16:21:12 INFO - eip = 0x65fa7c52 esp = 0x002bf5a0 ebp = 0x002bf69c
16:21:12 INFO - Found by: call frame info
16:21:12 INFO - 16 xul.dll!mozilla::ipc::MessagePump::Run(base::MessagePump::Delegate *) [MessagePump.cpp:7f66e53e2d69 : 95 + 0x16]
16:21:12 INFO - eip = 0x65fa6e9f esp = 0x002bf6a4 ebp = 0x002bf6d0
16:21:12 INFO - Found by: call frame info
16:21:12 INFO - 17 xul.dll!MessageLoop::RunHandler() [message_loop.cc:7f66e53e2d69 : 227 + 0x7]
16:21:12 INFO - eip = 0x65fa5a99 esp = 0x002bf6d8 ebp = 0x002bf708
16:21:12 INFO - Found by: call frame info
16:21:12 INFO - 18 xul.dll!MessageLoop::Run() [message_loop.cc:7f66e53e2d69 : 201 + 0x6]
16:21:12 INFO - eip = 0x65fa5504 esp = 0x002bf710 ebp = 0x002bf728
16:21:12 INFO - Found by: call frame info
16:21:12 INFO - 19 xul.dll!nsBaseAppShell::Run() [nsBaseAppShell.cpp:7f66e53e2d69 : 165 + 0x13]
16:21:12 INFO - eip = 0x65fa7511 esp = 0x002bf730 ebp = 0x002bf738
16:21:12 INFO - Found by: call frame info
16:21:12 INFO - 20 xul.dll!nsAppShell::Run() [nsAppShell.cpp:7f66e53e2d69 : 178 + 0x7]
16:21:12 INFO - eip = 0x661c15c3 esp = 0x002bf740 ebp = 0x002bf748
16:21:12 INFO - Found by: call frame info
16:21:12 INFO - 21 xul.dll!nsAppStartup::Run() [nsAppStartup.cpp:7f66e53e2d69 : 280 + 0x5]
16:21:12 INFO - eip = 0x65ee7048 esp = 0x002bf750 ebp = 0x002bf75c
16:21:12 INFO - Found by: call frame info
16:21:12 INFO - 22 xul.dll!XREMain::XRE_mainRun() [nsAppRunner.cpp:7f66e53e2d69 : 4275 + 0x9]
16:21:12 INFO - eip = 0x6627fafc esp = 0x002bf764 ebp = 0x002bf930
16:21:12 INFO - Found by: call frame info
16:21:12 INFO - 23 xul.dll!XREMain::XRE_main(int,char * * const,nsXREAppData const *) [nsAppRunner.cpp:7f66e53e2d69 : 4359 + 0x6]
16:21:12 INFO - eip = 0x66280740 esp = 0x002bf938 ebp = 0x002bf94c
16:21:12 INFO - Found by: call frame info
16:21:12 INFO - 24 xul.dll!XRE_main [nsAppRunner.cpp:7f66e53e2d69 : 4448 + 0x11]
16:21:12 INFO - eip = 0x6631e9ed esp = 0x002bf954 ebp = 0x002bfaa0
16:21:12 INFO - Found by: call frame info
16:21:12 INFO - 25 firefox.exe!do_main [nsBrowserApp.cpp:7f66e53e2d69 : 214 + 0x10]
16:21:12 INFO - eip = 0x00e01699 esp = 0x002bfaa8 ebp = 0x002bfc3c
16:21:12 INFO - Found by: call frame info
16:21:12 INFO - 26 firefox.exe!NS_internal_main(int,char * *) [nsBrowserApp.cpp:7f66e53e2d69 : 478 + 0x10]
16:21:12 INFO - eip = 0x00e012ec esp = 0x002bfc44 ebp = 0x002bfcd0
16:21:12 INFO - Found by: call frame info
16:21:12 INFO - 27 firefox.exe!wmain [nsWindowsWMain.cpp:7f66e53e2d69 : 131 + 0x8]
16:21:12 INFO - eip = 0x00e010de esp = 0x002bfcd8 ebp = 0x002bfce4
16:21:12 INFO - Found by: call frame info
16:21:12 INFO - 28 firefox.exe!__tmainCRTStartup [crt0.c : 255 + 0x11]
16:21:12 INFO - eip = 0x00e02534 esp = 0x002bfcec ebp = 0x002bfd2c
16:21:12 INFO - Found by: call frame info
16:21:12 INFO - 29 kernel32.dll + 0x53c44
16:21:12 INFO - eip = 0x77ac3c45 esp = 0x002bfd34 ebp = 0x002bfd38
16:21:12 INFO - Found by: call frame info
16:21:12 INFO - 30 ntdll.dll + 0x637f4
16:21:12 INFO - eip = 0x77d437f5 esp = 0x002bfd40 ebp = 0x002bfd78
16:21:12 INFO - Found by: previous frame's frame pointer
16:21:12 INFO - 31 ntdll.dll + 0x637c7
16:21:12 INFO - eip = 0x77d437c8 esp = 0x002bfd80 ebp = 0x002bfd90
16:21:12 INFO - Found by: previous frame's frame pointer 



16:21:20 INFO - promise_test@https://web-platform.test:8443/resources/testharness.js:520:25
16:21:20 INFO - @https://web-platform.test:8443/_mozilla/service-workers/service-worker/fetch-event-network-error.https.html:19:1
16:21:20 INFO - TEST-OK | /_mozilla/service-workers/service-worker/fetch-event-network-error.https.html | took 1218ms
16:21:20 INFO - TEST-START | /_mozilla/service-workers/service-worker/fetch-event-respond-with-stops-propagation.https.html
16:21:20 INFO - PROCESS | 2216 | WARNING: content window passed to PrivateBrowsingUtils.isWindowPrivate. Use isContentWindowPrivate instead (but only for frame scripts).
16:21:20 INFO - PROCESS | 2216 | pbu_isWindowPrivate@resource://gre/modules/PrivateBrowsingUtils.jsm:25:14
16:21:20 INFO - PROCESS | 2216 | nsBrowserAccess.prototype.openURI@chrome://browser/content/browser.js:15853:21
16:21:20 INFO - PROCESS | 2216 | __marionetteFunc@dummy file:22:30
16:21:20 INFO - PROCESS | 2216 | @dummy file:31:3
16:21:20 INFO - PROCESS | 2216 | executeWithCallback@chrome://marionette/content/listener.js:771:5
16:21:20 INFO - PROCESS | 2216 | executeAsyncScript@chrome://marionette/content/listener.js:645:3
16:21:25 INFO - mozcrash Downloading symbols from: https://queue.taskcluster.net/v1/task/p8EOfLOmRImRREvjqOFIfQ/artifacts/public/build/firefox-42.0a1.en-US.win32.crashreporter-symbols.zip
16:21:35 INFO - mozcrash Saved minidump as C:\slave\test\build\blobber_upload_dir\79f4841d-d3bc-4a3b-a1ee-0932f6ccd6c0.dmp
16:21:35 INFO - mozcrash Saved app info as C:\slave\test\build\blobber_upload_dir\79f4841d-d3bc-4a3b-a1ee-0932f6ccd6c0.extra
16:21:35 INFO - PROCESS-CRASH | /_mozilla/service-workers/service-worker/fetch-event-respond-with-stops-propagation.https.html | application crashed [@ mozilla::dom::workers::ServiceWorker::PostMessage(JSContext *,JS::Handle<JS::Value>,mozilla::dom::Optional<mozilla::dom::Sequence<JS::Value> > const &,mozilla::ErrorResult &)]
16:21:35 INFO - Crash dump filename: c:\users\cltbld\appdata\local\temp\tmp0aw6ff.mozrunner\minidumps\79f4841d-d3bc-4a3b-a1ee-0932f6ccd6c0.dmp
16:21:35 INFO - Operating system: Windows NT
16:21:35 INFO - 6.1.7601 Service Pack 1
16:21:35 INFO - CPU: x86
16:21:35 INFO - GenuineIntel family 6 model 30 stepping 5
16:21:35 INFO - 8 CPUs
16:21:35 INFO -
16:21:35 INFO - Crash reason: EXCEPTION_ACCESS_VIOLATION_READ
16:21:35 INFO - Crash address: 0x8
16:21:35 INFO -
16:21:35 INFO - Thread 0 (crashed)
16:21:35 INFO - 0 xul.dll!mozilla::dom::workers::ServiceWorker::PostMessage(JSContext *,JS::Handle<JS::Value>,mozilla::dom::Optional<mozilla::dom::Sequence<JS::Value> > const &,mozilla::ErrorResult &) [ServiceWorker.cpp:7f66e53e2d69 : 101 + 0x6]
16:21:35 INFO - eip = 0x64aa29ea esp = 0x0012d1e8 ebp = 0x0012d1f8 ebx = 0x00000000
16:21:35 INFO - esi = 0x00000000 edi = 0x0012d2cc eax = 0x00000000 ecx = 0x0012d1f4
16:21:35 INFO - edx = 0x65381908 efl = 0x00010246
16:21:35 INFO - Found by: given as instruction pointer in context
16:21:35 INFO - 1 xul.dll!mozilla::dom::ServiceWorkerBinding::postMessage [ServiceWorkerBinding.cpp:7f66e53e2d69 : 211 + 0x18]
16:21:35 INFO - eip = 0x64645213 esp = 0x0012d200 ebp = 0x0012d2a8
16:21:35 INFO - Found by: call frame info
16:21:35 INFO - 2 xul.dll!mozilla::dom::GenericBindingMethod(JSContext *,unsigned int,JS::Value *) [BindingUtils.cpp:7f66e53e2d69 : 2560 + 0x1b]
16:21:35 INFO - eip = 0x63a9e881 esp = 0x0012d2b0 ebp = 0x0012d2f4
16:21:35 INFO - Found by: call frame info
16:21:35 INFO - 3 xul.dll!js::Invoke(JSContext *,JS::CallArgs,js::MaybeConstruct) [Interpreter.cpp:7f66e53e2d69 : 711 + 0xa5]
16:21:35 INFO - eip = 0x63a95bf3 esp = 0x0012d2fc ebp = 0x0012d66c
16:21:35 INFO - Found by: call frame info
16:21:35 INFO - 4 xul.dll!js::DirectProxyHandler::call(JSContext *,JS::Handle<JSObject *>,JS::CallArgs const &) [DirectProxyHandler.cpp:7f66e53e2d69 : 77 + 0x1d2]
16:21:35 INFO - eip = 0x638ec596 esp = 0x0012d674 ebp = 0x0012d734
16:21:35 INFO - Found by: call frame info
16:21:35 INFO - 5 xul.dll!js::CrossCompartmentWrapper::call(JSContext *,JS::Handle<JSObject *>,JS::CallArgs const &) [CrossCompartmentWrapper.cpp:7f66e53e2d69 : 289 + 0x13]
16:21:35 INFO - eip = 0x638edee2 esp = 0x0012d73c ebp = 0x0012d874
16:21:35 INFO - Found by: call frame info
16:21:35 INFO - 6 xul.dll!js::Invoke(JSContext *,JS::CallArgs,js::MaybeConstruct) [Interpreter.cpp:7f66e53e2d69 : 699 + 0x11e]
16:21:35 INFO - eip = 0x63a95f9e esp = 0x0012d87c ebp = 0x0012dbec
16:21:35 INFO - Found by: call frame info
16:21:35 INFO - 7 xul.dll!Interpret [Interpreter.cpp:7f66e53e2d69 : 2959 + 0x23]
16:21:35 INFO - eip = 0x639f0098 esp = 0x0012dbf4 ebp = 0x0012e9b8
16:21:35 INFO - Found by: call frame info
16:21:35 INFO - 8 xul.dll!js::Invoke(JSContext *,JS::CallArgs,js::MaybeConstruct) [Interpreter.cpp:7f66e53e2d69 : 731 + 0x2c]
16:21:35 INFO - eip = 0x63a96014 esp = 0x0012e9c0 ebp = 0xe181410b
16:21:35 INFO - Found by: call frame info with scanning
16:21:35 INFO - 9 xul.dll!js::Invoke(JSContext *,JS::Value const &,JS::Value const &,unsigned int,JS::Value const *,JS::MutableHandle<JS::Value>) [Interpreter.cpp:7f66e53e2d69 : 768 + 0x1d]
16:21:35 INFO - eip = 0x63a9691c esp = 0x0012ed2c ebp = 0x0012edd8
16:21:35 INFO - Found by: call frame info
16:21:35 INFO - 10 xul.dll!JS::Call(JSContext *,JS::Handle<JS::Value>,JS::Handle<JS::Value>,JS::HandleValueArray const &,JS::MutableHandle<JS::Value>) [jsapi.cpp:7f66e53e2d69 : 4579 + 0xf]
16:21:35 INFO - eip = 0x637dbca6 esp = 0x0012ede0 ebp = 0x0012ee14
16:21:35 INFO - Found by: call frame info
16:21:35 INFO - 11 xul.dll!mozilla::dom::AnyCallback::Call(JSContext *,JS::Handle<JS::Value>,JS::Handle<JS::Value>,JS::MutableHandle<JS::Value>,mozilla::ErrorResult &) [PromiseBinding.cpp:7f66e53e2d69 : 79 + 0x35]
16:21:35 INFO - eip = 0x637dbfe9 esp = 0x0012ee1c ebp = 0x0012ef5c
16:21:35 INFO - Found by: call frame info
16:21:35 INFO - 12 xul.dll!mozilla::dom::WrapperPromiseCallback::Call(JSContext *,JS::Handle<JS::Value>) [PromiseCallback.cpp:7f66e53e2d69 : 212 + 0x62]
16:21:35 INFO - eip = 0x637dc835 esp = 0x0012ef64 ebp = 0x0012f110
16:21:35 INFO - Found by: call frame info
16:21:35 INFO - 13 xul.dll!mozilla::dom::PromiseCallbackTask::Run() [Promise.cpp:7f66e53e2d69 : 100 + 0x1f]
16:21:35 INFO - eip = 0x63c589ba esp = 0x0012f118 ebp = 0x0012f20c
16:21:35 INFO - Found by: call frame info
16:21:35 INFO - 14 xul.dll!nsXPConnect::AfterProcessNextEvent(nsIThreadInternal *,unsigned int,bool) [nsXPConnect.cpp:7f66e53e2d69 : 974 + 0x85]
16:21:35 INFO - eip = 0x6382a760 esp = 0x0012f214 ebp = 0x0012f2a8
16:21:35 INFO - Found by: call frame info
16:21:35 INFO - 15 xul.dll!nsThread::ProcessNextEvent(bool,bool *) [nsThread.cpp:7f66e53e2d69 : 867 + 0xd]
16:21:35 INFO - eip = 0x63a27c52 esp = 0x0012f2b0 ebp = 0x0012f3ac
16:21:35 INFO - Found by: call frame info
16:21:35 INFO - 16 xul.dll!mozilla::ipc::MessagePump::Run(base::MessagePump::Delegate *) [MessagePump.cpp:7f66e53e2d69 : 95 + 0x16]
16:21:35 INFO - eip = 0x63a26e9f esp = 0x0012f3b4 ebp = 0x0012f3e0
16:21:35 INFO - Found by: call frame info
16:21:35 INFO - 17 xul.dll!MessageLoop::RunHandler() [message_loop.cc:7f66e53e2d69 : 227 + 0x7]
16:21:35 INFO - eip = 0x63a25a99 esp = 0x0012f3e8 ebp = 0x0012f418
16:21:35 INFO - Found by: call frame info
16:21:35 INFO - 18 xul.dll!MessageLoop::Run() [message_loop.cc:7f66e53e2d69 : 201 + 0x6]
16:21:35 INFO - eip = 0x63a25504 esp = 0x0012f420 ebp = 0x0012f438
16:21:35 INFO - Found by: call frame info
16:21:35 INFO - 19 xul.dll!nsBaseAppShell::Run() [nsBaseAppShell.cpp:7f66e53e2d69 : 165 + 0x13]
16:21:35 INFO - eip = 0x63a27511 esp = 0x0012f440 ebp = 0x0012f448
16:21:35 INFO - Found by: call frame info
16:21:35 INFO - 20 xul.dll!nsAppShell::Run() [nsAppShell.cpp:7f66e53e2d69 : 178 + 0x7]
16:21:35 INFO - eip = 0x63c415c3 esp = 0x0012f450 ebp = 0x0012f458
16:21:35 INFO - Found by: call frame info
16:21:35 INFO - 21 xul.dll!nsAppStartup::Run() [nsAppStartup.cpp:7f66e53e2d69 : 280 + 0x5]
16:21:35 INFO - eip = 0x63967048 esp = 0x0012f460 ebp = 0x0012f46c
16:21:35 INFO - Found by: call frame info
16:21:35 INFO - 22 xul.dll!XREMain::XRE_mainRun() [nsAppRunner.cpp:7f66e53e2d69 : 4275 + 0x9]
16:21:35 INFO - eip = 0x63cffafc esp = 0x0012f474 ebp = 0x0012f640
16:21:35 INFO - Found by: call frame info
16:21:35 INFO - 23 xul.dll!XREMain::XRE_main(int,char * * const,nsXREAppData const *) [nsAppRunner.cpp:7f66e53e2d69 : 4359 + 0x6]
16:21:35 INFO - eip = 0x63d00740 esp = 0x0012f648 ebp = 0x0012f65c
16:21:35 INFO - Found by: call frame info
16:21:35 INFO - 24 xul.dll!XRE_main [nsAppRunner.cpp:7f66e53e2d69 : 4448 + 0x11]
16:21:35 INFO - eip = 0x63d9e9ed esp = 0x0012f664 ebp = 0x0012f7b0
16:21:35 INFO - Found by: call frame info
16:21:35 INFO - 25 firefox.exe!do_main [nsBrowserApp.cpp:7f66e53e2d69 : 214 + 0x10]
16:21:35 INFO - eip = 0x00e01699 esp = 0x0012f7b8 ebp = 0x0012f94c
16:21:35 INFO - Found by: call frame info
16:21:35 INFO - 26 firefox.exe!NS_internal_main(int,char * *) [nsBrowserApp.cpp:7f66e53e2d69 : 478 + 0x10]
16:21:35 INFO - eip = 0x00e012ec esp = 0x0012f954 ebp = 0x0012f9e0
16:21:35 INFO - Found by: call frame info
16:21:35 INFO - 27 firefox.exe!wmain [nsWindowsWMain.cpp:7f66e53e2d69 : 131 + 0x8]
16:21:35 INFO - eip = 0x00e010de esp = 0x0012f9e8 ebp = 0x0012f9f4
16:21:35 INFO - Found by: call frame info
16:21:35 INFO - 28 firefox.exe!__tmainCRTStartup [crt0.c : 255 + 0x11]
16:21:35 INFO - eip = 0x00e02534 esp = 0x0012f9fc ebp = 0x0012fa3c
16:21:35 INFO - Found by: call frame info
16:21:35 INFO - 29 kernel32.dll + 0x53c44
16:21:35 INFO - eip = 0x77ac3c45 esp = 0x0012fa44 ebp = 0x0012fa48
16:21:35 INFO - Found by: call frame info
16:21:35 INFO - 30 ntdll.dll + 0x637f4
16:21:35 INFO - eip = 0x77d437f5 esp = 0x0012fa50 ebp = 0x0012fa88
16:21:35 INFO - Found by: previous frame's frame pointer
16:21:35 INFO - 31 ntdll.dll + 0x637c7
16:21:35 INFO - eip = 0x77d437c8 esp = 0x0012fa90 ebp = 0x0012faa0
16:21:35 INFO - Found by: previous frame's frame pointer
Depends on: 1179401
The crash happens because sharedWorker's private becomes null when the iframe is removed.

https://dxr.mozilla.org/mozilla-central/source/dom/workers/RuntimeService.cpp#2319
Keywords: leave-open
Attached patch crash.patchSplinter Review
GetWorkerPrivate() returns null in PostMessage() because of this code:

var worker = frame.contentWindow.navigator.serviceWorker.controller;
frame.remove();
worker.postMessage({port: channel.port2}, [channel.port2]);
Attachment #8647553 - Flags: review?(bkelly)
Comment on attachment 8647553 [details] [diff] [review]
crash.patch

Review of attachment 8647553 [details] [diff] [review]:
-----------------------------------------------------------------

I think there is overlap here with the patches in bug 1193133.  Please check with Catalin.
Attachment #8647553 - Flags: review?(bkelly)
Comment on attachment 8647553 [details] [diff] [review]
crash.patch

Catalin, I know you touched this file in one of your patches.
Can you check if this fix is still needed?
Attachment #8647553 - Flags: review?(catalin.badea392)
(In reply to Andrea Marchesini (:baku) from comment #166)
> Comment on attachment 8647553 [details] [diff] [review]
> crash.patch
> 
> Catalin, I know you touched this file in one of your patches.
> Can you check if this fix is still needed?

I don't think this is still needed. The plan is to land 1193133 (again) and then 1188545 which changes the interaction between the dom objects and the worker private.
Attachment #8647553 - Flags: review?(catalin.badea392)
> I don't think this is still needed. The plan is to land 1193133 (again) and
> then 1188545 which changes the interaction between the dom objects and the
> worker private.

Good. Can you set these 2 bugs as dependence? Thanks.
Flags: needinfo?(catalin.badea392)
Depends on: 1188545
Added 1188545 as a dependency, 1193133 is in m-c.
Flags: needinfo?(catalin.badea392)
(In reply to Treeherder Robot from comment #209)
> log:
> https://treeherder.mozilla.org/logviewer.html#?repo=fx-team&job_id=4274516
> repository: fx-team
> start_time: 2015-08-17T11:34:03
> who: klahnakoski[at]mozilla[dot]com
> machine: tst-linux32-spot-1057
> buildname: Ubuntu VM 12.04 fx-team opt test web-platform-tests-4
> revision: cf6138f13ae9
> 
> PROCESS-CRASH |
> /_mozilla/service-workers/service-worker/fetch-event-async-respond-with.
> https.html | application crashed [@
> mozilla::dom::workers::WorkerPrivateParent<mozilla::dom::workers::
> WorkerPrivate>::PostMessageInternal(JSContext*, JS::Handle<JS::Value>,
> mozilla::dom::Optional<mozilla::dom::Sequence<JS::Value> > const&, bool,
> unsigned long long, mozilla::dom::workers::ServiceWorkerClientInfo*,
> mozilla::ErrorResult&)]
> PROCESS-CRASH |
> /_mozilla/service-workers/service-worker/fetch-event-respond-with-stops-
> propagation.https.html | application crashed [@
> mozilla::dom::workers::WorkerPrivateParent<mozilla::dom::workers::
> WorkerPrivate>::PostMessageInternal(JSContext*, JS::Handle<JS::Value>,
> mozilla::dom::Optional<mozilla::dom::Sequence<JS::Value> > const&, bool,
> unsigned long long, mozilla::dom::workers::ServiceWorkerClientInfo*,
> mozilla::ErrorResult&)]
> PROCESS-CRASH |
> /_mozilla/service-workers/service-worker/fetch-request-xhr.https.html |
> application crashed [@ mozilla::dom::MessagePort::RemoveDocFromBFCache()]
> TEST-UNEXPECTED-CRASH |
> /_mozilla/service-workers/service-worker/fetch-request-xhr.https.html |
> expected TIMEOUT
> Return code: 1

There's also something broken in WorkerPrivate::PostMessageInternal, I'm guessing it has something to do with the structure cloning part.
[Mass Closure] Closing Intermittent as a one off
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WORKSFORME
Removing leave-open keyword from resolved bugs, per :sylvestre.
Keywords: leave-open
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: