[LLVMbugs] [Bug 1177] NEW: DenseMap::grow causes memory corruption

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sun Feb 4 21:03:13 PST 2007


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

           Summary: DenseMap::grow causes memory corruption
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Support Libraries
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: rspencer at x10sys.com


I'm getting this glibc detected failure:
/proj/llvm/llvm-3/Debug/bin/opt: malloc(): memory corruption: 0x08de9f1c

Occurring at:

llvm::DenseMap<llvm::DominatorTreeBase::Node*,llvm::Value*>::grow()+0x34
llvm::DenseMap<llvm::DominatorTreeBase::Node*,llvm::Value*>::InsertIntoBucket(llvm::DominatorTreeBase::Node*
const&, llvm::Value* const&, std::pair<llvm::DominatorTreeBase::Node*,
llvm::Value*>*)
llvm::DenseMap<llvm::DominatorTreeBase::Node*,llvm::Value*>::operator[](llvm::DominatorTreeBase::Node*
const&)
(anonymous
namespace)::LCSSA::GetValueForBlock(llvm::DominatorTreeBase::Node*,llvm::Instruction*,
llvm::DenseMap<llvm::DominatorTreeBase::Node*, llvm::Value*>&)
(anonymous
namespace)::LCSSA::ProcessInstruction(llvm::Instruction*,std::vector<llvm::BasicBlock*,
std::allocator<llvm::BasicBlock*> > const&)
(anonymous namespace)::LCSSA::visitSubloop(llvm::Loop*)
(anonymous namespace)::LCSSA::visitSubloop(llvm::Loop*)
(anonymous namespace)::LCSSA::runOnFunction(llvm::Function&)
llvm::FPPassManager::runOnFunction(llvm::Function&)
CGPassManager::runOnModule(llvm::Module&)
llvm::MPPassManager::runOnModule(llvm::Module&)
llvm::PassManagerImpl::run(llvm::Module&)
llvm::PassManager::run(llvm::Module&)
main



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



More information about the llvm-bugs mailing list