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

Running ASAN over google test hanging system and failing ASAN with no reason #1323

Closed
tejas3 opened this issue Sep 28, 2020 · 7 comments
Closed

Comments

@tejas3
Copy link

tejas3 commented Sep 28, 2020

ASAN consuming 100 CPU and RAM which leads to failure of ASAN every time, seems like timeout issue.

Current configuration:
32 GB Ram, I7 processor, 1 TB HD
OS: Ubuntu 16
ASAN Option: "report_objects=1

@kcc
Copy link
Contributor

kcc commented Sep 28, 2020

This information is not sufficient for us to help you.
Ideally, please provide a reproducer.
Failing that, show the stack trace where the application is stuck and/or show the 'perf' profile.

@kcc kcc closed this as completed Sep 28, 2020
@tejas3
Copy link
Author

tejas3 commented Sep 28, 2020

what do you mean by reproducer ?
currently using clang compiler

@kcc
Copy link
Contributor

kcc commented Sep 28, 2020

We can not fix a problem w/o being able to reproduce it, or at least to get some idea of what's going on.
The better and the smaller is the reproducer, the more chances are that we will be able to fix it.

@tejas3
Copy link
Author

tejas3 commented Sep 28, 2020

okay, got it..
Could you please help me with some pointer to look?
I think it is timeout issue.

@tejas3
Copy link
Author

tejas3 commented Sep 28, 2020

please suggest some ASAN flags by which we can track this issue

@kcc
Copy link
Contributor

kcc commented Sep 28, 2020

start with

  • run under gdb, collect several stack traces `
ctrl-c
bt
c
  • run under perf
perf record ./a.out
# ctrl-c after some time
perf report

send the results here.

@tejas3
Copy link
Author

tejas3 commented Sep 28, 2020

Sure, thank you very much :)

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

No branches or pull requests

2 participants