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

ASAN reports a memory error when running AzCore.Test #18471

Open
djfos opened this issue Nov 14, 2024 · 0 comments · May be fixed by #18472
Open

ASAN reports a memory error when running AzCore.Test #18471

djfos opened this issue Nov 14, 2024 · 0 comments · May be fixed by #18472
Labels
kind/bug Categorizes issue or PR as related to a bug. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. sig/core Categorizes an issue or PR as relevant to SIG Core

Comments

@djfos
Copy link
Contributor

djfos commented Nov 14, 2024

Describe the bug
Address sanitizer reports a memory error when running AzCore.Test. This is a konwn bug of google test.

[Bug]: ASAN heap-buffer-overflow in ParseGoogleTestFlagsOnlyImpl() in gtest.cc · Issue #4532 · google/googletest

It prevents us to debug code using ASAN through unit tests.

Assets required
None.

Steps to reproduce
Steps to reproduce the behavior:

  1. Config project with -DLY_BUILD_WITH_ADDRESS_SANITIZER=ON.
  2. Build and run AzCore.Test in debug configration.
  3. See error.

Expected behavior
Test start successfully.

Actual behavior
Test crash.

Found in Branch
latest commit on development branch.

Desktop/Device:

  • Device: PC
  • OS: Windows
  • Version 11
  • CPU 12th Gen Intel(R) Core(TM) i7-12700KF
  • GPU NVIDIA GeForce RTX 3080
  • Memory 64GB
@djfos djfos added kind/bug Categorizes issue or PR as related to a bug. needs-sig Indicates an issue or PR lacks a `sig/foo` label and requires one. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. labels Nov 14, 2024
@djfos djfos linked a pull request Nov 14, 2024 that will close this issue
@michalpelka michalpelka added sig/core Categorizes an issue or PR as relevant to SIG Core and removed needs-sig Indicates an issue or PR lacks a `sig/foo` label and requires one. labels Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. sig/core Categorizes an issue or PR as relevant to SIG Core
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants