Open Bug 1714833 Opened 3 years ago Updated 3 years ago

Intermittent layout/base/tests/chrome/test_printpreview.xhtml | application crashed [@ nsGlobalWindowOuter::Print(nsIPrintSettings*, nsIWebProgressListener*, nsIDocShell*, nsGlobalWindowOuter::IsPreview, nsGlobalWindowOuter::IsForWindowDotPrint, std::__1:

Categories

(Core :: DOM: Core & HTML, defect)

defect

Tracking

()

People

(Reporter: intermittent-bug-filer, Unassigned)

Details

(Keywords: crash, intermittent-failure)

Crash Data

Filed by: nbeleuzu [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=341893057&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/IIxJNn75RUKSPZlhrMkycQ/runs/0/artifacts/public/logs/live_backing.log


[task 2021-06-06T04:40:51.720Z] 04:40:51     INFO - TEST-PASS | layout/base/tests/chrome/test_printpreview.xhtml | Should have called afterprint listener! 
[task 2021-06-06T04:40:51.720Z] 04:40:51     INFO - Buffered messages finished
[task 2021-06-06T04:40:51.721Z] 04:40:51    ERROR - TEST-UNEXPECTED-FAIL | layout/base/tests/chrome/test_printpreview.xhtml | application terminated with exit code 1
[task 2021-06-06T04:40:51.721Z] 04:40:51     INFO - runtests.py | Application ran for: 0:00:12.449951
[task 2021-06-06T04:40:51.721Z] 04:40:51     INFO - zombiecheck | Reading PID log: /var/folders/zq/sf0yhflx4pq218pmspqvrt0h000014/T/tmp9z04vwyepidlog
[task 2021-06-06T04:40:51.722Z] 04:40:51     INFO - mozcrash Downloading symbols from: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/ReRztEztSPaLrZ7jY5OQ6w/artifacts/public/build/target.crashreporter-symbols.zip
[task 2021-06-06T04:40:56.268Z] 04:40:56     INFO - mozcrash Copy/paste: /opt/worker/tasks/task_162293457098053/fetches/minidump_stackwalk/minidump_stackwalk /var/folders/zq/sf0yhflx4pq218pmspqvrt0h000014/T/tmpwu4qew6i.mozrunner/minidumps/57E7FB2B-9141-455E-ADAF-A80310B30B09.dmp /var/folders/zq/sf0yhflx4pq218pmspqvrt0h000014/T/tmp_0g1v_gn
[task 2021-06-06T04:41:01.396Z] 04:41:01     INFO - mozcrash Saved minidump as /opt/worker/tasks/task_162293457098053/build/blobber_upload_dir/57E7FB2B-9141-455E-ADAF-A80310B30B09.dmp
[task 2021-06-06T04:41:01.396Z] 04:41:01     INFO - mozcrash Saved app info as /opt/worker/tasks/task_162293457098053/build/blobber_upload_dir/57E7FB2B-9141-455E-ADAF-A80310B30B09.extra
[task 2021-06-06T04:41:01.744Z] 04:41:01     INFO - PROCESS-CRASH | layout/base/tests/chrome/test_printpreview.xhtml | application crashed [@ nsGlobalWindowOuter::Print(nsIPrintSettings*, nsIWebProgressListener*, nsIDocShell*, nsGlobalWindowOuter::IsPreview, nsGlobalWindowOuter::IsForWindowDotPrint, std::__1::function<void (mozilla::dom::PrintPreviewResultInfo const&)>&&, mozilla::ErrorResult&)]
[task 2021-06-06T04:41:01.745Z] 04:41:01     INFO - Mozilla crash reason: MOZ_DIAGNOSTIC_ASSERT(cv)
[task 2021-06-06T04:41:01.745Z] 04:41:01     INFO - Crash dump filename: /var/folders/zq/sf0yhflx4pq218pmspqvrt0h000014/T/tmpwu4qew6i.mozrunner/minidumps/57E7FB2B-9141-455E-ADAF-A80310B30B09.dmp
[task 2021-06-06T04:41:01.745Z] 04:41:01     INFO - Operating system: Mac OS X
[task 2021-06-06T04:41:01.745Z] 04:41:01     INFO -                   10.15.7 19H524
[task 2021-06-06T04:41:01.745Z] 04:41:01     INFO - CPU: amd64
[task 2021-06-06T04:41:01.745Z] 04:41:01     INFO -      family 6 model 158 stepping 10
[task 2021-06-06T04:41:01.745Z] 04:41:01     INFO -      12 CPUs
[task 2021-06-06T04:41:01.745Z] 04:41:01     INFO - 
[task 2021-06-06T04:41:01.745Z] 04:41:01     INFO - GPU: UNKNOWN
[task 2021-06-06T04:41:01.745Z] 04:41:01     INFO - 
[task 2021-06-06T04:41:01.745Z] 04:41:01     INFO - Crash reason:  EXC_BAD_ACCESS / KERN_INVALID_ADDRESS
[task 2021-06-06T04:41:01.745Z] 04:41:01     INFO - Crash address: 0x0
[task 2021-06-06T04:41:01.745Z] 04:41:01     INFO - Process uptime: 12 seconds
[task 2021-06-06T04:41:01.745Z] 04:41:01     INFO - 
[task 2021-06-06T04:41:01.745Z] 04:41:01     INFO - Thread 0 (crashed)
[task 2021-06-06T04:41:01.745Z] 04:41:01     INFO -  0  XUL!nsGlobalWindowOuter::Print(nsIPrintSettings*, nsIWebProgressListener*, nsIDocShell*, nsGlobalWindowOuter::IsPreview, nsGlobalWindowOuter::IsForWindowDotPrint, std::__1::function<void (mozilla::dom::PrintPreviewResultInfo const&)>&&, mozilla::ErrorResult&) [nsGlobalWindowOuter.cpp:5ff0d52fd6229412f390b46e3160aae20d97946f : 5346 + 0x11]
[task 2021-06-06T04:41:01.745Z] 04:41:01     INFO -     rax = 0x000000010f1e4b64   rdx = 0x0000000000000001
[task 2021-06-06T04:41:01.745Z] 04:41:01     INFO -     rcx = 0x000000010511e388   rbx = 0x000000011fa6f160
[task 2021-06-06T04:41:01.745Z] 04:41:01     INFO -     rsi = 0x00007ffeeab70b38   rdi = 0x0000000000000000
[task 2021-06-06T04:41:01.746Z] 04:41:01     INFO -     rbp = 0x00007ffeeab70c80   rsp = 0x00007ffeeab70a90
[task 2021-06-06T04:41:01.746Z] 04:41:01     INFO -      r8 = 0x000000011df001e0    r9 = 0xffffffff00000001
[task 2021-06-06T04:41:01.746Z] 04:41:01     INFO -     r10 = 0x000000011dd00408   r11 = 0x0000000000000000
[task 2021-06-06T04:41:01.746Z] 04:41:01     INFO -     r12 = 0x000000011fa6f160   r13 = 0x000000012aa94000
[task 2021-06-06T04:41:01.746Z] 04:41:01     INFO -     r14 = 0x00000001289e0998   r15 = 0x0000000121ec1000
[task 2021-06-06T04:41:01.746Z] 04:41:01     INFO -     rip = 0x0000000108fcc475
[task 2021-06-06T04:41:01.746Z] 04:41:01     INFO -     Found by: given as instruction pointer in context
[task 2021-06-06T04:41:01.746Z] 04:41:01     INFO -  1  XUL!nsGlobalWindowInner::PrintPreview(nsIPrintSettings*, nsIWebProgressListener*, nsIDocShell*, mozilla::ErrorResult&) [nsGlobalWindowInner.cpp:5ff0d52fd6229412f390b46e3160aae20d97946f : 3777 + 0xe9]
[task 2021-06-06T04:41:01.746Z] 04:41:01     INFO -     rbp = 0x00007ffeeab70d30   rsp = 0x00007ffeeab70c90
[task 2021-06-06T04:41:01.746Z] 04:41:01     INFO -     rip = 0x0000000108face13
[task 2021-06-06T04:41:01.746Z] 04:41:01     INFO -     Found by: previous frame's frame pointer
[task 2021-06-06T04:41:01.746Z] 04:41:01     INFO -  2  XUL!mozilla::dom::Window_Binding::printPreview(JSContext*, JS::Handle<JSObject*>, void*, JSJitMethodCallArgs const&) [WindowBinding.cpp: : 3199 + 0xe]
[task 2021-06-06T04:41:01.746Z] 04:41:01     INFO -     rbp = 0x00007ffeeab70dc0   rsp = 0x00007ffeeab70d40
[task 2021-06-06T04:41:01.746Z] 04:41:01     INFO -     rip = 0x00000001097ebc12
[task 2021-06-06T04:41:01.746Z] 04:41:01     INFO -     Found by: previous frame's frame pointer
[task 2021-06-06T04:41:01.747Z] 04:41:01     INFO -  3  XUL!bool mozilla::dom::binding_detail::GenericMethod<mozilla::dom::binding_detail::MaybeCrossOriginObjectThisPolicy, mozilla::dom::binding_detail::ThrowExceptions>(JSContext*, unsigned int, JS::Value*) [BindingUtils.cpp:5ff0d52fd6229412f390b46e3160aae20d97946f : 3298 + 0x10]
[task 2021-06-06T04:41:01.747Z] 04:41:01     INFO -     rbp = 0x00007ffeeab70e60   rsp = 0x00007ffeeab70dd0
[task 2021-06-06T04:41:01.747Z] 04:41:01     INFO -     rip = 0x0000000109b1320b
[task 2021-06-06T04:41:01.747Z] 04:41:01     INFO -     Found by: previous frame's frame pointer
[task 2021-06-06T04:41:01.747Z] 04:41:01     INFO -  4  XUL!js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct, js::CallReason) [Interpreter.cpp:5ff0d52fd6229412f390b46e3160aae20d97946f : 511 + 0x14f]
[task 2021-06-06T04:41:01.747Z] 04:41:01     INFO -     rbp = 0x00007ffeeab70f00   rsp = 0x00007ffeeab70e70
[task 2021-06-06T04:41:01.747Z] 04:41:01     INFO -     rip = 0x000000010bfd0632
[task 2021-06-06T04:41:01.747Z] 04:41:01     INFO -     Found by: previous frame's frame pointer
[task 2021-06-06T04:41:01.747Z] 04:41:01     INFO -  5  XUL!Interpret(JSContext*, js::RunState&) [Interpreter.cpp:5ff0d52fd6229412f390b46e3160aae20d97946f : 3244 + 0xa]
[task 2021-06-06T04:41:01.747Z] 04:41:01     INFO -     rbp = 0x00007ffeeab71340   rsp = 0x00007ffeeab70f10
[task 2021-06-06T04:41:01.747Z] 04:41:01     INFO -     rip = 0x000000010bfca963
[task 2021-06-06T04:41:01.747Z] 04:41:01     INFO -     Found by: previous frame's frame pointer
[task 2021-06-06T04:41:01.747Z] 04:41:01     INFO -  6  XUL!js::RunScript(JSContext*, js::RunState&) [Interpreter.cpp:5ff0d52fd6229412f390b46e3160aae20d97946f : 395 + 0xb]
[task 2021-06-06T04:41:01.747Z] 04:41:01     INFO -     rbp = 0x00007ffeeab713b0   rsp = 0x00007ffeeab71350
[task 2021-06-06T04:41:01.747Z] 04:41:01     INFO -     rip = 0x000000010bfc29b4
[task 2021-06-06T04:41:01.747Z] 04:41:01     INFO -     Found by: previous frame's frame pointer
[task 2021-06-06T04:41:01.747Z] 04:41:01     INFO -  7  XUL!js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct, js::CallReason) [Interpreter.cpp:5ff0d52fd6229412f390b46e3160aae20d97946f : 543 + 0x8]
[task 2021-06-06T04:41:01.747Z] 04:41:01     INFO -     rbp = 0x00007ffeeab71450   rsp = 0x00007ffeeab713c0
[task 2021-06-06T04:41:01.748Z] 04:41:01     INFO -     rip = 0x000000010bfd0a0a
[task 2021-06-06T04:41:01.748Z] 04:41:01     INFO -     Found by: previous frame's frame pointer
[task 2021-06-06T04:41:01.748Z] 04:41:01     INFO -  8  XUL!js::Call(JSContext*, JS::Handle<JS::Value>, JS::Handle<JS::Value>, js::AnyInvokeArgs const&, JS::MutableHandle<JS::Value>, js::CallReason) [Interpreter.cpp:5ff0d52fd6229412f390b46e3160aae20d97946f : 588 + 0xb]
[task 2021-06-06T04:41:01.748Z] 04:41:01     INFO -     rbp = 0x00007ffeeab71470   rsp = 0x00007ffeeab71460
[task 2021-06-06T04:41:01.748Z] 04:41:01     INFO -     rip = 0x000000010bfd100c
[task 2021-06-06T04:41:01.748Z] 04:41:01     INFO -     Found by: previous frame's frame pointer
[task 2021-06-06T04:41:01.748Z] 04:41:01     INFO -  9  XUL!js::CallSelfHostedFunction(JSContext*, JS::Handle<js::PropertyName*>, JS::Handle<JS::Value>, js::AnyInvokeArgs const&, JS::MutableHandle<JS::Value>) [SelfHosting.cpp:5ff0d52fd6229412f390b46e3160aae20d97946f : 1556 + 0x16]
[task 2021-06-06T04:41:01.748Z] 04:41:01     INFO -     rbp = 0x00007ffeeab714e0   rsp = 0x00007ffeeab71480
[task 2021-06-06T04:41:01.748Z] 04:41:01     INFO -     rip = 0x000000010c1d1bf1
[task 2021-06-06T04:41:01.748Z] 04:41:01     INFO -     Found by: previous frame's frame pointer
[task 2021-06-06T04:41:01.748Z] 04:41:01     INFO - 10  XUL!AsyncFunctionResume(JSContext*, JS::Handle<js::AsyncFunctionGeneratorObject*>, ResumeKind, JS::Handle<JS::Value>) [AsyncFunction.cpp:5ff0d52fd6229412f390b46e3160aae20d97946f : 127 + 0xe]
[task 2021-06-06T04:41:01.748Z] 04:41:01     INFO -     rbp = 0x00007ffeeab71610   rsp = 0x00007ffeeab714f0
[task 2021-06-06T04:41:01.748Z] 04:41:01     INFO -     rip = 0x000000010c07d7c9
[task 2021-06-06T04:41:01.748Z] 04:41:01     INFO -     Found by: previous frame's frame pointer
[task 2021-06-06T04:41:01.748Z] 04:41:01     INFO - 11  XUL!PromiseReactionJob(JSContext*, unsigned int, JS::Value*) [Promise.cpp:5ff0d52fd6229412f390b46e3160aae20d97946f : 1855 + 0x79]
[task 2021-06-06T04:41:01.748Z] 04:41:01     INFO -     rbp = 0x00007ffeeab71750   rsp = 0x00007ffeeab71620
[task 2021-06-06T04:41:01.748Z] 04:41:01     INFO -     rip = 0x000000010c0ee0a2
[task 2021-06-06T04:41:01.748Z] 04:41:01     INFO -     Found by: previous frame's frame pointer
[task 2021-06-06T04:41:01.748Z] 04:41:01     INFO - 12  XUL!js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct, js::CallReason) [Interpreter.cpp:5ff0d52fd6229412f390b46e3160aae20d97946f : 511 + 0x14f]
[task 2021-06-06T04:41:01.748Z] 04:41:01     INFO -     rbp = 0x00007ffeeab717f0   rsp = 0x00007ffeeab71760
[task 2021-06-06T04:41:01.748Z] 04:41:01     INFO -     rip = 0x000000010bfd0632
[task 2021-06-06T04:41:01.748Z] 04:41:01     INFO -     Found by: previous frame's frame pointer
[task 2021-06-06T04:41:01.749Z] 04:41:01     INFO - 13  XUL!js::Call(JSContext*, JS::Handle<JS::Value>, JS::Handle<JS::Value>, js::AnyInvokeArgs const&, JS::MutableHandle<JS::Value>, js::CallReason) [Interpreter.cpp:5ff0d52fd6229412f390b46e3160aae20d97946f : 588 + 0xb]
[task 2021-06-06T04:41:01.749Z] 04:41:01     INFO -     rbp = 0x00007ffeeab71810   rsp = 0x00007ffeeab71800
[task 2021-06-06T04:41:01.749Z] 04:41:01     INFO -     rip = 0x000000010bfd100c
[task 2021-06-06T04:41:01.749Z] 04:41:01     INFO -     Found by: previous frame's frame pointer
[task 2021-06-06T04:41:01.749Z] 04:41:01     INFO - 14  XUL!JS::Call(JSContext*, JS::Handle<JS::Value>, JS::Handle<JS::Value>, JS::HandleValueArray const&, JS::MutableHandle<JS::Value>) [jsapi.cpp:5ff0d52fd6229412f390b46e3160aae20d97946f : 2777 + 0x1c]
[task 2021-06-06T04:41:01.749Z] 04:41:01     INFO -     rbp = 0x00007ffeeab71900   rsp = 0x00007ffeeab71820
[task 2021-06-06T04:41:01.749Z] 04:41:01     INFO -     rip = 0x000000010c300814
[task 2021-06-06T04:41:01.749Z] 04:41:01     INFO -     Found by: previous frame's frame pointer
[task 2021-06-06T04:41:01.749Z] 04:41:01     INFO - 15  XUL!mozilla::dom::PromiseJobCallback::Call(mozilla::dom::BindingCallContext&, JS::Handle<JS::Value>, mozilla::ErrorResult&) [PromiseBinding.cpp: : 31 + 0xb]
[task 2021-06-06T04:41:01.749Z] 04:41:01     INFO -     rbp = 0x00007ffeeab71980   rsp = 0x00007ffeeab71910
[task 2021-06-06T04:41:01.749Z] 04:41:01     INFO -     rip = 0x0000000109450f0d
[task 2021-06-06T04:41:01.749Z] 04:41:01     INFO -     Found by: previous frame's frame pointer
[task 2021-06-06T04:41:01.749Z] 04:41:01     INFO - 16  XUL!mozilla::PromiseJobRunnable::Run(mozilla::AutoSlowOperation&) [CycleCollectedJSContext.cpp:5ff0d52fd6229412f390b46e3160aae20d97946f : 212 + 0x69]
[task 2021-06-06T04:41:01.749Z] 04:41:01     INFO -     rbp = 0x00007ffeeab71bb0   rsp = 0x00007ffeeab71990
[task 2021-06-06T04:41:01.749Z] 04:41:01     INFO -     rip = 0x0000000107e89bde
[task 2021-06-06T04:41:01.749Z] 04:41:01     INFO -     Found by: previous frame's frame pointer
[task 2021-06-06T04:41:01.749Z] 04:41:01     INFO - 17  XUL!mozilla::CycleCollectedJSContext::PerformMicroTaskCheckPoint(bool) [CycleCollectedJSContext.cpp:5ff0d52fd6229412f390b46e3160aae20d97946f : 647 + 0x10]
[task 2021-06-06T04:41:01.749Z] 04:41:01     INFO -     rbp = 0x00007ffeeab71c70   rsp = 0x00007ffeeab71bc0
[task 2021-06-06T04:41:01.749Z] 04:41:01     INFO -     rip = 0x0000000107e7a248
[task 2021-06-06T04:41:01.750Z] 04:41:01     INFO -     Found by: previous frame's frame pointer
[task 2021-06-06T04:41:01.750Z] 04:41:01     INFO - 18  XUL!mozilla::dom::CallbackObject::CallSetup::~CallSetup() [CallbackObject.cpp:5ff0d52fd6229412f390b46e3160aae20d97946f : 393 + 0x13]
[task 2021-06-06T04:41:01.750Z] 04:41:01     INFO -     rbp = 0x00007ffeeab71ce0   rsp = 0x00007ffeeab71c80
[task 2021-06-06T04:41:01.750Z] 04:41:01     INFO -     rip = 0x0000000109b1d517
[task 2021-06-06T04:41:01.750Z] 04:41:01     INFO -     Found by: previous frame's frame pointer
[task 2021-06-06T04:41:01.750Z] 04:41:01     INFO - 19  XUL!void mozilla::dom::Function::Call<nsCOMPtr<nsIGlobalObject> >(nsCOMPtr<nsIGlobalObject> const&, nsTArray<JS::Value> const&, JS::MutableHandle<JS::Value>, mozilla::ErrorResult&, char const*, mozilla::dom::CallbackObject::ExceptionHandling, JS::Realm*) [FunctionBinding.h: : 72 + 0x1d]
[task 2021-06-06T04:41:01.750Z] 04:41:01     INFO -     rbp = 0x00007ffeeab71f50   rsp = 0x00007ffeeab71cf0
[task 2021-06-06T04:41:01.750Z] 04:41:01     INFO -     rip = 0x00000001090fc38c
[task 2021-06-06T04:41:01.750Z] 04:41:01     INFO -     Found by: previous frame's frame pointer
[task 2021-06-06T04:41:01.750Z] 04:41:01     INFO - 20  XUL!mozilla::dom::CallbackTimeoutHandler::Call(char const*) [TimeoutHandler.cpp:5ff0d52fd6229412f390b46e3160aae20d97946f : 167 + 0x1f]
[task 2021-06-06T04:41:01.750Z] 04:41:01     INFO -     rbp = 0x00007ffeeab71fc0   rsp = 0x00007ffeeab71f60
[task 2021-06-06T04:41:01.750Z] 04:41:01     INFO -     rip = 0x00000001090fc196
[task 2021-06-06T04:41:01.750Z] 04:41:01     INFO -     Found by: previous frame's frame pointer
[task 2021-06-06T04:41:01.750Z] 04:41:01     INFO - 21  XUL!nsGlobalWindowInner::RunTimeoutHandler(mozilla::dom::Timeout*, nsIScriptContext*) [nsGlobalWindowInner.cpp:5ff0d52fd6229412f390b46e3160aae20d97946f : 6281 + 0x10]
[task 2021-06-06T04:41:01.750Z] 04:41:01     INFO -     rbp = 0x00007ffeeab720c0   rsp = 0x00007ffeeab71fd0
[task 2021-06-06T04:41:01.750Z] 04:41:01     INFO -     rip = 0x0000000108fb5846
[task 2021-06-06T04:41:01.750Z] 04:41:01     INFO -     Found by: previous frame's frame pointer
[task 2021-06-06T04:41:01.750Z] 04:41:01     INFO - 22  XUL!mozilla::dom::TimeoutManager::RunTimeout(mozilla::TimeStamp const&, mozilla::TimeStamp const&, bool) [TimeoutManager.cpp:5ff0d52fd6229412f390b46e3160aae20d97946f : 893 + 0xf]
[task 2021-06-06T04:41:01.750Z] 04:41:01     INFO -     rbp = 0x00007ffeeab72180   rsp = 0x00007ffeeab720d0
[task 2021-06-06T04:41:01.750Z] 04:41:01     INFO -     rip = 0x00000001090fa8dc
[task 2021-06-06T04:41:01.751Z] 04:41:01     INFO -     Found by: previous frame's frame pointer
[task 2021-06-06T04:41:01.751Z] 04:41:01     INFO - 23  XUL!mozilla::dom::TimeoutExecutor::MaybeExecute() [TimeoutExecutor.cpp:5ff0d52fd6229412f390b46e3160aae20d97946f : 179 + 0x16]
[task 2021-06-06T04:41:01.751Z] 04:41:01     INFO -     rbp = 0x00007ffeeab721c0   rsp = 0x00007ffeeab72190
[task 2021-06-06T04:41:01.751Z] 04:41:01     INFO -     rip = 0x00000001090fa1a7
[task 2021-06-06T04:41:01.751Z] 04:41:01     INFO -     Found by: previous frame's frame pointer

