[llvm-bugs] [Bug 51026] New: clang on s390x: crashes in '@_ZN4llvm18CodeGenDAGPatterns17ParseInstructionsEv'

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Jul 8 08:14:54 PDT 2021


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

            Bug ID: 51026
           Summary: clang on s390x: crashes in
                    '@_ZN4llvm18CodeGenDAGPatterns17ParseInstructionsEv'
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: release blocker
          Priority: P
         Component: Backend: SystemZ
          Assignee: unassignedbugs at nondot.org
          Reporter: sylvestre at debian.org
                CC: llvm-bugs at lists.llvm.org

Seems that it happened in this commit:
https://github.com/llvm/llvm-project/compare/64be5b7d8713..f1cbea3e5275

Maybe caused by?
https://github.com/llvm/llvm-project/commit/37a92f3b03bf165245a9d0dc4830dcc6fed7c253

PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash
backtrace, preprocessed source, and associated run script.
Stack dump:
0.      Program arguments:
/build/llvm-toolchain-snapshot-13~++20210708091416+511af1b1ad00/build-llvm/./bin/clang++
-D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS
-D__STDC_LIMIT_MACROS
-I/build/llvm-toolchain-snapshot-13~++20210708091416+511af1b1ad00/build-llvm/tools/clang/stage2-bins/utils/TableGen
-I/build/llvm-toolchain-snapshot-13~++20210708091416+511af1b1ad00/llvm/utils/TableGen
-I/build/llvm-toolchain-snapshot-13~++20210708091416+511af1b1ad00/build-llvm/tools/clang/stage2-bins/include
-I/build/llvm-toolchain-snapshot-13~++20210708091416+511af1b1ad00/llvm/include
-fuse-ld=gold -fPIC -Wno-unused-command-line-argument
-Wno-unknown-warning-option -fPIC -fno-semantic-interposition
-fvisibility-inlines-hidden -Werror=date-time
-Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter
-Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic
-Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough
-Wcovered-switch-default -Wno-class-memaccess -Wno-noexcept-type
-Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override
-Wstring-conversion -Wmisleading-indentation -ffunction-sections
-fdata-sections -O2 -DNDEBUG -g1 -fno-exceptions -std=c++14 -o
CMakeFiles/obj.llvm-tblgen.dir/CodeGenDAGPatterns.cpp.o -c
/build/llvm-toolchain-snapshot-13~++20210708091416+511af1b1ad00/llvm/utils/TableGen/CodeGenDAGPatterns.cpp
1.      <eof> parser at end of file
2.      Code generation
3.      Running pass 'Function Pass Manager' on module
'/build/llvm-toolchain-snapshot-13~++20210708091416+511af1b1ad00/llvm/utils/TableGen/CodeGenDAGPatterns.cpp'.
4.      Running pass 'Live Variable Analysis' on function
'@_ZN4llvm18CodeGenDAGPatterns17ParseInstructionsEv'
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH
or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
/build/llvm-toolchain-snapshot-13~++20210708091416+511af1b1ad00/build-llvm/bin/../lib/libLLVM-13.so.1(_ZN4llvm3sys15PrintStackTraceERNS_11raw_ostreamEi+0x38)[0x3ff9848f688]
/build/llvm-toolchain-snapshot-13~++20210708091416+511af1b1ad00/build-llvm/bin/../lib/libLLVM-13.so.1(_ZN4llvm3sys17RunSignalHandlersEv+0x36)[0x3ff9848d8c6]
/build/llvm-toolchain-snapshot-13~++20210708091416+511af1b1ad00/build-llvm/bin/../lib/libLLVM-13.so.1(_ZN4llvm3sys15CleanupOnSignalEm+0x152)[0x3ff9848e0b2]
/build/llvm-toolchain-snapshot-13~++20210708091416+511af1b1ad00/build-llvm/bin/../lib/libLLVM-13.so.1(+0xd2fa28)[0x3ff983afa28]
[0x3fffe477196]
/build/llvm-toolchain-snapshot-13~++20210708091416+511af1b1ad00/build-llvm/bin/../lib/libLLVM-13.so.1(_ZN4llvm13LiveVariables10runOnBlockEPNS_17MachineBasicBlockEj+0x2f6)[0x3ff9882a386]
/build/llvm-toolchain-snapshot-13~++20210708091416+511af1b1ad00/build-llvm/bin/../lib/libLLVM-13.so.1(_ZN4llvm13LiveVariables20runOnMachineFunctionERNS_15MachineFunctionE+0x3c4)[0x3ff9882b6e4]
/build/llvm-toolchain-snapshot-13~++20210708091416+511af1b1ad00/build-llvm/bin/../lib/libLLVM-13.so.1(+0x1230702)[0x3ff988b0702]
/build/llvm-toolchain-snapshot-13~++20210708091416+511af1b1ad00/build-llvm/bin/../lib/libLLVM-13.so.1(_ZN4llvm13FPPassManager13runOnFunctionERNS_8FunctionE+0x3ae)[0x3ff985f4a5e]
/build/llvm-toolchain-snapshot-13~++20210708091416+511af1b1ad00/build-llvm/bin/../lib/libLLVM-13.so.1(_ZN4llvm13FPPassManager11runOnModuleERNS_6ModuleE+0x38)[0x3ff985f4c80]
/build/llvm-toolchain-snapshot-13~++20210708091416+511af1b1ad00/build-llvm/bin/../lib/libLLVM-13.so.1(_ZN4llvm6legacy15PassManagerImpl3runERNS_6ModuleE+0x40c)[0x3ff985f601c]
/build/llvm-toolchain-snapshot-13~++20210708091416+511af1b1ad00/build-llvm/bin/../lib/libclang-cpp.so.13(+0x1ad260c)[0x3ff9fed260c]
/build/llvm-toolchain-snapshot-13~++20210708091416+511af1b1ad00/build-llvm/bin/../lib/libclang-cpp.so.13(_ZN5clang17EmitBackendOutputERNS_17DiagnosticsEngineERKNS_19HeaderSearchOptionsERKNS_14CodeGenOptionsERKNS_13TargetOptionsERKNS_11LangOptionsEN4llvm9StringRefEPNSE_6ModuleENS_13BackendActionESt10unique_ptrINSE_17raw_pwrite_streamESt14default_deleteISK_EE+0xcdc)[0x3ff9fed689c]
/build/llvm-toolchain-snapshot-13~++20210708091416+511af1b1ad00/build-llvm/bin/../lib/libclang-cpp.so.13(+0x1e2f70e)[0x3ffa022f70e]
/build/llvm-toolchain-snapshot-13~++20210708091416+511af1b1ad00/build-llvm/bin/../lib/libclang-cpp.so.13(_ZN5clang8ParseASTERNS_4SemaEbb+0x50c)[0x3ff9ef4248c]
/build/llvm-toolchain-snapshot-13~++20210708091416+511af1b1ad00/build-llvm/bin/../lib/libclang-cpp.so.13(_ZN5clang13CodeGenAction13ExecuteActionEv+0x56)[0x3ffa022f7d6]
/build/llvm-toolchain-snapshot-13~++20210708091416+511af1b1ad00/build-llvm/bin/../lib/libclang-cpp.so.13(_ZN5clang14FrontendAction7ExecuteEv+0x114)[0x3ffa0b18b84]
/build/llvm-toolchain-snapshot-13~++20210708091416+511af1b1ad00/build-llvm/bin/../lib/libclang-cpp.so.13(_ZN5clang16CompilerInstance13ExecuteActionERNS_14FrontendActionE+0x1a0)[0x3ffa0ab58c0]
/build/llvm-toolchain-snapshot-13~++20210708091416+511af1b1ad00/build-llvm/bin/../lib/libclang-cpp.so.13(_ZN5clang25ExecuteCompilerInvocationEPNS_16CompilerInstanceE+0xa62)[0x3ffa0b9bf7a]
/build/llvm-toolchain-snapshot-13~++20210708091416+511af1b1ad00/build-llvm/./bin/clang++(_Z8cc1_mainN4llvm8ArrayRefIPKcEES2_Pv+0x1294)[0x2aa2ed9764c]
/build/llvm-toolchain-snapshot-13~++20210708091416+511af1b1ad00/build-llvm/./bin/clang++(+0x13f60)[0x2aa2ed93f60]
/build/llvm-toolchain-snapshot-13~++20210708091416+511af1b1ad00/build-llvm/bin/../lib/libclang-cpp.so.13(+0x238f77e)[0x3ffa078f77e]
/build/llvm-toolchain-snapshot-13~++20210708091416+511af1b1ad00/build-llvm/bin/../lib/libLLVM-13.so.1(_ZN4llvm20CrashRecoveryContext9RunSafelyENS_12function_refIFvvEEE+0x40)[0x3ff983afb20]
/build/llvm-toolchain-snapshot-13~++20210708091416+511af1b1ad00/build-llvm/bin/../lib/libclang-cpp.so.13(_ZNK5clang6driver10CC1Command7ExecuteEN4llvm8ArrayRefINS2_8OptionalINS2_9StringRefEEEEEPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPb+0x182)[0x3ffa0791b7a]
/build/llvm-toolchain-snapshot-13~++20210708091416+511af1b1ad00/build-llvm/bin/../lib/libclang-cpp.so.13(_ZNK5clang6driver11Compilation14ExecuteCommandERKNS0_7CommandERPS3_+0xce)[0x3ffa076740e]
/build/llvm-toolchain-snapshot-13~++20210708091416+511af1b1ad00/build-llvm/bin/../lib/libclang-cpp.so.13(_ZNK5clang6driver11Compilation11ExecuteJobsERKNS0_7JobListERN4llvm15SmallVectorImplISt4pairIiPKNS0_7CommandEEEE+0xa6)[0x3ffa0767e16]
/build/llvm-toolchain-snapshot-13~++20210708091416+511af1b1ad00/build-llvm/bin/../lib/libclang-cpp.so.13(_ZN5clang6driver6Driver18ExecuteCompilationERNS0_11CompilationERN4llvm15SmallVectorImplISt4pairIiPKNS0_7CommandEEEE+0xd8)[0x3ffa0772b80]
/build/llvm-toolchain-snapshot-13~++20210708091416+511af1b1ad00/build-llvm/./bin/clang++(main+0x1a44)[0x2aa2ed91a6c]
/lib/s390x-linux-gnu/libc.so.6(__libc_start_main+0x10a)[0x3ff97223aca]
/build/llvm-toolchain-snapshot-13~++20210708091416+511af1b1ad00/build-llvm/./bin/clang++(+0x13304)[0x2aa2ed93304]
[0x0]
clang-13: error: clang frontend command failed with exit code 139 (use -v to
see invocation)
Ubuntu clang version
13.0.0-++20210708091416+511af1b1ad00-1~exp1~20210708072207.2525
Target: s390x-ibm-linux-gnu
Thread model: posix
InstalledDir:
/build/llvm-toolchain-snapshot-13~++20210708091416+511af1b1ad00/build-llvm/./bin

-- 
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/20210708/6dbdf02f/attachment-0001.html>


More information about the llvm-bugs mailing list