Boost C++ Libraries: Ticket #1184: property_tree assignment (operator) bug https://svn.boost.org/trac10/ticket/1184 <p> Using boost 1.34.1 and the property_tree from boost-sandbox (CVS!) the following code segfaults: </p> <pre class="wiki">#include &lt;boost/property_tree/ptree.hpp&gt; using namespace boost::property_tree; int main() { ptree pt; pt.put("foo.bar", "baz"); pt=pt.get_child("foo"); } </pre><p> (that is, when you assign a ptree's child to itself) </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/1184 Trac 1.4.3 Marshall Clow Wed, 12 Sep 2007 21:35:32 GMT owner set https://svn.boost.org/trac10/ticket/1184#comment:1 https://svn.boost.org/trac10/ticket/1184#comment:1 <ul> <li><strong>owner</strong> set to <span class="trac-author">kaalus</span> </li> </ul> Ticket Steven Watanabe Sat, 30 May 2009 00:08:29 GMT component changed https://svn.boost.org/trac10/ticket/1184#comment:2 https://svn.boost.org/trac10/ticket/1184#comment:2 <ul> <li><strong>component</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">property_tree</span> </li> </ul> Ticket Sebastian Redl Sat, 30 May 2009 16:46:27 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/1184#comment:3 https://svn.boost.org/trac10/ticket/1184#comment:3 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">wontfix</span> </li> </ul> <p> Sandbox ptree is no longer relevant. </p> Ticket