<html>
    <head>
      <base href="https://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 --- - bugpoint crashes attempting simple bc reduction"
   href="https://llvm.org/bugs/show_bug.cgi?id=29084">29084</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>bugpoint crashes attempting simple bc reduction
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>new-bugs
          </td>
        </tr>

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

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </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>new bugs
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>dcallahan@fb.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=17022" name="attach_17022" title="repo script, input and sample output">attachment 17022</a> <a href="attachment.cgi?id=17022&action=edit" title="repo script, input and sample output">[details]</a></span>
repo script, input and sample output

This simple invocation of bug point fails with the partial trace below.
Demonstration script, input bc and sample output in attached tar. Just run
"bug.sh" after setting BIN to point to an installation directory.

#4 0x0000000000c9a6a0 llvm::SmallPtrSetImplBase::erase_imp(void const*)
(/home/dcallahan/projects/l\
lvm-git-svn/install/bin/bugpoint+0xc9a6a0)
#5 0x00000000008eeabc llvm::Module::~Module()
(/home/dcallahan/projects/llvm-git-svn/install/bin/bu\
gpoint+0x8eeabc)
#6 0x000000000054e723 TestCodeGenerator(llvm::BugDriver&,
std::unique_ptr<llvm::Module, std::defaul\
t_delete<llvm::Module> >, std::unique_ptr<llvm::Module,
std::default_delete<llvm::Module> >, std::s\
tring&) (/home/dcallahan/projects/llvm-git-svn/install/bin/bugpoint+0x54e723)
#7 0x000000000054f9c3 (anonymous
namespace)::ReduceMiscompilingFunctions::TestFuncs(std::vector<llv\
m::Function*, std::allocator<llvm::Function*> > const&, std::string&) [clone
.isra.268] (/home/dcal\
lahan/projects/llvm-git-svn/install/bin/bugpoint+0x54f9c3)
#8 0x00000000005508b9 (anonymous
namespace)::ReduceMiscompilingFunctions::doTest(std::vector<llvm::\
Function*, std::allocator<llvm::Function*> >&, std::vector<llvm::Function*,
std::allocator<llvm::Fu\
nction*> >&, std::string&)
(/home/dcallahan/projects/llvm-git-svn/install/bin/bugpoint+0x5508b9)
#9 0x0000000000533518
llvm::ListReducer<llvm::Function*>::reduceList(std::vector<llvm::Function*, s\
td::allocator<llvm::Function*> >&, std::string&)
(/home/dcallahan/projects/llvm-git-svn/install/bin\
/bugpoint+0x533518)
#10 0x00000000005533c3 DebugAMiscompilation(llvm::BugDriver&, bool
(*)(llvm::BugDriver&, std::uniqu\
e_ptr<llvm::Module, std::default_delete<llvm::Module> >,
std::unique_ptr<llvm::Module, std::default\
_delete<llvm::Module> >, std::string&), std::string&)
(/home/dcallahan/projects/llvm-git-svn/instal\
l/bin/bugpoint+0x5533c3)
#11 0x0000000000554886 llvm::BugDriver::debugCodeGenerator(std::string*)
(/home/dcallahan/projects/\
llvm-git-svn/install/bin/bugpoint+0x554886)
#12 0x000000000053082e llvm::BugDriver::run(std::string&)
(/home/dcallahan/projects/llvm-git-svn/in\
stall/bin/bugpoint+0x53082e)
#13 0x0000000000508e21 main
(/home/dcallahan/projects/llvm-git-svn/install/bin/bugpoint+0x508e21)</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>