I can replicate this in Nightly by visiting about:config and then tapping ctrl-P:

==222530==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x7faa592e5750 bp 0x7ffdb434c110 sp 0x7ffdb434bbc0 T0)
==222530==The signal is caused by a WRITE memory access.
==222530==Hint: address points to the zero page.
    #0 0x7faa592e5750 in nsGlobalWindowOuter::Print(nsIPrintSettings*, nsIWebProgressListener*, nsIDocShell*, nsGlobalWindowOuter::IsPreview, nsGlobalWindowOuter::IsForWindowDotPrint, std::function<void (mozilla::dom::PrintPreviewResultInfo const&)>&&, mozilla::ErrorResult&) /builds/worker/checkouts/gecko/dom/base/nsGlobalWindowOuter.cpp:5350:5
    #1 0x7faa598105ce in nsFrameLoader::PrintPreview(nsIPrintSettings*, mozilla::dom::BrowsingContext*, mozilla::ErrorResult&) /builds/worker/checkouts/gecko/dom/base/nsFrameLoader.cpp:3421:17
    #2 0x7faa5b700268 in printPreview /builds/worker/workspace/obj-build/dom/bindings/FrameLoaderBinding.cpp:852:60
    #3 0x7faa5b700268 in mozilla::dom::FrameLoader_Binding::printPreview_promiseWrapper(JSContext*, JS::Handle<JSObject*>, void*, JSJitMethodCallArgs const&) /builds/worker/workspace/obj-build/dom/bindings/FrameLoaderBinding.cpp:866:13
    #4 0x7faa5bb48215 in bool mozilla::dom::binding_detail::GenericMethod<mozilla::dom::binding_detail::NormalThisPolicy, mozilla::dom::binding_detail::ConvertExceptionsToPromises>(JSContext*, unsigned int, JS::Value*) /builds/worker/checkouts/gecko/dom/bindings/BindingUtils.cpp:3297:13
    #5 0x7faa636d5264 in CallJSNative /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:426:13
    #6 0x7faa636d5264 in js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct, js::CallReason) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:511:12
    #7 0x7faa636ba249 in InternalCall /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:571:10
    #8 0x7faa636ba249 in CallFromStack /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:575:10
    #9 0x7faa636ba249 in Interpret(JSContext*, js::RunState&) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:3226:16
    #10 0x7faa636a9c70 in js::RunScript(JSContext*, js::RunState&) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:395:13
    #11 0x7faa636d5576 in js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct, js::CallReason) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:543:13
    #12 0x7faa636d7a3d in InternalCall /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:571:10
    #13 0x7faa636d7a3d in js::Call(JSContext*, JS::Handle<JS::Value>, JS::Handle<JS::Value>, js::AnyInvokeArgs const&, JS::MutableHandle<JS::Value>, js::CallReason) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:588:8
    #14 0x7faa63e113b1 in js::CallSelfHostedFunction(JSContext*, JS::Handle<js::PropertyName*>, JS::Handle<JS::Value>, js::AnyInvokeArgs const&, JS::MutableHandle<JS::Value>) /builds/worker/checkouts/gecko/js/src/vm/SelfHosting.cpp:1556:10
    #15 0x7faa639760d6 in AsyncFunctionResume(JSContext*, JS::Handle<js::AsyncFunctionGeneratorObject*>, ResumeKind, JS::Handle<JS::Value>) /builds/worker/checkouts/gecko/js/src/vm/AsyncFunction.cpp:127:8
    #16 0x7faa63ae0ae3 in AsyncFunctionPromiseReactionJob /builds/worker/checkouts/gecko/js/src/builtin/Promise.cpp:1699:12
    #17 0x7faa63ae0ae3 in PromiseReactionJob(JSContext*, unsigned int, JS::Value*) /builds/worker/checkouts/gecko/js/src/builtin/Promise.cpp:1855:12
    #18 0x7faa636d5264 in CallJSNative /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:426:13
    #19 0x7faa636d5264 in js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct, js::CallReason) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:511:12
    #20 0x7faa636d7a3d in InternalCall /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:571:10
    #21 0x7faa636d7a3d in js::Call(JSContext*, JS::Handle<JS::Value>, JS::Handle<JS::Value>, js::AnyInvokeArgs const&, JS::MutableHandle<JS::Value>, js::CallReason) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:588:8
    #22 0x7faa6386be95 in JS::Call(JSContext*, JS::Handle<JS::Value>, JS::Handle<JS::Value>, JS::HandleValueArray const&, JS::MutableHandle<JS::Value>) /builds/worker/checkouts/gecko/js/src/jsapi.cpp:2785:10
    #23 0x7faa5a32cfb6 in mozilla::dom::PromiseJobCallback::Call(mozilla::dom::BindingCallContext&, JS::Handle<JS::Value>, mozilla::ErrorResult&) /builds/worker/workspace/obj-build/dom/bindings/PromiseBinding.cpp:31:8
    #24 0x7faa55bef776 in Call /builds/worker/workspace/obj-build/dist/include/mozilla/dom/PromiseBinding.h:89:12
    #25 0x7faa55bef776 in Call /builds/worker/workspace/obj-build/dist/include/mozilla/dom/PromiseBinding.h:102:12
    #26 0x7faa55bef776 in mozilla::PromiseJobRunnable::Run(mozilla::AutoSlowOperation&) /builds/worker/checkouts/gecko/xpcom/base/CycleCollectedJSContext.cpp:212:18
    #27 0x7faa55bc6761 in mozilla::CycleCollectedJSContext::PerformMicroTaskCheckPoint(bool) /builds/worker/checkouts/gecko/xpcom/base/CycleCollectedJSContext.cpp:647:17
    #28 0x7faa55bc7a3f in mozilla::CycleCollectedJSContext::AfterProcessTask(unsigned int) /builds/worker/checkouts/gecko/xpcom/base/CycleCollectedJSContext.cpp:462:3
    #29 0x7faa57d4805c in XPCJSContext::AfterProcessTask(unsigned int) /builds/worker/checkouts/gecko/js/xpconnect/src/XPCJSContext.cpp:1481:28
    #30 0x7faa55e09c80 in nsThread::ProcessNextEvent(bool, bool*) /builds/worker/checkouts/gecko/xpcom/threads/nsThread.cpp:1189:24
    #31 0x7faa55e170c1 in NS_ProcessNextEvent(nsIThread*, bool) /builds/worker/checkouts/gecko/xpcom/threads/nsThreadUtils.cpp:466:10
    #32 0x7faa57140317 in mozilla::ipc::MessagePump::Run(base::MessagePump::Delegate*) /builds/worker/checkouts/gecko/ipc/glue/MessagePump.cpp:85:21
    #33 0x7faa570236e2 in RunInternal /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:331:10
    #34 0x7faa570236e2 in RunHandler /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:324:3
    #35 0x7faa570236e2 in MessageLoop::Run() /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:306:3
    #36 0x7faa5ecc11fa in nsBaseAppShell::Run() /builds/worker/checkouts/gecko/widget/nsBaseAppShell.cpp:137:27
    #37 0x7faa631bb399 in nsAppStartup::Run() /builds/worker/checkouts/gecko/toolkit/components/startup/nsAppStartup.cpp:273:30
    #38 0x7faa63441941 in XREMain::XRE_mainRun() /builds/worker/checkouts/gecko/toolkit/xre/nsAppRunner.cpp:5254:22
    #39 0x7faa634441c5 in XREMain::XRE_main(int, char**, mozilla::BootstrapConfig const&) /builds/worker/checkouts/gecko/toolkit/xre/nsAppRunner.cpp:5439:8
    #40 0x7faa63445200 in XRE_main(int, char**, mozilla::BootstrapConfig const&) /builds/worker/checkouts/gecko/toolkit/xre/nsAppRunner.cpp:5498:21
    #41 0x55b18b406949 in do_main /builds/worker/checkouts/gecko/browser/app/nsBrowserApp.cpp:225:22
    #42 0x55b18b406949 in main /builds/worker/checkouts/gecko/browser/app/nsBrowserApp.cpp:378:16
    #43 0x7faa6d790b74  (/lib64/libc.so.6+0x27b74)
    #44 0x55b18b3573d8 in _start (/home/geeknik/firefox/firefox-bin+0xab3d8)

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV /builds/worker/checkouts/gecko/dom/base/nsGlobalWindowOuter.cpp:5350:5 in nsGlobalWindowOuter::Print(nsIPrintSettings*, nsIWebProgressListener*, nsIDocShell*, nsGlobalWindowOuter::IsPreview, nsGlobalWindowOuter::IsForWindowDotPrint, std::function<void (mozilla::dom::PrintPreviewResultInfo const&)>&&, mozilla::ErrorResult&)
==222530==ABORTING
You need to log in before you can comment on or make changes to this bug.