https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221337

            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@FreeBSD.org
          Reporter: ema...@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
https://reviews.freebsd.org/rS319971

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:
/usr/src/contrib/compiler-rt/lib/asan/asan_poisoning.cc:36
"((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)

ref12-i386%

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to