[LLVMbugs] [Bug 16563] New: Clang suddenly fails on compilation

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Jul 8 09:28:41 PDT 2013


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

            Bug ID: 16563
           Summary: Clang suddenly fails on compilation
           Product: clang
           Version: 3.3
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: adam.m.baxter at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

I'm using Fedora 19. This used to work. The only notable changes in my system
are update boost libraries, but I've specifically disabled system libraries.


*** Error in `/usr/bin/clang': double free or corruption (out):
0x000000000790a0a0 ***
======= Backtrace: =========
/lib64/libc.so.6[0x370687d0e8]
/usr/bin/clang(_ZN5clang29TemplateSpecializationTypeLoc17initializeArgLocsERNS_10ASTContextEjPKNS_16TemplateArgumentEPNS_23TemplateArgumentLocInfoENS_14SourceLocationE+0x1d4)[0x10e58a4]
/usr/bin/clang(_ZN5clang7TypeLoc14initializeImplERNS_10ASTContextES0_NS_14SourceLocationE+0x146)[0x10e5b16]
/usr/bin/clang(_ZNK5clang10ASTContext24getTrivialTypeSourceInfoENS_8QualTypeENS_14SourceLocationE+0x26)[0xfc7956]
/usr/bin/clang[0xbfb340]
/usr/bin/clang[0xbfb695]
/usr/bin/clang(_ZN5clang4Sema39getMoreSpecializedPartialSpecializationEPNS_38ClassTemplatePartialSpecializationDeclES2_NS_14SourceLocationE+0x2b4)[0xc00ea4]
/usr/bin/clang(_ZN5clang4Sema38InstantiateClassTemplateSpecializationENS_14SourceLocationEPNS_31ClassTemplateSpecializationDeclENS_26TemplateSpecializationKindEb+0x41a)[0xc2e65a]
/usr/bin/clang(_ZN5clang4Sema19RequireCompleteTypeENS_14SourceLocationENS_8QualTypeERNS0_13TypeDiagnoserE+0x5fe)[0xc63cfe]
/usr/bin/clang(_ZN5clang4Sema26RequireCompleteDeclContextERNS_12CXXScopeSpecEPNS_11DeclContextE+0xdb)[0x9a7adb]
/usr/bin/clang(_ZN5clang4Sema17CheckTypenameTypeENS_21ElaboratedTypeKeywordENS_14SourceLocationENS_22NestedNameSpecifierLocERKNS_14IdentifierInfoES2_+0xb9)[0xbc83c9]
/usr/bin/clang[0xc1fa5b]
/usr/bin/clang[0xc26d67]
/usr/bin/clang[0xc258cd]
/usr/bin/clang(_ZN5clang4Sema21SubstFunctionDeclTypeEPNS_14TypeSourceInfoERKNS_30MultiLevelTemplateArgumentListENS_14SourceLocationENS_15DeclarationNameEPNS_13CXXRecordDeclEj+0x254)[0xc3f7d4]
/usr/bin/clang(_ZN5clang24TemplateDeclInstantiator17SubstFunctionTypeEPNS_12FunctionDeclERN4llvm15SmallVectorImplIPNS_11ParmVarDeclEEE+0x7e)[0xc4649e]
/usr/bin/clang(_ZN5clang24TemplateDeclInstantiator17VisitFunctionDeclEPNS_12FunctionDeclEPNS_21TemplateParameterListE+0x18c)[0xc4866c]
/usr/bin/clang[0xc41d77]
/usr/bin/clang(_ZN5clang4Sema9SubstDeclEPNS_4DeclEPNS_11DeclContextERKNS_30MultiLevelTemplateArgumentListE+0x78)[0xc49e98]
/usr/bin/clang(_ZN5clang4Sema31FinishTemplateArgumentDeductionEPNS_20FunctionTemplateDeclERN4llvm15SmallVectorImplINS_23DeducedTemplateArgumentEEEjRPNS_12FunctionDeclERNS_4sema21TemplateDeductionInfoEPKNS4_INS0_15OriginalCallArgEEE+0x4ba)[0xc1731a]
/usr/bin/clang(_ZN5clang4Sema23DeduceTemplateArgumentsEPNS_20FunctionTemplateDeclEPNS_24TemplateArgumentListInfoEN4llvm8ArrayRefIPNS_4ExprEEERPNS_12FunctionDeclERNS_4sema21TemplateDeductionInfoE+0x4fd)[0xc1af6d]
/usr/bin/clang(_ZN5clang4Sema28AddTemplateOverloadCandidateEPNS_20FunctionTemplateDeclENS_14DeclAccessPairEPNS_24TemplateArgumentListInfoEN4llvm8ArrayRefIPNS_4ExprEEERNS_20OverloadCandidateSetEb+0x15e)[0xb86cae]
/usr/bin/clang[0xb8786d]
/usr/bin/clang(_ZN5clang4Sema27AddOverloadedCallCandidatesEPNS_20UnresolvedLookupExprEN4llvm8ArrayRefIPNS_4ExprEEERNS_20OverloadCandidateSetEb+0x10f)[0xb879bf]
/usr/bin/clang(_ZN5clang4Sema22buildOverloadedCallSetEPNS_5ScopeEPNS_4ExprEPNS_20UnresolvedLookupExprEPS4_jNS_14SourceLocationEPNS_20OverloadCandidateSetEPNS_12ActionResultIS4_Lb1EEE+0xd9)[0xb87b59]
/usr/bin/clang(_ZN5clang4Sema23BuildOverloadedCallExprEPNS_5ScopeEPNS_4ExprEPNS_20UnresolvedLookupExprENS_14SourceLocationEPS4_jS7_S4_b+0x1a7)[0xb90c57]
/usr/bin/clang(_ZN5clang4Sema13ActOnCallExprEPNS_5ScopeEPNS_4ExprENS_14SourceLocationEN4llvm15MutableArrayRefIS4_EES5_S4_b+0x491)[0xaeb601]
/usr/bin/clang[0xc30736]
/usr/bin/clang[0xc2ad45]
/usr/bin/clang[0xc3c5c4]
/usr/bin/clang[0xc2ad17]
/usr/bin/clang[0xc32035]
/usr/bin/clang[0xc2a51e]
/usr/bin/clang[0xc391e3]
/usr/bin/clang[0xc3a26a]
/usr/bin/clang[0xc38a77]
/usr/bin/clang(_ZN5clang4Sema9SubstStmtEPNS_4StmtERKNS_30MultiLevelTemplateArgumentListE+0x50)[0xc3a400]
/usr/bin/clang(_ZN5clang4Sema29InstantiateFunctionDefinitionENS_14SourceLocationEPNS_12FunctionDeclEbb+0xa59)[0xc51aa9]
/usr/bin/clang(_ZN5clang4Sema28PerformPendingInstantiationsEb+0x1ea)[0xc50e2a]
/usr/bin/clang(_ZN5clang4Sema29InstantiateFunctionDefinitionENS_14SourceLocationEPNS_12FunctionDeclEbb+0x659)[0xc516a9]
/usr/bin/clang(_ZN5clang4Sema28PerformPendingInstantiationsEb+0x1ea)[0xc50e2a]
/usr/bin/clang(_ZN5clang4Sema29InstantiateFunctionDefinitionENS_14SourceLocationEPNS_12FunctionDeclEbb+0x659)[0xc516a9]
/usr/bin/clang(_ZN5clang4Sema28PerformPendingInstantiationsEb+0x1ea)[0xc50e2a]
/usr/bin/clang(_ZN5clang4Sema29InstantiateFunctionDefinitionENS_14SourceLocationEPNS_12FunctionDeclEbb+0x659)[0xc516a9]
/usr/bin/clang(_ZN5clang4Sema28PerformPendingInstantiationsEb+0x1ea)[0xc50e2a]
/usr/bin/clang(_ZN5clang4Sema29InstantiateFunctionDefinitionENS_14SourceLocationEPNS_12FunctionDeclEbb+0x659)[0xc516a9]
/usr/bin/clang(_ZN5clang4Sema28PerformPendingInstantiationsEb+0x1ea)[0xc50e2a]
/usr/bin/clang(_ZN5clang4Sema29InstantiateFunctionDefinitionENS_14SourceLocationEPNS_12FunctionDeclEbb+0x659)[0xc516a9]
/usr/bin/clang(_ZN5clang4Sema28PerformPendingInstantiationsEb+0x1ea)[0xc50e2a]
/usr/bin/clang(_ZN5clang4Sema29InstantiateFunctionDefinitionENS_14SourceLocationEPNS_12FunctionDeclEbb+0x659)[0xc516a9]
/usr/bin/clang(_ZN5clang4Sema28PerformPendingInstantiationsEb+0x1ea)[0xc50e2a]
/usr/bin/clang(_ZN5clang4Sema29InstantiateFunctionDefinitionENS_14SourceLocationEPNS_12FunctionDeclEbb+0x659)[0xc516a9]
/usr/bin/clang(_ZN5clang4Sema28PerformPendingInstantiationsEb+0x1ea)[0xc50e2a]
/usr/bin/clang(_ZN5clang4Sema25ActOnEndOfTranslationUnitEv+0xd1a)[0x99153a]
/usr/bin/clang(_ZN5clang6Parser17ParseTopLevelDeclERNS_9OpaquePtrINS_12DeclGroupRefEEE+0x1be)[0x90346e]
/usr/bin/clang(_ZN5clang8ParseASTERNS_4SemaEbb+0x21b)[0x8fbddb]
/usr/bin/clang(_ZN5clang13CodeGenAction13ExecuteActionEv+0x32)[0x7a2d72]
/usr/bin/clang(_ZN5clang14FrontendAction7ExecuteEv+0xa9)[0x6445e9]
/usr/bin/clang(_ZN5clang16CompilerInstance13ExecuteActionERNS_14FrontendActionE+0x122)[0x624072]
/usr/bin/clang(_ZN5clang25ExecuteCompilerInvocationEPNS_16CompilerInstanceE+0x692)[0x60d6d2]
/usr/bin/clang(_Z8cc1_mainPPKcS1_S0_Pv+0x430)[0x606cf0]
/usr/bin/clang(main+0x2016)[0x605396]
/lib64/libc.so.6(__libc_start_main+0xf5)[0x3706821b75]
======= Memory map: ========
00400000-01439000 r-xp 00000000 fd:02 283320                            
/usr/bin/clang
01638000-016a9000 r--p 01038000 fd:02 283320                            
/usr/bin/clang
016a9000-016ac000 rw-p 010a9000 fd:02 283320                            
/usr/bin/clang
016ac000-016ad000 rw-p 00000000 00:00 0 
018ab000-01989000 rw-p 010ab000 fd:02 283320                            
/usr/bin/clang
02d90000-09661000 rw-p 00000000 00:00 0                                  [heap]
3706000000-3706021000 r-xp 00000000 fd:02 264672                        
/usr/lib64/ld-2.17.so
3706220000-3706221000 r--p 00020000 fd:02 264672                        
/usr/lib64/ld-2.17.so
3706221000-3706222000 rw-p 00021000 fd:02 264672                        
/usr/lib64/ld-2.17.so
3706222000-3706223000 rw-p 00000000 00:00 0 
3706800000-37069b5000 r-xp 00000000 fd:02 281600                        
/usr/lib64/libc-2.17.so
37069b5000-3706bb5000 ---p 001b5000 fd:02 281600                        
/usr/lib64/libc-2.17.so
3706bb5000-3706bb9000 r--p 001b5000 fd:02 281600                        
/usr/lib64/libc-2.17.so
3706bb9000-3706bbb000 rw-p 001b9000 fd:02 281600                        
/usr/lib64/libc-2.17.so
3706bbb000-3706bc0000 rw-p 00000000 00:00 0 
3706c00000-3706c16000 r-xp 00000000 fd:02 281828                        
/usr/lib64/libpthread-2.17.so
3706c16000-3706e16000 ---p 00016000 fd:02 281828                        
/usr/lib64/libpthread-2.17.so
3706e16000-3706e17000 r--p 00016000 fd:02 281828                        
/usr/lib64/libpthread-2.17.so
3706e17000-3706e18000 rw-p 00017000 fd:02 281828                        
/usr/lib64/libpthread-2.17.so
3706e18000-3706e1c000 rw-p 00000000 00:00 0 
3707000000-3707003000 r-xp 00000000 fd:02 277185                        
/usr/lib64/libdl-2.17.so
3707003000-3707202000 ---p 00003000 fd:02 277185                        
/usr/lib64/libdl-2.17.so
3707202000-3707203000 r--p 00002000 fd:02 277185                        
/usr/lib64/libdl-2.17.so
3707203000-3707204000 rw-p 00003000 fd:02 277185                        
/usr/lib64/libdl-2.17.so
3707400000-3707415000 r-xp 00000000 fd:02 281827                        
/usr/lib64/libz.so.1.2.7
3707415000-3707614000 ---p 00015000 fd:02 281827                        
/usr/lib64/libz.so.1.2.7
3707614000-3707615000 r--p 00014000 fd:02 281827                        
/usr/lib64/libz.so.1.2.7
3707615000-3707616000 rw-p 00015000 fd:02 281827                        
/usr/lib64/libz.so.1.2.7
3707800000-3707901000 r-xp 00000000 fd:02 276178                        
/usr/lib64/libm-2.17.so
3707901000-3707b00000 ---p 00101000 fd:02 276178                        
/usr/lib64/libm-2.17.so
3707b00000-3707b01000 r--p 00100000 fd:02 276178                        
/usr/lib64/libm-2.17.so
3707b01000-3707b02000 rw-p 00101000 fd:02 276178                        
/usr/lib64/libm-2.17.so
3708800000-3708815000 r-xp 00000000 fd:02 282010                        
/usr/lib64/libgcc_s-4.8.1-20130603.so.1
3708815000-3708a14000 ---p 00015000 fd:02 282010                        
/usr/lib64/libgcc_s-4.8.1-20130603.so.1
3708a14000-3708a15000 r--p 00014000 fd:02 282010                        
/usr/lib64/libgcc_s-4.8.1-20130603.so.1
3708a15000-3708a16000 rw-p 00015000 fd:02 282010                        
/usr/lib64/libgcc_s-4.8.1-20130603.so.1
3709400000-3709407000 r-xp 00000000 fd:02 282026                        
/usr/lib64/libffi.so.6.0.1
3709407000-3709606000 ---p 00007000 fd:02 282026                        
/usr/lib64/libffi.so.6.0.1
3709606000-3709607000 r--p 00006000 fd:02 282026                        
/usr/lib64/libffi.so.6.0.1
3709607000-3709608000 rw-p 00007000 fd:02 282026                        
/usr/lib64/libffi.so.6.0.1
3709800000-370ac48000 r-xp 00000000 fd:02 395794                        
/usr/lib64/llvm/libLLVM-3.3.so
370ac48000-370ae47000 ---p 01448000 fd:02 395794                        
/usr/lib64/llvm/libLLVM-3.3.so
370ae47000-370af24000 r--p 01447000 fd:02 395794                        
/usr/lib64/llvm/libLLVM-3.3.so
370af24000-370af26000 rw-p 01524000 fd:02 395794                        
/usr/lib64/llvm/libLLVM-3.3.so
370af26000-370af37000 rw-p 00000000 00:00 0 
370b800000-370b8e6000 r-xp 00000000 fd:02 282011                        
/usr/lib64/libstdc++.so.6.0.18
370b8e6000-370bae5000 ---p 000e6000 fd:02 282011                        
/usr/lib64/libstdc++.so.6.0.18
370bae5000-370baed000 r--p 000e5000 fd:02 282011                        
/usr/lib64/libstdc++.so.6.0.18
370baed000-370baef000 rw-p 000ed000 fd:02 282011                        
/usr/lib64/libstdc++.so.6.0.18
370baef000-370bb04000 rw-p 00000000 00:00 0 
7f3a2fa51000-7f3a31252000 rw-p 00000000 00:00 0 
7f3a3258e000-7f3a3259c000 r--p 00000000 fd:03 8390660                   
/home/abaxter/local/include/boost/container/flat_set.hpp
7f3a3259c000-7f3a325c5000 r--p 00000000 fd:03 11406420                  
/home/abaxter/local/include/boost/preprocessor/seq/fold_left.hpp
7f3a325c5000-7f3a327c6000 rw-p 00000000 00:00 0 
7f3a327c6000-7f3a327cf000 r--p 00000000 fd:03 8390508                   
/home/abaxter/local/include/boost/proto/matches.hpp
7f3a327cf000-7f3a327d5000 r--p 00000000 fd:03 8391575                   
/home/abaxter/local/include/boost/proto/detail/preprocessed/make_expr_.hpp
7f3a327de000-7f3a327ea000 r--p 00000000 fd:03 11404433                  
/home/abaxter/local/include/boost/utility/binary.hpp
7f3a327ea000-7f3a327ef000 r--p 00000000 fd:03 11534489                  
/home/abaxter/local/include/boost/intrusive/options.hpp
7f3a327ef000-7f3a327f6000 r--p 00000000 fd:03 11534775                  
/home/abaxter/local/include/boost/intrusive/detail/utilities.hpp
7f3a327f6000-7f3a3280b000 r--p 00000000 fd:03 11534502                  
/home/abaxter/local/include/boost/intrusive/slist.hpp
7f3a3280b000-7f3a32810000 r--p 00000000 fd:03 8391140                   
/home/abaxter/local/include/boost/container/detail/iterators.hpp
7f3a32810000-7f3a3282b000 r--p 00000000 fd:03 8390659                   
/home/abaxter/local/include/boost/container/vector.hpp
7f3a3282b000-7f3a32830000 r--p 00000000 fd:03 11534776                  
/home/abaxter/local/include/boost/intrusive/detail/has_member_function_callable_with.hpp
7f3a32830000-7f3a32836000 r--p 00000000 fd:03 8390649                   
/home/abaxter/local/include/boost/container/allocator_traits.hpp
7f3a32836000-7f3a3283f000 r--p 00000000 fd:03 8391146                   
/home/abaxter/local/include/boost/container/detail/utilities.hpp
7f3a3283f000-7f3a32849000 r--p 00000000 fd:03 8391148                   
/home/abaxter/local/include/boost/container/detail/flat_tree.hpp
7f3a32849000-7f3a3285b000 r--p 00000000 fd:03 8390656                   
/home/abaxter/local/include/boost/container/flat_map.hpp
7f3a3285b000-7f3a32865000 r--p 00000000 fd:03 11275235                  
/home/abaxter/local/include/boost/units/quantity.hpp
7f3a32865000-7f3a3286d000 r--p 00000000 fd:03 11275271                  
/home/abaxter/local/include/boost/units/io.hpp
7f3a3286d000-7f3a32875000 r--p 00000000 fd:03 11275748                  
/home/abaxter/local/include/boost/units/detail/linear_algebra.hpp
7f3a32875000-7f3a3287a000 r--p 00000000 fd:03 11407844                  
/home/abaxter/local/include/boost/xpressive/detail/dynamic/parser_traits.hpp
7f3a3287a000-7f3a32881000 r--p 00000000 fd:03 11404812                  
/home/abaxter/local/include/boost/xpressive/regex_compiler.hpp
7f3a32881000-7f3a32889000 r--p 00000000 fd:03 11404804                  
/home/abaxter/local/include/boost/xpressive/regex_algorithms.hpp
7f3a32889000-7f3a32895000 r--p 00000000 fd:03 8391881                   
/home/abaxter/local/include/boost/proto/transform/detail/preprocessed/fold_impl.hpp
7f3a32895000-7f3a3289a000 r--p 00000000 fd:03 8391556                   
/home/abaxter/local/include/boost/proto/detail/preprocessed/deep_copy.hpp0 
libLLVM-3.3.so  0x0000003709af9e52 llvm::sys::PrintStackTrace(_IO_FILE*) + 34
1  libLLVM-3.3.so  0x0000003709af9cb9
2  libpthread.so.0 0x0000003706c0efa0
3  libc.so.6       0x0000003706835a19 gsignal + 57
4  libc.so.6       0x0000003706837128 abort + 328
5  libc.so.6       0x0000003706875d47
6  libc.so.6       0x000000370687d0e8
7  clang           0x00000000010e58a4
clang::TemplateSpecializationTypeLoc::initializeArgLocs(clang::ASTContext&,
unsigned int, clang::TemplateArgument const*, clang::TemplateArgumentLocInfo*,
clang::SourceLocation) + 468
8  clang           0x00000000010e5b16
clang::TypeLoc::initializeImpl(clang::ASTContext&, clang::TypeLoc,
clang::SourceLocation) + 326
9  clang           0x0000000000fc7956
clang::ASTContext::getTrivialTypeSourceInfo(clang::QualType,
clang::SourceLocation) const + 38
10 clang           0x0000000000bfb340
11 clang           0x0000000000bfb695
12 clang           0x0000000000c00ea4
clang::Sema::getMoreSpecializedPartialSpecialization(clang::ClassTemplatePartialSpecializationDecl*,
clang::ClassTemplatePartialSpecializationDecl*, clang::SourceLocation) + 692
13 clang           0x0000000000c2e65a
clang::Sema::InstantiateClassTemplateSpecialization(clang::SourceLocation,
clang::ClassTemplateSpecializationDecl*, clang::TemplateSpecializationKind,
bool) + 1050
14 clang           0x0000000000c63cfe
clang::Sema::RequireCompleteType(clang::SourceLocation, clang::QualType,
clang::Sema::TypeDiagnoser&) + 1534
15 clang           0x00000000009a7adb
clang::Sema::RequireCompleteDeclContext(clang::CXXScopeSpec&,
clang::DeclContext*) + 219
16 clang           0x0000000000bc83c9
clang::Sema::CheckTypenameType(clang::ElaboratedTypeKeyword,
clang::SourceLocation, clang::NestedNameSpecifierLoc, clang::IdentifierInfo
const&, clang::SourceLocation) + 185
17 clang           0x0000000000c1fa5b
18 clang           0x0000000000c26d67
19 clang           0x0000000000c258cd
20 clang           0x0000000000c3f7d4
clang::Sema::SubstFunctionDeclType(clang::TypeSourceInfo*,
clang::MultiLevelTemplateArgumentList const&, clang::SourceLocation,
clang::DeclarationName, clang::CXXRecordDecl*, unsigned int) + 596
21 clang           0x0000000000c4649e
clang::TemplateDeclInstantiator::SubstFunctionType(clang::FunctionDecl*,
llvm::SmallVectorImpl<clang::ParmVarDecl*>&) + 126
22 clang           0x0000000000c4866c
clang::TemplateDeclInstantiator::VisitFunctionDecl(clang::FunctionDecl*,
clang::TemplateParameterList*) + 396
23 clang           0x0000000000c41d77
24 clang           0x0000000000c49e98 clang::Sema::SubstDecl(clang::Decl*,
clang::DeclContext*, clang::MultiLevelTemplateArgumentList const&) + 120
25 clang           0x0000000000c1731a
clang::Sema::FinishTemplateArgumentDeduction(clang::FunctionTemplateDecl*,
llvm::SmallVectorImpl<clang::DeducedTemplateArgument>&, unsigned int,
clang::FunctionDecl*&, clang::sema::TemplateDeductionInfo&,
llvm::SmallVectorImpl<clang::Sema::OriginalCallArg> const*) + 1210
26 clang           0x0000000000c1af6d
clang::Sema::DeduceTemplateArguments(clang::FunctionTemplateDecl*,
clang::TemplateArgumentListInfo*, llvm::ArrayRef<clang::Expr*>,
clang::FunctionDecl*&, clang::sema::TemplateDeductionInfo&) + 1277
27 clang           0x0000000000b86cae
clang::Sema::AddTemplateOverloadCandidate(clang::FunctionTemplateDecl*,
clang::DeclAccessPair, clang::TemplateArgumentListInfo*,
llvm::ArrayRef<clang::Expr*>, clang::OverloadCandidateSet&, bool) + 350
28 clang           0x0000000000b8786d
29 clang           0x0000000000b879bf
clang::Sema::AddOverloadedCallCandidates(clang::UnresolvedLookupExpr*,
llvm::ArrayRef<clang::Expr*>, clang::OverloadCandidateSet&, bool) + 271
30 clang           0x0000000000b87b59
clang::Sema::buildOverloadedCallSet(clang::Scope*, clang::Expr*,
clang::UnresolvedLookupExpr*, clang::Expr**, unsigned int,
clang::SourceLocation, clang::OverloadCandidateSet*,
clang::ActionResult<clang::Expr*, true>*) + 217
31 clang           0x0000000000b90c57
clang::Sema::BuildOverloadedCallExpr(clang::Scope*, clang::Expr*,
clang::UnresolvedLookupExpr*, clang::SourceLocation, clang::Expr**, unsigned
int, clang::SourceLocation, clang::Expr*, bool) + 423
32 clang           0x0000000000aeb601 clang::Sema::ActOnCallExpr(clang::Scope*,
clang::Expr*, clang::SourceLocation, llvm::MutableArrayRef<clang::Expr*>,
clang::SourceLocation, clang::Expr*, bool) + 1169
33 clang           0x0000000000c30736
34 clang           0x0000000000c2ad45
35 clang           0x0000000000c3c5c4
36 clang           0x0000000000c2ad17
37 clang           0x0000000000c32035
38 clang           0x0000000000c2a51e
39 clang           0x0000000000c391e3
40 clang           0x0000000000c3a26a
41 clang           0x0000000000c38a77
42 clang           0x0000000000c3a400 clang::Sema::SubstStmt(clang::Stmt*,
clang::MultiLevelTemplateArgumentList const&) + 80
43 clang           0x0000000000c51aa9
clang::Sema::InstantiateFunctionDefinition(clang::SourceLocation,
clang::FunctionDecl*, bool, bool) + 2649
44 clang           0x0000000000c50e2a
clang::Sema::PerformPendingInstantiations(bool) + 490
45 clang           0x0000000000c516a9
clang::Sema::InstantiateFunctionDefinition(clang::SourceLocation,
clang::FunctionDecl*, bool, bool) + 1625
46 clang           0x0000000000c50e2a
clang::Sema::PerformPendingInstantiations(bool) + 490
47 clang           0x0000000000c516a9
clang::Sema::InstantiateFunctionDefinition(clang::SourceLocation,
clang::FunctionDecl*, bool, bool) + 1625
48 clang           0x0000000000c50e2a
clang::Sema::PerformPendingInstantiations(bool) + 490
49 clang           0x0000000000c516a9
clang::Sema::InstantiateFunctionDefinition(clang::SourceLocation,
clang::FunctionDecl*, bool, bool) + 1625
50 clang           0x0000000000c50e2a
clang::Sema::PerformPendingInstantiations(bool) + 490
51 clang           0x0000000000c516a9
clang::Sema::InstantiateFunctionDefinition(clang::SourceLocation,
clang::FunctionDecl*, bool, bool) + 1625
52 clang           0x0000000000c50e2a
clang::Sema::PerformPendingInstantiations(bool) + 490
53 clang           0x0000000000c516a9
clang::Sema::InstantiateFunctionDefinition(clang::SourceLocation,
clang::FunctionDecl*, bool, bool) + 1625
54 clang           0x0000000000c50e2a
clang::Sema::PerformPendingInstantiations(bool) + 490
55 clang           0x0000000000c516a9
clang::Sema::InstantiateFunctionDefinition(clang::SourceLocation,
clang::FunctionDecl*, bool, bool) + 1625
56 clang           0x0000000000c50e2a
clang::Sema::PerformPendingInstantiations(bool) + 490
57 clang           0x0000000000c516a9
clang::Sema::InstantiateFunctionDefinition(clang::SourceLocation,
clang::FunctionDecl*, bool, bool) + 1625
58 clang           0x0000000000c50e2a
clang::Sema::PerformPendingInstantiations(bool) + 490
59 clang           0x000000000099153a clang::Sema::ActOnEndOfTranslationUnit()
+ 3354
60 clang           0x000000000090346e
clang::Parser::ParseTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&) + 446
61 clang           0x00000000008fbddb clang::ParseAST(clang::Sema&, bool, bool)
+ 539
62 clang           0x00000000007a2d72 clang::CodeGenAction::ExecuteAction() +
50
63 clang           0x00000000006445e9 clang::FrontendAction::Execute() + 169
64 clang           0x0000000000624072
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 290
65 clang           0x000000000060d6d2
clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 1682
66 clang           0x0000000000606cf0 cc1_main(char const**, char const**, char
const*, void*) + 1072
67 clang           0x0000000000605396 main + 8214
68 libc.so.6       0x0000003706821b75 __libc_start_main + 245
69 clang           0x0000000000605c01
Stack dump:
0.    Program arguments: /usr/bin/clang -cc1 -triple x86_64-redhat-linux-gnu
-emit-obj -mrelax-all -disable-free -disable-llvm-verifier -main-file-name
linker.cpp -mrelocation-model static -mdisable-fp-elim -fmath-errno
-masm-verbose -mconstructor-aliases -munwind-tables -fuse-init-array
-target-cpu x86-64 -target-linker-version 2.23.52.0.1 -g -coverage-file
/home/abaxter/Projects/Du/apollo/build/debug/libapollo/core/CMakeFiles/core.dir/linker.cpp.o
-resource-dir /usr/bin/../lib/clang/3.3 -I
/home/abaxter/Projects/Du/apollo/libapollo/include -I
/home/abaxter/local/include -internal-isystem
/usr/lib/gcc/x86_64-redhat-linux/4.8.1/../../../../include/c++/4.8.1
-internal-isystem
/usr/lib/gcc/x86_64-redhat-linux/4.8.1/../../../../include/c++/4.8.1/x86_64-redhat-linux
-internal-isystem
/usr/lib/gcc/x86_64-redhat-linux/4.8.1/../../../../include/c++/4.8.1/backward
-internal-isystem
/usr/lib/gcc/x86_64-redhat-linux/4.8.1/../../../../include/x86_64-redhat-linux/c++/4.8.1
-internal-isystem /usr/local/include -internal-isystem
/usr/bin/../lib/clang/3.3/include -internal-externc-isystem /usr/include
-internal-externc-isystem /usr/lib/gcc/x86_64-redhat-linux/4.8.1/include
-std=c++0x -fdeprecated-macro -fdebug-compilation-dir
/home/abaxter/Projects/Du/apollo/build/debug/libapollo/core -ferror-limit 19
-fmessage-length 238 -mstackrealign -fobjc-runtime=gcc
-fobjc-default-synthesize-properties -fcxx-exceptions -fexceptions
-fdiagnostics-show-option -fcolor-diagnostics -backend-option -vectorize-loops
-o CMakeFiles/core.dir/linker.cpp.o -x c++
/home/abaxter/Projects/Du/apollo/libapollo/core/linker.cpp 
1.    <eof> parser at end of file
2.    /home/abaxter/local/include/boost/units/io.hpp:1042:42: instantiating
function definition 'operator<<'
3.    /home/abaxter/local/include/boost/units/io.hpp:965:6: instantiating
function definition 'maybe_print_prefixed'
4.    /home/abaxter/local/include/boost/units/io.hpp:953:6: instantiating
function definition 'do_print_prefixed'
5.    /home/abaxter/local/include/boost/units/quantity.hpp:201:9: instantiating
function definition 'quantity'
6.   
/home/abaxter/local/include/boost/units/detail/conversion_impl.hpp:341:29:
instantiating function definition 'convert'
7.    /home/abaxter/local/include/boost/units/conversion.hpp:176:1:
instantiating function definition 'conversion_factor'
8.   
/home/abaxter/local/include/boost/units/detail/conversion_impl.hpp:446:17:
instantiating function definition 'value'
9.   
/home/abaxter/local/include/boost/units/detail/conversion_impl.hpp:317:21:
instantiating function definition 'value'
clang: error: unable to execute command: Aborted (core dumped)
clang: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 3.3 (tags/RELEASE_33/rc3)
Target: x86_64-redhat-linux-gnu
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/20130708/e06cf113/attachment.html>


More information about the llvm-bugs mailing list