[llvm-bugs] [Bug 45429] New: Boost Log crashes with libc++

via llvm-bugs llvm-bugs at lists.llvm.org
Sat Apr 4 06:53:37 PDT 2020


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

            Bug ID: 45429
           Summary: Boost Log crashes with libc++
           Product: libc++
           Version: 10.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: joe.silver at gmail.com
                CC: llvm-bugs at lists.llvm.org, mclow.lists at gmail.com

Created attachment 23310
  --> https://bugs.llvm.org/attachment.cgi?id=23310&action=edit
coredump

I'm not entirely sure if this is a bug in libc++. However it doesn't show up
with GNU libstdc++ (whether compiled with g++ or clang++)

If I try to run this very simple program:

#include <boost/log/trivial.hpp>

int main(int, char*[])
{
    BOOST_LOG_TRIVIAL(trace) << "Hello World!";
    return 0;
}


It crashes with:
malloc(): invalid next size (unsorted)
Aborted (core dumped)


The coredump is:

malloc(): invalid next size (unsorted)
Aborted (core dumped)

-- 
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/20200404/fc330bd0/attachment.html>


More information about the llvm-bugs mailing list