<html>
    <head>
      <base href="http://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - SIGBUS (use after free) during SimplifyCFG pass"
   href="http://llvm.org/bugs/show_bug.cgi?id=20382">20382</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>SIGBUS (use after free) during SimplifyCFG pass
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>libraries
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>other
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Transformation Utilities
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>ariane@stack.nl
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvmbugs@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=12797" name="attach_12797" title="Source triggering the bug.">attachment 12797</a> <a href="attachment.cgi?id=12797&action=edit" title="Source triggering the bug.">[details]</a></span>
Source triggering the bug.

SimplifyCFG pass generates SIGBUS, due to use-after-free.

0.      Program arguments: /stash/build/install/bin/clang-3.5 -cc1 -triple
i386---eabi -emit-obj -disable-fr-main-file-name string.cc -mrelocation-model
static -mdisable-fp-elim -fmath-errno -masm-verbose -mconstructtium4 -g
-dwarf-column-info -coverage-file
/home/ariane/programming/ilias_os/proper/abi/src/string.o32 -nostresource-dir
/stash/build/install/bin/../lib/clang/3.5.0 -dependency-file
abi/src/string.o32.d -MT abi/src/s -MP -D __ELF__ -D
_YUGA_LITTLE_ENDIAN=__LITTLE_ENDIAN__ -D _YUGA_BIG_ENDIAN=__BIG_ENDIAN__ -D
_KERNEL=1 -D include -I loader_exported/include -O3 -Wno-tautological-compare
-Wno-c++1y-extensions -W -Wall -Weffc++ -Weed-macro -fdebug-compilation-dir
/home/ariane/programming/ilias_os/proper -ferror-limit 19 -fmessage-length ec
-ffreestanding -mstackrealign -fobjc-runtime=gcc -fcxx-exceptions -fexceptions
-fdiagnostics-show-option rize-loops -vectorize-slp -o abi/src/string.o32 -x
c++ abi/src/string.cc 
1.      <eof> parser at end of file
2.      Per-module optimization passes
3.      Running pass 'CallGraph Pass Manager' on module 'abi/src/string.cc'.
4.      Running pass 'Simplify the CFG' on function '@_ZNSsC2ERKSaIcE'
clang-3.5: error: unable to execute command: Bus error (core dumped)
clang-3.5: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 3.5.0 
Target: i386---eabi
Thread model: posix
clang-3.5: note: diagnostic msg: PLEASE submit a bug report to
<a href="http://llvm.org/bugs/">http://llvm.org/bugs/</a> and include the crash brce, and associated run script.
clang-3.5: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang-3.5: note: diagnostic msg: /tmp/string-c5ab81.cpp
clang-3.5: note: diagnostic msg: /tmp/string-c5ab81.sh
clang-3.5: note: diagnostic msg: 

********************</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>