[llvm-bugs] [Bug 40680] New: clang: error: unable to execute command: Segmentation fault when compiling Apache Qpid Proton

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Feb 10 08:28:43 PST 2019


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

            Bug ID: 40680
           Summary: clang: error: unable to execute command: Segmentation
                    fault when compiling Apache Qpid Proton
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: release blocker
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: jdanek at redhat.com
                CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org,
                    neeilans at live.com, richard-llvm at metafoo.co.uk

Created attachment 21461
  --> https://bugs.llvm.org/attachment.cgi?id=21461&action=edit
/tmp/bitmask-079a44.c

-- Build files have been written to: /home/buildadm/qpid-dispatch/build
+ CC='clang-9 -fsanitize=thread'
+ CXX='clang++-9 -fsanitize=thread'
+ LDFLAGS=-fsanitize=thread
+ ninja -v install
[1/90] cd /home/buildadm/qpid-dispatch/build/src && /usr/bin/python
/home/buildadm/qpid-dispatch/build/tests/run.py -s
/home/buildadm/qpid-dispatch/src/schema_c.py
[2/90] /usr/bin/clang-9  -fsanitize=thread -Dqpid_dispatch_EXPORTS -I../include
-Iinclude -I/home/buildadm/qpid-proton/build/install/include
-I/usr/include/python2.7 -I../src -I../src/router_core -Isrc -fsanitize=thread
-O2 -g -DNDEBUG -fPIC   -g -fno-omit-frame-pointer -Werror -Wall -Wpedantic
-std=gnu99 -pthread -Wno-gnu-statement-expression -MD -MT
src/CMakeFiles/qpid-dispatch.dir/bitmask.c.o -MF
src/CMakeFiles/qpid-dispatch.dir/bitmask.c.o.d -o
src/CMakeFiles/qpid-dispatch.dir/bitmask.c.o   -c
/home/buildadm/qpid-dispatch/src/bitmask.c
FAILED: src/CMakeFiles/qpid-dispatch.dir/bitmask.c.o 
/usr/bin/clang-9  -fsanitize=thread -Dqpid_dispatch_EXPORTS -I../include
-Iinclude -I/home/buildadm/qpid-proton/build/install/include
-I/usr/include/python2.7 -I../src -I../src/router_core -Isrc -fsanitize=thread
-O2 -g -DNDEBUG -fPIC   -g -fno-omit-frame-pointer -Werror -Wall -Wpedantic
-std=gnu99 -pthread -Wno-gnu-statement-expression -MD -MT
src/CMakeFiles/qpid-dispatch.dir/bitmask.c.o -MF
src/CMakeFiles/qpid-dispatch.dir/bitmask.c.o.d -o
src/CMakeFiles/qpid-dispatch.dir/bitmask.c.o   -c
/home/buildadm/qpid-dispatch/src/bitmask.c
Stack dump:
0.      Program arguments: /usr/lib/llvm-9/bin/clang -cc1 -triple
x86_64-pc-linux-gnu -emit-obj -disable-free -disable-llvm-verifier
-discard-value-names -main-file-name bitmask.c -mrelocation-model pic
-pic-level 2 -mthread-model posix -mdisable-fp-elim -fmath-errno -masm-verbose
-mconstructor-aliases -munwind-tables -fuse-init-array -target-cpu x86-64
-dwarf-column-info -debug-info-kind=limited -dwarf-version=4
-debugger-tuning=gdb -momit-leaf-frame-pointer -coverage-notes-file
/home/buildadm/qpid-dispatch/build/src/CMakeFiles/qpid-dispatch.dir/bitmask.c.gcno
-resource-dir /usr/lib/llvm-9/lib/clang/9.0.0 -dependency-file
src/CMakeFiles/qpid-dispatch.dir/bitmask.c.o.d -sys-header-deps -MT
src/CMakeFiles/qpid-dispatch.dir/bitmask.c.o -D qpid_dispatch_EXPORTS -I
../include -I include -I /home/buildadm/qpid-proton/build/install/include -I
/usr/include/python2.7 -I ../src -I ../src/router_core -I src -D NDEBUG
-internal-isystem /usr/local/include -internal-isystem
/usr/lib/llvm-9/lib/clang/9.0.0/include -internal-externc-isystem
/usr/include/x86_64-linux-gnu -internal-externc-isystem /include
-internal-externc-isystem /usr/include -O2 -Werror -Wall -Wpedantic
-Wno-gnu-statement-expression -std=gnu99 -fdebug-compilation-dir
/home/buildadm/qpid-dispatch/build -ferror-limit 19 -fmessage-length 0
-fsanitize=thread -pthread -fobjc-runtime=gcc -fdiagnostics-show-option
-vectorize-loops -vectorize-slp -o src/CMakeFiles/qpid-dispatch.dir/bitmask.c.o
-x c /home/buildadm/qpid-dispatch/src/bitmask.c -faddrsig 
1.      clang: error: unable to execute command: Segmentation fault
clang: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 9.0.0-svn353471-1~exp1+0~20190207214556.1054~1.gbp77e1bc (trunk)
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
clang: note: diagnostic msg: PLEASE submit a bug report to
https://bugs.llvm.org/ and include the crash backtrace, preprocessed source,
and associated run script.
clang: note: diagnostic msg: 
********************

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

********************
2019/02/10 16:21:20 Clang crash detected
[3/90] /usr/bin/clang-9  -fsanitize=thread -Dqpid_dispatch_EXPORTS -I../include
-Iinclude -I/home/buildadm/qpid-proton/build/install/include
-I/usr/include/python2.7 -I../src -I../src/router_core -Isrc -fsanitize=thread
-O2 -g -DNDEBUG -fPIC   -g -fno-omit-frame-pointer -Werror -Wall -Wpedantic
-std=gnu99 -pthread -Wno-gnu-statement-expression -MD -MT
src/CMakeFiles/qpid-dispatch.dir/discriminator.c.o -MF
src/CMakeFiles/qpid-dispatch.dir/discriminator.c.o.d -o
src/CMakeFiles/qpid-dispatch.dir/discriminator.c.o   -c
/home/buildadm/qpid-dispatch/src/discriminator.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/20190210/e8a67bc0/attachment-0001.html>


More information about the llvm-bugs mailing list