-
Notifications
You must be signed in to change notification settings - Fork 6.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SEGVs and gtest failures on ARM Mac #11717
Comments
On further investigation (using an ASAN build) I discovered that the SEGV is caused by the test failing; when the GTEST ASSERT fails, the test breaks and the I've checked, and it seems there are many test susceptible to this "SEGV on failing test" issue. But maybe it is simplest to make the tests work ? |
While I'm yet to repro on my machines, I suspect it's due to the file number is not 3 as intended. I made a harmless-fix-anyway #11720 to that. Would you mind trying this and see if the failures are gone? |
That fixes the problem on my ARM64/M1. All previously broken tests passing now, thanks. |
…11720) Summary: **Context/Summary:** as title, should be harmless. And it's a guessed fix to #11717 while no repro has obtained on my end yet. Pull Request resolved: #11720 Test Plan: existing tests Reviewed By: cbi42 Differential Revision: D48475661 Pulled By: hx235 fbshipit-source-id: 7c7390319f094c540e703fe2e78a8d601b7a894b
f53018c is now merged. Thanks! |
We are bringing the cmake build for Mac up to date on ARM.
See PRs #11633 and #11543 which are the WIP cmake CI work.
We discovered that
prefetch_test
fails (SEGVs and test failures) consistently when run under cmake on ARM Macs, in CI and on an M1 Macbook Pro - this would appear to be a RocksDB/ARM issue.I notice there have been some fairly recent changes to these tests by @hx235 @ajkr - that may or may not be related
in #11631
Expected behavior
Tests pass, no SEGVs.
Actual behavior
SEGVs and failed tests. ctest.log
Steps to reproduce the behavior
Now cut down the number of tests to run by editing
CTestTestfile.cmake
to just include the prefetch_testrun it
and re-run the failed tests to see the details:
This will generate the same output as ctest.log
The text was updated successfully, but these errors were encountered: