[LLVMbugs] [Bug 10351] New: NULL pointer dereference in clang::CodeGen::CodeGenFunction::destroyCXXObject

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Jul 13 05:02:34 PDT 2011


           Summary: NULL pointer dereference in
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: LLVM Codegen
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: joerg at NetBSD.org
                CC: llvmbugs at cs.uiuc.edu

Created an attachment (id=6880)
 --> (http://llvm.org/bugs/attachment.cgi?id=6880)
Failing input

Start of the backtrace:

0  clang           0x000000000285ccd9
1  clang           0x000000000285cad5
2  libpthread.so.0 0x00007f4a44006c60
3  clang           0x00000000012a474c clang::FunctionDecl::isTrivial() const +
4  clang           0x000000000130de12 
llvm::Value*, clang::QualType) + 104
5  clang           0x000000000133786a
clang::CodeGen::CodeGenFunction::emitArrayDestroy(llvm::Value*, llvm::Value*,
clang::QualType, void (&)(clang::CodeGen::CodeGenFunction&, llvm::Value*,
clang::QualType), bool, bool) + 668
6  clang           0x0000000001337b13
7  clang           0x0000000001337bc8
8  clang           0x0000000001316aed
9  clang           0x0000000001318178
clang::CodeGen::CodeGenFunction::PopCleanupBlock(bool) + 5390
10 clang           0x0000000001316682
+ 164
11 clang           0x0000000001313993
clang::CodeGen::CodeGenFunction::RunCleanupsScope::~RunCleanupsScope() + 71

The dtor variable in destroyCXXObject is NULL.

Preprocessed source is attached.

Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the llvm-bugs mailing list