llvm / llvm-project

The LLVM Project is a collection of modular and reusable compiler and toolchain technologies.
http://llvm.org
Other
29.11k stars 12.01k forks source link

Crash while compiling chromium #22851

Closed llvmbot closed 9 years ago

llvmbot commented 9 years ago
Bugzilla Link 22477
Resolution DUPLICATE
Resolved on Feb 05, 2015 11:40
Version trunk
OS Linux
Attachments source files
Reporter LLVM Bugzilla Contributor
CC @rnk

Extended Description

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:


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

rnk commented 9 years ago

Looks like a dupe of llvm/llvm-project#22824 .

This bug has been marked as a duplicate of bug llvm/llvm-project#22824

llvmbot commented 9 years ago

clang: /work/chromium/src/third_party/llvm/tools/clang/include/clang/Parse/Parser.h:283: clang::SourceLocation clang::Parser::ConsumeToken(): Assertion `!isTokenSpecial() && "Should consume special tokens with ConsumeToken"' failed. 0 clang 0x000000000141c848 llvm::sys::PrintStackTrace(_IO_FILE) + 40 1 clang 0x000000000141de0b 2 libc.so.6 0x00007fd35ee07d40 3 libc.so.6 0x00007fd35ee07cc9 gsignal + 57 4 libc.so.6 0x00007fd35ee0b0d8 abort + 328 5 libc.so.6 0x00007fd35ee00b86 6 libc.so.6 0x00007fd35ee00c32 7 clang 0x0000000001e19d4d 8 clang 0x0000000001e17504 clang::Parser::ParseCastExpression(bool, bool, bool&, clang::Parser::TypeCastState) + 19028 9 clang 0x0000000001e12be4 clang::Parser::ParseCastExpression(bool, bool, bool&, clang::Parser::TypeCastState) + 308 10 clang 0x0000000001e1072b clang::Parser::ParseRHSOfBinaryExpression(clang::ActionResult<clang::Expr, true>, clang::prec::Level) + 1931 11 clang 0x0000000001e0ff96 clang::Parser::ParseAssignmentExpression(clang::Parser::TypeCastState) + 230 12 clang 0x0000000001e0fe99 clang::Parser::ParseExpression(clang::Parser::TypeCastState) + 9 13 clang 0x0000000001e2ade8 clang::Parser::ParseCXXCondition(clang::ActionResult<clang::Expr, true>&, clang::Decl&, clang::SourceLocation, bool) + 1064 14 clang 0x0000000001e55557 clang::Parser::ParseParenExprOrCondition(clang::ActionResult<clang::Expr, true>&, clang::Decl&, clang::SourceLocation, bool) + 231 15 clang 0x0000000001e50c6e clang::Parser::ParseIfStatement(clang::SourceLocation) + 158 16 clang 0x0000000001e4e720 clang::Parser::ParseStatementOrDeclarationAfterAttributes(llvm::SmallVector<clang::Stmt, 32u>&, bool, clang::SourceLocation, clang::Parser::ParsedAttributesWithRange&) + 2944 17 clang 0x0000000001e4db0f clang::Parser::ParseStatementOrDeclaration(llvm::SmallVector<clang::Stmt, 32u>&, bool, clang::SourceLocation) + 143 18 clang 0x0000000001e551ef clang::Parser::ParseCompoundStatementBody(bool) + 1839 19 clang 0x0000000001e55b03 clang::Parser::ParseFunctionStatementBody(clang::Decl, clang::Parser::ParseScope&) + 195 20 clang 0x0000000001dd7b7b clang::Parser::ParseFunctionDefinition(clang::ParsingDeclarator&, clang::Parser::ParsedTemplateInfo const&, clang::Parser::LateParsedAttrList) + 1867 21 clang 0x0000000001de9973 clang::Parser::ParseDeclGroup(clang::ParsingDeclSpec&, unsigned int, bool, clang::SourceLocation, clang::Parser::ForRangeInit) + 2515 22 clang 0x0000000001dd71ac clang::Parser::ParseDeclOrFunctionDefInternal(clang::Parser::ParsedAttributesWithRange&, clang::ParsingDeclSpec&, clang::AccessSpecifier) + 796 23 clang 0x0000000001dd6b8c clang::Parser::ParseDeclarationOrFunctionDefinition(clang::Parser::ParsedAttributesWithRange&, clang::ParsingDeclSpec, clang::AccessSpecifier) + 412 24 clang 0x0000000001dd5e42 clang::Parser::ParseExternalDeclaration(clang::Parser::ParsedAttributesWithRange&, clang::ParsingDeclSpec) + 2930 25 clang 0x0000000001dfd6d9 clang::Parser::ParseInnerNamespace(std::vector<clang::SourceLocation, std::allocator >&, std::vector<clang::IdentifierInfo, std::allocator<clang::IdentifierInfo> >&, std::vector<clang::SourceLocation, std::allocator >&, unsigned int, clang::SourceLocation&, clang::ParsedAttributes&, clang::BalancedDelimiterTracker&) + 313 26 clang 0x0000000001dfcef0 clang::Parser::ParseNamespace(unsigned int, clang::SourceLocation&, clang::SourceLocation) + 6080 27 clang 0x0000000001de4ea6 clang::Parser::ParseDeclaration(unsigned int, clang::SourceLocation&, clang::Parser::ParsedAttributesWithRange&) + 422 28 clang 0x0000000001dd5983 clang::Parser::ParseExternalDeclaration(clang::Parser::ParsedAttributesWithRange&, clang::ParsingDeclSpec) + 1715 29 clang 0x0000000001dd519f clang::Parser::ParseTopLevelDecl(clang::OpaquePtr&) + 463 30 clang 0x0000000001dd0f16 clang::ParseAST(clang::Sema&, bool, bool) + 422 31 clang 0x00000000015bb91e clang::FrontendAction::Execute() + 62 32 clang 0x000000000158d35c clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 892 33 clang 0x000000000163e7ea clang::ExecuteCompilerInvocation(clang::CompilerInstance) + 3114 34 clang 0x00000000006d1b5c cc1_main(llvm::ArrayRef<char const>, char const, void*) + 684 35 clang 0x00000000006d0589 main + 12089 36 libc.so.6 0x00007fd35edf2ec5 __libc_start_main + 245 37 clang 0x00000000006cd52d Stack dump:

  1. Program arguments: /usr/local/google/home/merkulova/chromium/src/third_party/llvm-build/Release+Asserts/bin/clang -cc1 -triple x86_64-unknown-linux-gnu -emit-obj -disable-free -main-file-name reset_screen_handler.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 x86-64 -momit-leaf-frame-pointer -dwarf-column-info -ffunction-sections -fdata-sections -coverage-file /usr/local/data/build/out/Release/obj/chrome/browser/ui/webui/chromeos/login/browser_ui.reset_screen_handler.o -resource-dir /usr/local/google/home/merkulova/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.6.0 -dependency-file obj/chrome/browser/ui/webui/chromeos/login/browser_ui.reset_screen_handler.o.d -MT obj/chrome/browser/ui/webui/chromeos/login/browser_ui.reset_screen_handler.o -D V8_DEPRECATION_WARNINGS -D _FILE_OFFSET_BITS=64 -D GOOGLE_CHROME_BUILD -D CR_CLANG_REVISION=223108 -D ENABLE_RLZ -D COMPONENT_BUILD -D TOOLKIT_VIEWS=1 -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_X11=1 -D IMAGE_LOADER_EXTENSION=1 -D ENABLE_REMOTING=1 -D ENABLE_WEBRTC=1 -D USE_PROPRIETARY_CODECS -D ENABLE_PEPPER_CDMS -D ENABLE_CONFIGURATION_POLICY -D ENABLE_NOTIFICATIONS -D ENABLE_HIDPI=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_PRINT_PREVIEW=1 -D ENABLE_SPELLCHECK=1 -D ENABLE_CAPTIVE_PORTAL_DETECTION=1 -D ENABLE_APP_LIST=1 -D ENABLE_SUPERVISED_USERS=1 -D ENABLE_MDNS=1 -D ENABLE_SERVICE_DISCOVERY=1 -D NACL_WINDOWS=0 -D NACL_LINUX=1 -D NACL_OSX=0 -D NACL_ANDROID=0 -D NACL_BUILD_SUBARCH=64 -D NACL_BUILD_ARCH=x86 -D FULL_SAFE_BROWSING -D GL_GLEXT_PROTOTYPES -D MOJO_USE_SYSTEM_IMPL -D GTEST_HAS_POSIX_RE=0 -D GTEST_LANG_CXX11=0 -D LIBPEERCONNECTION_LIB=1 -D USE_BRLAPI -D PROTOBUF_USE_DLLS -D GOOGLE_PROTOBUF_NO_RTTI -D GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER -D PASSWORD_MANAGER_ENABLE_SYNC -D SKIA_DLL -D GR_GL_IGNORE_ES3_MSAA=0 -D SK_ENABLE_INST_COUNT=0 -D SK_SUPPORT_GPU=1 -D GR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h" -D SK_ENABLE_LEGACY_API_ALIASING=1 -D SK_ATTR_DEPRECATED=SK_NOTHING_ARG1 -D SK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT -D SK_LEGACY_DRAWPICTURECALLBACK -D SK_USE_POSIX_THREADS -D U_USING_ICU_NAMESPACE=0 -D U_ENABLE_DYLOAD=0 -D LIBXML_STATIC -D FEATURE_ENABLE_SSL -D FEATURE_ENABLE_VOICEMAIL -D EXPAT_RELATIVE_PATH -D GTEST_RELATIVE_PATH -D NO_MAIN_THREAD_WRAPPING -D NO_SOUND_SYSTEM -D LINUX -D WEBRTC_LINUX -D POSIX -D WEBRTC_POSIX -D CHROMEOS -D V8_SHARED -D USING_V8_SHARED -D I18N_ADDRESS_VALIDATION_DATA_URL="https://i18napis.appspot.com/ssl-aggregate-address/" -D I18N_ADDRESSINPUT_USE_BASICTYPES_OVERRIDE=1 -D HUNSPELL_STATIC -D HUNSPELL_CHROME_CLIENT -D USE_HUNSPELL -D USE_LIBPCI=1 -D USE_GLIB=1 -D USE_NSS=1 -D OS_CHROMEOS=1 -D STDC_CONSTANT_MACROS -D STDC_FORMAT_MACROS -D NDEBUG -D NVALGRIND -D DYNAMIC_ANNOTATIONS_ENABLED=0 -I gen -I ../../../../google/home/merkulova/chromium/src -I obj/chrome/browser_ui.gen -I obj/chrome/browser_ui.gen/chrome -I ../../../../google/home/merkulova/chromium/src/skia/config -I ../../../../google/home/merkulova/chromium/src/third_party/khronos -I ../../../../google/home/merkulova/chromium/src/gpu -I ../../../../google/home/merkulova/chromium/src/third_party/WebKit/Source -I gen/angle -I gen/protoc_out -I ../../../../google/home/merkulova/chromium/src/third_party/protobuf -I ../../../../google/home/merkulova/chromium/src/third_party/protobuf/src -I gen/chrome -I ../../../../google/home/merkulova/chromium/src/third_party/dom_distiller_js/package/proto_gen -I gen/components -I gen/components/strings -I ../../../../google/home/merkulova/chromium/src/third_party/WebKit -I ../../../../google/home/merkulova/chromium/src/third_party/mojo/src -I gen/third_party/mojo/src -I ../../../../google/home/merkulova/chromium/src/net/third_party/nss/ssl -I ../../../../google/home/merkulova/chromium/src/third_party/skia/src/core -I ../../../../google/home/merkulova/chromium/src/third_party/skia/include/core -I ../../../../google/home/merkulova/chromium/src/third_party/skia/include/effects -I ../../../../google/home/merkulova/chromium/src/third_party/skia/include/pdf -I ../../../../google/home/merkulova/chromium/src/third_party/skia/include/gpu -I ../../../../google/home/merkulova/chromium/src/third_party/skia/include/lazy -I ../../../../google/home/merkulova/chromium/src/third_party/skia/include/pathops -I ../../../../google/home/merkulova/chromium/src/third_party/skia/include/pipe -I ../../../../google/home/merkulova/chromium/src/third_party/skia/include/ports -I ../../../../google/home/merkulova/chromium/src/third_party/skia/include/utils -I ../../../../google/home/merkulova/chromium/src/skia/ext -I ../../../../google/home/merkulova/chromium/src/third_party/cacheinvalidation/overrides -I ../../../../google/home/merkulova/chromium/src/third_party/cacheinvalidation/src -I ../../../../google/home/merkulova/chromium/src/third_party/cacheinvalidation/google/cacheinvalidation -I ../../../../google/home/merkulova/chromium/src/third_party/icu/source/i18n -I ../../../../google/home/merkulova/chromium/src/third_party/icu/source/common -I ../../../../google/home/merkulova/chromium/src/third_party/libusb/src/libusb -I ../../../../google/home/merkulova/chromium/src/third_party/libxml/linux/include -I ../../../../google/home/merkulova/chromium/src/third_party/libxml/src/include -I ../../../../google/home/merkulova/chromium/src/third_party/zlib -I gen/ui/resources -I gen/content/app/resources/ -I ../../../../google/home/merkulova/chromium/src/third_party/leveldatabase/src/include -I ../../../../google/home/merkulova/chromium/src/third_party/leveldatabase/src -I ../../../../google/home/merkulova/chromium/src/third_party/leveldatabase -I ../../../../google/home/merkulova/chromium/src/third_party/webrtc/overrides -I ../../../../google/home/merkulova/chromium/src/third_party/libjingle/overrides -I ../../../../google/home/merkulova/chromium/src/third_party/libjingle/source -I ../../../../google/home/merkulova/chromium/src/testing/gtest/include -I ../../../../google/home/merkulova/chromium/src/third_party -I ../../../../google/home/merkulova/chromium/src/third_party/npapi -I ../../../../google/home/merkulova/chromium/src/third_party/npapi/bindings -I ../../../../google/home/merkulova/chromium/src/third_party/re2 -I ../../../../google/home/merkulova/chromium/src/v8/include -I gen/policy -I gen/ui/chromeos/resources -I gen/ash/strings -I gen/ash/resources -I gen/ui/keyboard -I ../../../../google/home/merkulova/chromium/src/third_party/mesa/src/include -I ../../../../google/home/merkulova/chromium/src/third_party/libaddressinput/chromium/override -I ../../../../google/home/merkulova/chromium/src/third_party/libaddressinput/src/cpp/include -I gen/third_party/libaddressinput/ -I /usr/include/glib-2.0 -I /usr/lib/x86_64-linux-gnu/glib-2.0/include -I /usr/include/nss -I /usr/include/nspr -I /usr/include/dbus-1.0 -I /usr/lib/x86_64-linux-gnu/dbus-1.0/include -I /usr/include/freetype2 -internal-isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8 -internal-isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../include/x86_64-linux-gnu/c++/4.8 -internal-isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../include/x86_64-linux-gnu/c++/4.8 -internal-isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/backward -internal-isystem /usr/local/include -internal-isystem /usr/local/google/home/merkulova/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.6.0/include -internal-externc-isystem /usr/include/x86_64-linux-gnu -internal-externc-isystem /include -internal-externc-isystem /usr/include -O2 -Werror -Wall -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 -Wstring-conversion -Wno-c++11-narrowing -Wno-deprecated-register -Wno-inconsistent-missing-override -Wexit-time-destructors -Wno-header-guard -Wsign-compare -std=gnu++11 -fdeprecated-macro -fdebug-compilation-dir /usr/local/data/build/out/Release -ferror-limit 19 -fmessage-length 0 -fvisibility hidden -fvisibility-inlines-hidden -pthread -mstackrealign -fno-rtti -fno-threadsafe-statics -fobjc-runtime=gcc -fdiagnostics-show-option -fcolor-diagnostics -vectorize-loops -vectorize-slp -load /usr/local/google/home/merkulova/chromium/src/third_party/llvm-build/Release+Asserts/lib/libFindBadConstructs.so -add-plugin find-bad-constructs -plugin-arg-find-bad-constructs check-weak-ptr-factory-order -plugin-arg-find-bad-constructs strict-virtual-specifiers -o obj/chrome/browser/ui/webui/chromeos/login/browser_ui.reset_screen_handler.o -x c++ ../../../../google/home/merkulova/chromium/src/chrome/browser/ui/webui/chromeos/login/reset_screen_handler.cc
  2. ../../../../google/home/merkulova/chromium/src/chrome/browser/ui/webui/chromeos/login/reset_screen_handler.cc:108:37: current parser token ')'
  3. ../../../../google/home/merkulova/chromium/src/chrome/browser/ui/webui/chromeos/login/reset_screen_handler.cc:26:1: parsing namespace 'chromeos'
  4. ../../../../google/home/merkulova/chromium/src/chrome/browser/ui/webui/chromeos/login/reset_screen_handler.cc:107:39: parsing function body 'Initialize'
  5. ../../../../google/home/merkulova/chromium/src/chrome/browser/ui/webui/chromeos/login/reset_screen_handler.cc:107:39: in compound statement ('{}') clang: error: unable to execute command: Aborted (core dumped) clang: error: clang frontend command failed due to signal (use -v to see invocation) clang version 3.6.0 (trunk 223108) 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: