Boost C++ Libraries: Ticket #2036: Crash with some invalid nested templates specification https://svn.boost.org/trac10/ticket/2036 <p> Quickbook crashes (access violation - memory write) when compiling the following code: </p> <pre class="wiki">[template join1[a b] [b][a]] [/&lt;- "error: Expanding template"] [template join2[a b] [a][b]] [template test[x] [join1 [join2 0 [x]] 0]] [test 0] </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/2036 Trac 1.4.3 Daniel James Fri, 29 May 2009 19:44:41 GMT owner, status, milestone changed https://svn.boost.org/trac10/ticket/2036#comment:1 https://svn.boost.org/trac10/ticket/2036#comment:1 <ul> <li><strong>owner</strong> changed from <span class="trac-author">Joel de Guzman</span> to <span class="trac-author">Daniel James</span> </li> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">assigned</span> </li> <li><strong>milestone</strong> <span class="trac-field-old">Boost 1.36.0</span> → <span class="trac-field-new">To Be Determined</span> </li> </ul> <p> I'm going to try to fix this as part of my <a class="wiki" href="https://svn.boost.org/trac10/wiki/BoostDocs/Quickbook-1.5">Quickbook 1.5</a> effort. </p> Ticket Daniel James Sun, 31 May 2009 15:39:40 GMT milestone changed https://svn.boost.org/trac10/ticket/2036#comment:2 https://svn.boost.org/trac10/ticket/2036#comment:2 <ul> <li><strong>milestone</strong> <span class="trac-field-old">To Be Determined</span> → <span class="trac-field-new">Boost 1.40.0</span> </li> </ul> Ticket Daniel James Sun, 07 Jun 2009 20:35:13 GMT <link>https://svn.boost.org/trac10/ticket/2036#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/2036#comment:3</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/53738" title="Don't use seperators that are in brackets, or are escaped. Refs #2036.">[53738]</a>) Don't use seperators that are in brackets, or are escaped. Refs <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/2036" title="#2036: Bugs: Crash with some invalid nested templates specification (closed: fixed)">#2036</a>. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Daniel James</dc:creator> <pubDate>Wed, 08 Jul 2009 21:53:58 GMT</pubDate> <title>milestone changed https://svn.boost.org/trac10/ticket/2036#comment:4 https://svn.boost.org/trac10/ticket/2036#comment:4 <ul> <li><strong>milestone</strong> <span class="trac-field-old">Boost 1.40.0</span> → <span class="trac-field-new">Boost 1.41.0</span> </li> </ul> Ticket Daniel James Mon, 31 Aug 2009 11:38:22 GMT <link>https://svn.boost.org/trac10/ticket/2036#comment:5 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/2036#comment:5</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/55915" title="Don't use seperators that are in brackets, or are escaped. Refs #2036.">[55915]</a>) Don't use seperators that are in brackets, or are escaped. Refs <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/2036" title="#2036: Bugs: Crash with some invalid nested templates specification (closed: fixed)">#2036</a>. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Daniel James</dc:creator> <pubDate>Mon, 12 Oct 2009 19:54:42 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/2036#comment:6 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/2036#comment:6</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/56752" title="Merge quickbook 1.5 from trunk. Merged revisions ...">[56752]</a>) Merge quickbook 1.5 from trunk. </p> <p> Merged revisions 55905-55917,56077,56715,56717-56719 via svnmerge from <a class="ext-link" href="https://svn.boost.org/svn/boost/trunk"><span class="icon">​</span>https://svn.boost.org/svn/boost/trunk</a> </p> <p> ........ </p> <blockquote> <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/55905" title="Update quickbook version number.">r55905</a> | danieljames | 2009-08-31 12:36:13 +0100 (Mon, 31 Aug 2009) | 1 line </p> </blockquote> <p> </p> <blockquote> <p> Update quickbook version number. </p> </blockquote> <p> ........ </p> <blockquote> <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/55906" title="Create entry for 1.5 in the change log. Starting it of with some of ...">r55906</a> | danieljames | 2009-08-31 12:36:23 +0100 (Mon, 31 Aug 2009) | 4 lines </p> </blockquote> <p> </p> <blockquote> <p> Create entry for 1.5 in the change log. </p> </blockquote> <p> </p> <blockquote> <p> Starting it of with some of the changes that have been made to quickbook since 1.4 - considering the first 1.4 release as the proper 1.4 release. </p> </blockquote> <p> ........ </p> <blockquote> <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/55907" title="Wrap the template info in a struct. So that I can add extra scoping info.">r55907</a> | danieljames | 2009-08-31 12:36:34 +0100 (Mon, 31 Aug 2009) | 3 lines </p> </blockquote> <p> </p> <blockquote> <p> Wrap the template info in a struct. </p> </blockquote> <p> </p> <blockquote> <p> So that I can add extra scoping info. </p> </blockquote> <p> ........ </p> <blockquote> <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/55908" title="Implement static/lexical scoping for 1.5. Refs #2034.">r55908</a> | danieljames | 2009-08-31 12:36:47 +0100 (Mon, 31 Aug 2009) | 1 line </p> </blockquote> <p> </p> <blockquote> <p> Implement static/lexical scoping for 1.5. Refs <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/2034" title="#2034: Bugs: Problem with nesting templates with same parameter names (closed: fixed)">#2034</a>. </p> </blockquote> <p> ........ </p> <blockquote> <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/55909" title="In quickbook 1.5 don't mix '..' and whitespace seperators for template ...">r55909</a> | danieljames | 2009-08-31 12:37:04 +0100 (Mon, 31 Aug 2009) | 1 line </p> </blockquote> <p> </p> <blockquote> <p> In quickbook 1.5 don't mix '..' and whitespace seperators for template arguments. Refs <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/1174" title="#1174: Tasks: Simplified template arg handling (closed: fixed)">#1174</a> </p> </blockquote> <p> ........ </p> <blockquote> <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/55910" title="Put the quickbook version numbers in a single header, along with ...">r55910</a> | danieljames | 2009-08-31 12:37:17 +0100 (Mon, 31 Aug 2009) | 2 lines </p> </blockquote> <p> </p> <blockquote> <p> Put the quickbook version numbers in a single header, along with convenience functions for using them in spirit grammars. </p> </blockquote> <p> ........ </p> <blockquote> <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/55911" title="Ignore spaces after 'section:' for quickbook 1.5+ Refs #2712 And warn ...">r55911</a> | danieljames | 2009-08-31 12:37:32 +0100 (Mon, 31 Aug 2009) | 3 lines </p> </blockquote> <p> </p> <blockquote> <p> Ignore spaces after 'section:' for quickbook 1.5+ Refs <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/2712" title="#2712: Bugs: Quickbook uses article title rather than article id for links (closed: fixed)">#2712</a> </p> </blockquote> <p> </p> <blockquote> <p> And warn when section id is empty after colon. </p> </blockquote> <p> ........ </p> <blockquote> <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/55912" title="Introduce temporary id variable.">r55912</a> | danieljames | 2009-08-31 12:37:48 +0100 (Mon, 31 Aug 2009) | 1 line </p> </blockquote> <p> </p> <blockquote> <p> Introduce temporary id variable. </p> </blockquote> <p> ........ </p> <blockquote> <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/55913" title="Table ids. Refs #1194.">r55913</a> | danieljames | 2009-08-31 12:37:59 +0100 (Mon, 31 Aug 2009) | 1 line </p> </blockquote> <p> </p> <blockquote> <p> Table ids. Refs <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/1194" title="#1194: Feature Requests: Add ID to table to allow linking to tables easily (closed: fixed)">#1194</a>. </p> </blockquote> <p> ........ </p> <blockquote> <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/55914" title="Separate out the current version of the template argument parser, as I ...">r55914</a> | danieljames | 2009-08-31 12:38:11 +0100 (Mon, 31 Aug 2009) | 1 line </p> </blockquote> <p> </p> <blockquote> <p> Separate out the current version of the template argument parser, as I want to create a new one for 1.5 </p> </blockquote> <p> ........ </p> <blockquote> <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/55915" title="Don't use seperators that are in brackets, or are escaped. Refs #2036.">r55915</a> | danieljames | 2009-08-31 12:38:20 +0100 (Mon, 31 Aug 2009) | 1 line </p> </blockquote> <p> </p> <blockquote> <p> Don't use seperators that are in brackets, or are escaped. Refs <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/2036" title="#2036: Bugs: Crash with some invalid nested templates specification (closed: fixed)">#2036</a>. </p> </blockquote> <p> ........ </p> <blockquote> <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/55916" title="Add missing table tests.">r55916</a> | danieljames | 2009-08-31 12:38:33 +0100 (Mon, 31 Aug 2009) | 1 line </p> </blockquote> <p> </p> <blockquote> <p> Add missing table tests. </p> </blockquote> <p> ........ </p> <blockquote> <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/55917" title="Support image attributes. Refs #1157.">r55917</a> | danieljames | 2009-08-31 12:38:47 +0100 (Mon, 31 Aug 2009) | 1 line </p> </blockquote> <p> </p> <blockquote> <p> Support image attributes. Refs <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/1157" title="#1157: Feature Requests: On Images (closed: fixed)">#1157</a>. </p> </blockquote> <p> ........ </p> <blockquote> <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/56077" title="fix for msvc">r56077</a> | djowel | 2009-09-07 02:35:24 +0100 (Mon, 07 Sep 2009) | 1 line </p> </blockquote> <p> </p> <blockquote> <p> fix for msvc </p> </blockquote> <p> ........ </p> <blockquote> <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/56715" title="Use qualified ids in tables, and fix a bug generating ids when there ...">r56715</a> | danieljames | 2009-10-11 17:18:04 +0100 (Sun, 11 Oct 2009) | 1 line </p> </blockquote> <p> </p> <blockquote> <p> Use qualified ids in tables, and fix a bug generating ids when there isn't a section. </p> </blockquote> <p> ........ </p> <blockquote> <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/56717" title="Document the simplified quickbook 1.5 argument separators.">r56717</a> | danieljames | 2009-10-11 19:21:11 +0100 (Sun, 11 Oct 2009) | 1 line </p> </blockquote> <p> </p> <blockquote> <p> Document the simplified quickbook 1.5 argument separators. </p> </blockquote> <p> ........ </p> <blockquote> <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/56718" title="Use quickbook 1.5 in the document block example.">r56718</a> | danieljames | 2009-10-11 19:21:32 +0100 (Sun, 11 Oct 2009) | 1 line </p> </blockquote> <p> </p> <blockquote> <p> Use quickbook 1.5 in the document block example. </p> </blockquote> <p> ........ </p> <blockquote> <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/56719" title="Add table ids to the documentation.">r56719</a> | danieljames | 2009-10-11 19:21:48 +0100 (Sun, 11 Oct 2009) | 1 line </p> </blockquote> <p> </p> <blockquote> <p> Add table ids to the documentation. </p> </blockquote> <p> ........ </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Daniel James</dc:creator> <pubDate>Tue, 13 Oct 2009 21:42:35 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/2036#comment:7 https://svn.boost.org/trac10/ticket/2036#comment:7 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> Fixed for quickbook 1.5 documents. </p> Ticket