[llvm-bugs] [Bug 28863] New: Clang gets stuck indefinitely while building source file from ICU4C (International Components for Unicode)

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Aug 5 01:35:22 PDT 2016


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

            Bug ID: 28863
           Summary: Clang gets stuck indefinitely while building source
                    file from ICU4C (International Components for Unicode)
           Product: clang
           Version: 3.9
          Hardware: PC
                OS: FreeBSD
            Status: NEW
          Severity: release blocker
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: ed at 80386.nl
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Created attachment 16886
  --> https://llvm.org/bugs/attachment.cgi?id=16886&action=edit
dtptngen.cpp: source file that causes Clang to get stuck

Attached is a preprocessed copy of a source file from the International
Components for Unicode (ICU4C), called dtptngen.cpp. If built with LLVM/Clang
3.9.0rc1, it will get stuck indefinitely, at least on FreeBSD 10.3. This cannot
be reproduced with LLVM/Clang 3.9 SVN revision 269026 (three months older),
making me assume it is very likely an LLVM/Clang bug.

For the first 20 seconds, it will use up a single CPU core. After 20 seconds it
stalls indefinitely, being stuck on wait queue "umtxn", which is FreeBSDish for
saying: stuck on acquiring a pthreads mutex.

Clang is being invoked as follows:

/usr/obj/cloudabi-ports/bin/clang-3.9 -cc1 -triple x86_64-unknown-cloudabi
-emit-obj -disable-free -disable-llvm-verifier -discard-value-names
-main-file-name dtptngen.cpp -mrelocation-model pic -pic-level 2 -pic-is-pie
-mthread-model posix -mdisable-fp-elim -masm-verbose -mconstructor-aliases
-munwind-tables -target-cpu x86-64 -dwarf-column-info -debugger-tuning=gdb
-ffunction-sections -fdata-sections -O2 -std=c++11 -fdeprecated-macro
-ferror-limit 19 -fmessage-length 185 -fsanitize=safe-stack
-fobjc-runtime=gnustep -fcxx-exceptions -fexceptions -fdiagnostics-show-option
-fcolor-diagnostics -vectorize-loops -vectorize-slp -o /tmp/dtptngen-7b4c79.o
-x c++ dtptngen.cpp

-- 
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/20160805/c5ef2851/attachment.html>


More information about the llvm-bugs mailing list