Open
Bug 1943866
Opened 24 days ago
Updated 2 days ago
Intermittent [tier 2] SUMMARY: AddressSanitizer: access-violation /builds/worker/checkouts/gecko/xpcom/tests/gtest/TestAvailableMemoryWatcherWin.cpp:136 in `anonymous namespace'::MemoryEater::TouchMemory
Categories
(Core :: XPCOM, defect)
Core
XPCOM
Tracking
()
NEW
People
(Reporter: intermittent-bug-filer, Unassigned)
Details
(Keywords: intermittent-failure)
Filed by: amarc [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=491894117&repo=mozilla-central
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/RekrRjXoRKea-ZO71DO6hg/runs/0/artifacts/public/logs/live_backing.log
[task 2025-01-26T22:32:58.870Z] 22:32:58 INFO - TEST-START | AvailableMemoryWatcherFixture.HighCommitSpace_InactiveToActive
[task 2025-01-26T22:32:58.875Z] 22:32:58 INFO - Setting browser.low_commit_space_threshold_mb to 30005
[task 2025-01-26T22:32:58.902Z] 22:32:58 INFO - Setting browser.low_commit_space_threshold_mb to 600
[task 2025-01-26T22:32:58.905Z] 22:32:58 INFO - Total physical memory = 65534l
[task 2025-01-26T22:32:58.905Z] 22:32:58 INFO - Available commit space = 60011l
[task 2025-01-26T22:32:58.905Z] 22:32:58 INFO - Amount to allocate = 55109l
[task 2025-01-26T22:32:58.905Z] 22:32:58 INFO - Future available commit space after allocation = 4902
[task 2025-01-26T22:33:18.910Z] 22:33:18 INFO - The memory notification was not triggered.
[task 2025-01-26T22:33:23.744Z] 22:33:23 INFO - =================================================================
[task 2025-01-26T22:33:23.748Z] 22:33:23 ERROR - ==1980==ERROR: AddressSanitizer: access-violation on unknown address 0x0431d15d405b (pc 0x7ffe834c615e bp 0x00e133fffc30 sp 0x00e133fffae0 T846)
[task 2025-01-26T22:33:23.749Z] 22:33:23 INFO - ==1980==The signal is caused by a READ memory access.
[task 2025-01-26T22:33:27.794Z] 22:33:27 INFO - ==1980==*** WARNING: Failed to initialize DbgHelp! ***
[task 2025-01-26T22:33:27.795Z] 22:33:27 INFO - ==1980==*** Most likely this means that the app is already ***
[task 2025-01-26T22:33:27.795Z] 22:33:27 INFO - ==1980==*** using DbgHelp, possibly with incompatible flags. ***
[task 2025-01-26T22:33:27.795Z] 22:33:27 INFO - ==1980==*** Due to technical reasons, symbolization might crash ***
[task 2025-01-26T22:33:27.795Z] 22:33:27 INFO - ==1980==*** or produce wrong results. ***
[task 2025-01-26T22:33:39.688Z] 22:33:39 INFO - #0 0x7ffe834c615d in `anonymous namespace'::MemoryEater::TouchMemory /builds/worker/checkouts/gecko/xpcom/tests/gtest/TestAvailableMemoryWatcherWin.cpp:136
[task 2025-01-26T22:33:39.701Z] 22:33:39 INFO - #1 0x7ffe834c615d in `anonymous namespace'::MemoryEater::AddWorkingSet /builds/worker/checkouts/gecko/xpcom/tests/gtest/TestAvailableMemoryWatcherWin.cpp:179
[task 2025-01-26T22:33:39.701Z] 22:33:39 INFO - #2 0x7ffe834c615d in `anonymous namespace'::MemoryEater::ThreadProc /builds/worker/checkouts/gecko/xpcom/tests/gtest/TestAvailableMemoryWatcherWin.cpp:220
[task 2025-01-26T22:33:39.702Z] 22:33:39 INFO - #3 0x7ffe834c615d in `anonymous namespace'::MemoryEater::ThreadStart /builds/worker/checkouts/gecko/xpcom/tests/gtest/TestAvailableMemoryWatcherWin.cpp:126
[task 2025-01-26T22:33:39.702Z] 22:33:39 INFO - #4 0x7ffea6d7a31d in asan_thread_start /builds/worker/fetches/llvm-project/compiler-rt/lib/asan/asan_win.cpp:147
[task 2025-01-26T22:33:39.702Z] 22:33:39 INFO - #5 0x7ffedc58e8d6 (C:\Windows\System32\KERNEL32.DLL+0x18002e8d6)
[task 2025-01-26T22:33:39.704Z] 22:33:39 INFO - #6 0x7ffeb085d50c in mozilla::interceptor::FuncHook<mozilla::interceptor::WindowsDllInterceptor<mozilla::interceptor::VMSharingPolicyShared>,void (*)(int, void *, void *)>::operator() /builds/worker/checkouts/gecko/toolkit/xre/dllservices/mozglue/nsWindowsDllInterceptor.h:150
[task 2025-01-26T22:33:39.705Z] 22:33:39 INFO - #7 0x7ffeb085d50c in patched_BaseThreadInitThunk /builds/worker/checkouts/gecko/toolkit/xre/dllservices/mozglue/WindowsDllBlocklist.cpp:562
[task 2025-01-26T22:33:39.705Z] 22:33:39 INFO - #8 0x7ffeddb5fbcb (C:\Windows\SYSTEM32\ntdll.dll+0x1800dfbcb)
[task 2025-01-26T22:33:39.705Z] 22:33:39 INFO - AddressSanitizer can not provide additional info.
[task 2025-01-26T22:33:39.705Z] 22:33:39 INFO - SUMMARY: AddressSanitizer: access-violation /builds/worker/checkouts/gecko/xpcom/tests/gtest/TestAvailableMemoryWatcherWin.cpp:136 in `anonymous namespace'::MemoryEater::TouchMemory
[task 2025-01-26T22:33:39.706Z] 22:33:39 INFO - Thread T846 created by T0 here:
[task 2025-01-26T22:33:39.714Z] 22:33:39 INFO - #0 0x7ffea6d7a232 in CreateThread /builds/worker/fetches/llvm-project/compiler-rt/lib/asan/asan_win.cpp:158
[task 2025-01-26T22:33:39.714Z] 22:33:39 INFO - #1 0x7ffe834ca133 in `anonymous namespace'::MemoryEater::MemoryEater /builds/worker/checkouts/gecko/xpcom/tests/gtest/TestAvailableMemoryWatcherWin.cpp:243
[task 2025-01-26T22:33:39.715Z] 22:33:39 INFO - #2 0x7ffe834ca133 in AvailableMemoryWatcherFixture::AvailableMemoryWatcherFixture /builds/worker/checkouts/gecko/xpcom/tests/gtest/TestAvailableMemoryWatcherWin.cpp:285
[task 2025-01-26T22:33:39.716Z] 22:33:39 INFO - #3 0x7ffe834ca133 in AvailableMemoryWatcherFixture_HighCommitSpace_InactiveToActive_Test::AvailableMemoryWatcherFixture_HighCommitSpace_InactiveToActive_Test /builds/worker/checkouts/gecko/xpcom/tests/gtest/TestAvailableMemoryWatcherWin.cpp:620
[task 2025-01-26T22:33:39.716Z] 22:33:39 INFO - #4 0x7ffe834ca133 in testing::internal::TestFactoryImpl<class AvailableMemoryWatcherFixture_HighCommitSpace_InactiveToActive_Test>::CreateTest(void) /builds/worker/workspace/obj-build/dist/include/gtest/internal/gtest-internal.h:456
[task 2025-01-26T22:33:39.717Z] 22:33:39 INFO - #5 0x7ffe8436e0f6 in testing::internal::HandleSehExceptionsInMethodIfSupported<class testing::internal::UnitTestImpl, bool>(class testing::internal::UnitTestImpl *, bool (__cdecl testing::internal::UnitTestImpl::*)(void), char const *) /builds/worker/checkouts/gecko/third_party/googletest/googletest/src/gtest.cc:2646
[task 2025-01-26T22:33:39.717Z] 22:33:39 INFO - #6 0x7ffe84314500 in testing::internal::HandleExceptionsInMethodIfSupported /builds/worker/checkouts/gecko/third_party/googletest/googletest/src/gtest.cc:2708
[task 2025-01-26T22:33:39.718Z] 22:33:39 INFO - #7 0x7ffe84314500 in testing::TestInfo::Run(void) /builds/worker/checkouts/gecko/third_party/googletest/googletest/src/gtest.cc:2864
[task 2025-01-26T22:33:39.718Z] 22:33:39 INFO - #8 0x7ffe84317ac8 in testing::TestSuite::Run(void) /builds/worker/checkouts/gecko/third_party/googletest/googletest/src/gtest.cc:3052
[task 2025-01-26T22:33:39.718Z] 22:33:39 INFO - #9 0x7ffe8434d661 in testing::internal::UnitTestImpl::RunAllTests(void) /builds/worker/checkouts/gecko/third_party/googletest/googletest/src/gtest.cc:6020
[task 2025-01-26T22:33:39.718Z] 22:33:39 INFO - #10 0x7ffe8436e0f6 in testing::internal::HandleSehExceptionsInMethodIfSupported<class testing::internal::UnitTestImpl, bool>(class testing::internal::UnitTestImpl *, bool (__cdecl testing::internal::UnitTestImpl::*)(void), char const *) /builds/worker/checkouts/gecko/third_party/googletest/googletest/src/gtest.cc:2646
[task 2025-01-26T22:33:39.719Z] 22:33:39 INFO - #11 0x7ffe8434c47e in testing::internal::HandleExceptionsInMethodIfSupported /builds/worker/checkouts/gecko/third_party/googletest/googletest/src/gtest.cc:2708
[task 2025-01-26T22:33:39.719Z] 22:33:39 INFO - #12 0x7ffe8434c47e in testing::UnitTest::Run(void) /builds/worker/checkouts/gecko/third_party/googletest/googletest/src/gtest.cc:5599
[task 2025-01-26T22:33:39.719Z] 22:33:39 INFO - #13 0x7ffe842a002b in RUN_ALL_TESTS /builds/worker/workspace/obj-build/dist/include/gtest/gtest.h:2336
[task 2025-01-26T22:33:39.719Z] 22:33:39 INFO - #14 0x7ffe842a002b in mozilla::RunGTestFunc(int *, char **) /builds/worker/checkouts/gecko/testing/gtest/mozilla/GTestRunner.cpp:172
[task 2025-01-26T22:33:39.720Z] 22:33:39 INFO - #15 0x7ffe9406fd4c in XREMain::XRE_mainStartup(bool *) /builds/worker/checkouts/gecko/toolkit/xre/nsAppRunner.cpp:4768
[task 2025-01-26T22:33:39.720Z] 22:33:39 INFO - #16 0x7ffe9407fdc1 in XREMain::XRE_main(int, char **const, struct mozilla::BootstrapConfig const &) /builds/worker/checkouts/gecko/toolkit/xre/nsAppRunner.cpp:6064
[task 2025-01-26T22:33:39.720Z] 22:33:39 INFO - #17 0x7ffe94080f14 in XRE_main(int, char **const, struct mozilla::BootstrapConfig const &) /builds/worker/checkouts/gecko/toolkit/xre/nsAppRunner.cpp:6162
[task 2025-01-26T22:33:39.720Z] 22:33:39 INFO - #18 0x7ff684892621 in do_main /builds/worker/checkouts/gecko/browser/app/nsBrowserApp.cpp:232
[task 2025-01-26T22:33:39.721Z] 22:33:39 INFO - #19 0x7ff684892621 in NS_internal_main(int, char **, char **) /builds/worker/checkouts/gecko/browser/app/nsBrowserApp.cpp:464
[task 2025-01-26T22:33:39.721Z] 22:33:39 INFO - #20 0x7ff684891436 in wmain /builds/worker/checkouts/gecko/toolkit/xre/nsWindowsWMain.cpp:151
[task 2025-01-26T22:33:39.721Z] 22:33:39 INFO - #21 0x7ff68496b1b7 in invoke_main D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:90
[task 2025-01-26T22:33:39.721Z] 22:33:39 INFO - #22 0x7ff68496b1b7 in __scrt_common_main_seh D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288
[task 2025-01-26T22:33:39.722Z] 22:33:39 INFO - #23 0x7ffedc58e8d6 (C:\Windows\System32\KERNEL32.DLL+0x18002e8d6)
[task 2025-01-26T22:33:39.722Z] 22:33:39 INFO - #24 0x7ffeddb5fbcb (C:\Windows\SYSTEM32\ntdll.dll+0x1800dfbcb)
[task 2025-01-26T22:33:39.723Z] 22:33:39 INFO - ==1980==ABORTING
[task 2025-01-26T22:33:42.531Z] 22:33:42 INFO - gtest INFO | gtest | process wait complete, returncode=1
[task 2025-01-26T22:33:42.531Z] 22:33:42 INFO - mozcrash checking D:\task_173793039159672\build\tests\gtest for minidumps...
[task 2025-01-26T22:33:42.547Z] 22:33:42 WARNING - gtest TEST-UNEXPECTED-FAIL | gtest | test failed with return code 1
[task 2025-01-26T22:33:42.551Z] 22:33:42 INFO - gtest INFO | rungtests.py exits with code 1
[task 2025-01-26T22:33:42.635Z] 22:33:42 INFO - Return code: 1
[task 2025-01-26T22:33:42.639Z] 22:33:42 ERROR - No tests run or test summary not found
[task 2025-01-26T22:33:42.639Z] 22:33:42 INFO - TinderboxPrint: gtest-gtest<br/><em class="testfail">T-FAIL</em>
[task 2025-01-26T22:33:42.640Z] 22:33:42 WARNING - setting return code to 2
[task 2025-01-26T22:33:42.640Z] 22:33:42 INFO - The gtest suite: gtest ran with return status: FAILURE
[task 2025-01-26T22:33:42.643Z] 22:33:42 INFO - Running post-action listener: _package_coverage_data
[task 2025-01-26T22:33:42.644Z] 22:33:42 INFO - Running post-action listener: _resource_record_post_action
[task 2025-01-26T22:33:42.644Z] 22:33:42 INFO - Running post-action listener: process_java_coverage_data
[task 2025-01-26T22:33:42.645Z] 22:33:42 INFO - [mozharness: 2025-01-26 22:33:42.645022Z] Finished run-tests step (success)
[task 2025-01-26T22:33:42.645Z] 22:33:42 INFO - [mozharness: 2025-01-26 22:33:42.645564Z] Running uninstall step.
[task 2025-01-26T22:33:42.645Z] 22:33:42 INFO - Running pre-action listener: _resource_record_pre_action
[task 2025-01-26T22:33:42.645Z] 22:33:42 INFO - Running main action method: uninstall
[task 2025-01-26T22:33:42.645Z] 22:33:42 INFO - Skipping uninstall for non-MSIX test
[task 2025-01-26T22:33:42.646Z] 22:33:42 INFO - Running post-action listener: _resource_record_post_action
[task 2025-01-26T22:33:42.646Z] 22:33:42 INFO - [mozharness: 2025-01-26 22:33:42.646112Z] Finished uninstall step (success)
[task 2025-01-26T22:33:42.646Z] 22:33:42 INFO - Running post-run listener: _resource_record_post_run
[task 2025-01-26T22:33:43.019Z] 22:33:43 INFO - Validating Perfherder data against D:\task_173793039159672\mozharness\external_tools\performance-artifact-schema.json
[task 2025-01-26T22:33:43.024Z] 22:33:43 INFO - PERFHERDER_DATA: {"framework": {"name": "job_resource_usage"}, "suites": [{"name": "gtest.gtest.overall", "extraOptions": ["taskcluster-Standard_E8ads_v5"], "subtests": [{"name": "cpu_percent", "value": 47.758141259698775}, {"name": "io_write_bytes", "value": 5052858880}, {"name": "io.read_bytes", "value": 1822872064}, {"name": "io_write_time", "value": 2}, {"name": "io_read_time", "value": 75}]}, {"name": "gtest.gtest.start-pulseaudio", "subtests": [{"name": "time", "value": 0.0}, {"name": "cpu_percent", "value": 0}]}, {"name": "gtest.gtest.install", "subtests": [{"name": "time", "value": 8.328000000000003}, {"name": "cpu_percent", "value": 51.157305194805204}]}, {"name": "gtest.gtest.stage-files", "subtests": [{"name": "time", "value": 0.6869999999999834}, {"name": "cpu_percent", "value": 50.0}]}, {"name": "gtest.gtest.run-tests", "subtests": [{"name": "time", "value": 214.39100000000002}, {"name": "cpu_percent", "value": 47.62449548907882}]}, {"name": "gtest.gtest.uninstall", "subtests": [{"name": "time", "value": 0.0}, {"name": "cpu_percent", "value": 0}]}]}
[task 2025-01-26T22:33:43.024Z] 22:33:43 INFO - Total resource usage - Wall time: 224s; CPU: Can't collect data; Read bytes: 1822872064; Write bytes: 5052858880; Read time: 75; Write time: 2
[task 2025-01-26T22:33:43.024Z] 22:33:43 INFO - TinderboxPrint: I/O read bytes / time<br/>1,822,872,064 / 75
[task 2025-01-26T22:33:43.024Z] 22:33:43 INFO - TinderboxPrint: I/O write bytes / time<br/>5,052,858,880 / 2
[task 2025-01-26T22:33:43.024Z] 22:33:43 INFO - TinderboxPrint: CPU idle<br/>941.1 (52.6%)
[task 2025-01-26T22:33:43.024Z] 22:33:43 INFO - TinderboxPrint: CPU system<br/>350.9 (19.6%)
[task 2025-01-26T22:33:43.024Z] 22:33:43 INFO - TinderboxPrint: CPU user<br/>490.5 (27.4%)
[task 2025-01-26T22:33:43.024Z] 22:33:43 INFO - start-pulseaudio - Wall time: 0s; CPU: Can't collect data; Read bytes: 0; Write bytes: 0; Read time: 0; Write time: 0
[task 2025-01-26T22:33:43.025Z] 22:33:43 INFO - install - Wall time: 8s; CPU: 51%; Read bytes: 811520; Write bytes: 363245568; Read time: 0; Write time: 0
[task 2025-01-26T22:33:43.025Z] 22:33:43 INFO - stage-files - Wall time: 1s; CPU: 50%; Read bytes: 0; Write bytes: 92311552; Read time: 0; Write time: 0
[task 2025-01-26T22:33:43.038Z] 22:33:43 INFO - run-tests - Wall time: 214s; CPU: 48%; Read bytes: 1822060544; Write bytes: 4597297664; Read time: 75; Write time: 2
[task 2025-01-26T22:33:43.039Z] 22:33:43 INFO - uninstall - Wall time: 0s; CPU: Can't collect data; Read bytes: 0; Write bytes: 0; Read time: 0; Write time: 0
[task 2025-01-26T22:33:43.684Z] 22:33:43 WARNING - returning nonzero exit status 2
[taskcluster 2025-01-26T22:33:43.774Z] Exit Code: 2
[taskcluster 2025-01-26T22:33:43.774Z] User Time: 31.25ms
[taskcluster 2025-01-26T22:33:43.774Z] Kernel Time: 31.25ms
[taskcluster 2025-01-26T22:33:43.774Z] Wall Time: 5m44.2944481s
[taskcluster 2025-01-26T22:33:43.774Z] Result: FAILED
[taskcluster 2025-01-26T22:33:43.776Z] === Task Finished ===
[taskcluster 2025-01-26T22:33:43.777Z] Task Duration: 5m44.2994145s
[taskcluster 2025-01-26T22:33:44.199Z] Uploading artifact public/test_info/resource-usage.json from file D:\task_173793039159672\build\blobber_upload_dir\resource-usage.json with content encoding "gzip", mime type "application/json" and expiry 2025-04-26T21:34:09.709Z
[taskcluster 2025-01-26T22:33:44.210Z] Uploading artifact public/logs/localconfig.json from file D:\task_173793039159672\logs\localconfig.json with content encoding "gzip", mime type "application/json" and expiry 2025-04-26T21:34:09.709Z
[taskcluster 2025-01-26T22:33:44.210Z] Uploading artifact public/test_info/profile_resource-usage.json from file D:\task_173793039159672\build\blobber_upload_dir\profile_resource-usage.json with content encoding "gzip", mime type "application/json" and expiry 2025-04-26T21:34:09.709Z
[taskcluster 2025-01-26T22:33:44.224Z] Uploading artifact public/test_info/system-info.log from file D:\task_173793039159672\build\blobber_upload_dir\system-info.log with content encoding "gzip", mime type "text/plain" and expiry 2025-04-26T21:34:09.709Z
[taskcluster 2025-01-26T22:33:44.550Z] Uploading link artifact public/logs/live.log to artifact public/logs/live_backing.log with expiry 2025-04-26T21:34:09.709Z
[taskcluster:error] exit status 2
Updated•23 days ago
|
Group: core-security → dom-core-security
Comment 1•22 days ago
|
||
Maybe we can unhide this? It looks like we're crashing while running this MemoryEater thing, but that's just a test only kind of function?
Flags: needinfo?(gsvelto)
Updated•22 days ago
|
Group: dom-core-security
Comment hidden (Intermittent Failures Robot) |
You need to log in
before you can comment on or make changes to this bug.
Description
•