[llvm-bugs] [Bug 32646] New: UBSAN binary segfaults on correct UB-free test case.

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Apr 12 15:11:16 PDT 2017


https://bugs.llvm.org/show_bug.cgi?id=32646

            Bug ID: 32646
           Summary: UBSAN binary segfaults on correct UB-free test case.
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Miscellaneous Instrumentation passes
          Assignee: unassignedbugs at nondot.org
          Reporter: babokin at gmail.com
                CC: llvm-bugs at lists.llvm.org

Created attachment 18280
  --> https://bugs.llvm.org/attachment.cgi?id=18280&action=edit
reproducer

I observe this bug quite frequently and it seems that this happens only on big
test cases. Also I failed to reduce the test case, which also supports my
assumption that this is a bug, which shows up only on big tests. Probably
int/size_t bug somewhere in UBSAN implementation?

The test itself is auto-generated test, which doesn't contain undefined
behavior.

Execute "run.sh" from attached archive - it will compile the test case and run
it.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20170412/6d9b4c16/attachment.html>


More information about the llvm-bugs mailing list