[LLVMbugs] [Bug 18413] New: Clang crash during compilation

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Jan 7 09:11:25 PST 2014


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

            Bug ID: 18413
           Summary: Clang crash during compilation
           Product: clang
           Version: trunk
          Hardware: Macintosh
                OS: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: snovak at uwsp.edu
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 11835
  --> http://llvm.org/bugs/attachment.cgi?id=11835&action=edit
Source

I'm working on compiling Firefox with Polly vectorizations and received the
following crash.

/Locals/clang/bin/clang -w -arch x86_64 -o prprf.o -c -fvisibility=hidden  
-I/Locals/clang/include -I/Locals/clang/lib/clang/3.5/include
-I/Locals/clang/lib/c++/ -I/Locals/clang/lib/c++/v1  -fomit-frame-pointer
-march=native -Wall -fno-common -isysroot
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/
-pthread -O3 -Xclang -load -Xclang /Locals/clang/lib/LLVMPolly.dylib -mllvm
-polly -mllvm -polly-vectorizer=polly -mllvm -polly-codegen-scev -mllvm
-polly-optimizer=pluto -mllvm -polly-code-generator=cloog -mllvm -polly-run-dce
-mllvm -polly-ast-detect-parallel=true -fPIC -DlibVersionPoint=libVersionPoint
-UDEBUG  -DMOZILLA_CLIENT=1 -DNDEBUG=1 -DHAVE_VISIBILITY_HIDDEN_ATTRIBUTE=1
-DHAVE_VISIBILITY_PRAGMA=1 -DXP_UNIX=1 -DDARWIN=1 -DHAVE_BSD_FLOCK=1
-DHAVE_SOCKLEN_T=1 -DXP_MACOSX=1 -DHAVE_DLADDR=1 -DHAVE_LCHOWN=1
-DHAVE_SETPRIORITY=1 -DHAVE_STRERROR=1 -DHAVE_SYSCALL=1  -DFORCE_PR_LOG
-D_PR_PTHREADS -UHAVE_CVAR_BUILT_ON_SEM -D_PR_INET6 -D_NSPR_BUILD_
-I/Volumes/Storage/FirefoxCompile/FirefoxNightly/obj-ff-dbg/dist/include/nspr
-I/Volumes/Storage/FirefoxCompile/FirefoxNightly/nsprpub/pr/include
-I/Volumes/Storage/FirefoxCompile/FirefoxNightly/nsprpub/pr/include/private 
/Volumes/Storage/FirefoxCompile/FirefoxNightly/nsprpub/pr/src/io/prprf.c
T_(S1) 
2 2
 0  1 
 0  0 
T_(S2) 
2 3
 0  0  2 
 1  0  0 
T_(S3) 
2 2
 0  0 
 0  0 
t1 --> fwd_dep  scalar (band 0)no-ujam
t2 --> parallel loop   (band 0)no-ujam

