[llvm-bugs] [Bug 37477] New: Assertion "!is_error()" failed at polly/lib/External/isl/include/isl/isl-noexceptions.h:66

via llvm-bugs llvm-bugs at lists.llvm.org
Tue May 15 15:02:23 PDT 2018


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

            Bug ID: 37477
           Summary: Assertion "!is_error()" failed at
                    polly/lib/External/isl/include/isl/isl-noexceptions.h:
                    66
           Product: Polly
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Optimizer
          Assignee: polly-dev at googlegroups.com
          Reporter: pzheng at codeaurora.org
                CC: llvm-bugs at lists.llvm.org

AOSP buildbot started failing recently with the following error
(http://lab.llvm.org:8011/builders/aosp-O3-polly-before-vectorizer-unprofitable/builds/518/steps/build-aosp/logs/stdio):

Assertion "!is_error()" failed at
/var/lib/buildbot/slaves/hexagon-build-03/aosp/llvm.src/tools/polly/lib/External/isl/include/isl/isl-noexceptions.h:66
  IMPLEMENTATION ERROR: Unhandled error state
Stack dump:
0.      Program arguments: llvm.inst/bin/clang++ -cc1 -triple
thumbv7--linux-android -emit-obj -mnoexecstack -disable-free -main-file-name
double.cpp -mrelocation-model pic -pic-level 2 -mthread-model posix
-relaxed-aliasing -fmath-errno -masm-verbose -mconstructor-aliases
-munwind-tables -fuse-init-array -target-cpu cortex-a7 -target-feature
+soft-float-abi -target-feature -crc -target-feature +dsp -target-feature -ras
-target-feature -dotprod -target-feature +hwdiv-arm -target-feature +hwdiv
-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=4 -debugger-tuning=gdb
-ffunction-sections -fdata-sections -coverage-notes-file
/var/lib/buildbot/slaves/hexagon-build-03/aosp/out/target/product/angler/obj_arm/STATIC_LIBRARIES/libF77blas_intermediates/double.gcno
-nostdsysteminc -resource-dir llvm.inst/lib/clang/7.0.0 -dependency-file
out/target/product/angler/obj_arm/STATIC_LIBRARIES/libF77blas_intermediates/double.d
-MT
out/target/product/angler/obj_arm/STATIC_LIBRARIES/libF77blas_intermediates/double.o
-sys-header-deps -isystem frameworks/av/include -isystem
out/target/product/angler/obj/include -isystem
device/huawei/angler/kernel-headers -isystem
hardware/qcom/msm8994/kernel-headers -isystem bionic/libc/arch-arm/include
-isystem bionic/libc/include -isystem bionic/libc/kernel/uapi -isystem
bionic/libc/kernel/uapi/asm-arm -isystem bionic/libc/kernel/android/uapi -I
external/eigen/ -I external/eigen/blas -I
out/target/product/angler/obj_arm/STATIC_LIBRARIES/libF77blas_intermediates -I
out/target/product/angler/gen/STATIC_LIBRARIES/libF77blas_intermediates -I
libnativehelper/include/nativehelper -I external/libcxx/include -I
external/libcxxabi/include -I system/core/include -I system/media/audio/include
-I hardware/libhardware/include -I hardware/libhardware_legacy/include -I
hardware/ril/include -I libnativehelper/include -I frameworks/native/include -I
frameworks/native/opengl/include -D _FORTIFY_SOURCE=2 -D NDEBUG -D ANDROID -D
NDEBUG -U DEBUG -D __compiler_offsetof=__builtin_offsetof -D
__ARM_FEATURE_LPAE=1 -D EIGEN_ANDROID_SSE_WR -D _USING_LIBCXX -internal-isystem
llvm.inst/lib/clang/7.0.0/include -O3 -Wno-multichar -Werror=format-security
-Wstrict-aliasing=2 -W -Wall -Wno-unused -Winit-self -Wpointer-arith
-Werror=int-conversion -Wno-reserved-id-macro -Wno-format-pedantic
-Wno-unused-command-line-argument -Wno-expansion-to-defined -Werror=return-type
-Werror=non-virtual-dtor -Werror=address -Werror=sequence-point
-Werror=date-time -Wsign-promo -Wno-inconsistent-missing-override
-Wno-null-dereference -Wno-unused-parameter -Werror=int-to-pointer-cast
-Werror=pointer-to-int-cast -Werror=address-of-temporary -Werror=return-type
-Wno-error -std=gnu++14 -fdeprecated-macro -fdebug-compilation-dir
/var/lib/buildbot/slaves/hexagon-build-03/aosp
-fdebug-prefix-map=/proc/self/cwd= -ferror-limit 19 -fmessage-length 0
-fvisibility-inlines-hidden -stack-protector 2 -fno-rtti -fno-signed-char
-fobjc-runtime=gcc -fdiagnostics-show-option -fcolor-diagnostics
-vectorize-loops -vectorize-slp -mllvm -polly -mllvm
-polly-position=before-vectorizer -mllvm -polly-process-unprofitable -o
out/target/product/angler/obj_arm/STATIC_LIBRARIES/libF77blas_intermediates/double.o
-x c++ external/eigen/blas/double.cpp 
1.      <eof> parser at end of file
2.      Per-module optimization passes
3.      Running pass 'Function Pass Manager' on module
'external/eigen/blas/double.cpp'.
4.      Running pass 'Region Pass Manager' on function
'@_ZN5Eigen8internal33selfadjoint_matrix_vector_productIdiLi0ELi1ELb0ELb0ELi0EE3runEiPKdiS4_iPdd'
5.      Running pass 'Polly - DeLICM/DePRE' on basic block '%if.end'
#0 0x0000000001621f54 PrintStackTraceSignalHandler(void*)
(llvm.inst/bin/clang+++0x1621f54)
#1 0x0000000001622266 SignalHandler(int) (llvm.inst/bin/clang+++0x1622266)
#2 0x00007fb601fedd10 __restore_rt
(/lib/x86_64-linux-gnu/libpthread.so.0+0x10d10)
#3 0x00007fb600bcb267 gsignal
/build/buildd/glibc-2.21/signal/../sysdeps/unix/sysv/linux/raise.c:55:0
#4 0x00007fb600bcceca abort /build/buildd/glibc-2.21/stdlib/abort.c:91:0
#5 0x0000000001d8881f polly::reverseDomain(isl::noexceptions::map)
(llvm.inst/bin/clang+++0x1d8881f)
#6 0x0000000001d8d2d8 std::_Function_handler<isl::noexceptions::stat
(isl::noexceptions::map), polly::reverseDomain(isl::noexceptions::union_map
const&)::$_4>::_M_invoke(std::_Any_data const&, isl::noexceptions::map)
(llvm.inst/bin/clang+++0x1d8d2d8)
#7 0x0000000001ce5891
isl::noexceptions::union_map::foreach_map(std::function<isl::noexceptions::stat
(isl::noexceptions::map)> const&) const::'lambda'(isl_map*,
void*)::__invoke(isl_map*, void*) (llvm.inst/bin/clang+++0x1ce5891)
#8 0x0000000003704f3e isl_hash_table_foreach (llvm.inst/bin/clang+++0x3704f3e)
#9 0x00000000037b9b9b isl_union_map_foreach_map
(llvm.inst/bin/clang+++0x37b9b9b)
#10 0x0000000001d8949d polly::computeArrayUnused(isl::noexceptions::union_map,
isl::noexceptions::union_map, isl::noexceptions::union_map, bool, bool, bool)
(llvm.inst/bin/clang+++0x1d8949d)
#11 0x0000000001ceedd1 (anonymous namespace)::DeLICM::runOnScop(polly::Scop&)
(llvm.inst/bin/clang+++0x1ceedd1)
#12 0x0000000001d6374f polly::ScopPass::runOnRegion(llvm::Region*,
llvm::RGPassManager&) (llvm.inst/bin/clang+++0x1d6374f)
#13 0x0000000000ca55db llvm::RGPassManager::runOnFunction(llvm::Function&)
(llvm.inst/bin/clang+++0xca55db)
#14 0x000000000118c8f4 llvm::FPPassManager::runOnFunction(llvm::Function&)
(llvm.inst/bin/clang+++0x118c8f4)
#15 0x000000000118cb43 llvm::FPPassManager::runOnModule(llvm::Module&)
(llvm.inst/bin/clang+++0x118cb43)
#16 0x000000000118d035 llvm::legacy::PassManagerImpl::run(llvm::Module&)
(llvm.inst/bin/clang+++0x118d035)
#17 0x00000000017db0da clang::EmitBackendOutput(clang::DiagnosticsEngine&,
clang::HeaderSearchOptions const&, clang::CodeGenOptions const&,
clang::TargetOptions const&, clang::LangOptions const&, llvm::DataLayout
const&, llvm::Module*, clang::BackendAction,
std::unique_ptr<llvm::raw_pwrite_stream,
std::default_delete<llvm::raw_pwrite_stream> >)
(llvm.inst/bin/clang+++0x17db0da)
#18 0x00000000020a5bb5
clang::BackendConsumer::HandleTranslationUnit(clang::ASTContext&)
(llvm.inst/bin/clang+++0x20a5bb5)
#19 0x0000000002617f14 clang::ParseAST(clang::Sema&, bool, bool)
(llvm.inst/bin/clang+++0x2617f14)
#20 0x0000000001c35438 clang::FrontendAction::Execute()
(llvm.inst/bin/clang+++0x1c35438)
#21 0x0000000001bf5091
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&)
(llvm.inst/bin/clang+++0x1bf5091)
#22 0x0000000001ccb58a
clang::ExecuteCompilerInvocation(clang::CompilerInstance*)
(llvm.inst/bin/clang+++0x1ccb58a)
#23 0x000000000084cf4c cc1_main(llvm::ArrayRef<char const*>, char const*,
void*) (llvm.inst/bin/clang+++0x84cf4c)
#24 0x000000000084b3d5 main (llvm.inst/bin/clang+++0x84b3d5)
#25 0x00007fb600bb6a40 __libc_start_main
/build/buildd/glibc-2.21/csu/libc-start.c:323:0
#26 0x0000000000847f69 _start (llvm.inst/bin/clang+++0x847f69)
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 7.0.0 (trunk 332320)
Target: arm--linux-android
Thread model: posix
InstalledDir: llvm.inst/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/20180515/11cc490b/attachment-0001.html>


More information about the llvm-bugs mailing list