[llvm-bugs] [Bug 27490] New: r267215 made clang crash when building chromium

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Apr 22 14:49:50 PDT 2016


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

            Bug ID: 27490
           Summary: r267215 made clang crash when building chromium
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Transformation Utilities
          Assignee: unassignedbugs at nondot.org
          Reporter: nicolasweber at gmx.de
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

e.g.
https://build.chromium.org/p/chromium.fyi/builders/ClangToTMac/builds/8864/steps/compile/logs/stdio
:

FAILED: ../../third_party/llvm-build/Release+Asserts/bin/clang -MMD -MF
obj/third_party/pdfium/third_party/libpng16/fx_lpng.pngerror.o.d -DOPJ_STATIC
-DPNG_PREFIX -DPNG_USE_READ_MACROS -D_CRT_SECURE_NO_WARNINGS
-DV8_DEPRECATION_WARNINGS -DCLD_VERSION=2
-D__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE=0 -DCHROMIUM_BUILD
-DCR_CLANG_REVISION=267226 -DCOMPONENT_BUILD -DUSE_LIBJPEG_TURBO=1
-DENABLE_WEBRTC=1 -DENABLE_MEDIA_ROUTER=1 -DENABLE_PEPPER_CDMS
-DENABLE_NOTIFICATIONS -DENABLE_TOPCHROME_MD=1 -DFIELDTRIAL_TESTING_ENABLED
-DENABLE_TASK_MANAGER=1 -DENABLE_EXTENSIONS=1 -DENABLE_PDF=1
-DENABLE_PLUGIN_INSTALLATION=1 -DENABLE_PLUGINS=1 -DENABLE_SESSION_SERVICE=1
-DENABLE_THEMES=1 -DENABLE_AUTOFILL_DIALOG=1 -DENABLE_PRINTING=1
-DENABLE_BASIC_PRINTING=1 -DENABLE_PRINT_PREVIEW=1 -DENABLE_SPELLCHECK=1
-DUSE_BROWSER_SPELLCHECKER=1 -DENABLE_CAPTIVE_PORTAL_DETECTION=1
-DENABLE_APP_LIST=1 -DENABLE_SETTINGS_APP=1 -DENABLE_SUPERVISED_USERS=1
-DENABLE_SERVICE_DISCOVERY=1 -DV8_USE_EXTERNAL_STARTUP_DATA
-DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL
-DUSE_LIBPCI=1 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -I../..
-I../../third_party/pdfium -Igen -isysroot
/Applications/Xcode7.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk
-O2 -fvisibility=hidden -Werror -mmacosx-version-min=10.7 -arch x86_64 -Wall
-Wno-unused-parameter -Wno-missing-field-initializers
-Wno-selector-type-mismatch -Wpartial-availability -Wheader-hygiene
-Wno-char-subscripts -Wno-unneeded-internal-declaration
-Wno-covered-switch-default -Wstring-conversion -Wno-c++11-narrowing
-Wno-deprecated-register -Wno-inconsistent-missing-override
-Wno-shift-negative-value -Wno-undefined-var-template -Wno-unused-variable
-std=c99 -fcolor-diagnostics -fno-strict-aliasing  -c
../../third_party/pdfium/third_party/libpng16/pngerror.c -o
obj/third_party/pdfium/third_party/libpng16/fx_lpng.pngerror.o
Assertion failed: (!SI.isVolatile() && "volatile unhandled here"), function
combineStoreToNewValue, file
/b/build/slave/ClangToTMac/build/src/third_party/llvm/lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp,
line 405.
0  clang-3.9                0x0000000101ef1f7b
llvm::sys::PrintStackTrace(llvm::raw_ostream&) + 43
1  clang-3.9                0x0000000101ef1196 llvm::sys::RunSignalHandlers() +
70
2  clang-3.9                0x0000000101ef279f abort + 767
3  libsystem_platform.dylib 0x00007fff964aff1a _sigtramp + 26
4  clang-3.9                0x00000001042957e9 clang::Stmt::StatisticsEnabled +
217497
5  clang-3.9                0x0000000101ef24b6 abort + 22
6  clang-3.9                0x0000000101ef2491 __assert_rtn + 81
7  clang-3.9                0x0000000101c0eafc void
std::__1::vector<llvm::Type*, std::__1::allocator<llvm::Type*>
>::__push_back_slow_path<llvm::Type* const&>(llvm::Type* const&&&) + 184492
8  clang-3.9                0x0000000101c0c807 void
std::__1::vector<llvm::Type*, std::__1::allocator<llvm::Type*>
>::__push_back_slow_path<llvm::Type* const&>(llvm::Type* const&&&) + 175543
9  clang-3.9                0x0000000101baf58b void
std::__1::vector<llvm::ArrayRef<unsigned char>,
std::__1::allocator<llvm::ArrayRef<unsigned char> >
>::__push_back_slow_path<llvm::ArrayRef<unsigned char>
>(llvm::ArrayRef<unsigned char>&&) + 52987
10 clang-3.9                0x0000000101bb0d9f
llvm::InstCombinePass::run(llvm::Function&,
llvm::AnalysisManager<llvm::Function>&) + 4591
11 clang-3.9                0x0000000101bb1365
llvm::InstructionCombiningPass::runOnFunction(llvm::Function&) + 597
12 clang-3.9                0x0000000101ac30b8
llvm::FPPassManager::runOnFunction(llvm::Function&) + 328
13 clang-3.9                0x0000000101ac330b
llvm::FPPassManager::runOnModule(llvm::Module&) + 43
14 clang-3.9                0x0000000101ac3856
llvm::legacy::PassManagerImpl::run(llvm::Module&) + 998
15 clang-3.9                0x0000000102070ed7
clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::CodeGenOptions
const&, clang::TargetOptions const&, clang::LangOptions const&,
llvm::DataLayout const&, llvm::Module*, clang::BackendAction,
llvm::raw_pwrite_stream*) + 11255
16 clang-3.9                0x000000010206e3ea
clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::CodeGenOptions
const&, clang::TargetOptions const&, clang::LangOptions const&,
llvm::DataLayout const&, llvm::Module*, clang::BackendAction,
llvm::raw_pwrite_stream*) + 266
17 clang-3.9                0x000000010220f14b
clang::EmitObjAction::EmitObjAction(llvm::LLVMContext*) + 1547
18 clang-3.9                0x00000001029b5f95 clang::ParseAST(clang::Sema&,
bool, bool) + 581
19 clang-3.9                0x00000001023f108b clang::FrontendAction::Execute()
+ 75
20 clang-3.9                0x00000001023b5eb1
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 1073
21 clang-3.9                0x0000000102434fd9
clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 4713
22 clang-3.9                0x0000000100b5a08d cc1_main(llvm::ArrayRef<char
const*>, char const*, void*) + 1373
23 clang-3.9                0x0000000100b58a8d main + 11661
24 libdyld.dylib            0x00007fff8f0795c9 start + 1
Stack dump:
0.    Program arguments:
/b/build/slave/ClangToTMac/build/src/third_party/llvm-build/Release+Asserts/bin/clang-3.9 


It crashes really early, so I bet you can repro this by doing a self-host.

-- 
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/20160422/afe8fbe0/attachment-0001.html>


More information about the llvm-bugs mailing list