[llvm-bugs] [Bug 26042] New: Crash when compiling from Visual C++ 2015 using v140_Clang_3_7 PlatformToolset

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Jan 6 08:29:51 PST 2016


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

            Bug ID: 26042
           Summary: Crash when compiling from Visual C++ 2015 using
                    v140_Clang_3_7 PlatformToolset
           Product: clang
           Version: 3.7
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
          Assignee: unassignedclangbugs at nondot.org
          Reporter: guillaume.giraud at gmail.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

>From Visual c++ output window :

11>  0x1078B36E (0x00B9C5C4 0x066FB8B8 0x066FC4F0 0x066FC500),
UTCExecuteCompilerInvocation() + 0x4EDC7E bytes(s)
11>  0x1078E1A3 (0x00B9C5C4 0x066FC500 0x00000000 0x00000000),
UTCExecuteCompilerInvocation() + 0x4F0AB3 bytes(s)
11>  0x10789EB7 (0x00B9C5D4 0x066FC558 0x010BFC28 0x03B0B4E0),
UTCExecuteCompilerInvocation() + 0x4EC7C7 bytes(s)
11>  0x1078D004 (0x00B9C7A8 0x0489825C 0x00B9C920 0x00000001),
UTCExecuteCompilerInvocation() + 0x4EF914 bytes(s)
11>  0x1078BAB2 (0x00B9C9C4 0x066FB8B8 0x00001504 0x0672A5E8),
UTCExecuteCompilerInvocation() + 0x4EE3C2 bytes(s)
11>  0x1078C049 (0x00B9C9C4 0x066FB8B8 0x00000043 0x0444AB84),
UTCExecuteCompilerInvocation() + 0x4EE959 bytes(s)
11>  0x1078E3E1 (0x00B9C9F0 0x066FB8B8 0x0441A184 0x0441A184),
UTCExecuteCompilerInvocation() + 0x4F0CF1 bytes(s)
11>  0x1078DB78 (0x0108BE20 0x034E5F90 0x01084BD0 0x038CAED0),
UTCExecuteCompilerInvocation() + 0x4F0488 bytes(s)
11>  0x106D2F35 (0x0108BE20 0x01088390 0x06C11000 0x10866570),
UTCExecuteCompilerInvocation() + 0x435845 bytes(s)
11>  0x10681729 (0x0108BE20 0x115B9FBE 0x01084BD0 0x0108BE20),
UTCExecuteCompilerInvocation() + 0x3E4039 bytes(s)
11>  0x115BAE8E (0x01084BD0 0x010187C0 0x00FC1170 0x010187C0),
UTCExecuteCompilerInvocation() + 0x131D79E bytes(s)
11>  0x10864565 (0x010B67E0 0x00000000 0x00000000 0x010187C0),
UTCExecuteCompilerInvocation() + 0x5C6E75 bytes(s)
11>  0x107EAF51 (0x010187C0 0x00FC1170 0x117A9140 0x107D6BCB),
UTCExecuteCompilerInvocation() + 0x54D861 bytes(s)
11>  0x107EAE8F (0x010187C0 0x01029A80 0x01047848 0x00FC1170),
UTCExecuteCompilerInvocation() + 0x54D79F bytes(s)
11>  0x10827536 (0x00FC1170 0x01014C10 0x0102A8E0 0x00B9F32C),
UTCExecuteCompilerInvocation() + 0x589E46 bytes(s)
11>  0x1029E036 (0x00FC1170 0x01014C1C 0x01014C10 0x00B9F310),
UTCExecuteCompilerInvocation() + 0x946 bytes(s)
11>  0x105333C9 (0x00B9F32C 0x00B9F9E0 0x0000007B 0x0102A980),
UTCExecuteCompilerInvocation() + 0x295CD9 bytes(s)
11>  0x1029D6D3 (0x00B9F9E0 0x0000007B 0x0102A980 0x012F1BA0), utc_cc1_main() +
0x73 bytes(s)
11>  0x012F1988 (0x00B9F9D8 0x0000007D 0x0102A9D7 0x00000000)
11>  0x012F33D5 (0x0000007D 0x0101F0C0 0x01014788 0x00000000)
11>  0x01B39CF3 (0x7EFDE000 0x00B9FFD4 0x77B39882 0x7EFDE000)
11>  0x768F337A (0x7EFDE000 0x7C173372 0x00000000 0x00000000),
BaseThreadInitThunk() + 0x12 bytes(s)
11>  0x77B39882 (0x01B39D70 0x7EFDE000 0x00000000 0x00000000),
RtlInitializeExceptionChain() + 0x63 bytes(s)
11>  0x77B39855 (0x01B39D70 0x7EFDE000 0x00000000 0x52727464),
RtlInitializeExceptionChain() + 0x36 bytes(s)
11>clang.exe : error : clang frontend command failed due to signal (use -v to
see invocation)
11>  clang with Microsoft CodeGen version 3.7.0
11>  Provided as - is without support
11>  C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\Clang
3.7\bin\x86\x86\c2.dll version 19.0.23413.0
11>  Target: amd64-pc-windows-msvc
11>  Thread model: posix
11>  clang.exe: note: diagnostic msg: PLEASE submit a bug report to
http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and
associated run script.
11>  clang.exe: note: diagnostic msg:
11>  ********************
11>
11>  PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
11>  Preprocessed source(s) and associated run script(s) are located at:
11>  clang.exe: note: diagnostic msg:
C:\Users\ggiraud\AppData\Local\Temp\sensors_logger-d98353.cpp
11>  clang.exe: note: diagnostic msg:
C:\Users\ggiraud\AppData\Local\Temp\sensors_logger-d98353.sh
11>  clang.exe: note: diagnostic msg:
11>

