<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - clang: error: unable to execute command: Segmentation fault when compiling Apache Qpid Proton"
   href="https://bugs.llvm.org/show_bug.cgi?id=40680">40680</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>clang: error: unable to execute command: Segmentation fault when compiling Apache Qpid Proton
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>clang
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>release blocker
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>-New Bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedclangbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>jdanek@redhat.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>htmldeveloper@gmail.com, llvm-bugs@lists.llvm.org, neeilans@live.com, richard-llvm@metafoo.co.uk
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=21461" name="attach_21461" title="/tmp/bitmask-079a44.c">attachment 21461</a> <a href="attachment.cgi?id=21461&action=edit" title="/tmp/bitmask-079a44.c">[details]</a></span>
/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
<a href="https://bugs.llvm.org/">https://bugs.llvm.org/</a> 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</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>