Comments (6)
(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.
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.
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.
I can still see this with llvm r161755
Original comment by [email protected]
on 13 Aug 2012 at 2:31
from address-sanitizer.
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.
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)
- ASan shared runtime library on Android re-exports the entire libgcc interface HOT 2
- sigsegv in basic block tracer HOT 3
- Compiling with AddressSanitizer using gcc ≥4.9 breaks printng some variables in gdb on Linux HOT 7
- AddressSanitizer: while reporting a bug found another one. Ignoring. HOT 3
- [android] system property access from native code is going away HOT 2
- Link libasan with -z interpose on Linux HOT 3
- ASan is unable to link TLS arrays HOT 3
- pointer not owned error when calling malloc_usable_size() on array of structs with destructors HOT 4
- Support Android in asan_symbolize HOT 3
- thread_stats.malloced_by_size[class_id] overflow in asan_allocator.cc HOT 4
- Crash on ODR between instrumented and non-instrumented libraries HOT 4
- LSan doesn't work with empty suppressions list HOT 6
- Improve wild-free detection HOT 1
- Please tell us where you are moving due to Google Code shutdown HOT 3
- -fsanitize=address should probably imply -Bsymbolic HOT 2
- Enable LSAN support for 32bit architecture HOT 3
- support relative paths in backlist files HOT 1
- chdir breaks symbolization of dynamic libraries
- leak is only reported about 1/2 of runs
- gcc-asan doesn't work on android/arm32 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from address-sanitizer.