Closed Bug 1564534 Opened 5 years ago Closed 5 years ago

OSX Mojave (10.14) - Intermittent netwerk/test/unit/test_captive_portal_service.js | application crashed [@ mozilla::net::NetworkConnectivityService::OnStopRequest(nsIRequest*, nsresult)]

Categories

(Core :: Networking, defect, P3)

defect

Tracking

()

RESOLVED MOVED

People

(Reporter: intermittent-bug-filer, Assigned: valentin)

References

(Blocks 1 open bug)

Details

(Keywords: crash, intermittent-failure, Whiteboard: [necko-triaged])

Crash Data

Filed by: egao [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer.html#?job_id=254991548&repo=autoland
Full log: https://queue.taskcluster.net/v1/task/Q6eTc0XiT6iKLRSpHnDC5Q/runs/0/artifacts/public/logs/live_backing.log


Platform: macosx1014/debug
Test: xpcshell

Context:
21:15:48 INFO - TEST-START | netwerk/test/unit/test_captive_portal_service.js
21:15:49 WARNING - TEST-UNEXPECTED-FAIL | netwerk/test/unit/test_captive_portal_service.js | xpcshell return code: 1
21:15:49 INFO - TEST-INFO took 455ms
21:15:49 INFO - >>>>>>>
21:15:49 INFO - PID 4952 | [4952, Main Thread] WARNING: Couldn't get the user appdata directory. Crash events may not be produced.: file /builds/worker/workspace/build/src/toolkit/crashreporter/nsExceptionHandler.cpp, line 2555
21:15:49 INFO - (xpcshell/head.js) | test MAIN run_test pending (1)
21:15:49 INFO - (xpcshell/head.js) | test run_next_test 0 pending (2)
21:15:49 INFO - (xpcshell/head.js) | test MAIN run_test finished (2)
21:15:49 INFO - running event loop
21:15:49 INFO - PID 4952 | Couldn't convert chrome URL: chrome://branding/locale/brand.properties
21:15:49 INFO - PID 4952 | [4952, Main Thread] WARNING: Could not get the program name for a cubeb stream.: 'NS_SUCCEEDED(rv)', file /builds/worker/workspace/build/src/dom/media/CubebUtils.cpp, line 391
21:15:49 INFO - netwerk/test/unit/test_captive_portal_service.js | Starting setup
21:15:49 INFO - (xpcshell/head.js) | test setup pending (2)
21:15:49 INFO - (xpcshell/head.js) | test run_next_test 0 finished (2)
21:15:49 INFO - (xpcshell/head.js) | test run_next_test 1 pending (2)
21:15:49 INFO - (xpcshell/head.js) | test setup finished (2)
21:15:49 INFO - "CONSOLE_MESSAGE: (info) No chrome package registered for chrome://branding/locale/brand.properties"
21:15:49 INFO - netwerk/test/unit/test_captive_portal_service.js | Starting test_simple
21:15:49 INFO - (xpcshell/head.js) | test test_simple pending (2)
21:15:49 INFO - TEST-PASS | netwerk/test/unit/test_captive_portal_service.js | test_simple - [test_simple : 71] 0 == 0
21:15:49 INFO - PID 4952 | [4952, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, kKnownEsrVersion) failed with result 0x80004002: file /builds/worker/workspace/build/src/toolkit/components/resistfingerprinting/nsRFPService.cpp, line 662
21:15:49 INFO - PID 4952 | [4952, Main Thread] WARNING: NSS will be initialized without a profile directory. Some things may not work as expected.: file /builds/worker/workspace/build/src/security/manager/ssl/nsNSSComponent.cpp, line 1335
21:15:49 INFO - (xpcshell/head.js) | test run_next_test 1 finished (2)
21:15:49 INFO - TEST-PASS | netwerk/test/unit/test_captive_portal_service.js | test_simple - [test_simple : 79] "clear" == "clear"
21:15:49 INFO - TEST-PASS | netwerk/test/unit/test_captive_portal_service.js | test_simple - [test_simple : 80] 1 == 1
21:15:49 INFO - PID 4952 | Assertion failure: peerAddr.Contains(':') || ((bool)(__builtin_expect(!!(NS_FAILED_impl(aStatusCode)), 0))), at /builds/worker/workspace/build/src/netwerk/base/NetworkConnectivityService.cpp:281
21:16:08 INFO - PID 4952 | #01: non-virtual thunk to mozilla::net::NetworkConnectivityService::OnStopRequest(nsIRequest*, nsresult) [netwerk/base/NetworkConnectivityService.cpp:0]
21:16:08 INFO - PID 4952 | #02: mozilla::net::nsHttpChannel::ContinueOnStopRequest(nsresult, bool, bool) [netwerk/protocol/http/nsHttpChannel.cpp:8297]
21:16:08 INFO - PID 4952 | #03: mozilla::net::nsHttpChannel::ContinueOnStopRequestAfterAuthRetry(nsresult, bool, bool, bool, mozilla::net::nsHttpTransaction*) [netwerk/protocol/http/nsHttpChannel.cpp:8125]
21:16:08 INFO - PID 4952 | #04: mozilla::net::nsHttpChannel::OnStopRequest(nsIRequest*, nsresult) [netwerk/protocol/http/nsHttpChannel.cpp:8059]
21:16:08 INFO - PID 4952 | #05: nsInputStreamPump::OnStateStop() [netwerk/base/nsInputStreamPump.cpp:656]
21:16:08 INFO - PID 4952 | #06: nsInputStreamPump::OnInputStreamReady(nsIAsyncInputStream*) [netwerk/base/nsInputStreamPump.cpp:412]
21:16:08 INFO - PID 4952 | #07: non-virtual thunk to nsInputStreamPump::OnInputStreamReady(nsIAsyncInputStream*) [netwerk/base/nsInputStreamPump.cpp:0]
21:16:08 INFO - PID 4952 | #08: nsInputStreamReadyEvent::Run() [xpcom/io/nsStreamUtils.cpp:93]
21:16:08 INFO - PID 4952 | #09: nsThread::ProcessNextEvent(bool, bool*) [xpcom/threads/nsThread.cpp:1214]
21:16:08 INFO - PID 4952 | #10: nsThreadManager::SpinEventLoopUntilInternal(nsINestedEventLoopCondition*, bool) [xpcom/threads/nsThreadManager.cpp:488]
21:16:08 INFO - <<<<<<<
21:16:08 INFO - mozcrash Copy/paste: /Users/cltbld/tasks/task_1562359607/build/macosx64-minidump_stackwalk /var/folders/nq/xq9mh5c521ld5qzk0v08mtdw000017/T/xpc-other-dTWDKa/BD671BF9-1830-4BBD-B51B-B1B6F4F86FF7.dmp /Users/cltbld/tasks/task_1562359607/build/symbols
21:16:15 INFO - mozcrash Saved minidump as /Users/cltbld/tasks/task_1562359607/build/blobber_upload_dir/BD671BF9-1830-4BBD-B51B-B1B6F4F86FF7.dmp
21:16:15 INFO - mozcrash Saved app info as /Users/cltbld/tasks/task_1562359607/build/blobber_upload_dir/BD671BF9-1830-4BBD-B51B-B1B6F4F86FF7.extra
21:16:15 WARNING - PROCESS-CRASH | netwerk/test/unit/test_captive_portal_service.js | application crashed [@ mozilla::net::NetworkConnectivityService::OnStopRequest(nsIRequest*, nsresult)]
21:16:15 INFO - Crash dump filename: /var/folders/nq/xq9mh5c521ld5qzk0v08mtdw000017/T/xpc-other-dTWDKa/BD671BF9-1830-4BBD-B51B-B1B6F4F86FF7.dmp
21:16:15 INFO - Operating system: Mac OS X
21:16:15 INFO - 10.14.0 18A391
21:16:15 INFO - CPU: amd64
21:16:15 INFO - family 6 model 69 stepping 1
21:16:15 INFO - 4 CPUs
21:16:15 INFO - GPU: UNKNOWN
21:16:15 INFO - Crash reason: EXC_BAD_ACCESS / KERN_INVALID_ADDRESS
21:16:15 INFO - Crash address: 0x0
21:16:15 INFO - Process uptime: 1 seconds
21:16:15 INFO - Thread 0 (crashed)
21:16:15 INFO - 0 XUL!mozilla::net::NetworkConnectivityService::OnStopRequest(nsIRequest*, nsresult) [NetworkConnectivityService.cpp:477989aa5e6439946b2addd0c6b3e1f328979db2 : 281 + 0x29]
21:16:15 INFO - rax = 0x0000000115690960 rdx = 0x0000000000000000
21:16:15 INFO - rcx = 0x000000010a56ada8 rbx = 0x00007ffee59e6408
21:16:15 INFO - rsi = 0x00000000000120a8 rdi = 0x00007fffa1ddc028
21:16:15 INFO - rbp = 0x00007ffee59e6490 rsp = 0x00007ffee59e63f0
21:16:15 INFO - r8 = 0x00000000000130a8 r9 = 0x0000000000000000
21:16:15 INFO - r10 = 0x00007fffa1ddc048 r11 = 0x00007fffa1ddc040
21:16:15 INFO - r12 = 0x0000000000000000 r13 = 0x0000000000000001
21:16:15 INFO - r14 = 0x000000010c485508 r15 = 0x000000010c4854c0
21:16:15 INFO - rip = 0x000000010dfb13bd
21:16:15 INFO - Found by: given as instruction pointer in context
21:16:15 INFO - 1 XUL!non-virtual thunk to mozilla::net::NetworkConnectivityService::OnStopRequest(nsIRequest*, nsresult) [NetworkConnectivityService.cpp:477989aa5e6439946b2addd0c6b3e1f328979db2 : 0 + 0xd]
21:16:15 INFO - rbp = 0x00007ffee59e64a0 rsp = 0x00007ffee59e64a0
21:16:15 INFO - rip = 0x000000010dfb13dd
21:16:15 INFO - Found by: previous frame's frame pointer
21:16:15 INFO - 2 XUL!mozilla::net::nsHttpChannel::ContinueOnStopRequest(nsresult, bool, bool) [nsHttpChannel.cpp:477989aa5e6439946b2addd0c6b3e1f328979db2 : 8295 + 0x1d]
21:16:15 INFO - rbp = 0x00007ffee59e6520 rsp = 0x00007ffee59e64b0
21:16:15 INFO - rip = 0x000000010e464726
21:16:15 INFO - Found by: previous frame's frame pointer
21:16:16 INFO - 3 XUL!mozilla::net::nsHttpChannel::ContinueOnStopRequestAfterAuthRetry(nsresult, bool, bool, bool, mozilla::net::nsHttpTransaction*) [nsHttpChannel.cpp:477989aa5e6439946b2addd0c6b3e1f328979db2 : 8125 + 0x12]
21:16:16 INFO - rbp = 0x00007ffee59e6580 rsp = 0x00007ffee59e6530
21:16:16 INFO - rip = 0x000000010e463eb5
21:16:16 INFO - Found by: previous frame's frame pointer
21:16:16 INFO - 4 XUL!mozilla::net::nsHttpChannel::OnStopRequest(nsIRequest*, nsresult) [nsHttpChannel.cpp:477989aa5e6439946b2addd0c6b3e1f328979db2 : 8056 + 0xe]
21:16:16 INFO - rbp = 0x00007ffee59e6660 rsp = 0x00007ffee59e6590
21:16:16 INFO - rip = 0x000000010e462a39
21:16:16 INFO - Found by: previous frame's frame pointer
21:16:16 INFO - 5 XUL!nsInputStreamPump::OnStateStop() [nsInputStreamPump.cpp:477989aa5e6439946b2addd0c6b3e1f328979db2 : 655 + 0x1a]
21:16:16 INFO - rbp = 0x00007ffee59e66c0 rsp = 0x00007ffee59e6670
21:16:16 INFO - rip = 0x000000010e00da6d
21:16:16 INFO - Found by: previous frame's frame pointer
21:16:16 INFO - 6 XUL!nsInputStreamPump::OnInputStreamReady(nsIAsyncInputStream*) [nsInputStreamPump.cpp:477989aa5e6439946b2addd0c6b3e1f328979db2 : 403 + 0x8]
21:16:16 INFO - rbp = 0x00007ffee59e6710 rsp = 0x00007ffee59e66d0
21:16:16 INFO - rip = 0x000000010e00ce81
21:16:16 INFO - Found by: previous frame's frame pointer
21:16:16 INFO - 7 XUL!non-virtual thunk to nsInputStreamPump::OnInputStreamReady(nsIAsyncInputStream*) [nsInputStreamPump.cpp:477989aa5e6439946b2addd0c6b3e1f328979db2 : 0 + 0xd]
21:16:16 INFO - rbp = 0x00007ffee59e6720 rsp = 0x00007ffee59e6720
21:16:16 INFO - rip = 0x000000010e00ddcd
21:16:16 INFO - Found by: previous frame's frame pointer
21:16:16 INFO - 8 XUL!nsInputStreamReadyEvent::Run() [nsStreamUtils.cpp:477989aa5e6439946b2addd0c6b3e1f328979db2 : 91 + 0x9]
21:16:16 INFO - rbp = 0x00007ffee59e6740 rsp = 0x00007ffee59e6730
21:16:16 INFO - rip = 0x000000010de62389
21:16:16 INFO - Found by: previous frame's frame pointer
21:16:16 INFO - 9 XUL!nsThread::ProcessNextEvent(bool, bool*) [nsThread.cpp:477989aa5e6439946b2addd0c6b3e1f328979db2 : 1225 + 0x6]
21:16:16 INFO - rbp = 0x00007ffee59e6c60 rsp = 0x00007ffee59e6750
21:16:16 INFO - rip = 0x000000010dead528
21:16:16 INFO - Found by: previous frame's frame pointer
21:16:16 INFO - 10 XUL!nsThreadManager::SpinEventLoopUntilInternal(nsINestedEventLoopCondition*, bool) [nsThreadManager.cpp:477989aa5e6439946b2addd0c6b3e1f328979db2 : 488 + 0x1da]
21:16:16 INFO - rbp = 0x00007ffee59e6cb0 rsp = 0x00007ffee59e6c70
21:16:16 INFO - rip = 0x000000010deb1001
21:16:16 INFO - Found by: previous frame's frame pointer
21:16:16 INFO - 11 XUL!NS_InvokeByIndex + 0x8e
21:16:16 INFO - rbp = 0x00007ffee59e6ce0 rsp = 0x00007ffee59e6cc0
21:16:16 INFO - rip = 0x000000010dece76e
21:16:16 INFO - Found by: previous frame's frame pointer
21:16:16 INFO - 12 XUL!CallMethodHelper::Call() [XPCWrappedNative.cpp:477989aa5e6439946b2addd0c6b3e1f328979db2 : 1195 + 0x1b]
21:16:16 INFO - rbp = 0x00007ffee59e6d20 rsp = 0x00007ffee59e6cf0
21:16:16 INFO - rip = 0x000000010eb708ff
21:16:16 INFO - Found by: previous frame's frame pointer
21:16:16 INFO - 13 XUL!XPCWrappedNative::CallMethod(XPCCallContext&, XPCWrappedNative::CallMode) [XPCWrappedNative.cpp:477989aa5e6439946b2addd0c6b3e1f328979db2 : 1157 + 0x8]
21:16:16 INFO - rbp = 0x00007ffee59e6e90 rsp = 0x00007ffee59e6d30
21:16:16 INFO - rip = 0x000000010eb70655
21:16:16 INFO - Found by: previous frame's frame pointer
21:16:16 INFO - 14 XUL!XPC_WN_CallMethod(JSContext*, unsigned int, JS::Value*) [XPCWrappedNativeJSOps.cpp:477989aa5e6439946b2addd0c6b3e1f328979db2 : 943 + 0x8]
21:16:16 INFO - rbp = 0x00007ffee59e6fc0 rsp = 0x00007ffee59e6ea0
21:16:16 INFO - rip = 0x000000010eb7256b
21:16:16 INFO - Found by: previous frame's frame pointer
21:16:16 INFO - 15 XUL!CallJSNative(JSContext*, bool ()(JSContext, unsigned int, JS::Value*), JS::CallArgs const&) [Interpreter.cpp:477989aa5e6439946b2addd0c6b3e1f328979db2 : 448 + 0x12]
21:16:16 INFO - rbp = 0x00007ffee59e7040 rsp = 0x00007ffee59e6fd0
21:16:16 INFO - rip = 0x000000011345ac29
21:16:16 INFO - Found by: previous frame's frame pointer
21:16:16 INFO - 16 XUL!js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct) [Interpreter.cpp:477989aa5e6439946b2addd0c6b3e1f328979db2 : 540 + 0xb]
21:16:16 INFO - rbp = 0x00007ffee59e70e0 rsp = 0x00007ffee59e7050
21:16:16 INFO - rip = 0x000000011345a537
21:16:16 INFO - Found by: previous frame's frame pointer
21:16:16 INFO - 17 XUL!Interpret(JSContext*, js::RunState&) [Interpreter.cpp:477989aa5e6439946b2addd0c6b3e1f328979db2 : 599 + 0x5]
21:16:16 INFO - rbp = 0x00007ffee59e7640 rsp = 0x00007ffee59e70f0
21:16:16 INFO - rip = 0x00000001134503ea
21:16:16 INFO - Found by: previous frame's frame pointer
21:16:16 INFO - 18 XUL!js::RunScript(JSContext*, js::RunState&) [Interpreter.cpp:477989aa5e6439946b2addd0c6b3e1f328979db2 : 425 + 0xb]
21:16:16 INFO - rbp = 0x00007ffee59e7690 rsp = 0x00007ffee59e7650
21:16:16 INFO - rip = 0x0000000113445f34
21:16:16 INFO - Found by: previous frame's frame pointer
21:16:16 INFO - 19 XUL!js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct) [Interpreter.cpp:477989aa5e6439946b2addd0c6b3e1f328979db2 : 568 + 0x8]
21:16:16 INFO - rbp = 0x00007ffee59e7730 rsp = 0x00007ffee59e76a0
21:16:16 INFO - rip = 0x000000011345a4b3
21:16:16 INFO - Found by: previous frame's frame pointer
21:16:16 INFO - 20 XUL!js::jit::DoCallFallback(JSContext*, js::jit::BaselineFrame*, js::jit::ICCall_Fallback*, unsigned int, JS::Value*, JS::MutableHandle<JS::Value>) [BaselineIC.cpp:477989aa5e6439946b2addd0c6b3e1f328979db2 : 3210 + 0x8]
21:16:16 INFO - rbp = 0x00007ffee59e7aa0 rsp = 0x00007ffee59e7740
21:16:16 INFO - rip = 0x0000000113d656f8
21:16:16 INFO - Found by: previous frame's frame pointer
21:16:16 INFO - 21 0x176288b78443
21:16:16 INFO - rbp = 0x00007ffee59e7b10 rsp = 0x00007ffee59e7ab0
21:16:16 INFO - rip = 0x0000176288b78443
21:16:16 INFO - Found by: previous frame's frame pointer
21:16:16 INFO - 22 0x10ccfb320
21:16:16 INFO - rbp = 0x00007ffee59e7bb8 rsp = 0x00007ffee59e7b20
21:16:16 INFO - rip = 0x000000010ccfb320
21:16:16 INFO - Found by: previous frame's frame pointer
21:16:16 INFO - 23 0x176288b6fac4
21:16:16 INFO - rbp = 0x00007ffee59e7c20 rsp = 0x00007ffee59e7bc8
21:16:16 INFO - rip = 0x0000176288b6fac4
21:16:16 INFO - Found by: previous frame's frame pointer
21:16:16 INFO - 24 XUL!js::jit::EnterBaselineAtBranch(JSContext*, js::InterpreterFrame*, unsigned char*) [BaselineJIT.cpp:477989aa5e6439946b2addd0c6b3e1f328979db2 : 110 + 0x3b]
21:16:16 INFO - rbp = 0x00007ffee59e7fc0 rsp = 0x00007ffee59e7c30
21:16:16 INFO - rip = 0x0000000113e2ae48
21:16:16 INFO - Found by: previous frame's frame pointer
21:16:16 INFO - 25 XUL!Interpret(JSContext*, js::RunState&) [Interpreter.cpp:477989aa5e6439946b2addd0c6b3e1f328979db2 : 1995 + 0x8]
21:16:16 INFO - rbp = 0x00007ffee59e8520 rsp = 0x00007ffee59e7fd0
21:16:16 INFO - rip = 0x00000001134474ff
21:16:16 INFO - Found by: previous frame's frame pointer
21:16:16 INFO - 26 XUL!js::RunScript(JSContext*, js::RunState&) [Interpreter.cpp:477989aa5e6439946b2addd0c6b3e1f328979db2 : 425 + 0xb]
21:16:16 INFO - rbp = 0x00007ffee59e8570 rsp = 0x00007ffee59e8530
21:16:16 INFO - rip = 0x0000000113445f34
21:16:16 INFO - Found by: previous frame's frame pointer
21:16:16 INFO - 27 XUL!js::ExecuteKernel(JSContext*, JS::Handle<JSScript*>, JSObject&, JS::Value const&, js::AbstractFramePtr, JS::Value*) [Interpreter.cpp:477989aa5e6439946b2addd0c6b3e1f328979db2 : 787 + 0xb]
21:16:16 INFO - rbp = 0x00007ffee59e8660 rsp = 0x00007ffee59e8580
21:16:16 INFO - rip = 0x000000011345cb4d
21:16:16 INFO - Found by: previous frame's frame pointer
21:16:16 INFO - 28 XUL!js::Execute(JSContext*, JS::Handle<JSScript*>, JSObject&, JS::Value*) [Interpreter.cpp:477989aa5e6439946b2addd0c6b3e1f328979db2 : 820 + 0x28]
21:16:16 INFO - rbp = 0x00007ffee59e86d0 rsp = 0x00007ffee59e8670
21:16:16 INFO - rip = 0x000000011345cfca
21:16:16 INFO - Found by: previous frame's frame pointer
21:16:16 INFO - 29 XUL!JS::EvaluateDontInflate(JSContext*, JS::ReadOnlyCompileOptions const&, JS::SourceText<mozilla::Utf8Unit>&, JS::MutableHandle<JS::Value>) [CompilationAndEvaluation.cpp:477989aa5e6439946b2addd0c6b3e1f328979db2 : 586 + 0x250]
21:16:16 INFO - rbp = 0x00007ffee59e88e0 rsp = 0x00007ffee59e86e0
21:16:16 INFO - rip = 0x000000011359cdd3
21:16:16 INFO - Found by: previous frame's frame pointer
21:16:16 INFO - 30 XUL!XRE_XPCShellMain(int, char**, char**, XREShellData const*) [XPCShellImpl.cpp:477989aa5e6439946b2addd0c6b3e1f328979db2 : 997 + 0x1a]
21:16:16 INFO - rbp = 0x00007ffee59e8ce0 rsp = 0x00007ffee59e88f0
21:16:16 INFO - rip = 0x000000010eb5ad44
21:16:16 INFO - Found by: previous frame's frame pointer
21:16:16 INFO - 31 xpcshell!main [xpcshell.cpp:477989aa5e6439946b2addd0c6b3e1f328979db2 : 65 + 0x12]
21:16:16 INFO - rbp = 0x00007ffee59e8d20 rsp = 0x00007ffee59e8cf0
21:16:16 INFO - rip = 0x000000010a217e85
21:16:16 INFO - Found by: previous frame's frame pointer
21:16:16 INFO - 32 libdyld.dylib!start + 0x1
21:16:16 INFO - rbp = 0x00007ffee59e8d38 rsp = 0x00007ffee59e8d30
21:16:16 INFO - rip = 0x00007fff6fd3e085
21:16:16 INFO - Found by: previous frame's frame pointer
21:16:16 INFO - 33 libdyld.dylib!start + 0x1
21:16:16 INFO - rbp = 0x00007ffee59e8d38 rsp = 0x00007ffee59e8d38
21:16:16 INFO - rip = 0x00007fff6fd3e085
21:16:16 INFO - Found by: stack scanning

Proposal to temporarily disable this test on macosx1014-64/debug temporarily due to large spike in intermittent failure. The patch is located at https://phabricator.services.mozilla.com/D37458.

I'd like to also put this on Valentin's plate.

Assignee: nobody → valentin.gosu
Priority: -- → P3
Whiteboard: [necko-triaged]
Type: -- → defect
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → MOVED
You need to log in before you can comment on or make changes to this bug.