[LLVMbugs] [Bug 21821] New: [fuzz] Assertion `!isNull() && "Cannot retrieve a NULL type pointer"' failed.

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Dec 10 12:56:07 PST 2014


            Bug ID: 21821
           Summary: [fuzz] Assertion `!isNull() && "Cannot retrieve a NULL
                    type pointer"' failed.
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: sami.liedes at iki.fi
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 13463
  --> http://llvm.org/bugs/attachment.cgi?id=13463&action=edit
test case

Fuzzing discovered that the attached test case, when given as input to

  clang -fno-crash-diagnostics -std=c++11 -xc++ -c -emit-llvm

causes this assertion failure:

retrieve-null-type-ptr.cpp:1:1: error: unknown type name 'typede'; did you mean
typede^ _Atomic(i
retrieve-null-type-ptr.cpp:1:18: error: expected ')'
typede^ _Atomic(i
retrieve-null-type-ptr.cpp:1:16: note: to match this '('
typede^ _Atomic(i
retrieve-null-type-ptr.cpp:1:17: error: C++ requires a type specifier for all
typede^ _Atomic(i
~~~~~~          ^
retrieve-null-type-ptr.cpp:1:7: error: blocks support disabled - compile with
-fblocks or pick a deployment target that supports them
typede^ _Atomic(i
retrieve-null-type-ptr.cpp:1:17: error: block pointer to non-function type is
typede^ _Atomic(i
clang-3.6: tools/clang/include/clang/AST/Type.h:562: const
clang::ExtQualsTypeCommonBase *clang::QualType::getCommonPtr() const: Assertion
`!isNull() && "Cannot retrieve a NULL type pointer"' failed.

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/20141210/6e81b85d/attachment.html>

More information about the llvm-bugs mailing list