On Wed, May 6, 2020 at 12:13 PM Christian Holler <chol...@mozilla.com> wrote:
>
> Hi,
>
> in our CI, we keep encountering this intermittent failure:
>
> > ==3406==WARNING: Symbolizer buffer too small
> > ==3406==WARNING: Symbolizer buffer too small
> > ThreadSanitizer:DEADLYSIGNAL
> > ThreadSanitizer: nested bug in the same thread, aborting.
>
> We are tracking this issue at
> https://bugzilla.mozilla.org/show_bug.cgi?id=1615608
>
> Any advice on how to debug/fix this problem? Also, if this has been
> addressed in a newer Clang version, would you mind pointing me at the
> fix, so we can backport it? We are still using Clang 9 in CI for now.

Hi Christian,

There seems to be some correlation between these "Symbolizer buffer
too small" warnings and subsequent hard crash, right?
The bug probably affects all sanitizers because the code is all common.
I wonder if we have a bug on that path. I suspect it may have never been tested.

I am not aware of any fixes in that area (though, it's not that I was
looking at all fixes).

I see several reasonable next steps:
1. Add a test with an extremely large function name in a report
(should be doable with some C++ recursive template magic). Wonder how
compilers handle function name >16K....
Just to check if we have some stupid bug on that path.

2. Extend the error message to dump max_length, read_len, input
command and what was read from symbolizer so far.
It may provide some insight into what happens.

-- 
You received this message because you are subscribed to the Google Groups 
"address-sanitizer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to address-sanitizer+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/address-sanitizer/CACT4Y%2BYOkb_mOLLXCH%3D9XQSzCtSs%3DR%3DuNPtrKyRzgaWHNU0P8A%40mail.gmail.com.

Reply via email to