>From sensors_logger-7c604a.sh:

# Crash reproducer for clang with Microsoft CodeGen version 3.7.0 
# Driver args: "-c" "-fdiagnostics-format=msvc"
"--target=amd64-pc-windows-msvc" "-I" "../../ALOHA/code" "-I"
"../../NAOMathLib/code" "-I" "../../NAO/code" "-I" "C:\\Program Files
(x86)\\Microsoft Visual Studio 14.0\\VC
\\Clang 3.7\\include" "-I" "C:\\Program Files (x86)\\Microsoft Visual Studio
14.0\\VC\\include" "-I" "C:\\Program Files (x86)\\Microsoft Visual Studio
14.0\\VC\\atlmfc\\include" "-I" "C:\\Program Files (x86)\\Windows
Kits\\10\\Include\\10.0.10240.0\\ucrt" "-I" "C:\\Program Files (x86)\\Windows
Kits\\8.1\\Include\\um" "-I" "C:\\Program Files (x86)\\Windows
Kits\\8.1\\Include\\shared" "-I" "C:\\Program Files (x86)\\Windows
Kits\\8.1\\Include\\winrt" "-g2" "-gdwarf-2" "-o"
"..\\..\\obj\\sensorsLib\\x64\\DebugClang\\v140_Clang_3_7\\sensors_logger.obj"
"-Wall" "-Werror" "-v" "-O0" "-fno-strict-aliasing" "-fomit-frame-pointer"
"-fexceptions" "-ffunction-sections" "-fdata-sections" "-fstack-protector"
"-fpic" "-fno-short-enums" "-frtti" "-std=c++11" "-D" "BUILD_LOGGER_VERSION=1"
"-D" "BUILD_OBFUSCATED_VERSION=0" "-D" "_DEBUG" "-D" "__clang__" "-D" "WIN32"
"-D" "WIN64" "-D" "_CRT_SECURE_NO_WARNINGS" "-D" "_UNICODE" "-D" "UNICODE" "-D"
"_LIB" "-x" "c++" "-fms-extensions" "-fno-ms-compatibility" "-D" "_DEBUG" "-D"
"_MT" "-D" "_DLL" "-Xclang" "--dependent-lib=msvcrtd" "-Xclang"
"--dependent-lib=oldnames" "..\\code\\sensors_logger.cpp"
# Original command:  "C:\\Program Files (x86)\\Microsoft Visual Studio
14.0\\VC\\Clang 3.7\\bin\\x86\\clang.exe" "-cc1" "-triple"
"amd64-pc-windows-msvc19.0.0" "-emit-obj" "-mrelax-all" "-disable-free"
"-disable-llvm-verifier" "-main-file-name" "sensors_logger.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" "-v"
"-gdwarf-2" "-dwarf-column-info" "-ffunction-sections" "-fdata-sections"
"-coverage-file"
"E:\\ALECentOS\\naocloud_centos\\V04Ter\\sensorsLib\\make_win32\\..\\..\\obj\\sensorsLib\\x64\\DebugClang\\v140_Clang_3_7\\sensors_logger.obj"
"-resource-dir" "C:\\Program Files (x86)\\Microsoft Visual Studio
14.0\\VC\\Clang 3.7\\bin\\x86\\..\\lib\\clang\\3.7.0" "-D"
"BUILD_LOGGER_VERSION=1" "-D" "BUILD_OBFUSCATED_VERSION=0" "-D" "_DEBUG" "-D"
"__clang__" "-D" "WIN32" "-D" "WIN64" "-D" "_CRT_SECURE_NO_WARNINGS" "-D"
"_UNICODE" "-D" "UNICODE" "-D" "_LIB" "-D" "_DEBUG" "-D" "_MT" "-D" "_DLL" "-I"
"../../ALOHA/code" "-I" "../../NAOMathLib/code" "-I" "../../NAO/code" "-I"
"C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\Clang 3.7\\include"
"-I" "C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\include" "-I"
"C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\atlmfc\\include"
"-I" "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt"
"-I" "C:\\Program Files (x86)\\Windows Kits\\8.1\\Include\\um" "-I"
"C:\\Program Files (x86)\\Windows Kits\\8.1\\Include\\shared" "-I" "C:\\Program
Files (x86)\\Windows Kits\\8.1\\Include\\winrt" "-internal-isystem"
"C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\Clang
3.7\\bin\\x86\\..\\lib\\clang\\3.7.0\\include" "-internal-isystem" "C:\\Program
Files (x86)\\Microsoft Visual Studio 14.0\\VC\\Clang 3.7\\include"
"-internal-isystem" "C:\\Program Files (x86)\\Microsoft Visual Studio
14.0\\VC\\include" "-internal-isystem" "C:\\Program Files (x86)\\Microsoft
Visual Studio 14.0\\VC\\atlmfc\\include" "-internal-isystem" "C:\\Program Files
(x86)\\Windows Kits\\10\\Include\\10.0.10240.0\\ucrt" "-internal-isystem"
"C:\\Program Files (x86)\\Windows Kits\\8.1\\Include\\um" "-internal-isystem"
"C:\\Program Files (x86)\\Windows Kits\\8.1\\Include\\shared"
"-internal-isystem" "C:\\Program Files (x86)\\Windows
Kits\\8.1\\Include\\winrt" "-O0" "-Wall" "-Werror" "-std=c++11"
"-fdeprecated-macro" "-fdebug-compilation-dir"
"E:\\ALECentOS\\naocloud_centos\\V04Ter\\sensorsLib\\make_win32"
"-ferror-limit" "19" "-fmessage-length" "0" "-stack-protector" "1"
"-mstackrealign" "-fms-extensions" "-fms-compatibility-version=19"
"-fdelayed-template-parsing" "-fobjc-runtime=gnustep" "-fcxx-exceptions"
"-fexceptions" "-fdiagnostics-show-option" "-fdiagnostics-format" "msvc"
"--dependent-lib=msvcrtd" "--dependent-lib=oldnames" "-o"
"..\\..\\obj\\sensorsLib\\x64\\DebugClang\\v140_Clang_3_7\\sensors_logger.obj"
"-x" "c++" "..\\code\\sensors_logger.cpp"
 "C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\Clang
