[LLVMbugs] [Bug 23638] New: crashed compiling ICU in chromium on Linux

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri May 22 12:36:50 PDT 2015


https://llvm.org/bugs/show_bug.cgi?id=23638

            Bug ID: 23638
           Summary: crashed compiling ICU in chromium on Linux
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
          Assignee: unassignedclangbugs at nondot.org
          Reporter: jshin at chromium.org
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 14372
  --> https://llvm.org/bugs/attachment.cgi?id=14372&action=edit
preprocessed source

clang 3.7.0 crshed while compiling umutex.cpp in ICU in chromium with the
following error message. umutex.cpp in question is patched with a CL at
http://bugs.icu-project.org/trac/changeset/37326

1.      ../../third_party/icu/source/common/umutex.cpp:278:33: current parser
token '{'
2.      ../../third_party/icu/source/common/umutex.cpp:255:1
<Spelling=../../third_party/icu/source/common/unicode/uversion.h:117:45>:
parsing namespace 'icu_54'
3.      ../../third_party/icu/source/common/umutex.cpp:270:38: parsing function
body 'umtx_initImplPreInit'
4.      ../../third_party/icu/source/common/umutex.cpp:270:38: in compound
statement ('{}')
5.      ../../third_party/icu/source/common/umutex.cpp:277:12: in compound
statement ('{}')
clang: error: unable to execute command: Aborted
clang: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 3.7.0 (trunk 233105)
Target: x86_64-unknown-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: 


Stack trace is as following: 

clang:
/work/chromium/src/third_party/llvm/tools/clang/lib/Sema/SemaChecking.cpp:6016:
voi
d (anonymous namespace)::DiagnoseOutOfRangeComparison(clang::Sema &,
clang::BinaryOperator
 *, clang::Expr *, clang::Expr *, llvm::APSInt, bool): Assertion
`(OtherT->isIntegerType() && ConstantT->isIntegerType()) && "comparison with
non-integer type"' failed.
0  clang     0x00000000014b18ba llvm::sys::PrintStackTrace(llvm::raw_ostream&)
+ 421  clang     0x00000000014b2d3b
2  libc.so.6 0x00007f4c49141d40
3  libc.so.6 0x00007f4c49141cc9 gsignal + 57
4  libc.so.6 0x00007f4c491450d8 abort + 328
5  libc.so.6 0x00007f4c4913ab86
6  libc.so.6 0x00007f4c4913ac32
7  clang     0x0000000002045904
8  clang     0x000000000202e7a8
9  clang     0x000000000202f34b clang::Sema::CheckCompletedExpr(clang::Expr*,
clang::SourceLocation, bool) + 75
10 clang     0x000000000221e75c clang::Sema::ActOnFinishFullExpr(clang::Expr*,
clang::SourceLocation, bool, bool, bool) + 300
11 clang     0x0000000001eb4568
clang::Parser::ParseWhileStatement(clang::SourceLocation*) + 392
12 clang     0x0000000001eb15be
clang::Parser::ParseStatementOrDeclarationAfterAttributes(llvm::SmallVector<clang::Stmt*,
32u>&, bool, clang::SourceLocation*, clang::Parser::ParsedAttributesWithRange&)
+ 2654
13 clang     0x0000000001eb0acf
clang::Parser::ParseStatementOrDeclaration(llvm::SmallVector<clang::Stmt*,
32u>&, bool, clang::SourceLocation*) + 143
14 clang     0x0000000001eb8194 clang::Parser::ParseCompoundStatementBody(bool)
+ 1588
15 clang     0x0000000001eb195c
clang::Parser::ParseStatementOrDeclarationAfterAttributes(llvm::SmallVector<clang::Stmt*,
32u>&, bool, clang::SourceLocation*, clang::Parser::ParsedAttributesWithRange&)
+ 3580
16 clang     0x0000000001eb0acf
clang::Parser::ParseStatementOrDeclaration(llvm::SmallVector<clang::Stmt*,
32u>&, bool, clang::SourceLocation*) + 143
17 clang     0x0000000001eb3ef2
clang::Parser::ParseIfStatement(clang::SourceLocation*) + 1202
18 clang     0x0000000001eb16a6
clang::Parser::ParseStatementOrDeclarationAfterAttributes(llvm::SmallVector<clang::Stmt*,
32u>&, bool, clang::SourceLocation*, clang::Parser::ParsedAttributesWithRange&)
+ 2886
19 clang     0x0000000001eb0acf
clang::Parser::ParseStatementOrDeclaration(llvm::SmallVector<clang::Stmt*,
32u>&, bool, clang::SourceLocation*) + 143
20 clang     0x0000000001eb8194 clang::Parser::ParseCompoundStatementBody(bool)
+ 1588
21 clang     0x0000000001eb8b63
clang::Parser::ParseFunctionStatementBody(clang::Decl*,
clang::Parser::ParseScope&) + 195

-- 
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/20150522/c0b284c3/attachment.html>


More information about the llvm-bugs mailing list