[llvm-bugs] [Bug 43956] New: intermittent crash

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Nov 10 11:02:14 PST 2019


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

            Bug ID: 43956
           Summary: intermittent crash
           Product: new-bugs
           Version: 9.0
          Hardware: PC
                OS: DragonFly BSD
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: samuel at thimbleby.net
                CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org

clang -Wall -Wextra -Wno-unused-parameter -Wstrict-overflow -march=native -g
-D_DEFAULT_SOURCE -fblocks -fcolor-diagnostics   -MMD -MF build/core.c.o.d -c
core.c -o build/core.c.o
Assertion failed: (BufEnd[0] == 0 && "We assume that the input buffer has a
null character at the end" " to simplify lexing!"), function InitLexer, file
/construction/clang/cfe-9.0.0.src/lib/Lex/Lexer.cpp, line 87.
Stack dump:
0. Program arguments: /raven/bin/clang-9 -cc1 -triple x86_64-raven-dragonfly5.4
-emit-obj -mrelax-all -disable-free -main-file-name core.c -mrelocation-model
static -mthread-model posix -mdisable-fp-elim -masm-verbose
-mconstructor-aliases -munwind-tables -target-cpu haswell -target-feature +sse2
-target-feature +cx16 -target-feature +sahf -target-feature -tbm
-target-feature -avx512ifma -target-feature -sha -target-feature -gfni
-target-feature -fma4 -target-feature -vpclmulqdq -target-feature -prfchw
-target-feature +bmi2 -target-feature -cldemote -target-feature +fsgsbase
-target-feature -ptwrite -target-feature -xsavec -target-feature +popcnt
-target-feature -mpx -target-feature +aes -target-feature -avx512bitalg
-target-feature -movdiri -target-feature -xsaves -target-feature -avx512er
-target-feature -avx512vnni -target-feature -avx512vpopcntdq -target-feature
-pconfig -target-feature -clwb -target-feature -avx512f -target-feature -clzero
-target-feature -pku -target-feature +mmx -target-feature -lwp -target-feature
-rdpid -target-feature -xop -target-feature -rdseed -target-feature -waitpkg
-target-feature -movdir64b -target-feature -sse4a -target-feature -avx512bw
-target-feature -clflushopt -target-feature +xsave -target-feature -avx512vbmi2
-target-feature +64bit -target-feature -avx512vl -target-feature +invpcid
-target-feature -avx512cd -target-feature +avx -target-feature -vaes
-target-feature +cx8 -target-feature +fma -target-feature -rtm -target-feature
+bmi -target-feature -enqcmd -target-feature +rdrnd -target-feature -mwaitx
-target-feature +sse4.1 -target-feature +sse4.2 -target-feature +avx2
-target-feature +fxsr -target-feature -wbnoinvd -target-feature +sse
-target-feature +lzcnt -target-feature +pclmul -target-feature -prefetchwt1
-target-feature +f16c -target-feature +ssse3 -target-feature -sgx
-target-feature -shstk -target-feature +cmov -target-feature -avx512vbmi
-target-feature -avx512bf16 -target-feature +movbe -target-feature +xsaveopt
-target-feature -avx512dq -target-feature -adx -target-feature -avx512pf
-target-feature +sse3 -dwarf-column-info -debug-info-kind=limited
-dwarf-version=4 -debugger-tuning=gdb -coverage-notes-file
/home/tse/Projects/moses/build/core.c.gcno -resource-dir /raven/lib/clang/9.0.0
-dependency-file build/core.c.o.d -MT build/core.c.o -D _DEFAULT_SOURCE -Wall
-Wextra -Wno-unused-parameter -Wstrict-overflow -fdebug-compilation-dir
/home/tse/Projects/moses -ferror-limit 19 -fmessage-length 0 -fblocks
-fobjc-runtime=gcc -fdiagnostics-show-option -fcolor-diagnostics -faddrsig -o
build/core.c.o -x c core.c 
1. core.c:825:8: current parser token '*'
2. core.c:792:51: parsing function body 'macro__name'
3. core.c:792:51: in compound statement ('{}')
4. core.c:806:14: in compound statement ('{}')
5. core.c:807:53: in compound statement ('{}')
6. core.c:821:32: in compound statement ('{}')
0  clang-9 0x0000000004b24340 llvm::sys::PrintStackTrace(llvm::raw_ostream&) +
988
1  clang-9 0x0000000004b22241 llvm::sys::RunSignalHandlers() + 127
2  clang-9 0x0000000004b23d36
_ZSt5log10IiEN9__gnu_cxx11__enable_ifIXsrSt12__is_integerIT_E7__valueEdE6__typeES3_
+ 6387
3  clang-9 0x00007fffffdfe003
_ZSt5log10IiEN9__gnu_cxx11__enable_ifIXsrSt12__is_integerIT_E7__valueEdE6__typeES3_
+ 140737407466432
clang-9: error: unable to execute command: Abort trap (core dumped)
clang-9: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 9.0.0 (tags/RELEASE_900/final)
Target: x86_64-raven-dragonfly5.4
Thread model: posix
InstalledDir: /raven/bin
clang-9: note: diagnostic msg: PLEASE submit a bug report to  and include the
crash backtrace, preprocessed source, and associated run script.
clang-9: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang-9: note: diagnostic msg: /tmp/core-c917b6.c
clang-9: note: diagnostic msg: /tmp/core-c917b6.sh
clang-9: note: diagnostic msg: 

********************

core-c917b6.sh:
# Crash reproducer for clang version 9.0.0 (tags/RELEASE_900/final)
# Driver args: "-Wall" "-Wextra" "-Wno-unused-parameter" "-Wstrict-overflow"
"-march=native" "-g" "-D" "_DEFAULT_SOURCE" "-fblocks" "-fcolor-diagnostics"
"-MMD" "-MF" "build/core.c.o.d" "-c" "core.c" "-o" "build/core.c.o"
# Original command:  "/raven/bin/clang-9" "-cc1" "-triple"
"x86_64-raven-dragonfly5.4" "-emit-obj" "-mrelax-all" "-disable-free"
"-main-file-name" "core.c" "-mrelocation-model" "static" "-mthread-model"
"posix" "-mdisable-fp-elim" "-masm-verbose" "-mconstructor-aliases"
"-munwind-tables" "-target-cpu" "haswell" "-target-feature" "+sse2"
"-target-feature" "+cx16" "-target-feature" "+sahf" "-target-feature" "-tbm"
"-target-feature" "-avx512ifma" "-target-feature" "-sha" "-target-feature"
"-gfni" "-target-feature" "-fma4" "-target-feature" "-vpclmulqdq"
"-target-feature" "-prfchw" "-target-feature" "+bmi2" "-target-feature"
"-cldemote" "-target-feature" "+fsgsbase" "-target-feature" "-ptwrite"
"-target-feature" "-xsavec" "-target-feature" "+popcnt" "-target-feature"
"-mpx" "-target-feature" "+aes" "-target-feature" "-avx512bitalg"
"-target-feature" "-movdiri" "-target-feature" "-xsaves" "-target-feature"
"-avx512er" "-target-feature" "-avx512vnni" "-target-feature"
"-avx512vpopcntdq" "-target-feature" "-pconfig" "-target-feature" "-clwb"
"-target-feature" "-avx512f" "-target-feature" "-clzero" "-target-feature"
"-pku" "-target-feature" "+mmx" "-target-feature" "-lwp" "-target-feature"
"-rdpid" "-target-feature" "-xop" "-target-feature" "-rdseed" "-target-feature"
"-waitpkg" "-target-feature" "-movdir64b" "-target-feature" "-sse4a"
"-target-feature" "-avx512bw" "-target-feature" "-clflushopt" "-target-feature"
"+xsave" "-target-feature" "-avx512vbmi2" "-target-feature" "+64bit"
"-target-feature" "-avx512vl" "-target-feature" "+invpcid" "-target-feature"
"-avx512cd" "-target-feature" "+avx" "-target-feature" "-vaes"
"-target-feature" "+cx8" "-target-feature" "+fma" "-target-feature" "-rtm"
"-target-feature" "+bmi" "-target-feature" "-enqcmd" "-target-feature" "+rdrnd"
"-target-feature" "-mwaitx" "-target-feature" "+sse4.1" "-target-feature"
"+sse4.2" "-target-feature" "+avx2" "-target-feature" "+fxsr" "-target-feature"
"-wbnoinvd" "-target-feature" "+sse" "-target-feature" "+lzcnt"
"-target-feature" "+pclmul" "-target-feature" "-prefetchwt1" "-target-feature"
"+f16c" "-target-feature" "+ssse3" "-target-feature" "-sgx" "-target-feature"
"-shstk" "-target-feature" "+cmov" "-target-feature" "-avx512vbmi"
"-target-feature" "-avx512bf16" "-target-feature" "+movbe" "-target-feature"
"+xsaveopt" "-target-feature" "-avx512dq" "-target-feature" "-adx"
"-target-feature" "-avx512pf" "-target-feature" "+sse3" "-dwarf-column-info"
"-debug-info-kind=limited" "-dwarf-version=4" "-debugger-tuning=gdb"
"-coverage-notes-file" "/home/tse/Projects/moses/build/core.c.gcno"
"-resource-dir" "/raven/lib/clang/9.0.0" "-dependency-file" "build/core.c.o.d"
"-MT" "build/core.c.o" "-D" "_DEFAULT_SOURCE" "-Wall" "-Wextra"
"-Wno-unused-parameter" "-Wstrict-overflow" "-fdebug-compilation-dir"
"/home/tse/Projects/moses" "-ferror-limit" "19" "-fmessage-length" "0"
"-fblocks" "-fobjc-runtime=gcc" "-fdiagnostics-show-option"
"-fcolor-diagnostics" "-faddrsig" "-o" "build/core.c.o" "-x" "c" "core.c"
 "/raven/bin/clang-9" "-cc1" "-triple" "x86_64-raven-dragonfly5.4" "-emit-obj"
"-mrelax-all" "-disable-free" "-main-file-name" "core.c" "-mrelocation-model"
"static" "-mthread-model" "posix" "-mdisable-fp-elim" "-masm-verbose"
"-mconstructor-aliases" "-munwind-tables" "-target-cpu" "haswell"
"-target-feature" "+sse2" "-target-feature" "+cx16" "-target-feature" "+sahf"
"-target-feature" "-tbm" "-target-feature" "-avx512ifma" "-target-feature"
"-sha" "-target-feature" "-gfni" "-target-feature" "-fma4" "-target-feature"
"-vpclmulqdq" "-target-feature" "-prfchw" "-target-feature" "+bmi2"
"-target-feature" "-cldemote" "-target-feature" "+fsgsbase" "-target-feature"
"-ptwrite" "-target-feature" "-xsavec" "-target-feature" "+popcnt"
"-target-feature" "-mpx" "-target-feature" "+aes" "-target-feature"
"-avx512bitalg" "-target-feature" "-movdiri" "-target-feature" "-xsaves"
"-target-feature" "-avx512er" "-target-feature" "-avx512vnni" "-target-feature"
"-avx512vpopcntdq" "-target-feature" "-pconfig" "-target-feature" "-clwb"
"-target-feature" "-avx512f" "-target-feature" "-clzero" "-target-feature"
"-pku" "-target-feature" "+mmx" "-target-feature" "-lwp" "-target-feature"
"-rdpid" "-target-feature" "-xop" "-target-feature" "-rdseed" "-target-feature"
"-waitpkg" "-target-feature" "-movdir64b" "-target-feature" "-sse4a"
"-target-feature" "-avx512bw" "-target-feature" "-clflushopt" "-target-feature"
"+xsave" "-target-feature" "-avx512vbmi2" "-target-feature" "+64bit"
"-target-feature" "-avx512vl" "-target-feature" "+invpcid" "-target-feature"
"-avx512cd" "-target-feature" "+avx" "-target-feature" "-vaes"
"-target-feature" "+cx8" "-target-feature" "+fma" "-target-feature" "-rtm"
"-target-feature" "+bmi" "-target-feature" "-enqcmd" "-target-feature" "+rdrnd"
"-target-feature" "-mwaitx" "-target-feature" "+sse4.1" "-target-feature"
"+sse4.2" "-target-feature" "+avx2" "-target-feature" "+fxsr" "-target-feature"
"-wbnoinvd" "-target-feature" "+sse" "-target-feature" "+lzcnt"
"-target-feature" "+pclmul" "-target-feature" "-prefetchwt1" "-target-feature"
"+f16c" "-target-feature" "+ssse3" "-target-feature" "-sgx" "-target-feature"
"-shstk" "-target-feature" "+cmov" "-target-feature" "-avx512vbmi"
"-target-feature" "-avx512bf16" "-target-feature" "+movbe" "-target-feature"
"+xsaveopt" "-target-feature" "-avx512dq" "-target-feature" "-adx"
"-target-feature" "-avx512pf" "-target-feature" "+sse3" "-dwarf-column-info"
"-debug-info-kind=limited" "-dwarf-version=4" "-debugger-tuning=gdb"
"-coverage-notes-file" "/home/tse/Projects/moses/build/core.c.gcno" "-D"
"_DEFAULT_SOURCE" "-Wall" "-Wextra" "-Wno-unused-parameter" "-Wstrict-overflow"
"-ferror-limit" "19" "-fmessage-length" "0" "-fblocks" "-fobjc-runtime=gcc"
"-fdiagnostics-show-option" "-fcolor-diagnostics" "-faddrsig" "-x" "c"
"core-c917b6.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/20191110/416170bf/attachment-0001.html>


More information about the llvm-bugs mailing list