[llvm-bugs] [Bug 30226] New: Mozilla SQlite crash on Simplify the CFG

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Aug 31 12:00:14 PDT 2016


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

            Bug ID: 30226
           Summary: Mozilla SQlite crash on Simplify the CFG
           Product: clang
           Version: trunk
          Hardware: Macintosh
                OS: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: snovak at uwsp.edu
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Trunk clang is crashing while compiling the sqlite components of firefox

Stack dump:
11:00.43 0.    Program arguments: /Locals/clang/bin/clang-3.9 -cc1 -triple
x86_64-apple-macosx10.7.0 -Wdeprecated-objc-isa-usage
-Werror=deprecated-objc-isa-usage -emit-obj -disable-free
-disable-llvm-verifier -discard-value-names -main-file-name sqlite3.c
-mrelocation-model pic -pic-level 2 -mthread-model posix -relaxed-aliasing
-masm-verbose -munwind-tables -target-cpu haswell -target-feature +sse2
-target-feature +cx16 -target-feature -tbm -target-feature -avx512ifma
-target-feature -avx512dq -target-feature -fma4 -target-feature -prfchw
-target-feature +bmi2 -target-feature -xsavec -target-feature +fsgsbase
-target-feature +popcnt -target-feature +aes -target-feature -pcommit
-target-feature -xsaves -target-feature -avx512er -target-feature -clwb
-target-feature -avx512f -target-feature -pku -target-feature -smap
-target-feature +mmx -target-feature -xop -target-feature -rdseed
-target-feature +hle -target-feature -sse4a -target-feature -avx512bw
-target-feature -clflushopt -target-feature +xsave -target-feature -avx512vl
-target-feature +invpcid -target-feature -avx512cd -target-feature +avx
-target-feature +rtm -target-feature +fma -target-feature +bmi -target-feature
-mwaitx -target-feature +rdrnd -target-feature +sse4.1 -target-feature +sse4.2
-target-feature +avx2 -target-feature +sse -target-feature +lzcnt
-target-feature +pclmul -target-feature -prefetchwt1 -target-feature +f16c
-target-feature +ssse3 -target-feature -sgx -target-feature +cmov
-target-feature -avx512vbmi -target-feature +movbe -target-feature +xsaveopt
-target-feature -sha -target-feature -adx -target-feature -avx512pf
-target-feature +sse3 -target-linker-version 264.3.102 -dwarf-column-info
-debug-info-kind=standalone -dwarf-version=2 -debugger-tuning=lldb
-ffunction-sections -fdata-sections -coverage-file
/Users/adm/Documents/Sources/FirefoxNightly/obj-ff-dbg/db/sqlite3/src/sqlite3.o
-resource-dir /Locals/clang/bin/../lib/clang/4.0.0 -include
/Users/adm/Documents/Sources/FirefoxNightly/obj-ff-dbg/mozilla-config.h
-isysroot
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk
-D NDEBUG=1 -D TRIMMED=1 -D SQLITE_SECURE_DELETE=1 -D SQLITE_THREADSAFE=1 -D
SQLITE_CORE=1 -D SQLITE_ENABLE_FTS3=1 -D SQLITE_ENABLE_UNLOCK_NOTIFY=1 -D
SQLITE_ENABLE_DBSTAT_VTAB=1 -D SQLITE_DEFAULT_PAGE_SIZE=32768 -D
SQLITE_MAX_DEFAULT_PAGE_SIZE=32768 -D SQLITE_MAX_SCHEMA_RETRY=25 -D
SQLITE_ENABLE_LOCKING_STYLE=1 -I
/Users/adm/Documents/Sources/FirefoxNightly/db/sqlite3/src -I
/Users/adm/Documents/Sources/FirefoxNightly/obj-ff-dbg/db/sqlite3/src -I
/Users/adm/Documents/Sources/FirefoxNightly/obj-ff-dbg/dist/include -I
/Users/adm/Documents/Sources/FirefoxNightly/obj-ff-dbg/dist/include/nspr -I
/Users/adm/Documents/Sources/FirefoxNightly/obj-ff-dbg/dist/include/nss -D
MOZILLA_CLIENT -O3 -Wall -Wempty-body -Wignored-qualifiers -Wpointer-arith
-Wsign-compare -Wtype-limits -Wunreachable-code -Wclass-varargs -Wloop-analysis
-Wstring-conversion -Wthread-safety -Wno-error=deprecated-declarations
-Wno-error=array-bounds -Wall -Wempty-body -Wignored-qualifiers -Wpointer-arith
-Wsign-compare -Wtype-limits -Wunreachable-code -Wclass-varargs -Wloop-analysis
-Werror=non-literal-null-conversion -Wthread-safety
-Wno-error=deprecated-declarations -Wno-error=array-bounds -Wno-sign-compare
-Wno-type-limits -std=gnu99 -fdebug-compilation-dir
/Users/adm/Documents/Sources/FirefoxNightly/obj-ff-dbg/db/sqlite3/src
-ferror-limit 19 -fmessage-length 0 -pthread -stack-protector 1 -fblocks
-fobjc-runtime=macosx-10.7.0 -fencode-extended-block-signature
-fmax-type-align=16 -fdiagnostics-show-option -vectorize-loops -vectorize-slp
-o sqlite3.o -x c
/Users/adm/Documents/Sources/FirefoxNightly/db/sqlite3/src/sqlite3.c
11:00.60 1.    <eof> parser at end of file
11:00.60 2.    Per-module optimization passes
11:00.60 3.    Running pass 'CallGraph Pass Manager' on module
'/Users/adm/Documents/Sources/FirefoxNightly/db/sqlite3/src/sqlite3.c'.
11:00.60 4.    Running pass 'Simplify the CFG' on function '@sqlite3VXPrintf'
11:00.60 clang-3.9: error: unable to execute command: Segmentation fault: 11
11:00.60 clang-3.9: error: clang frontend command failed due to signal (use -v
to see invocation)
11:00.60 clang version 4.0.0 (https://github.com/llvm-mirror/clang.git
9f5b323fbeba4646abbafb5de76aedddcd504e7e)
(https://github.com/llvm-mirror/llvm.git
5b50326ddb65aa19fbf27c47b28794814226ddd9)
11:00.60 Target: x86_64-apple-darwin15.6.0
11:00.60 Thread model: posix
11:00.60 InstalledDir: /Locals/clang/bin
11:00.60 clang-3.9: 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:00.60 clang-3.9: note: diagnostic msg:
11:00.60 ********************
11:00.60 
11:00.60 PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
11:00.60 Preprocessed source(s) and associated run script(s) are located at:
11:00.60 clang-3.9: note: diagnostic msg:
/var/folders/48/2y003cdj695c_zpkgfk8vd9m0000gn/T/sqlite3-74c6bf.c
11:00.60 clang-3.9: note: diagnostic msg:
/var/folders/48/2y003cdj695c_zpkgfk8vd9m0000gn/T/sqlite3-74c6bf.sh
11:00.60 clang-3.9: note: diagnostic msg:
11:00.60 
11:00.60 ********************
11:00.65 
11:00.65 In the directory 
/Users/adm/Documents/Sources/FirefoxNightly/obj-ff-dbg/db/sqlite3/src
11:00.65 The following command failed to execute properly:
11:00.65 /opt/local/bin/ccache /Locals/clang/bin/clang -std=gnu99 -o sqlite3.o
-c -DNDEBUG=1 -DTRIMMED=1 -DSQLITE_SECURE_DELETE=1 -DSQLITE_THREADSAFE=1
-DSQLITE_CORE=1 -DSQLITE_ENABLE_FTS3=1 -DSQLITE_ENABLE_UNLOCK_NOTIFY=1
-DSQLITE_ENABLE_DBSTAT_VTAB=1 -DSQLITE_DEFAULT_PAGE_SIZE=32768
-DSQLITE_MAX_DEFAULT_PAGE_SIZE=32768 -DSQLITE_MAX_SCHEMA_RETRY=25
-DSQLITE_ENABLE_LOCKING_STYLE=1
-I/Users/adm/Documents/Sources/FirefoxNightly/db/sqlite3/src
-I/Users/adm/Documents/Sources/FirefoxNightly/obj-ff-dbg/db/sqlite3/src
-I/Users/adm/Documents/Sources/FirefoxNightly/obj-ff-dbg/dist/include
-I/Users/adm/Documents/Sources/FirefoxNightly/obj-ff-dbg/dist/include/nspr
-I/Users/adm/Documents/Sources/FirefoxNightly/obj-ff-dbg/dist/include/nss -fPIC
-include
/Users/adm/Documents/Sources/FirefoxNightly/obj-ff-dbg/mozilla-config.h
-DMOZILLA_CLIENT -MD -MP -MF .deps/sqlite3.o.pp -Qunused-arguments
-Qunused-arguments -Wall -Wempty-body -Wignored-qualifiers -Wpointer-arith
-Wsign-compare -Wtype-limits -Wunreachable-code -Wclass-varargs -Wloop-analysis
-Wstring-conversion -Wthread-safety -Wno-error=deprecated-declarations
-Wno-error=array-bounds -std=gnu99 -Wall -Wempty-body -Wignored-qualifiers
-Wpointer-arith -Wsign-compare -Wtype-limits -Wunreachable-code -Wclass-varargs
-Wloop-analysis -Werror=non-literal-null-conversion -Wthread-safety
-Wno-error=deprecated-declarations -Wno-error=array-bounds -march=native
-mtune=native -isysroot
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk
-Qunused-arguments -fno-strict-aliasing -ffunction-sections -fdata-sections
-fno-math-errno -pthread -pipe -fno-strict-aliasing -ffunction-sections
-fdata-sections -fno-math-errno -pthread -pipe -g -O3 -fomit-frame-pointer
-Wno-sign-compare -Wno-type-limits
/Users/adm/Documents/Sources/FirefoxNightly/db/sqlite3/src/sqlite3.c

-- 
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/20160831/ce631a50/attachment.html>


More information about the llvm-bugs mailing list