[Bug 221337] -fsanitize=address (asan) fails on i386

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Aug 8 17:12:22 UTC 2017


            Bug ID: 221337
           Summary: -fsanitize=address (asan) fails on i386
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: emaste at freebsd.org

See Dimitry's thread at
http://lists.llvm.org/pipermail/release-testers/2017-August/000475.html. This
started after the jemalloc update in r319971

ref12-i386% clang --version
FreeBSD clang version 5.0.0 (trunk 308421) (based on LLVM 5.0.0svn)

hello.c is just a printf("hello world");

ref12-i386% cc -g -fsanitize=address hello.c
ref12-i386% ./a.out
==14688==AddressSanitizer CHECK failed:
"((AddrIsAlignedByGranularity(addr))) != (0)" (0x0, 0x0)
    #0 0x806f0e3  (/home/emaste/a.out+0x806f0e3)
    #1 0x805dcc3  (/home/emaste/a.out+0x805dcc3)
    #2 0x80dfc35  (/home/emaste/a.out+0x80dfc35)
    #3 0x806961d  (/home/emaste/a.out+0x806961d)
    #4 0x80698bf  (/home/emaste/a.out+0x80698bf)
    #5 0x806ec73  (/home/emaste/a.out+0x806ec73)
    #6 0x8092785  (/home/emaste/a.out+0x8092785)


You are receiving this mail because:
You are the assignee for the bug.

More information about the freebsd-bugs mailing list