[llvm-bugs] [Bug 34440] New: Polly/isl trunk r311629 crashes while building ffmpeg

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Sep 3 11:02:42 PDT 2017


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

            Bug ID: 34440
           Summary: Polly/isl trunk r311629 crashes while building ffmpeg
           Product: Polly
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Optimizer
          Assignee: polly-dev at googlegroups.com
          Reporter: jeremyhu at apple.com
                CC: llvm-bugs at lists.llvm.org

Created attachment 19095
  --> https://bugs.llvm.org/attachment.cgi?id=19095&action=edit
crash log

I haven’t been keeping too close an eye on polly for the past few months, so
I’m not quite sure when this regressed, but here are the data points that I
currently have:

r308713 compiled ffmpeg ok, but it had some had some issues,
http://fate.ffmpeg.org/report.cgi?time=20170831090948&slot=i386-darwin-clang-polly-devel
r306254 produced an ffmpeg build that passed their regression tests,
http://fate.ffmpeg.org/report.cgi?time=20170721062156&slot=i386-darwin-clang-polly-devel


Application Specific Information:
Stack dump:
0.      Program arguments: /opt/local/libexec/llvm-devel/bin/clang -cc1 -triple
i386-apple-macosx10.12.0 -emit-obj -disable-free -main-file-name
wmalosslessdec.c -mrelocation-model dynamic-no-pic -mthread-model posix
-fno-signed-zeros -masm-verbose -munwind-tables -faligned-alloc-unavailable
-target-cpu penryn -target-linker-version 278.4 -dwarf-column-info
-debug-info-kind=standalone -dwarf-version=4 -debugger-tuning=lldb
-coverage-notes-file
/Users/jeremy/src/ffmpeg/fate/i386-darwin-clang-polly-nooptimize-devel/build/libavcodec/wmalosslessdec.gcno
-resource-dir /opt/local/libexec/llvm-devel/lib/clang/6.0.0 -dependency-file
libavcodec/wmalosslessdec.d -MT libavcodec/wmalosslessdec.o -I . -I src/ -D
_ISOC99_SOURCE -D _FILE_OFFSET_BITS=64 -D _LARGEFILE_SOURCE -I
/Users/jeremy/src/ffmpeg/fate/i386-darwin-clang-polly-nooptimize-devel/src/compat/dispatch_semaphore
-D ZLIB_CONST -D HAVE_AV_CONFIG_H -I /opt/local/include -I /opt/local/include
-I /opt/local/include -I /opt/local/include -O3 -Wno-deprecated -Wno-unused
-Wdeclaration-after-statement -Wall -Wdisabled-optimization -Wpointer-arith
-Wredundant-decls -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes
-Wno-pointer-to-int-cast -Wstrict-prototypes -Wempty-body -Wno-parentheses
-Wno-switch -Wno-format-zero-length -Wno-pointer-sign
-Wno-unused-const-variable -Werror=implicit-function-declaration
-Werror=missing-prototypes -Werror=return-type -std=c11 -fconst-strings
-fdebug-compilation-dir
/Users/jeremy/src/ffmpeg/fate/i386-darwin-clang-polly-nooptimize-devel/build
-ferror-limit 19 -fmessage-length 0 -pthread -stack-protector 1
-mstack-alignment=16 -fblocks -fobjc-runtime=macosx-fragile-10.12.0
-fobjc-subscripting-legacy-runtime -fencode-extended-block-signature
-fmax-type-align=16 -fdiagnostics-show-option -vectorize-loops -vectorize-slp
-load /opt/local/libexec/llvm-devel/lib/LLVMPolly.dylib -mllvm -polly -mllvm
-polly-optimizer=none -o libavcodec/wmalosslessdec.o -x c
src/libavcodec/wmalosslessdec.c 
1.      <eof> parser at end of file
2.      Per-module optimization passes
3.      Running pass 'Function Pass Manager' on module
'src/libavcodec/wmalosslessdec.c'.
4.      Running pass 'Region Pass Manager' on function '@decode_frame'
5.      Running pass 'Polly - Generate an AST from the SCoP (isl)' on basic
block '%for.body13.us.i.i.i'


Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   LLVMPolly.dylib                     0x000000010e83e0fb isl_set_preimage +
82
1   LLVMPolly.dylib                     0x000000010e7f3554 isl_set_wrap_facet +
267
2   LLVMPolly.dylib                     0x000000010e7ee5bb add_wrap + 128
3   LLVMPolly.dylib                     0x000000010e7ee09f add_wraps + 212
4   LLVMPolly.dylib                     0x000000010e7ec469 check_eq_adj_eq +
526
5   LLVMPolly.dylib                     0x000000010e7ebf8d
coalesce_local_pair_reuse + 1647
6   LLVMPolly.dylib                     0x000000010e7eb554 coalesce_range +
1314
7   LLVMPolly.dylib                     0x000000010e7eaeac isl_map_coalesce +
593
8   LLVMPolly.dylib                     0x000000010e896b85 un_entry + 72
9   LLVMPolly.dylib                     0x000000010e807a7f
isl_hash_table_foreach + 86
10  LLVMPolly.dylib                     0x000000010e89449d un_op + 190
11  LLVMPolly.dylib                     0x000000010e89484e
isl_union_map_coalesce + 49
12  LLVMPolly.dylib                     0x000000010e6ea733
polly::Dependences::calculateDependences(polly::Scop&) + 2875
13  LLVMPolly.dylib                     0x000000010e6ebc17
polly::DependenceInfo::recomputeDependences(polly::Dependences::AnalysisLevel)
+ 161
14  LLVMPolly.dylib                     0x000000010e747984
polly::IslAstInfoWrapperPass::runOnScop(polly::Scop&) + 72
15  LLVMPolly.dylib                     0x000000010e734e8d
polly::ScopPass::runOnRegion(llvm::Region*, llvm::RGPassManager&) + 59
16  libLLVM.dylib                       0x0000000112e0fa3e
llvm::RGPassManager::runOnFunction(llvm::Function&) + 752

-- 
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/20170903/7a6043c9/attachment.html>


More information about the llvm-bugs mailing list