[llvm-bugs] [Bug 28499] New: Crashes on the boost XML parser

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Jul 11 08:04:08 PDT 2016


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

            Bug ID: 28499
           Summary: Crashes on the boost XML parser
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
          Assignee: unassignedclangbugs at nondot.org
          Reporter: piotr.wyderski at gmail.com
                CC: dgregor at apple.com, llvm-bugs at lists.llvm.org
    Classification: Unclassified

On Windows 7 with boost 1.61.0 (the pre-built Windows 64 binaries from their
website) the following simple snippet program crashes the compiler:


#include <boost/property_tree/xml_parser.hpp>


void fff() {

    boost::property_tree::ptree pt;

    boost::property_tree::read_xml("aa", pt,
boost::property_tree::xml_parser::trim_whitespace);
}


Compiled using the simplest options:

   clang++ -Ip:\projects\libs\msvc-14\boost_1_61_0 c:\snippet.cpp

I cannot include the dump files because there are none (depsite the program's
claims):


Wrote crash dump file
"C:\Users\PIOTR~1.WYD\AppData\Local\Temp\clang++.exe-6dd8f
b.dmp"
#0 0x00000001e027c766
#1 0x000000014057db45 (P:\projects\tools\llvm\Release\bin\clang++.exe+0xb3db45)
#2 0x0000000140573cd3 (P:\projects\tools\llvm\Release\bin\clang++.exe+0xb33cd3)
#3 0x0000000140574197 (P:\projects\tools\llvm\Release\bin\clang++.exe+0xb34197)
#4 0x000000014057342c (P:\projects\tools\llvm\Release\bin\clang++.exe+0xb3342c)
#5 0x0000000140ac3e96
(P:\projects\tools\llvm\Release\bin\clang++.exe+0x1083e96)

#6 0x00000001403f00d2 (P:\projects\tools\llvm\Release\bin\clang++.exe+0x9b00d2)
#7 0x00000001403f50b3 (P:\projects\tools\llvm\Release\bin\clang++.exe+0x9b50b3)
#8 0x00000001403f46b1 (P:\projects\tools\llvm\Release\bin\clang++.exe+0x9b46b1)
#9 0x00000001407f75f2 (P:\projects\tools\llvm\Release\bin\clang++.exe+0xdb75f2)
#10 0x00000001407f774c
(P:\projects\tools\llvm\Release\bin\clang++.exe+0xdb774c)

#11 0x000000014188bc30
(P:\projects\tools\llvm\Release\bin\clang++.exe+0x1e4bc30
)
#12 0x0000000140ee8365
(P:\projects\tools\llvm\Release\bin\clang++.exe+0x14a8365
)
#13 0x0000000140a7815e
(P:\projects\tools\llvm\Release\bin\clang++.exe+0x103815e
)
#14 0x000000014188b6ae
(P:\projects\tools\llvm\Release\bin\clang++.exe+0x1e4b6ae
)
#15 0x0000000140a78055
(P:\projects\tools\llvm\Release\bin\clang++.exe+0x1038055
)
#16 0x0000000140a4e74a
(P:\projects\tools\llvm\Release\bin\clang++.exe+0x100e74a
)
#17 0x0000000140ab8c5d
(P:\projects\tools\llvm\Release\bin\clang++.exe+0x1078c5d
)
#18 0x000000013fa98e9d (P:\projects\tools\llvm\Release\bin\clang++.exe+0x58e9d)
#19 0x000000013fa952d1 (P:\projects\tools\llvm\Release\bin\clang++.exe+0x552d1)
#20 0x000000013fa96fbf (P:\projects\tools\llvm\Release\bin\clang++.exe+0x56fbf)
#21 0x0000000141784f34
(P:\projects\tools\llvm\Release\bin\clang++.exe+0x1d44f34
)
#22 0x0000000076c059bd (C:\Windows\system32\kernel32.dll+0x159bd)
#23 0x0000000076e3a2e1 (C:\Windows\SYSTEM32\ntdll.dll+0x2a2e1)
clang++.exe: error: clang frontend command failed due to signal (use -v to see
i
nvocation)
clang version 3.9.0 (trunk)
Target: x86_64-pc-windows-msvc
Thread model: posix
InstalledDir: P:\projects\tools\llvm\Release\bin
clang++.exe: note: diagnostic msg: PLEASE submit a bug report to
http://llvm.org
/bugs/ and include the crash backtrace, preprocessed source, and associated run
script.
clang++.exe: note: diagnostic msg:
********************

-- 
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/20160711/3c79029f/attachment.html>


More information about the llvm-bugs mailing list