public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug sanitizer/58718] New: Invalid check in libsanitizer
@ 2013-10-14  6:02 y.gribov at samsung dot com
  2013-10-14  6:03 ` [Bug sanitizer/58718] " y.gribov at samsung dot com
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: y.gribov at samsung dot com @ 2013-10-14  6:02 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58718

            Bug ID: 58718
           Summary: Invalid check in libsanitizer
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: sanitizer
          Assignee: unassigned at gcc dot gnu.org
          Reporter: y.gribov at samsung dot com
                CC: dodji at gcc dot gnu.org, dvyukov at gcc dot gnu.org,
                    jakub at gcc dot gnu.org, kcc at gcc dot gnu.org

Created attachment 30998
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30998&action=edit
Repro

I've recently tried to run AddressSanitizer with malloc_context_size=0 runtime
option to speedup execution of my program. I got nice perf improvements but
also an internal abort in asan_allocator2.cc when it tried to report heap
overflow warning:

 0x60040000e004 is located 4 bytes to the right of 16-byte region
[0x60040000dff0,0x60040000e000)
 ==3488== AddressSanitizer CHECK failed:
/home/ygribov/gcc/gcc-master/libsanitizer/asan/asan_allocator2.cc:216 "((id))
!= (0)" (0x0, 0x0)

If I unset ASAN_OPTIONS, warning is reported correctly.

-Y


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-12-31  5:34 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-14  6:02 [Bug sanitizer/58718] New: Invalid check in libsanitizer y.gribov at samsung dot com
2013-10-14  6:03 ` [Bug sanitizer/58718] " y.gribov at samsung dot com
2013-10-14  6:36 ` y.gribov at samsung dot com
2013-10-14  6:49 ` kcc at gcc dot gnu.org
2013-11-05  8:21 ` y.gribov at samsung dot com
2013-11-05 18:58 ` tetra2005 at gmail dot com
2013-12-31  5:34 ` y.gribov at samsung dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).