Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 08 Aug 2017 17:12:22 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 221337] -fsanitize=address (asan) fails on i386
Message-ID:  <bug-221337-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D221337

            Bug ID: 221337
           Summary: -fsanitize=3Daddress (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: emaste@freebsd.org

See Dimitry's thread at
http://lists.llvm.org/pipermail/release-testers/2017-August/000475.html. Th=
is
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=3Daddress hello.c
ref12-i386% ./a.out
=3D=3D14688=3D=3DAddressSanitizer CHECK failed:
/usr/src/contrib/compiler-rt/lib/asan/asan_poisoning.cc:36
"((AddrIsAlignedByGranularity(addr))) !=3D (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%

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-221337-8>