<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Crashes on the boost XML parser"
   href="https://llvm.org/bugs/show_bug.cgi?id=28499">28499</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Crashes on the boost XML parser
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>clang
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Windows NT
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>C++
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedclangbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>piotr.wyderski@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>dgregor@apple.com, llvm-bugs@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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
<a href="http://llvm.org">http://llvm.org</a>
/bugs/ and include the crash backtrace, preprocessed source, and associated run
script.
clang++.exe: note: diagnostic msg:
********************</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>