Closed Bug 1483702 Opened 2 years ago Closed 1 year ago

Intermittent testing/firefox-ui/tests/functional/safebrowsing/test_warning_pages.py TestSafeBrowsingWarningPages.test_warning_pages | application crashed [@ MOZ_CrashPrintf | js::CompartmentChecker::check(JSObject*, int)]

Categories

(Core :: JavaScript Engine, defect, critical)

defect
Not set
critical

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: intermittent-bug-filer, Unassigned)

References

Details

(Keywords: crash, intermittent-failure)

Crash Data

Filed by: ncsoregi [at] mozilla.com

https://treeherder.mozilla.org/logviewer.html#?job_id=194178042&repo=mozilla-inbound

https://queue.taskcluster.net/v1/task/MAnt2XcnT1q0GOZX-ebfiQ/runs/0/artifacts/public/logs/live_backing.log

[task 2018-08-15T21:41:48.512Z] 21:41:48     INFO -  ###!!! [Parent][MessageChannel] Error: (msgtype=0x17007C,name=PBrowser::Msg_Destroy) Channel error: cannot send/recv
[task 2018-08-15T21:41:48.549Z] 21:41:48     INFO -  1534369308542	Marionette	DEBUG	[22] Frame script loaded
[task 2018-08-15T21:41:48.549Z] 21:41:48     INFO -  1534369308542	Marionette	DEBUG	[22] Frame script registered
[task 2018-08-15T21:41:48.570Z] 21:41:48     INFO -  A content process crashed and MOZ_CRASHREPORTER_SHUTDOWN is set, shutting down
[task 2018-08-15T21:41:48.694Z] 21:41:48     INFO -  1534369308687	Marionette	DEBUG	Received DOM event unload for [object XULDocument]
[task 2018-08-15T21:41:48.710Z] 21:41:48     INFO -  1534369308706	Marionette	DEBUG	Received observer notification message-manager-disconnect
[task 2018-08-15T21:41:48.714Z] 21:41:48     INFO -  1534369308711	Marionette	TRACE	3 <- [1,285,null,{"value":null}]
[task 2018-08-15T21:41:48.736Z] 21:41:48     INFO -  1534369308731	Marionette	TRACE	3 -> [0,286,"Marionette:SetContext",{"value":"chrome"}]
[task 2018-08-15T21:41:48.737Z] 21:41:48     INFO -  1534369308732	Marionette	TRACE	3 <- [1,286,null,{"value":null}]
[task 2018-08-15T21:41:48.758Z] 21:41:48     INFO -  1534369308753	Marionette	TRACE	3 -> [0,287,"Marionette:GetContext",{}]
[task 2018-08-15T21:41:48.758Z] 21:41:48     INFO -  1534369308753	Marionette	TRACE	3 <- [1,287,null,{"value":"chrome"}]
[task 2018-08-15T21:41:48.766Z] 21:41:48     INFO -  1534369308758	Marionette	TRACE	3 -> [0,288,"Marionette:SetContext",{"value":"chrome"}]
[task 2018-08-15T21:41:48.767Z] 21:41:48     INFO -  1534369308759	Marionette	TRACE	3 <- [1,288,null,{"value":null}]
[task 2018-08-15T21:41:48.769Z] 21:41:48     INFO -  1534369308764	Marionette	TRACE	3 -> [0,289,"WebDriver:TakeScreenshot",{"highlights":null,"full":true,"hash":false,"id":null,"scroll":true}]
[task 2018-08-15T21:41:48.771Z] 21:41:48     INFO -  1534369308768	Marionette	TRACE	3 <- [1,289,{"error":"no such window","message":"Browsing context has been discarded","stacktrace":"WebDriverError@chrome://marion ... et@chrome://marionette/content/server.js:245:8\n_onJSONObjectReady/<@chrome://marionette/content/transport.js:490:9\n"},null]
[task 2018-08-15T21:41:48.779Z] 21:41:48     INFO -  1534369308777	Marionette	DEBUG	Closed connection 3
[task 2018-08-15T21:41:49.185Z] 21:41:49     INFO -  1534369309182	Marionette	DEBUG	Received observer notification xpcom-will-shutdown
[task 2018-08-15T21:41:49.185Z] 21:41:49     INFO -  1534369309182	Marionette	INFO	Stopped listening on port 2828
[task 2018-08-15T21:41:49.185Z] 21:41:49     INFO -  1534369309182	Marionette	DEBUG	Remote service is inactive
[task 2018-08-15T21:41:49.593Z] 21:41:49     INFO - mozcrash Downloading symbols from: https://queue.taskcluster.net/v1/task/WrqSUm4GRwuPZZRL9Hwmug/artifacts/public/build/target.crashreporter-symbols.zip
[task 2018-08-15T21:43:15.925Z] 21:43:15     INFO - mozcrash Copy/paste: /usr/local/bin/linux64-minidump_stackwalk /builds/worker/workspace/build/tmpPT8x0V.mozrunner/minidumps/75384db6-a49a-e275-1232-5b5f6eac6d6d.dmp /tmp/tmp5wxSaP
[task 2018-08-15T21:43:25.187Z] 21:43:25     INFO - mozcrash Saved minidump as /builds/worker/workspace/build/blobber_upload_dir/75384db6-a49a-e275-1232-5b5f6eac6d6d.dmp
[task 2018-08-15T21:43:25.188Z] 21:43:25     INFO - mozcrash Saved app info as /builds/worker/workspace/build/blobber_upload_dir/75384db6-a49a-e275-1232-5b5f6eac6d6d.extra
[task 2018-08-15T21:43:25.268Z] 21:43:25     INFO - PROCESS-CRASH | testing/firefox-ui/tests/functional/safebrowsing/test_warning_pages.py TestSafeBrowsingWarningPages.test_warning_pages | application crashed [@ MOZ_CrashPrintf]
[task 2018-08-15T21:43:25.269Z] 21:43:25     INFO - Crash dump filename: /builds/worker/workspace/build/tmpPT8x0V.mozrunner/minidumps/75384db6-a49a-e275-1232-5b5f6eac6d6d.dmp
[task 2018-08-15T21:43:25.270Z] 21:43:25     INFO - Operating system: Linux
[task 2018-08-15T21:43:25.270Z] 21:43:25     INFO -                   0.0.0 Linux 4.4.0-1014-aws #14taskcluster1-Ubuntu SMP Tue Apr 3 10:27:00 UTC 2018 x86_64
[task 2018-08-15T21:43:25.271Z] 21:43:25     INFO - CPU: x86
[task 2018-08-15T21:43:25.271Z] 21:43:25     INFO -      GenuineIntel family 6 model 62 stepping 4
[task 2018-08-15T21:43:25.272Z] 21:43:25     INFO -      2 CPUs
[task 2018-08-15T21:43:25.273Z] 21:43:25     INFO - 
[task 2018-08-15T21:43:25.273Z] 21:43:25     INFO - GPU: UNKNOWN
[task 2018-08-15T21:43:25.274Z] 21:43:25     INFO - 
[task 2018-08-15T21:43:25.274Z] 21:43:25     INFO - Crash reason:  SIGSEGV
[task 2018-08-15T21:43:25.275Z] 21:43:25     INFO - Crash address: 0x0
[task 2018-08-15T21:43:25.275Z] 21:43:25     INFO - Process uptime: not available
[task 2018-08-15T21:43:25.276Z] 21:43:25     INFO - 
[task 2018-08-15T21:43:25.276Z] 21:43:25     INFO - Thread 0 (crashed)
[task 2018-08-15T21:43:25.277Z] 21:43:25     INFO -  0  firefox!MOZ_CrashPrintf [Assertions.cpp:9b421c484e49a94345cbf82dd4efa8155a326e5c : 68 + 0x0]
[task 2018-08-15T21:43:25.277Z] 21:43:25     INFO -     eip = 0x0804d118   esp = 0xff9ee7d0   ebp = 0xff9ee7e8   ebx = 0x08082000
[task 2018-08-15T21:43:25.278Z] 21:43:25     INFO -     esi = 0x08082460   edi = 0xff9ee8a8   eax = 0x08082860   ecx = 0x7fffffbf
[task 2018-08-15T21:43:25.278Z] 21:43:25     INFO -     edx = 0x080824a1   efl = 0x00210297
[task 2018-08-15T21:43:25.279Z] 21:43:25     INFO -     Found by: given as instruction pointer in context
[task 2018-08-15T21:43:25.279Z] 21:43:25     INFO -  1  libxul.so!js::CompartmentChecker::check(JSObject*, int) [JSContext-inl.h:9b421c484e49a94345cbf82dd4efa8155a326e5c : 40 + 0x25]
[task 2018-08-15T21:43:25.280Z] 21:43:25     INFO -     eip = 0xf2895a38   esp = 0xff9ee7f0   ebp = 0xff9ee818   ebx = 0xf5454000
[task 2018-08-15T21:43:25.280Z] 21:43:25     INFO -     esi = 0xea501838   edi = 0xff9ee8a8
[task 2018-08-15T21:43:25.281Z] 21:43:25     INFO -     Found by: call frame info
[task 2018-08-15T21:43:25.281Z] 21:43:25     INFO -  2  libxul.so!JS_InitializePropertiesFromCompatibleNativeObject(JSContext*, JS::Handle<JSObject*>, JS::Handle<JSObject*>) [JSContext-inl.h:9b421c484e49a94345cbf82dd4efa8155a326e5c : 74 + 0x37]
[task 2018-08-15T21:43:25.282Z] 21:43:25     INFO -     eip = 0xf2c4d877   esp = 0xff9ee820   ebp = 0xff9ee8e8   ebx = 0xe81cfcb0
[task 2018-08-15T21:43:25.282Z] 21:43:25     INFO -     esi = 0xea501838   edi = 0xff9ee8a8
[task 2018-08-15T21:43:25.282Z] 21:43:25     INFO -     Found by: call frame info
[task 2018-08-15T21:43:25.283Z] 21:43:25     INFO -  3  libxul.so!mozilla::dom::HTMLDocument_Binding::Wrap(JSContext*, nsHTMLDocument*, nsWrapperCache*, JS::Handle<JSObject*>, JS::MutableHandle<JSObject*>) [HTMLDocumentBinding.cpp: : 2149 + 0x10]
[task 2018-08-15T21:43:25.283Z] 21:43:25     INFO -     eip = 0xf09590f1   esp = 0xff9ee8f0   ebp = 0xff9ee998   ebx = 0xeab0c800
[task 2018-08-15T21:43:25.284Z] 21:43:25     INFO -     esi = 0xeab0c810   edi = 0x00000000
[task 2018-08-15T21:43:25.284Z] 21:43:25     INFO -     Found by: call frame info
[task 2018-08-15T21:43:25.284Z] 21:43:25     INFO -  4  libxul.so!nsHTMLDocument::WrapNode(JSContext*, JS::Handle<JSObject*>) [HTMLDocumentBinding.h: : 40 + 0x1e]
[task 2018-08-15T21:43:25.285Z] 21:43:25     INFO -     eip = 0xf0daeb06   esp = 0xff9ee9a0   ebp = 0xff9ee9d8   ebx = 0x00000000
[task 2018-08-15T21:43:25.285Z] 21:43:25     INFO -     esi = 0xeab0c800   edi = 0xe7b21804
[task 2018-08-15T21:43:25.286Z] 21:43:25     INFO -     Found by: call frame info
[task 2018-08-15T21:43:25.286Z] 21:43:25     INFO -  5  libxul.so!mozilla::dom::NativeInterface2JSObjectAndThrowIfFailed [BindingUtils.cpp:9b421c484e49a94345cbf82dd4efa8155a326e5c : 1117 + 0xf]
[task 2018-08-15T21:43:25.286Z] 21:43:25     INFO -     eip = 0xf0a4d99a   esp = 0xff9ee9e0   ebp = 0xff9eea38   ebx = 0x00000000
[task 2018-08-15T21:43:25.287Z] 21:43:25     INFO -     esi = 0xeab0c800   edi = 0xe7b21804
[task 2018-08-15T21:43:25.287Z] 21:43:25     INFO -     Found by: call frame info
[task 2018-08-15T21:43:25.288Z] 21:43:25     INFO -  6  libxul.so!mozilla::dom::FindAssociatedGlobal<nsISupports> [BindingUtils.h:9b421c484e49a94345cbf82dd4efa8155a326e5c : 1612 + 0x9]
[task 2018-08-15T21:43:25.288Z] 21:43:25     INFO -     eip = 0xf0944033   esp = 0xff9eea40   ebp = 0xff9eeab8   ebx = 0x00000000
[task 2018-08-15T21:43:25.288Z] 21:43:25     INFO -     esi = 0x00000000   edi = 0xeab0c800
[task 2018-08-15T21:43:25.289Z] 21:43:25     INFO -     Found by: call frame info
[task 2018-08-15T21:43:25.289Z] 21:43:25     INFO -  7  libxul.so!mozilla::dom::HTMLButtonElement_Binding::Wrap(JSContext*, mozilla::dom::HTMLButtonElement*, nsWrapperCache*, JS::Handle<JSObject*>, JS::MutableHandle<JSObject*>) [BindingUtils.h:9b421c484e49a94345cbf82dd4efa8155a326e5c : 1709 + 0xd]
[task 2018-08-15T21:43:25.289Z] 21:43:25     INFO -     eip = 0xf0972c32   esp = 0xff9eeac0   ebp = 0xff9eeb58   ebx = 0xeab0c800
[task 2018-08-15T21:43:25.290Z] 21:43:25     INFO -     esi = 0xeab0c810   edi = 0xe7437680
[task 2018-08-15T21:43:25.290Z] 21:43:25     INFO -     Found by: call frame info
[task 2018-08-15T21:43:25.291Z] 21:43:25     INFO -  8  libxul.so!mozilla::dom::HTMLButtonElement::WrapNode(JSContext*, JS::Handle<JSObject*>) [HTMLButtonElementBinding.h: : 42 + 0x1e]
[task 2018-08-15T21:43:25.291Z] 21:43:25     INFO -     eip = 0xf0d1cce6   esp = 0xff9eeb60   ebp = 0xff9eeb98   ebx = 0xe7437680
[task 2018-08-15T21:43:25.291Z] 21:43:25     INFO -     esi = 0xff9eebe4   edi = 0xeab0c800
[task 2018-08-15T21:43:25.292Z] 21:43:25     INFO -     Found by: call frame info
[task 2018-08-15T21:43:25.292Z] 21:43:25     INFO -  9  libxul.so!mozilla::dom::Element::WrapObject(JSContext*, JS::Handle<JSObject*>) [Element.cpp:9b421c484e49a94345cbf82dd4efa8155a326e5c : 555 + 0x13]
[task 2018-08-15T21:43:25.293Z] 21:43:25     INFO -     eip = 0xf01ebac2   esp = 0xff9eeba0   ebp = 0xff9eec08   ebx = 0xe7437680
[task 2018-08-15T21:43:25.293Z] 21:43:25     INFO -     esi = 0xff9eebe4   edi = 0xeab0c800
[task 2018-08-15T21:43:25.293Z] 21:43:25     INFO -     Found by: call frame info
[task 2018-08-15T21:43:25.294Z] 21:43:25     INFO - 10  libxul.so!XPCConvert::NativeInterface2JSObject(JS::MutableHandle<JS::Value>, xpcObjectHelper&, nsID const*, bool, nsresult*) [XPCConvert.cpp:9b421c484e49a94345cbf82dd4efa8155a326e5c : 998 + 0x25]
[task 2018-08-15T21:43:25.294Z] 21:43:25     INFO -     eip = 0xefafe901   esp = 0xff9eec10   ebp = 0xff9eecc8   ebx = 0xf01ebe30
[task 2018-08-15T21:43:25.295Z] 21:43:25     INFO -     esi = 0xe7437684   edi = 0xff9eec7c
[task 2018-08-15T21:43:25.295Z] 21:43:25     INFO -     Found by: call frame info
Crash Signature: [@ MOZ_CrashPrintf] → [@ MOZ_CrashPrintf | js::CompartmentChecker::check(JSObject*, int)]
Summary: Intermittent testing/firefox-ui/tests/functional/safebrowsing/test_warning_pages.py TestSafeBrowsingWarningPages.test_warning_pages | application crashed [@ MOZ_CrashPrintf] → Intermittent testing/firefox-ui/tests/functional/safebrowsing/test_warning_pages.py TestSafeBrowsingWarningPages.test_warning_pages | application crashed [@ MOZ_CrashPrintf | js::CompartmentChecker::check(JSObject*, int)]
Bug 1483169 and bug 1473213 touched JSContext-inl.h during the last days.
Component: Firefox UI Tests → JavaScript Engine
Product: Testing → Core
QA Contact: hskupin
Version: Version 3 → unspecified
See Also: → 1481844
Most likely caused by bug 1482029.
Depends on: 1482029
No longer depends on: 1482029
Got an ASAN crash:
https://treeherder.mozilla.org/logviewer.html#?job_id=196476286&repo=autoland&lineNumber=13957

