[llvm-bugs] [Bug 36903] New: Compiler crash (r327688)

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Mar 26 05:54:45 PDT 2018


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

            Bug ID: 36903
           Summary: Compiler crash (r327688)
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
          Assignee: unassignedclangbugs at nondot.org
          Reporter: bauerb at chromium.org
                CC: dgregor at apple.com, llvm-bugs at lists.llvm.org

Created attachment 20126
  --> https://bugs.llvm.org/attachment.cgi?id=20126&action=edit
Run script

#0 0x0000000001f24454
(../../third_party/llvm-build/Release+Asserts/bin/clang+++0x1f24454)
#1 0x0000000001f247b6
(../../third_party/llvm-build/Release+Asserts/bin/clang+++0x1f247b6)
#2 0x00007f2538e460c0 __restore_rt
(/lib/x86_64-linux-gnu/libpthread.so.0+0x110c0)
#3 0x00000000020a5c74
(../../third_party/llvm-build/Release+Asserts/bin/clang+++0x20a5c74)
#4 0x00000000020a593f clang::SourceManager::getLineNumber(clang::FileID,
unsigned int, bool*) const
(../../third_party/llvm-build/Release+Asserts/bin/clang+++0x20a593f)
#5 0x00000000020a5606
clang::SourceManager::getPresumedLoc(clang::SourceLocation, bool) const
(../../third_party/llvm-build/Release+Asserts/bin/clang+++0x20a5606)
#6 0x00000000020e7c54
clang::CodeGen::CGDebugInfo::getOrCreateFile(clang::SourceLocation)
(../../third_party/llvm-build/Release+Asserts/bin/clang+++0x20e7c54)
#7 0x00000000021005dd
clang::CodeGen::CGDebugInfo::EmitUsingDecl(clang::UsingDecl const&)
(../../third_party/llvm-build/Release+Asserts/bin/clang+++0x21005dd)
#8 0x00000000028de2b0
(../../third_party/llvm-build/Release+Asserts/bin/clang+++0x28de2b0)
#9 0x00000000028db4bb
(../../third_party/llvm-build/Release+Asserts/bin/clang+++0x28db4bb)
#10 0x0000000002576220
clang::MultiplexConsumer::HandleTopLevelDecl(clang::DeclGroupRef)
(../../third_party/llvm-build/Release+Asserts/bin/clang+++0x2576220)
#11 0x000000000309e424 clang::ParseAST(clang::Sema&, bool, bool)
(../../third_party/llvm-build/Release+Asserts/bin/clang+++0x309e424)
#12 0x000000000254a5c0 clang::FrontendAction::Execute()
(../../third_party/llvm-build/Release+Asserts/bin/clang+++0x254a5c0)
#13 0x00000000024f57c1
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&)
(../../third_party/llvm-build/Release+Asserts/bin/clang+++0x24f57c1)
#14 0x00000000025e3e79
clang::ExecuteCompilerInvocation(clang::CompilerInstance*)
(../../third_party/llvm-build/Release+Asserts/bin/clang+++0x25e3e79)
#15 0x0000000000881f63 cc1_main(llvm::ArrayRef<char const*>, char const*,
void*) (../../third_party/llvm-build/Release+Asserts/bin/clang+++0x881f63)
#16 0x000000000087f614 main
(../../third_party/llvm-build/Release+Asserts/bin/clang+++0x87f614)
#17 0x00007f25379c52b1 __libc_start_main
(/lib/x86_64-linux-gnu/libc.so.6+0x202b1)
#18 0x000000000087c679 _start
(../../third_party/llvm-build/Release+Asserts/bin/clang+++0x87c679)
Stack dump:
0.      Program arguments:
../../third_party/llvm-build/Release+Asserts/bin/clang++ -cc1 -triple
thumbv7--linux-android -emit-obj -disable-free -main-file-name
chrome_content_browser_client.cc -mrelocation-model pic -pic-level 2
-mthread-model posix -relaxed-aliasing -fmath-errno -masm-verbose
-mconstructor-aliases -munwind-tables -fuse-init-array -target-cpu generic
-target-feature +soft-float-abi -target-feature -fp-only-sp -target-feature
-d16 -target-feature +vfp3 -target-feature -fp16 -target-feature -vfp4
-target-feature -fp-armv8 -target-feature +neon -target-feature -crypto
-target-abi aapcs-linux -mfloat-abi soft -fallow-half-arguments-and-returns
-dwarf-column-info -debug-info-kind=limited -dwarf-version=3
-debugger-tuning=gdb -ggnu-pubnames -ffunction-sections -fdata-sections
-coverage-notes-file
/usr/local/google/home/bauerb/build/clankium/src/out/Debug/obj/chrome/browser/browser/chrome_content_browser_client.gcno
-resource-dir ../../third_party/llvm-build/Release+Asserts/lib/clang/7.0.0
-dependency-file obj/chrome/browser/browser/chrome_content_browser_client.o.d
-MT obj/chrome/browser/browser/chrome_content_browser_client.o -isystem
../../third_party/android_ndk/sysroot/usr/include/arm-linux-androideabi
-isystem ../../third_party/android_ndk/sources/cxx-stl/llvm-libc++/include
-isystem ../../third_party/android_ndk/sources/cxx-stl/llvm-libc++abi/include
-isystem ../../third_party/android_ndk/sources/android/support/include -D
V8_DEPRECATION_WARNINGS -D NO_TCMALLOC -D SAFE_BROWSING_DB_REMOTE -D
CHROMIUM_BUILD -D FIELDTRIAL_TESTING_ENABLED -D ANDROID -D HAVE_SYS_UIO_H -D
ANDROID_NDK_VERSION_ROLL=r16_1 -D CR_CLANG_REVISION="327688-1" -D
__STDC_CONSTANT_MACROS -D __STDC_FORMAT_MACROS -D COMPONENT_BUILD -D
__GNU_SOURCE=1 -D CHROMIUM_CXX_TWEAK_INLINES -D _DEBUG -D
DYNAMIC_ANNOTATIONS_ENABLED=1 -D WTF_USE_DYNAMIC_ANNOTATIONS=1 -D
WEBP_EXTERN=extern -D USE_EGL -D EXPAT_RELATIVE_PATH -D U_USING_ICU_NAMESPACE=0
-D U_ENABLE_DYLOAD=0 -D ICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE -D
UCHAR_TYPE=uint16_t -D GOOGLE_PROTOBUF_NO_RTTI -D
GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER -D HAVE_PTHREAD -D PROTOBUF_USE_DLLS -D
V8_USE_EXTERNAL_STARTUP_DATA -D BORINGSSL_SHARED_LIBRARY -D
LEVELDB_PLATFORM_CHROMIUM=1 -D SK_IGNORE_LINEONLY_AA_CONVEX_PATH_OPTS -D
SK_HAS_PNG_LIBRARY -D SK_HAS_WEBP_LIBRARY -D SK_HAS_JPEG_LIBRARY -D SKIA_DLL -D
GR_GL_IGNORE_ES3_MSAA=0 -D SK_SUPPORT_GPU=1 -D SK_BUILD_FOR_ANDROID -D
USE_CHROMIUM_SKIA -D USING_V8_SHARED -D V8_ENABLE_CHECKS -D
WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS=0 -D GTEST_RELATIVE_PATH -D
WEBRTC_CHROMIUM_BUILD -D WEBRTC_POSIX -D WEBRTC_LINUX -D WEBRTC_ANDROID -D
MESA_EGL_NO_X11_HEADERS -D
I18N_ADDRESS_VALIDATION_DATA_URL="https://chromium-i18n.appspot.com/ssl-aggregate-address/"
-D RLZ_NETWORK_IMPLEMENTATION_CHROME_NET -D I18N_PHONENUMBERS_USE_ICU_REGEXP=1
-D I18N_PHONENUMBERS_USE_ALTERNATE_FORMATS=1 -D USING_V8_SHARED -D
V8_ENABLE_CHECKS -D XML_STATIC -I ../.. -I gen -I
../../third_party/gvr-android-sdk/src/libraries/headers -I
../../third_party/libwebp/src -I ../../third_party/khronos -I ../../gpu -I
../../third_party/libyuv/include -I ../../third_party/webrtc_overrides -I
../../testing/gtest/include -I ../../third_party/libyuv/include -I
../../third_party/usrsctp/usrsctplib -I ../../third_party/webrtc -I
../../third_party/ced/src -I ../../third_party/icu/source/common -I
../../third_party/icu/source/i18n -I ../../third_party/protobuf/src -I
../../third_party/protobuf/src -I gen/protoc_out -I
../../third_party/boringssl/src/include -I ../../third_party/leveldatabase -I
../../third_party/leveldatabase/src -I
../../third_party/leveldatabase/src/include -I ../../skia/config -I
../../skia/ext -I ../../third_party/skia/include/c -I
../../third_party/skia/include/config -I ../../third_party/skia/include/core -I
../../third_party/skia/include/effects -I ../../third_party/skia/include/encode
-I ../../third_party/skia/include/gpu -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/utils -I ../../third_party/skia/src/gpu -I
../../third_party/skia/src/sksl -I ../../third_party/libwebm/source -I
gen/media/base/android/media_jni_headers -I
gen/media/base/android/media_jni_headers/media -I ../../third_party/WebKit -I
gen/third_party/WebKit -I ../../v8/include -I gen/v8/include -I
../../third_party/webrtc_overrides -I ../../third_party/webrtc -I
gen/third_party/metrics_proto -I ../../third_party/re2/src -I
../../third_party/mesa/src/include -I
../../third_party/libaddressinput/src/cpp/include -I
../../third_party/cacheinvalidation/overrides -I
../../third_party/cacheinvalidation/src -I ../../third_party/libxml/src/include
-I ../../third_party/libxml/linux/include -I ../../third_party/zlib -I
gen/chrome/browser/jni_headers -I gen/chrome/browser/jni_headers/chrome -I
../../third_party/android_ndk/sources/android/cpufeatures -I
../../third_party/libphonenumber/dist/cpp/src -I gen/third_party/libphonenumber
-I ../../v8/include -I gen/v8/include -I
../../third_party/breakpad/breakpad/src -I
../../third_party/breakpad/breakpad/src/common/android/include -I
../../third_party/webrtc_overrides -I ../../testing/gtest/include -I
../../third_party/webrtc -I ../../third_party/expat/files/lib -D __DATE__= -D
__TIME__= -D __TIMESTAMP__= -D __ANDROID_API__=16 -D __NDK_FPABI__= -D
HAVE_PTHREAD_COND_TIMEDWAIT_MONOTONIC=1 -D LIBXML_STATIC= -isysroot
../../third_party/android_ndk/sysroot -internal-isystem
../../third_party/android_ndk/sysroot/usr/local/include -internal-isystem
../../third_party/llvm-build/Release+Asserts/lib/clang/7.0.0/include
-internal-externc-isystem ../../third_party/android_ndk/sysroot/include
-internal-externc-isystem ../../third_party/android_ndk/sysroot/usr/include -Oz
-Wno-builtin-macro-redefined -Wall -Werror -Wextra -Wimplicit-fallthrough
-Wthread-safety -Wno-missing-field-initializers -Wno-unused-parameter
-Wno-c++11-narrowing -Wno-covered-switch-default
-Wno-unneeded-internal-declaration -Wno-inconsistent-missing-override
-Wno-undefined-var-template -Wno-nonportable-include-path
-Wno-address-of-packed-member -Wno-unused-lambda-capture
-Wno-user-defined-warnings -Wno-enum-compare-switch
-Wno-null-pointer-arithmetic -Wheader-hygiene -Wstring-conversion
-Wtautological-overlap-compare -Wexit-time-destructors
-Wno-undefined-bool-conversion -Wno-tautological-undefined-compare -std=gnu++14
-fdeprecated-macro -fdebug-compilation-dir
/usr/local/google/home/bauerb/build/clankium/src/out/Debug -ferror-limit 19
-fmessage-length 0 -fvisibility hidden -fvisibility-inlines-hidden
-stack-protector 1 -stack-protector-buffer-size 4 -fno-rtti -fno-signed-char
-fobjc-runtime=gcc -fdiagnostics-show-option -fcolor-diagnostics -vectorize-slp
-load ../../third_party/llvm-build/Release+Asserts/lib/libFindBadConstructs.so
-add-plugin find-bad-constructs -plugin-arg-find-bad-constructs check-ipc -o
obj/chrome/browser/browser/chrome_content_browser_client.o -x c++
../../chrome/browser/chrome_content_browser_client.cc 
1.      clang++: error: unable to execute command: Segmentation fault
clang++: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 7.0.0 (trunk 327688)
Target: arm--linux-android
Thread model: posix
InstalledDir: ../../third_party/llvm-build/Release+Asserts/bin


Preprocessed source is at
https://drive.google.com/file/d/11o3anFp490EsssorWs-kBy1w6v0yfJe6/view. Run
script is attached.

-- 
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/20180326/5c057c43/attachment-0001.html>


More information about the llvm-bugs mailing list