Boost C++ Libraries: Ticket #8283: list_new/list_push_back missing object_copy https://svn.boost.org/trac10/ticket/8283 <p> list_new() and list_push_back() are missing object_copy when insert a object. This causes memory access violation with BJAM_NO_MEM_CACHE. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/8283 Trac 1.4.3 Kohei Takahashi <flast@…> Tue, 12 Mar 2013 08:40:07 GMT attachment set https://svn.boost.org/trac10/ticket/8283 https://svn.boost.org/trac10/ticket/8283 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">fix-lame-object-copying.patch</span> </li> </ul> Ticket Steven Watanabe Tue, 12 Mar 2013 16:19:15 GMT <link>https://svn.boost.org/trac10/ticket/8283#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/8283#comment:1</guid> <description> <p> These functions are not supposed to make copies. They take ownership of their arguments. Your patch will result in a memory leak with BJAM_NO_MEM_CACHE. The correct fix is to track down the caller that isn't making a copy. </p> </description> <category>Ticket</category> </item> <item> <author>Kohei Takahashi <flast@…></author> <pubDate>Wed, 13 Mar 2013 10:00:29 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/8283#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/8283#comment:2</guid> <description> <p> Ah, I know. I will track down true problems and make patch again. </p> </description> <category>Ticket</category> </item> <item> <author>Kohei Takahashi <flast@…></author> <pubDate>Thu, 14 Mar 2013 08:53:55 GMT</pubDate> <title>attachment set https://svn.boost.org/trac10/ticket/8283 https://svn.boost.org/trac10/ticket/8283 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">fix-missing-object_copy.patch</span> </li> </ul> Ticket Kohei Takahashi <flast@…> Thu, 14 Mar 2013 08:56:20 GMT <link>https://svn.boost.org/trac10/ticket/8283#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/8283#comment:3</guid> <description> <p> How is above one? </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Steven Watanabe</dc:creator> <pubDate>Fri, 29 Mar 2013 16:39:28 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/8283#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/8283#comment:4</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/83630" title="Add missing object_copy. Refs #8283.">[83630]</a>) Add missing object_copy. Refs <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/8283" title="#8283: Bugs: list_new/list_push_back missing object_copy (closed: fixed)">#8283</a>. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Steven Watanabe</dc:creator> <pubDate>Fri, 29 Mar 2013 16:49:09 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/8283#comment:5 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/8283#comment:5</guid> <description> <p> I've committed the path.c fix. I'm not sure what the reason for the pathnt.c change is, though. AFAICT, path should be either overwritten on line 232 or copied on line 249. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>anonymous</dc:creator> <pubDate>Mon, 01 Apr 2013 15:01:40 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/8283#comment:6 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/8283#comment:6</guid> <description> <p> Indeed, I'd had to do scrutiny. Sorry for the confusion. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Steven Watanabe</dc:creator> <pubDate>Tue, 11 Mar 2014 21:02:53 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/8283#comment:7 https://svn.boost.org/trac10/ticket/8283#comment:7 <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">fixed</span> </li> </ul> Ticket