Boost C++ Libraries: Ticket #12872: icl calls set::insert with invalid iterator hint https://svn.boost.org/trac10/ticket/12872 <p> When using split_interval_set&lt;T&gt; the code in the add_segment function in interval_base_set.hpp tries to get the prior of an iterator that may be the first iterator of the underlying set container. This is then used as an insertion hint which causes a segfault in some standard container libraries (for example, the standard library on macOS). </p> <p> All other parts of the file use cyclic_prior for this purpose. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/12872 Trac 1.4.3 David Lacey <dave.lacey@…> Sun, 26 Feb 2017 08:19:54 GMT attachment set https://svn.boost.org/trac10/ticket/12872 https://svn.boost.org/trac10/ticket/12872 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">icl_test.cpp</span> </li> </ul> <p> Test case to reproduce problem </p> Ticket David Lacey <dave.lacey@…> Sun, 26 Feb 2017 08:23:53 GMT <link>https://svn.boost.org/trac10/ticket/12872#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/12872#comment:1</guid> <description> <p> I've created a pull request here: </p> <p> <a class="ext-link" href="https://github.com/boostorg/icl/pull/8"><span class="icon">​</span>https://github.com/boostorg/icl/pull/8</a> </p> </description> <category>Ticket</category> </item> </channel> </rss>