Skip to content

[Mellanox][asan] disable fast_unwind_on_malloc for mlnx syncd#14858

Merged
liat-grozovik merged 1 commit intosonic-net:masterfrom
Yakiv-Huryk:asan-syncd-no-fast-unwind
May 10, 2023
Merged

[Mellanox][asan] disable fast_unwind_on_malloc for mlnx syncd#14858
liat-grozovik merged 1 commit intosonic-net:masterfrom
Yakiv-Huryk:asan-syncd-no-fast-unwind

Conversation

@Yakiv-Huryk
Copy link
Copy Markdown
Contributor

@Yakiv-Huryk Yakiv-Huryk commented Apr 26, 2023

Why I did it

To improve ASAN backtrace output when the call stack contains a code that is not compiled with -fno-omit-frame-pointer.

Work item tracking
  • Microsoft ADO (number only):

How I did it

Added fast_unwind_on_malloc=0 to the ASAN_OPTIONS

How to verify it

Build and test docker-syncd-mlnx.gz with ENABLE_ASAN=y

Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111
  • 202205
  • 202211

Tested branch (Please provide the tested image version)

Description for the changelog

Link to config_db schema for YANG module changes

A picture of a cute animal (not mandatory but encouraged)

This is to improve ASAN backtrace output when the call stack contains a
code that is not compiled with -fno-omit-frame-pointer.

Signed-off-by: Yakiv Huryk <yhuryk@nvidia.com>
@Yakiv-Huryk Yakiv-Huryk requested a review from lguohan as a code owner April 26, 2023 16:33
@liat-grozovik
Copy link
Copy Markdown
Collaborator

@xumia can you please review?

@liat-grozovik liat-grozovik merged commit fa02411 into sonic-net:master May 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants