[LLVMbugs] [Bug 23808] New: segmentation fault in std::unique_ptr virtual destructor

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Jun 10 09:30:08 PDT 2015


            Bug ID: 23808
           Summary: segmentation fault in std::unique_ptr virtual
           Product: libc++
           Version: 3.6
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: benni.buch at gmail.com
                CC: llvmbugs at cs.uiuc.edu, mclow.lists at gmail.com
    Classification: Unclassified

#include <memory>

struct A{ virtual ~A() = default; };
struct B: A{};

int main(){
    // segmentation fault in B's destructor
    auto b = std::make_unique< B >();

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/20150610/788e7bca/attachment.html>

More information about the llvm-bugs mailing list