[LLVMbugs] [Bug 8649] New: clang assertion: SmallVector overflow compiling template code
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Thu Nov 18 13:35:40 PST 2010
http://llvm.org/bugs/show_bug.cgi?id=8649
Summary: clang assertion: SmallVector overflow compiling
template code
Product: clang
Version: trunk
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P
Component: Frontend
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: stoklund at 2pi.dk
CC: llvmbugs at cs.uiuc.edu
$ clang++ -v
clang version 2.9 (trunk 119741)
Target: x86_64-apple-darwin10
Thread model: posix
$ clang++ -O3 -fno-exceptions -fno-rtti -fno-common -m64 -c -x c++ crash.ii
Assertion failed: (begin() + idx < end()), function operator[], file
/Volumes/Data/g/llvm/include/llvm/ADT/SmallVector.h, line 149.
0 clang 0x0000000100f86df2 std::vector<llvm::sys::Path,
std::allocator<llvm::sys::Path>
>::_M_insert_aux(__gnu_cxx::__normal_iterator<llvm::sys::Path*,
std::vector<llvm::sys::Path, std::allocator<llvm::sys::Path> > >,
llvm::sys::Path const&) + 8850
1 clang 0x0000000100f87399 std::vector<llvm::sys::Path,
std::allocator<llvm::sys::Path>
>::_M_insert_aux(__gnu_cxx::__normal_iterator<llvm::sys::Path*,
std::vector<llvm::sys::Path, std::allocator<llvm::sys::Path> > >,
llvm::sys::Path const&) + 10297
2 libSystem.B.dylib 0x00007fff8320f67a _sigtramp + 26
3 clang 0x00000001003de7ac
llvm::SmallVectorImpl<clang::TargetInfo::ConstraintInfo>::~SmallVectorImpl() +
7740
4 clang 0x0000000100019a66
std::vector<llvm::PassRegistrationListener*,
std::allocator<llvm::PassRegistrationListener*>
>::_M_insert_aux(__gnu_cxx::__normal_iterator<llvm::PassRegistrationListener**,
std::vector<llvm::PassRegistrationListener*,
std::allocator<llvm::PassRegistrationListener*> > >,
llvm::PassRegistrationListener* const&) + 3606
5 clang 0x0000000100019a28
std::vector<llvm::PassRegistrationListener*,
std::allocator<llvm::PassRegistrationListener*>
>::_M_insert_aux(__gnu_cxx::__normal_iterator<llvm::PassRegistrationListener**,
std::vector<llvm::PassRegistrationListener*,
std::allocator<llvm::PassRegistrationListener*> > >,
llvm::PassRegistrationListener* const&) + 3544
6 clang 0x00000001004142f2 clang::TemplateArgumentLoc*
std::__uninitialized_copy_aux<clang::TemplateArgumentLoc const*,
clang::TemplateArgumentLoc*>(clang::TemplateArgumentLoc const*,
clang::TemplateArgumentLoc const*, clang::TemplateArgumentLoc*,
std::__false_type) + 20850
7 clang 0x00000001004180c9 clang::TemplateArgumentLoc*
std::__uninitialized_copy_aux<clang::TemplateArgumentLoc const*,
clang::TemplateArgumentLoc*>(clang::TemplateArgumentLoc const*,
clang::TemplateArgumentLoc const*, clang::TemplateArgumentLoc*,
std::__false_type) + 36681
8 clang 0x000000010040f3c0 clang::TemplateArgumentLoc*
std::__uninitialized_copy_aux<clang::TemplateArgumentLoc const*,
clang::TemplateArgumentLoc*>(clang::TemplateArgumentLoc const*,
clang::TemplateArgumentLoc const*, clang::TemplateArgumentLoc*,
std::__false_type) + 576
9 clang 0x0000000100420d65 clang::DeducedTemplateArgument*
std::__uninitialized_copy_aux<clang::DeducedTemplateArgument const*,
clang::DeducedTemplateArgument*>(clang::DeducedTemplateArgument const*,
clang::DeducedTemplateArgument const*, clang::DeducedTemplateArgument*,
std::__false_type) + 29301
10 clang 0x0000000100444edf
clang::Redeclarable<clang::TypedefDecl>::setPreviousDeclaration(clang::TypedefDecl*)
+ 30527
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list