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

forbid gwpsan in debug mode to rescue stress tests #48804

Merged

Conversation

hanfei1991
Copy link
Member

temporarily fix #47646

Changelog category (leave one):

  • Not for changelog (changelog entry is not required)

Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):

...

Documentation entry for user-facing changes

  • Documentation is written (mandatory for new features)

Information about CI checks: https://clickhouse.com/docs/en/development/continuous-integration/

@robot-ch-test-poll4 robot-ch-test-poll4 added the pr-not-for-changelog This PR should not be mentioned in the changelog label Apr 15, 2023
@alexey-milovidov alexey-milovidov self-assigned this Apr 15, 2023
@alexey-milovidov
Copy link
Member

Ok. I've added a comment.
We always write comments in non-obvious places.
Please check it.

Co-authored-by: Alexey Milovidov <milovidov@clickhouse.com>
@alexey-milovidov alexey-milovidov merged commit 629bbbd into ClickHouse:master Apr 16, 2023
138 checks passed
# but GWP-ASan also wants to use mmap frequently,
# and due to a large number of memory mappings,
# it does not work together well.
if ((NOT OS_LINUX AND NOT OS_ANDROID) OR (CMAKE_BUILD_TYPE_UC STREQUAL "DEBUG"))
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually this looks odd, since someone may expect from debug build to have as much checks as possible, instead, maybe it is better to disable it in runtime? i.e.

GWP_ASAN_OPTIONS="Enabled=false"

@hanfei1991 what do you think?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr-not-for-changelog This PR should not be mentioned in the changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SIGILL in gwp asan: Failed to deallocate in guarded pool allocator memory
4 participants