3.7\\bin\\x86\\clang.exe" "-cc1" "-triple" "amd64-pc-windows-msvc19.0.0"
"-emit-obj" "-mrelax-all" "-disable-free" "-disable-llvm-verifier"
"-main-file-name" "sensors_logger.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" "-v" "-gdwarf-2" "-dwarf-column-info"
"-ffunction-sections" "-fdata-sections" "-D" "BUILD_LOGGER_VERSION=1" "-D"
"BUILD_OBFUSCATED_VERSION=0" "-D" "_DEBUG" "-D" "__clang__" "-D" "WIN32" "-D"
"WIN64" "-D" "_CRT_SECURE_NO_WARNINGS" "-D" "_UNICODE" "-D" "UNICODE" "-D"
"_LIB" "-D" "_DEBUG" "-D" "_MT" "-D" "_DLL" "-O0" "-Wall" "-Werror"
"-std=c++11" "-fdeprecated-macro" "-ferror-limit" "19" "-fmessage-length" "0"
"-stack-protector" "1" "-mstackrealign" "-fms-extensions"
"-fms-compatibility-version=19" "-fdelayed-template-parsing"
"-fobjc-runtime=gnustep" "-fcxx-exceptions" "-fexceptions"
"-fdiagnostics-show-option" "-fdiagnostics-format" "msvc"
"--dependent-lib=msvcrtd" "--dependent-lib=oldnames" "-x" "c++"
"sensors_logger-7c604a.cpp"

-- 
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/20160106/b5257951/attachment-0001.html>


More information about the llvm-bugs mailing list