Git Product home page Git Product logo

Comments (6)

GoogleCodeExporter avatar GoogleCodeExporter commented on May 27, 2024
(gdb) bt
#0  0x0000000001d70220 in std::less<std::pair<llvm::Type*, 
llvm::ExprMapKeyType> >::operator()(std::pair<llvm::Type*, 
llvm::ExprMapKeyType> const&, std::pair<llvm::Type*, llvm::ExprMapKeyType> 
const&) const ()
#1  0x0000000001d72948 in llvm::ConstantUniqueMap<llvm::ExprMapKeyType, 
llvm::ExprMapKeyType const&, llvm::Type, llvm::ConstantExpr, 
false>::FindExistingElement(llvm::ConstantExpr*) ()
#2  0x0000000001d6749f in llvm::ConstantExpr::destroyConstant() ()
#3  0x0000000001d6a22f in 
llvm::ConstantExpr::replaceUsesOfWithOnConstant(llvm::Value*, llvm::Value*, 
llvm::Use*) ()
#4  0x0000000001e34fba in llvm::Value::replaceAllUsesWith(llvm::Value*) ()
#5  0x0000000001d6a226 in 
llvm::ConstantExpr::replaceUsesOfWithOnConstant(llvm::Value*, llvm::Value*, 
llvm::Use*) ()
#6  0x0000000001e34fba in llvm::Value::replaceAllUsesWith(llvm::Value*) ()
#7  0x0000000001d6a226 in 
llvm::ConstantExpr::replaceUsesOfWithOnConstant(llvm::Value*, llvm::Value*, 
llvm::Use*) ()
#8  0x0000000001e34fba in llvm::Value::replaceAllUsesWith(llvm::Value*) ()
#9  0x0000000001d6a226 in 
llvm::ConstantExpr::replaceUsesOfWithOnConstant(llvm::Value*, llvm::Value*, 
llvm::Use*) ()
#10 0x0000000001e34fba in llvm::Value::replaceAllUsesWith(llvm::Value*) ()
#11 0x0000000001d6a226 in 
llvm::ConstantExpr::replaceUsesOfWithOnConstant(llvm::Value*, llvm::Value*, 
llvm::Use*) ()
#12 0x0000000001e34fba in llvm::Value::replaceAllUsesWith(llvm::Value*) ()
#13 0x0000000001d6a226 in 
llvm::ConstantExpr::replaceUsesOfWithOnConstant(llvm::Value*, llvm::Value*, 
llvm::Use*) ()
#14 0x0000000001e34fba in llvm::Value::replaceAllUsesWith(llvm::Value*) ()
#15 0x0000000001d6a226 in 
llvm::ConstantExpr::replaceUsesOfWithOnConstant(llvm::Value*, llvm::Value*, 
llvm::Use*) ()
#16 0x0000000001e34fba in llvm::Value::replaceAllUsesWith(llvm::Value*) ()
#17 0x0000000001d6a226 in 
llvm::ConstantExpr::replaceUsesOfWithOnConstant(llvm::Value*, llvm::Value*, 
llvm::Use*) ()
#18 0x0000000001e34fba in llvm::Value::replaceAllUsesWith(llvm::Value*) ()
...

#236 0x0000000001e34fba in llvm::Value::replaceAllUsesWith(llvm::Value*) ()
#237 0x0000000001d6a226 in 
llvm::ConstantExpr::replaceUsesOfWithOnConstant(llvm::Value*, llvm::Value*, 
llvm::Use*) ()
#238 0x0000000001e34fba in llvm::Value::replaceAllUsesWith(llvm::Value*) ()
#239 0x00000000012bcf8c in (anonymous 
namespace)::AddressSanitizer::insertGlobalRedzones(llvm::Module&) ()
#240 0x00000000012bdfbc in (anonymous 
namespace)::AddressSanitizer::runOnModule(llvm::Module&) ()
#241 0x0000000001e24181 in llvm::MPPassManager::runOnModule(llvm::Module&) ()
#242 0x0000000001e2430b in llvm::PassManagerImpl::run(llvm::Module&) ()
#243 0x00000000007ba611 in clang::EmitBackendOutput(clang::DiagnosticsEngine&, 
clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions 
const&, llvm::Module*, clang::BackendAction, llvm::raw_ostream*) ()
#244 0x00000000007b78a9 in 
clang::BackendConsumer::HandleTranslationUnit(clang::ASTContext&) ()
#245 0x00000000009193d1 in clang::ParseAST(clang::Sema&, bool) ()
#246 0x00000000007b6474 in clang::CodeGenAction::ExecuteAction() ()
#247 0x00000000006596e1 in 
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) ()
#248 0x00000000006427d4 in 
clang::ExecuteCompilerInvocation(clang::CompilerInstance*) ()
#249 0x0000000000637890 in cc1_main(char const**, char const**, char const*, 
void*) ()
#250 0x00000000006414d7 in main ()


The stack is growing slowly.

Original comment by [email protected] on 12 Mar 2012 at 11:54

from address-sanitizer.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 27, 2024
Looks like it is a bug in replaceUsesOfWithOnConstant, which does not stop the 
recursion correctly.

Original comment by [email protected] on 12 Mar 2012 at 12:24

from address-sanitizer.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 27, 2024
The problem isn't reproducible for me with Clang r161319. Shall we close the 
bug?

Original comment by [email protected] on 6 Aug 2012 at 1:03

from address-sanitizer.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 27, 2024
I can still see this with llvm r161755

Original comment by [email protected] on 13 Aug 2012 at 2:31

from address-sanitizer.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 27, 2024
Looks like this has been solved by waiting. 
On Clang r191885 the compilation passes: 
clang -c -fsanitize=address -w   -O3 ~/tmp/hang.c

Original comment by [email protected] on 3 Oct 2013 at 1:45

  • Changed state: Fixed

from address-sanitizer.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 27, 2024
Adding Project:AddressSanitizer as part of GitHub migration.

Original comment by [email protected] on 30 Jul 2015 at 9:12

  • Added labels: ProjectAddressSanitizer

from address-sanitizer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.