[LLVMbugs] [Bug 15440] New: llvm opt crash on csmith fuzz testcase

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Mar 4 11:35:08 PST 2013


http://llvm.org/bugs/show_bug.cgi?id=15440

            Bug ID: 15440
           Summary: llvm opt crash on csmith fuzz testcase
           Product: tools
           Version: 3.2
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: opt
          Assignee: unassignedbugs at nondot.org
          Reporter: alonzakai at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 10138
  --> http://llvm.org/bugs/attachment.cgi?id=10138&action=edit
testcase

Attached is a testcase that was generated by the csmith fuzzer. It crashes when
run through opt -O1

$ opt -O1 emcc-0-basebc.bc -o out.bc
0  opt             0x0000000000db54d2
1  opt             0x0000000000db5853
2  libpthread.so.0 0x00007f67a27f0cb0
Stack dump:
0.    Program arguments: /home/alon/Dev/llvmCore-3.2-rc3.install/bin/opt -O1
emcc-0-basebc.bc -o out.bc 
1.    Running pass 'Global Variable Optimizer' on module 'emcc-0-basebc.bc'.
Segmentation fault (core dumped)

This is on LLVM 3.2.

-- 
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/20130304/13e84894/attachment.html>


More information about the llvm-bugs mailing list