Outermost tilable bands: 0 bands
Innermost tilable bands: 0 bands
isl_ctx.c:164: isl_ctx freed, but some objects still reference it
0  libLLVM-3.5svn.dylib 0x000000010afe5ec8 llvm::sys::PrintStackTrace(__sFILE*)
+ 40
1  libLLVM-3.5svn.dylib 0x000000010afe6424 SignalHandler(int) + 644
2  libsystem_c.dylib    0x00007fff8fd7b90a _sigtramp + 26
3  libsystem_c.dylib    0x0000000100000000 _sigtramp + 1881687824
4  libsystem_c.dylib    0x00007fff8fdd2f61 abort + 143
5  libisl.10.dylib      0x000000010bd3f29d isl_ctx_free + 269
6  LLVMPolly.dylib      0x000000010bbf261e polly::ScopInfo::~ScopInfo() + 62
7  libLLVM-3.5svn.dylib 0x000000010ab065ee
llvm::PMDataManager::~PMDataManager() + 62
8  libLLVM-3.5svn.dylib 0x000000010a7c1f77
llvm::RGPassManager::~RGPassManager() + 119
9  libLLVM-3.5svn.dylib 0x000000010ab0a2be
llvm::FPPassManager::~FPPassManager() + 62
10 libLLVM-3.5svn.dylib 0x000000010ab03a6e
llvm::PMTopLevelManager::~PMTopLevelManager() + 62
11 libLLVM-3.5svn.dylib 0x000000010ab0c989
llvm::legacy::FunctionPassManagerImpl::~FunctionPassManagerImpl() + 25
12 libLLVM-3.5svn.dylib 0x000000010ab0a49e
llvm::legacy::FunctionPassManagerImpl::~FunctionPassManagerImpl() + 14
13 libLLVM-3.5svn.dylib 0x000000010ab06882
llvm::legacy::FunctionPassManager::~FunctionPassManager() + 34
14 clang                0x00000001096af317
std::vector<clang::serialization::ModuleFile*,
std::allocator<clang::serialization::ModuleFile*>
>::_M_insert_aux(__gnu_cxx::__normal_iterator<clang::serialization::ModuleFile**,
std::vector<clang::serialization::ModuleFile*,
std::allocator<clang::serialization::ModuleFile*> > >,
clang::serialization::ModuleFile* const&) + 9047
15 clang                0x00000001097bcd6d
llvm::SmallVectorTemplateBase<llvm::DenseMap<clang::BaseSubobject, unsigned
long long, llvm::DenseMapInfo<clang::BaseSubobject> >, false>::grow(unsigned
long) + 27453
16 clang                0x0000000109812d94
llvm::SmallVectorImpl<llvm::GlobalVariable*>::operator=(llvm::SmallVectorImpl<llvm::GlobalVariable*>
const&) + 85380
17 clang                0x00000001097bbda5
llvm::SmallVectorTemplateBase<llvm::DenseMap<clang::BaseSubobject, unsigned
long long, llvm::DenseMapInfo<clang::BaseSubobject> >, false>::grow(unsigned
long) + 23413
18 clang                0x000000010955a1c7
std::_Rb_tree<clang::edit::FileOffset, std::pair<clang::edit::FileOffset const,
clang::edit::EditedSource::FileEdit>,
std::_Select1st<std::pair<clang::edit::FileOffset const,
clang::edit::EditedSource::FileEdit> >, std::less<clang::edit::FileOffset>,
std::allocator<std::pair<clang::edit::FileOffset const,
clang::edit::EditedSource::FileEdit> >
>::_M_erase(std::_Rb_tree_node<std::pair<clang::edit::FileOffset const,
clang::edit::EditedSource::FileEdit> >*) + 5591
19 clang                0x0000000109533aad
std::vector<clang::CompilerInstance*, std::allocator<clang::CompilerInstance*>
>::_M_insert_aux(__gnu_cxx::__normal_iterator<clang::CompilerInstance**,
std::vector<clang::CompilerInstance*, std::allocator<clang::CompilerInstance*>
> >, clang::CompilerInstance* const&) + 16045
20 clang                0x00000001094fbc0e std::_Rb_tree<std::string,
std::string, std::_Identity<std::string>, std::less<std::string>,
std::allocator<std::string> >::_M_insert_unique(std::string const&) + 3726
21 clang                0x00000001094f3c1e
22 clang                0x00000001094f9f95
std::vector<llvm::SourceMgr::SrcBuffer,
std::allocator<llvm::SourceMgr::SrcBuffer>
>::_M_insert_aux(__gnu_cxx::__normal_iterator<llvm::SourceMgr::SrcBuffer*,
std::vector<llvm::SourceMgr::SrcBuffer,
std::allocator<llvm::SourceMgr::SrcBuffer> > >, llvm::SourceMgr::SrcBuffer
const&) + 8805
23 libdyld.dylib        0x00007fff959ca7e1 start + 0
Stack dump:
0.    Program arguments: /Locals/clang/bin/clang -cc1 -triple
x86_64-apple-macosx10.6.0 -emit-obj -disable-free -main-file-name prprf.c
-mrelocation-model pic -pic-level 2 -masm-verbose -munwind-tables -target-cpu
corei7-avx -target-linker-version 136 -coverage-file
/Volumes/Storage/FirefoxCompile/FirefoxNightly/obj-ff-dbg/nsprpub/pr/src/io/prprf.o
-resource-dir /Locals/clang/bin/../lib/clang/3.5 -isysroot
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/
-D libVersionPoint=libVersionPoint -U DEBUG -D MOZILLA_CLIENT=1 -D NDEBUG=1 -D
HAVE_VISIBILITY_HIDDEN_ATTRIBUTE=1 -D HAVE_VISIBILITY_PRAGMA=1 -D XP_UNIX=1 -D
DARWIN=1 -D HAVE_BSD_FLOCK=1 -D HAVE_SOCKLEN_T=1 -D XP_MACOSX=1 -D
HAVE_DLADDR=1 -D HAVE_LCHOWN=1 -D HAVE_SETPRIORITY=1 -D HAVE_STRERROR=1 -D
HAVE_SYSCALL=1 -D FORCE_PR_LOG -D _PR_PTHREADS -U HAVE_CVAR_BUILT_ON_SEM -D
_PR_INET6 -D _NSPR_BUILD_ -I /Locals/clang/include -I
/Locals/clang/lib/clang/3.5/include -I /Locals/clang/lib/c++/ -I
/Locals/clang/lib/c++/v1 -I
/Volumes/Storage/FirefoxCompile/FirefoxNightly/obj-ff-dbg/dist/include/nspr -I
/Volumes/Storage/FirefoxCompile/FirefoxNightly/nsprpub/pr/include -I
/Volumes/Storage/FirefoxCompile/FirefoxNightly/nsprpub/pr/include/private -O3
-Wall -w -fdebug-compilation-dir
/Volumes/Storage/FirefoxCompile/FirefoxNightly/obj-ff-dbg/nsprpub/pr/src/io
-ferror-limit 19 -fmessage-length 298 -fvisibility hidden -pthread
-stack-protector 1 -mstackrealign -fblocks -fobjc-runtime=macosx-10.6.0
-fencode-extended-block-signature -fno-common -fdiagnostics-show-option
-fcolor-diagnostics -vectorize-loops -vectorize-slp -load
/Locals/clang/lib/LLVMPolly.dylib -mllvm -polly -mllvm -polly-vectorizer=polly
-mllvm -polly-codegen-scev -mllvm -polly-optimizer=pluto -mllvm
-polly-code-generator=cloog -mllvm -polly-run-dce -mllvm
-polly-ast-detect-parallel=true -o prprf.o -x c
/Volumes/Storage/FirefoxCompile/FirefoxNightly/nsprpub/pr/src/io/prprf.c 
1.    <eof> parser at end of file
clang: error: unable to execute command: Abort trap: 6
clang: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 3.5 (trunk 198691)
Target: x86_64-apple-darwin12.5.0
Thread model: posix
clang: note: diagnostic msg: PLEASE submit a bug report to
http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and
associated run script.
clang: note: diagnostic msg:

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140107/806c9b46/attachment.html>


More information about the llvm-bugs mailing list