Here the first 10 frames:

[task 2018-08-29T17:24:36.285Z] 17:24:36     INFO - PID 1098 | AddressSanitizer:DEADLYSIGNAL
[task 2018-08-29T17:24:36.285Z] 17:24:36     INFO - PID 1098 | =================================================================
[task 2018-08-29T17:24:36.286Z] 17:24:36    ERROR - PID 1098 | ==1202==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x0000005656ef bp 0x7ffc5f92f6b0 sp 0x7ffc5f92f540 T0)
[task 2018-08-29T17:24:36.287Z] 17:24:36     INFO - PID 1098 | ==1202==The signal is caused by a WRITE memory access.
[task 2018-08-29T17:24:36.287Z] 17:24:36     INFO - PID 1098 | ==1202==Hint: address points to the zero page.
[task 2018-08-29T17:24:36.525Z] 17:24:36     INFO - PID 1098 |     #0 0x5656ee in MOZ_CrashPrintf /builds/worker/workspace/build/src/mfbt/Assertions.cpp:68:3
[task 2018-08-29T17:24:36.869Z] 17:24:36     INFO - PID 1098 |     #1 0x7f62cbd9b865 in checkImpl<JS::Handle<js::NativeObject *>, JS::Handle<js::NativeObject *> > /builds/worker/workspace/build/src/js/src/vm/JSContext-inl.h:52:9
[task 2018-08-29T17:24:36.869Z] 17:24:36     INFO - PID 1098 |     #2 0x7f62cbd9b865 in check<JS::Handle<js::NativeObject *>, JS::Handle<js::NativeObject *> > /builds/worker/workspace/build/src/js/src/vm/JSContext-inl.h:191
[task 2018-08-29T17:24:36.870Z] 17:24:36     INFO - PID 1098 |     #3 0x7f62cbd9b865 in InitializePropertiesFromCompatibleNativeObject /builds/worker/workspace/build/src/js/src/vm/JSObject.cpp:1379
[task 2018-08-29T17:24:36.870Z] 17:24:36     INFO - PID 1098 |     #4 0x7f62cbd9b865 in JS_InitializePropertiesFromCompatibleNativeObject(JSContext*, JS::Handle<JSObject*>, JS::Handle<JSObject*>) /builds/worker/workspace/build/src/js/src/vm/JSObject.cpp:1436
[task 2018-08-29T17:24:36.886Z] 17:24:36     INFO - PID 1098 |     #5 0x7f62c45e12e6 in mozilla::dom::HTMLDocument_Binding::Wrap(JSContext*, nsHTMLDocument*, nsWrapperCache*, JS::Handle<JSObject*>, JS::MutableHandle<JSObject*>) /builds/worker/workspace/build/src/obj-firefox/dom/bindings/HTMLDocumentBinding.cpp:2149:8
[task 2018-08-29T17:24:36.887Z] 17:24:36     INFO - PID 1098 |     #6 0x7f62c5680b6d in Wrap<nsHTMLDocument> /builds/worker/workspace/build/src/obj-firefox/dist/include/mozilla/dom/HTMLDocumentBinding.h:40:12
[task 2018-08-29T17:24:36.887Z] 17:24:36     INFO - PID 1098 |     #7 0x7f62c5680b6d in nsHTMLDocument::WrapNode(JSContext*, JS::Handle<JSObject*>) /builds/worker/workspace/build/src/dom/html/nsHTMLDocument.cpp:205
[task 2018-08-29T17:24:36.887Z] 17:24:36     INFO - PID 1098 |     #8 0x7f62c4b571a3 in NativeInterface2JSObjectAndThrowIfFailed /builds/worker/workspace/build/src/dom/bindings/BindingUtils.cpp:1120:22
[task 2018-08-29T17:24:36.888Z] 17:24:36     INFO - PID 1098 |     #9 0x7f62c4b571a3 in mozilla::dom::XPCOMObjectToJsval(JSContext*, JS::Handle<JSObject*>, xpcObjectHelper&, nsID const*, bool, JS::MutableHandle<JS::Value>) /builds/worker/workspace/build/src/dom/bindings/BindingUtils.cpp:1186
[task 2018-08-29T17:24:36.888Z] 17:24:36     INFO - PID 1098 |     #10 0x7f62c4743380 in WrapNativeISupports<nsISupports> /builds/worker/workspace/build/src/obj-firefox/dist/include/mozilla/dom/BindingUtils.h:1613:10

Moving these bugs (intermittent test failures with crashes) out of P5.

Priority: P5 → --

Hasn't happened recently.

Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.