Jakub Jelinek <ja...@redhat.com> writes: > On Mon, Nov 11, 2013 at 03:01:53PM +0100, Dodji Seketeli wrote: >> Since a couple of days I am seeing failure on the tests above on my >> Fedora system. The errors look like: >> >> FAIL: c-c++-common/asan/memcmp-1.c -O0 output pattern test, is >> ================================================================= >> ==21832==ERROR: AddressSanitizer: stack-buffer-overflow on address >> 0x7fff75df96f4 at pc 0x7f98ecbab68b bp 0x7fff75df96b0 sp >> 0x7fff75df95b8 >> READ of size 6 at 0x7fff75df96f4 thread T0 >> #0 0x7f98ecbab68a in __interceptor_memcmp >> /home/dodji/git/gcc/master/libsanitizer/asan/asan_interceptors.cc:295 >> (discriminator 7) >> #1 0x7f98ecbb6393 in __asan_report_error >> /home/dodji/git/gcc/master/libsanitizer/asan/asan_report.cc:774 >> (discriminator 9) >> #2 0x7f98ecbab6d0 in __interceptor_memcmp >> /home/dodji/git/gcc/master/libsanitizer/asan/asan_interceptors.cc:295 >> (discriminator 7) >> #3 0x400b0a in main >> /home/dodji/git/gcc/master/gcc/testsuite/c-c++-common/asan/memcmp-1.c:14 > > That looks like a bug in libasan, __asan_report_error doesn't call memcmp > again. So something is wrong with getting proper backtrace it seems.
Correct. I'll need to get familiar with the backtracing part then, unless someone beats me to it. -- Dodji