[LLVMbugs] [Bug 24053] New: Regression(241569:241574): Assertion `Val && "isa<> used on a null pointer" while building Chromium

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Jul 7 08:51:12 PDT 2015


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

            Bug ID: 24053
           Summary: Regression(241569:241574): Assertion `Val && "isa<>
                    used on a null pointer" while building Chromium
           Product: clang
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
          Assignee: unassignedclangbugs at nondot.org
          Reporter: nicolasweber at gmx.de
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

FAILED: ../../third_party/llvm-build/Release+Asserts/bin/clang++ -MMD -MF
obj/third_party/skia/src/gpu/skia.SkGr.o.d -DV8_DEPRECATION_WARNINGS
-D_FILE_OFFSET_BITS=64 -DCHROMIUM_BUILD -DCR_CLANG_REVISION=241574
-DCOMPONENT_BUILD -DUI_COMPOSITOR_IMAGE_TRANSPORT -DUSE_AURA=1 -DUSE_ASH=1
-DUSE_PANGO=1 -DUSE_CAIRO=1 -DUSE_DEFAULT_RENDER_THEME=1 -DUSE_LIBJPEG_TURBO=1
-DUSE_X11=1 -DUSE_CLIPBOARD_AURAX11=1 -DENABLE_ONE_CLICK_SIGNIN
-DENABLE_PRE_SYNC_BACKUP -DENABLE_REMOTING=1 -DENABLE_WEBRTC=1
-DENABLE_MEDIA_ROUTER=1 -DENABLE_PEPPER_CDMS -DENABLE_CONFIGURATION_POLICY
-DENABLE_NOTIFICATIONS -DENABLE_HIDPI=1 -DENABLE_TOPCHROME_MD=1 -DUSE_UDEV
-DDONT_EMBED_BUILD_METADATA -DENABLE_TASK_MANAGER=1 -DENABLE_EXTENSIONS=1
-DENABLE_PLUGINS=1 -DENABLE_SESSION_SERVICE=1 -DENABLE_THEMES=1
-DENABLE_AUTOFILL_DIALOG=1 -DENABLE_BACKGROUND=1 -DENABLE_GOOGLE_NOW=1
-DCLD_VERSION=2 -DENABLE_PRINTING=1 -DENABLE_BASIC_PRINTING=1
-DENABLE_PRINT_PREVIEW=1 -DENABLE_SPELLCHECK=1
-DENABLE_CAPTIVE_PORTAL_DETECTION=1 -DENABLE_APP_LIST=1 -DENABLE_SETTINGS_APP=1
-DENABLE_SUPERVISED_USERS=1 -DENABLE_MDNS=1 -DENABLE_SERVICE_DISCOVERY=1
-DV8_USE_EXTERNAL_STARTUP_DATA -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD
-DSAFE_BROWSING_DB_LOCAL -DSAFE_BROWSING_SERVICE -DSKIA_DLL
-DSKIA_IMPLEMENTATION=1 -DGR_GL_IGNORE_ES3_MSAA=0 -DSK_SUPPORT_GPU=1
-DSK_IGNORE_LINEONLY_AA_CONVEX_PATH_OPTS
'-DSK_DEFAULT_FONT_CACHE_LIMIT=(20*1024*1024)' -DSK_GAMMA_EXPONENT=1.2
-DSK_GAMMA_CONTRAST=0.2 -DSK_HIGH_QUALITY_IS_LANCZOS -DU_USING_ICU_NAMESPACE=0
-DU_ENABLE_DYLOAD=0 -DUSE_LIBPCI=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -DNDEBUG
-DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -Igen -I../.. -I../../skia/config
-I../../third_party/skia/include/c -I../../third_party/skia/include/core
-I../../third_party/skia/include/effects
-I../../third_party/skia/include/images -I../../third_party/skia/include/lazy
-I../../third_party/skia/include/pathops -I../../third_party/skia/include/pdf
-I../../third_party/skia/include/pipe -I../../third_party/skia/include/ports
-I../../third_party/skia/include/private -I../../third_party/skia/include/utils
-I../../third_party/skia/src/core -I../../third_party/skia/src/opts
-I../../third_party/skia/src/image -I../../third_party/skia/src/pdf
-I../../third_party/skia/src/ports -I../../third_party/skia/src/sfnt
-I../../third_party/skia/src/utils -I../../third_party/skia/src/lazy
-I../../third_party/skia/include/gpu -I../../third_party/skia/src/gpu
-I../../third_party/zlib -I../../third_party/icu/source/common
-fstack-protector --param=ssp-buffer-size=4  -pthread -fno-strict-aliasing
-Wno-unused-parameter -Wno-missing-field-initializers -fvisibility=hidden -pipe
-fPIC -Wno-reserved-user-defined-literal -fcolor-diagnostics -g
-B/b/build/slave/ClangToTLinux/build/src/third_party/binutils/Linux_x64/Release/bin
-Wheader-hygiene -Wno-char-subscripts -Wno-unneeded-internal-declaration
-Wno-covered-switch-default -Wno-c++11-narrowing -Wno-deprecated-register
-Wno-inconsistent-missing-override -Wno-unused -Wno-unused-function -pthread
-I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
-I/usr/include/freetype2 -pthread -I/usr/include/pango-1.0 -I/usr/include/cairo
-I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
-I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12
-Wno-format -Wno-unused-result -m64 -march=x86-64 -O2 -fno-ident
-fdata-sections -ffunction-sections -funwind-tables -fno-exceptions -fno-rtti
-fno-threadsafe-statics -fvisibility-inlines-hidden -std=gnu++11
-Wno-deprecated  -c ../../third_party/skia/src/gpu/SkGr.cpp -o
obj/third_party/skia/src/gpu/skia.SkGr.o
clang-3.7:
/b/build/slave/ClangToTLinux/build/src/third_party/llvm/include/llvm/Support/Casting.h:95:
static bool llvm::isa_impl_cl<To, const From*>::doit(const From*) [with To =
llvm::UnreachableInst; From = llvm::Instruction]: Assertion `Val && "isa<> used
on a null pointer"' failed.
0  clang-3.7 0x00000000016fdd85 llvm::sys::PrintStackTrace(llvm::raw_ostream&)
+ 37
1  clang-3.7 0x00000000016fce29
2  libc.so.6 0x00007fbbfe6f0150
3  libc.so.6 0x00007fbbfe6f00d5 gsignal + 53
4  libc.so.6 0x00007fbbfe6f383b abort + 379
5  libc.so.6 0x00007fbbfe6e8d9e
6  libc.so.6 0x00007fbbfe6e8e42
7  clang-3.7 0x000000000173850e llvm::ConstantFoldTerminator(llvm::BasicBlock*,
bool, llvm::TargetLibraryInfo const*) + 2878
8  clang-3.7 0x00000000016487d6
9  clang-3.7 0x00000000013d0d34
llvm::legacy::PassManagerImpl::run(llvm::Module&) + 740
10 clang-3.7 0x0000000001b444f2
clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::CodeGenOptions
const&, clang::TargetOptions const&, clang::LangOptions const&,
llvm::StringRef, llvm::Module*, clang::BackendAction, llvm::raw_pwrite_stream*)
+ 2290
11 clang-3.7 0x0000000001b331ac
12 clang-3.7 0x000000000208a723 clang::ParseAST(clang::Sema&, bool, bool) + 483
13 clang-3.7 0x0000000001b33e1b clang::CodeGenAction::ExecuteAction() + 59
14 clang-3.7 0x0000000001893b2e clang::FrontendAction::Execute() + 302
15 clang-3.7 0x00000000018712d9
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 345
16 clang-3.7 0x000000000191effe
clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 2014
17 clang-3.7 0x00000000007415b8 cc1_main(llvm::ArrayRef<char const*>, char
const*, void*) + 1512
18 clang-3.7 0x00000000007050f4 main + 4676
19 libc.so.6 0x00007fbbfe6db76d __libc_start_main + 237
20 clang-3.7 0x000000000073da85
Stack dump:
0.    Program arguments:
/b/build/slave/ClangToTLinux/build/src/third_party/llvm-build/Release+Asserts/bin/clang-3.7
-cc1 -triple x86_64-unknown-linux-gnu -emit-obj -disable-free -main-file-name
SkGr.cpp -mrelocation-model pic -pic-level 2 -mthread-model posix
-relaxed-aliasing -fmath-errno -masm-verbose -mconstructor-aliases
-munwind-tables -target-cpu x86-64 -momit-leaf-frame-pointer -g
-dwarf-column-info -ffunction-sections -fdata-sections -coverage-file
/b/build/slave/ClangToTLinux/build/src/out/Release/obj/third_party/skia/src/gpu/skia.SkGr.o
-resource-dir
/b/build/slave/ClangToTLinux/build/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.7.0
-dependency-file obj/third_party/skia/src/gpu/skia.SkGr.o.d -MT
obj/third_party/skia/src/gpu/skia.SkGr.o -D V8_DEPRECATION_WARNINGS -D
_FILE_OFFSET_BITS=64 -D CHROMIUM_BUILD -D CR_CLANG_REVISION=241574 -D
COMPONENT_BUILD -D UI_COMPOSITOR_IMAGE_TRANSPORT -D USE_AURA=1 -D USE_ASH=1 -D
USE_PANGO=1 -D USE_CAIRO=1 -D USE_DEFAULT_RENDER_THEME=1 -D USE_LIBJPEG_TURBO=1
-D USE_X11=1 -D USE_CLIPBOARD_AURAX11=1 -D ENABLE_ONE_CLICK_SIGNIN -D
ENABLE_PRE_SYNC_BACKUP -D ENABLE_REMOTING=1 -D ENABLE_WEBRTC=1 -D
ENABLE_MEDIA_ROUTER=1 -D ENABLE_PEPPER_CDMS -D ENABLE_CONFIGURATION_POLICY -D
ENABLE_NOTIFICATIONS -D ENABLE_HIDPI=1 -D ENABLE_TOPCHROME_MD=1 -D USE_UDEV -D
DONT_EMBED_BUILD_METADATA -D ENABLE_TASK_MANAGER=1 -D ENABLE_EXTENSIONS=1 -D
ENABLE_PLUGINS=1 -D ENABLE_SESSION_SERVICE=1 -D ENABLE_THEMES=1 -D
ENABLE_AUTOFILL_DIALOG=1 -D ENABLE_BACKGROUND=1 -D ENABLE_GOOGLE_NOW=1 -D
CLD_VERSION=2 -D ENABLE_PRINTING=1 -D ENABLE_BASIC_PRINTING=1 -D
ENABLE_PRINT_PREVIEW=1 -D ENABLE_SPELLCHECK=1 -D
ENABLE_CAPTIVE_PORTAL_DETECTION=1 -D ENABLE_APP_LIST=1 -D ENABLE_SETTINGS_APP=1
-D ENABLE_SUPERVISED_USERS=1 -D ENABLE_MDNS=1 -D ENABLE_SERVICE_DISCOVERY=1 -D
V8_USE_EXTERNAL_STARTUP_DATA -D FULL_SAFE_BROWSING -D SAFE_BROWSING_CSD -D
SAFE_BROWSING_DB_LOCAL -D SAFE_BROWSING_SERVICE -D SKIA_DLL -D
SKIA_IMPLEMENTATION=1 -D GR_GL_IGNORE_ES3_MSAA=0 -D SK_SUPPORT_GPU=1 -D
SK_IGNORE_LINEONLY_AA_CONVEX_PATH_OPTS -D
SK_DEFAULT_FONT_CACHE_LIMIT=(20*1024*1024) -D SK_GAMMA_EXPONENT=1.2 -D
SK_GAMMA_CONTRAST=0.2 -D SK_HIGH_QUALITY_IS_LANCZOS -D U_USING_ICU_NAMESPACE=0
-D U_ENABLE_DYLOAD=0 -D USE_LIBPCI=1 -D USE_GLIB=1 -D USE_NSS_CERTS=1 -D NDEBUG
-D NVALGRIND -D DYNAMIC_ANNOTATIONS_ENABLED=0 -I gen -I ../.. -I
../../skia/config -I ../../third_party/skia/include/c -I
../../third_party/skia/include/core -I ../../third_party/skia/include/effects
-I ../../third_party/skia/include/images -I ../../third_party/skia/include/lazy
-I ../../third_party/skia/include/pathops -I ../../third_party/skia/include/pdf
-I ../../third_party/skia/include/pipe -I ../../third_party/skia/include/ports
-I ../../third_party/skia/include/private -I
../../third_party/skia/include/utils -I ../../third_party/skia/src/core -I
../../third_party/skia/src/opts -I ../../third_party/skia/src/image -I
../../third_party/skia/src/pdf -I ../../third_party/skia/src/ports -I
../../third_party/skia/src/sfnt -I ../../third_party/skia/src/utils -I
../../third_party/skia/src/lazy -I ../../third_party/skia/include/gpu -I
../../third_party/skia/src/gpu -I ../../third_party/zlib -I
../../third_party/icu/source/common -I /usr/include/glib-2.0 -I
/usr/lib/x86_64-linux-gnu/glib-2.0/include -I /usr/include/freetype2 -I
/usr/include/pango-1.0 -I /usr/include/cairo -I /usr/include/glib-2.0 -I
/usr/lib/x86_64-linux-gnu/glib-2.0/include -I /usr/include/pixman-1 -I
/usr/include/freetype2 -I /usr/include/libpng12 -internal-isystem
/usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../include/c++/4.6 -internal-isystem
/usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../include/c++/4.6/x86_64-linux-gnu
-internal-isystem
/usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../include/c++/4.6/backward
-internal-isystem /usr/local/include -internal-isystem
/b/build/slave/ClangToTLinux/build/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.7.0/include
-internal-externc-isystem /usr/include/x86_64-linux-gnu
-internal-externc-isystem /include -internal-externc-isystem /usr/include -O2
-Wno-unused-parameter -Wno-missing-field-initializers
-Wno-reserved-user-defined-literal -Wheader-hygiene -Wno-char-subscripts
-Wno-unneeded-internal-declaration -Wno-covered-switch-default
-Wno-c++11-narrowing -Wno-deprecated-register
-Wno-inconsistent-missing-override -Wno-unused -Wno-unused-function -Wno-format
-Wno-unused-result -Wno-deprecated -std=gnu++11 -fdebug-compilation-dir
/b/build/slave/ClangToTLinux/build/src/out/Release -ferror-limit 19
-fmessage-length 0 -fvisibility hidden -fvisibility-inlines-hidden -pthread
-stack-protector 1 -stack-protector-buffer-size 4 -mstackrealign -fno-rtti
-fno-threadsafe-statics -fobjc-runtime=gcc -fdiagnostics-show-option
-fcolor-diagnostics -vectorize-loops -vectorize-slp -o
obj/third_party/skia/src/gpu/skia.SkGr.o -x c++
../../third_party/skia/src/gpu/SkGr.cpp 
1.    <eof> parser at end of file
2.    Per-module optimization passes
3.    Running pass 'Interprocedural Sparse Conditional Constant Propagation' on
module '../../third_party/skia/src/gpu/SkGr.cpp'.
clang-3.7: error: unable to execute command: Aborted (core dumped)
clang-3.7: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 3.7.0 (trunk 241574)
Target: x86_64-unknown-linux-gnu
Thread model: posix
clang-3.7: 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-3.7: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang-3.7: note: diagnostic msg: /tmp/SkGr-431d15.cpp
clang-3.7: note: diagnostic msg: /tmp/SkGr-431d15.sh
clang-3.7: note: diagnostic msg: 

********************



(Repro once I have it)

-- 
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/20150707/9e51971b/attachment.html>


More information about the llvm-bugs mailing list