[llvm-bugs] [Bug 30274] New: Segfault in clang::FunctionDecl::getNumParams()

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Sep 4 17:56:32 PDT 2016


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

            Bug ID: 30274
           Summary: Segfault in clang::FunctionDecl::getNumParams()
           Product: clang
           Version: trunk
          Hardware: Macintosh
                OS: MacOS X
            Status: NEW
          Severity: release blocker
          Priority: P
         Component: C++
          Assignee: unassignedclangbugs at nondot.org
          Reporter: dane at mapbox.com
                CC: dgregor at apple.com, llvm-bugs at lists.llvm.org
    Classification: Unclassified

Latest llvm/clang segfaults on code that works with all earlier released
versions of clang.

Seen on OS X 10.11.6 with clang 4.x build from source like:
https://github.com/mapbox/mason/blob/2b550ea353f2cbfac823bdd6224688f1f3c35a3f/scripts/clang/4.x/script.sh

llvm git checkout was da488468796b9366fb9cd1d8010658077ff7759b /
https://llvm.org/svn/llvm-project/llvm/trunk@280600
91177308-0d34-0410-b5e6-96231b3b80d8
clang git checkout was 9933b39786ee646c3144099d59896b11911c2d82 /
https://llvm.org/svn/llvm-project/cfe/trunk@280597
91177308-0d34-0410-b5e6-96231b3b80d8

 - Terminal output of crash:
https://gist.github.com/springmeyer/6da336f794d96f456564f09e1a840f36
 - Backtrace:
https://gist.github.com/springmeyer/8f1f085f418b35b24a21a1db682243ae
 - Script generated after crash:
https://gist.github.com/springmeyer/3f98a684c4ccdf553a5879d40b8fd897
 - Pre-processed source (45 MB):
https://gist.githubusercontent.com/springmeyer/4d707fad1df2fc3c770e063ca3dc3660/raw/ea5076adb1b823fac9eab739e359a770f2315954/mapnik_json_feature_grammar-91251c.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/20160905/5a88f607/attachment.html>


More information about the llvm-bugs mailing list