Skip to content
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

dont use AVX512 with asan #398

Merged
merged 1 commit into from
Feb 14, 2023
Merged

Conversation

Yuval-Ariel
Copy link
Contributor

No description provided.

@Yuval-Ariel Yuval-Ariel self-assigned this Feb 13, 2023
@Yuval-Ariel Yuval-Ariel linked an issue Feb 13, 2023 that may be closed by this pull request
@Yuval-Ariel Yuval-Ariel force-pushed the 284-stress-test-error-segv-from-xxh3 branch from 555114f to 666d92f Compare February 13, 2023 10:51
@Yuval-Ariel
Copy link
Contributor Author

the problem doesnt reproduce with this branch

@udi-speedb
Copy link
Contributor

@Yuval-Ariel Please add a comment explaining why you avoid using AVX512 when MUST_FREE_HEAP_ALLOCATIONS (== ASAN).

@Yuval-Ariel Yuval-Ariel force-pushed the 284-stress-test-error-segv-from-xxh3 branch from 666d92f to e9f809e Compare February 13, 2023 17:05
@Yuval-Ariel
Copy link
Contributor Author

@Yuval-Ariel Please add a comment explaining why you avoid using AVX512 when MUST_FREE_HEAP_ALLOCATIONS (== ASAN).

right you are, done

@mrambacher
Copy link
Contributor

Do we understand why this happens on the Speedb code and is not seen in Rocks? Is it a different test suite or something different?

@udi-speedb
Copy link
Contributor

Do we understand why this happens on the Speedb code and is not seen in Rocks? Is it a different test suite or something different?

Unless I am mistaken, it does happen in RocksDB as well. This is a workaround that would let us test with ASAN. We should open an issue for RocksDB.
@Yuval-Ariel - Please confirm or correct me as applicable. Thanks

@Yuval-Ariel
Copy link
Contributor Author

yes, @udi-speedb is correct.

@Yuval-Ariel Yuval-Ariel merged commit 2369e50 into main Feb 14, 2023
@Yuval-Ariel Yuval-Ariel deleted the 284-stress-test-error-segv-from-xxh3 branch February 16, 2023 14:49
ayulas pushed a commit that referenced this pull request Feb 26, 2023
avoid these functions when running with ASAN since they caused errors in the stress test.
this happens in rocksdb as well and this is only meant as a workaround to continue ASAN testing.
Yuval-Ariel added a commit that referenced this pull request May 1, 2023
avoid these functions when running with ASAN since they caused errors in the stress test.
this happens in rocksdb as well and this is only meant as a workaround to continue ASAN testing.
Yuval-Ariel added a commit that referenced this pull request May 3, 2023
the previous commit disabled all the rest of the XXH optimizations
since it didnt prevent the XXH_VECTOR from being defined as XXH_AVX512.
Yuval-Ariel added a commit that referenced this pull request May 4, 2023
avoid these functions when running with ASAN since they caused errors in the stress test.
this happens in rocksdb as well and this is only meant as a workaround to continue ASAN testing.
Yuval-Ariel added a commit that referenced this pull request May 11, 2023
the previous commit disabled all the rest of the XXH optimizations
since it didnt prevent the XXH_VECTOR from being defined as XXH_AVX512.
Yuval-Ariel added a commit that referenced this pull request May 11, 2023
fix - AXV512: don't use XXH3_accumulate_512 with ASAN (#398)
the previous commit disabled all the rest of the XXH optimizations
since it didnt prevent the XXH_VECTOR from being defined as XXH_AVX512.
udi-speedb pushed a commit that referenced this pull request Nov 13, 2023
avoid these functions when running with ASAN since they caused errors in the stress test.
this happens in rocksdb as well and this is only meant as a workaround to continue ASAN testing.
udi-speedb pushed a commit that referenced this pull request Nov 15, 2023
avoid these functions when running with ASAN since they caused errors in the stress test.
this happens in rocksdb as well and this is only meant as a workaround to continue ASAN testing.
udi-speedb pushed a commit that referenced this pull request Nov 19, 2023
fix - AXV512: don't use XXH3_accumulate_512 with ASAN (#398)
the previous commit disabled all the rest of the XXH optimizations
since it didnt prevent the XXH_VECTOR from being defined as XXH_AVX512.
udi-speedb pushed a commit that referenced this pull request Dec 4, 2023
avoid these functions when running with ASAN since they caused errors in the stress test.
this happens in rocksdb as well and this is only meant as a workaround to continue ASAN testing.
udi-speedb pushed a commit that referenced this pull request Dec 5, 2023
fix - AXV512: don't use XXH3_accumulate_512 with ASAN (#398)
the previous commit disabled all the rest of the XXH optimizations
since it didnt prevent the XXH_VECTOR from being defined as XXH_AVX512.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

stress test error: SEGV from XXH3
3 participants