[llvm-bugs] [Bug 40361] New: Clang 7.0.1 crashes on AArch64

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Jan 17 09:31:09 PST 2019


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

            Bug ID: 40361
           Summary: Clang 7.0.1 crashes on AArch64
           Product: clang
           Version: 7.0
          Hardware: Other
                OS: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: qroxana at mail.ru
                CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org,
                    neeilans at live.com, richard-llvm at metafoo.co.uk

After upgrading to Clang 7.0.1, it crashed when compiling various
programs on AArch64. They were all terminated at the same place:

# lldb /usr/bin/clang -c /usr/obj/usr/src/arm64.aarch64/lib/libc/cc.core
Core file '/usr/obj/usr/src/arm64.aarch64/lib/libc/cc.core' (aarch64) was
loaded.
(lldb) bt
* thread #1, name = 'cc', stop reason = signal SIGSEGV
  * frame #0: 0x0000000002db02b8 clang`::LookupBucketFor() at StringMap.cpp:79
    frame #1: 0x0000000003aeaa30 clang`::try_emplace<llvm::cl::Option *>() at
StringMap.h:396
    frame #2: 0x0000000003aeabac clang`::addOption() [inlined] insert at
StringMap.h:387
    frame #3: 0x0000000003aeaba8 clang`::addOption() at CommandLine.cpp:151
    frame #4: 0x0000000003ae1c00 clang`::addArgument() [inlined] addOption at
CommandLine.cpp:194
    frame #5: 0x0000000003ae1b44 clang`::addArgument() at CommandLine.cpp:357
    frame #6: 0x000000000305207c clang at CommandLine.h:1342
    frame #7: 0x0000000003052078 clang at CommandLine.h:1365
    frame #8: 0x0000000003051fcc clang at CorrelatedValuePropagation.cpp:67
    frame #9: 0x0000000003051fcc clang at CorrelatedValuePropagation.cpp:0
    frame #10: 0x00000000011d01a0 clang`handle_static_init(argc=138,
argv=0x0000ffffffffcfd8, env=0x0000ffffffffd430) at ignore_init.c:124
    frame #11: 0x00000000011d00a8 clang`__start(argc=138,
argv=0x0000ffffffffcfd8, env=0x0000ffffffffd430, cleanup=<unavailable>) at
crt1.c:83

-- 
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/20190117/e80952bf/attachment.html>


More information about the llvm-bugs mailing list