New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 630195 link

Starred by 2 users

Issue metadata

Status: Archived
Owner: ----
Closed: Jul 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 2
Type: Bug



Sign in to add a comment

ASAN/LeakSanitizer doesn't warn if external_symbolizer_path is invalid

Project Member Reported by mlamouri@chromium.org, Jul 21 2016

Issue description

I've been running this command:
> CHROMIUM_OUTPUT_DIR=out/asan ASAN_OPTIONS="detect_leaks=1 symbolize=1 external_symbolizer_path=$SRC/third_party/llvm-build/Release+Asserts/bin/llvm-symbolizer" out/asan/content_unittests --gtest_filter="AudioFocus*StopsDucking"

Based on the command found in the doc: https://www.chromium.org/developers/testing/leaksanitizer

Which is:
> ASAN_OPTIONS="detect_leaks=1 symbolize=1 external_symbolizer_path=$SRC/third_party/llvm-build/Release+Asserts/bin/llvm-symbolizer" out/Release/base_unittests

I had no symbol and couldn't figure out why until primiano@ pointed the $SRC to me. There might be a message somewhere but with a very long output full of addresses, I've never seen it.

ON the other hand, if I try to run the same command with a symbolizer that isn't allowed like "tools/valgrind/asan/third_party/asan_symbolize.py", I get the following message:
==10045==ERROR: External symbolizer path is set to '/tools/valgrind/asan/third_party/asan_symbolize.py' which isn't a known symbolizer. Please set the path to the llvm-symbolizer binary or other known tool.

It sounds like it would be very helpful to get a similar message if the external_symbolizer_path is invalid :)
 
Cc: krasin@chromium.org
Project Member

Comment 2 by sheriffbot@chromium.org, Jul 24 2017

Status: Archived (was: Unconfirmed)
Issue has not been modified or commented on in the last 365 days, please re-open or file a new bug if this is still an issue.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Sign in to add a comment