[cfe-dev] Crash in stage2 while compiling sanitizer_stackdepot.c

İsmail Dönmez ismail at donmez.ws
Thu Nov 14 02:49:38 PST 2013


[  392s] 0  clang-3.4       0x0000000000d54945
llvm::sys::PrintStackTrace(_IO_FILE*) + 37
[  392s] 1  clang-3.4       0x0000000000d54da3
[  392s] 2  libpthread.so.0 0x00007f0f5f25c9f0
[  392s] 3  clang-3.4       0x0000000000d356c3
llvm::StringMapImpl::FindKey(llvm::StringRef) const + 67
[  392s] 4  clang-3.4       0x0000000000d357b4
llvm::StringMapImpl::RemoveKey(llvm::StringMapEntryBase*) + 20
[  392s] 5  clang-3.4       0x0000000000c06f28
llvm::BasicBlock::eraseFromParent() + 88
[  392s] 6  clang-3.4       0x0000000000a27c85
[  392s] 7  clang-3.4       0x0000000000c905a0
llvm::FPPassManager::runOnFunction(llvm::Function&) + 304
[  392s] [  4%] 8  clang-3.4       0x0000000000b2a0e3
[  392s] 9  clang-3.4       0x0000000000c90bc0
llvm::legacy::PassManagerImpl::run(llvm::Module&) + 848
[  392s] 10 clang-3.4       0x0000000000c910fa
llvm::legacy::PassManager::run(llvm::Module&) + 10
[  392s] 11 clang-3.4       0x0000000000d707d0
clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::CodeGenOptions
const&, clang::TargetOptions const&, clang::LangOptions const&,
llvm::Module*, clang::BackendAction, llvm::raw_ostream*) + 5968
[  392s] 12 clang-3.4       0x0000000000d6da70
[  392s] 13 clang-3.4       0x0000000000fcf103
clang::ParseAST(clang::Sema&, bool, bool) + 515
[  392s] 14 clang-3.4       0x0000000000d6cf89
clang::CodeGenAction::ExecuteAction() + 73
[  392s] 15 clang-3.4       0x0000000000f2c2e7
clang::FrontendAction::Execute() + 87
[  392s] 16 clang-3.4       0x0000000000f0c4ed
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 797
[  392s] 17 clang-3.4       0x0000000000d58075
clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 2869
[  392s] 18 clang-3.4       0x000000000062f41a cc1_main(char const**, char
const**, char const*, void*) + 538
[  392s] 19 clang-3.4       0x000000000062de41 main + 8897
[  392s] 20 libc.so.6       0x00007f0f5e69dbe5 __libc_start_main + 245
[  392s] 21 clang-3.4       0x000000000062ba7d
[  392s] Stack dump:
[  392s] 0. Program arguments:
/home/abuild/rpmbuild/BUILD/llvm/stage1/bin/clang-3.4 -cc1 -triple
x86_64-suse-linux -emit-obj -disable-free -disable-llvm-verifier
-main-file-name sanitizer_stackdepot.cc -mrelocation-model pic -pic-level 2
-fmath-errno -masm-verbose -mconstructor-aliases -munwind-tables
-fuse-init-array -target-cpu x86-64 -momit-leaf-frame-pointer
-gline-tables-only -coverage-file
/home/abuild/rpmbuild/BUILD/llvm/stage2/projects/compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_stackdepot.cc.o
-resource-dir /home/abuild/rpmbuild/BUILD/llvm/stage1/bin/../lib/clang/3.4
-D NDEBUG -D _GNU_SOURCE -D __STDC_CONSTANT_MACROS -D __STDC_FORMAT_MACROS
-D __STDC_LIMIT_MACROS -D NDEBUG -I
/home/abuild/rpmbuild/BUILD/llvm/stage2/projects/compiler-rt/lib/sanitizer_common
-I
/home/abuild/rpmbuild/BUILD/llvm/projects/compiler-rt/lib/sanitizer_common
-I /home/abuild/rpmbuild/BUILD/llvm/stage2/include -I
/home/abuild/rpmbuild/BUILD/llvm/include -I
/home/abuild/rpmbuild/BUILD/llvm/projects/compiler-rt/include
-internal-isystem
/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../include/c++/4.8
-internal-isystem
/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../include/c++/4.8/x86_64-suse-linux
-internal-isystem
/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../include/c++/4.8/backward
-internal-isystem
/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../include/x86_64-suse-linux/c++/4.8
-internal-isystem /usr/local/include -internal-isystem
/home/abuild/rpmbuild/BUILD/llvm/stage1/bin/../lib/clang/3.4/include
-internal-externc-isystem /include -internal-externc-isystem /usr/include
-O3 -Wall -W -Wno-unused-parameter -Wwrite-strings
-Wmissing-field-initializers -Wno-long-long -Wcovered-switch-default
-Wnon-virtual-dtor -Wno-gnu -Wno-variadic-macros -Wno-c99-extensions
-Wno-non-virtual-dtor -Wglobal-constructors -pedantic -fdeprecated-macro
-fdebug-compilation-dir
/home/abuild/rpmbuild/BUILD/llvm/stage2/projects/compiler-rt/lib/sanitizer_common
-ferror-limit 19 -fmessage-length 0 -fvisibility hidden
-fvisibility-inlines-hidden -mstackrealign -fno-builtin -fno-rtti
-fobjc-runtime=gcc -fdiagnostics-show-option -vectorize-loops
-vectorize-slp -o
CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_stackdepot.cc.o -x c++
/home/abuild/rpmbuild/BUILD/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_stackdepot.cc
[  392s] 1. <eof> parser at end of file
[  392s] 2. Per-module optimization passes
[  392s] 3. Running pass 'CallGraph Pass Manager' on module
'/home/abuild/rpmbuild/BUILD/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_stackdepot.cc'.
[  392s] 4. Running pass 'Jump Threading' on function
'@_ZN11__sanitizer13StackDepotPutEPKmm'


On Linux x86_64, llvm/clang/compiler_rt r194688
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20131114/f1e1da5d/attachment.html>


More information about the cfe-dev mailing list