<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:46:28 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[SERVER-18068] Coverity analysis defect 72413: Resource leak</title>
                <link>https://jira.mongodb.org/browse/SERVER-18068</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;A new defect has been detected and assigned to charlie.swanson in Coverity Connect.&lt;br/&gt;
              &lt;a href=&quot;http://coverity.mongodb.com//sourcebrowser.htm?projectId=10001#mergedDefectId=72413&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://coverity.mongodb.com//sourcebrowser.htm?projectId=10001#mergedDefectId=72413&lt;/a&gt; &lt;br/&gt;
              The defect was flagged by checker RESOURCE_LEAK in &lt;br/&gt;
                    file /src/mongo/db/query/query_planner.cpp &lt;br/&gt;
                    function mongo::QueryPlanner::planFromCache(const mongo::CanonicalQuery &amp;amp;, const mongo::QueryPlannerParams &amp;amp;, const mongo::CachedSolution &amp;amp;, mongo::QuerySolution **) &lt;br/&gt;
              and this ticket was created by charlie.swanson &lt;/p&gt;</description>
                <environment></environment>
        <key id="196217">SERVER-18068</key>
            <summary>Coverity analysis defect 72413: Resource leak</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="9">Done</resolution>
                                        <assignee username="qingyang.chen">Qingyang Chen</assignee>
                                    <reporter username="xgen-internal-coverity">Coverity Collector User</reporter>
                        <labels>
                            <label>coverity</label>
                    </labels>
                <created>Wed, 15 Apr 2015 17:38:57 +0000</created>
                <updated>Mon, 27 Jul 2015 17:18:53 +0000</updated>
                            <resolved>Wed, 1 Jul 2015 22:44:04 +0000</resolved>
                                                    <fixVersion>2.6.11</fixVersion>
                    <fixVersion>3.0.5</fixVersion>
                                    <component>Testing Infrastructure</component>
                                        <votes>0</votes>
                                    <watches>7</watches>
                                                                                                                <comments>
                            <comment id="956320" author="ramon.fernandez" created="Thu, 2 Jul 2015 00:07:00 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-18086?focusedCommentId=956146&amp;amp;page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-956146&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;Fix&lt;/a&gt; and &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-18086?focusedCommentId=956177&amp;amp;page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-956177&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;backport&lt;/a&gt; were accidentally sent to &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-18086&quot; title=&quot;canonical_query_test helper parseNormalize() keeps pointers to memory inside freed BSONObj&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-18086&quot;&gt;&lt;del&gt;SERVER-18086&lt;/del&gt;&lt;/a&gt;:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Author:&lt;br/&gt;
{u&apos;username&apos;: u&apos;coollog&apos;, u&apos;name&apos;: u&apos;Qingyang Chen&apos;, u&apos;email&apos;: u&apos;qingyang.chen@10gen.com&apos;}&lt;br/&gt;
Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-18086&quot; title=&quot;canonical_query_test helper parseNormalize() keeps pointers to memory inside freed BSONObj&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-18086&quot;&gt;&lt;del&gt;SERVER-18086&lt;/del&gt;&lt;/a&gt; fix leak in QueryPlanner::planFromCache&lt;br/&gt;
Branch: v3.0&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/db0ba62bd4a375f86e36c992033894569233000f&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/db0ba62bd4a375f86e36c992033894569233000f&lt;/a&gt;&lt;/p&gt;&lt;/blockquote&gt;

&lt;blockquote&gt;
&lt;p&gt;Author:&lt;br/&gt;
{u&apos;username&apos;: u&apos;coollog&apos;, u&apos;name&apos;: u&apos;Qingyang Chen&apos;, u&apos;email&apos;: u&apos;qingyang.chen@10gen.com&apos;}&lt;br/&gt;
Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-18086&quot; title=&quot;canonical_query_test helper parseNormalize() keeps pointers to memory inside freed BSONObj&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-18086&quot;&gt;&lt;del&gt;SERVER-18086&lt;/del&gt;&lt;/a&gt; fix leak in QueryPlanner::planFromCache&lt;br/&gt;
Branch: v2.6&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/16d594b5d2ca3ee0466513eb5d392d0e59084dac&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/16d594b5d2ca3ee0466513eb5d392d0e59084dac&lt;/a&gt;&lt;/p&gt;&lt;/blockquote&gt;</comment>
                            <comment id="953128" author="rassi@10gen.com" created="Mon, 29 Jun 2015 15:03:40 +0000"  >&lt;p&gt;This has been fixed by &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-16889&quot; title=&quot;Query subsystem public API should use std::unique_ptr for ownership transfer&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-16889&quot;&gt;&lt;del&gt;SERVER-16889&lt;/del&gt;&lt;/a&gt; in 3.1.5.  Linking 16889 as duplicate, and resolving this ticket as &quot;Fixed&quot;.&lt;/p&gt;

&lt;p&gt;Q, would you please prepare a targeted backport against the v3.0 branch for this leak?&lt;/p&gt;</comment>
                            <comment id="881963" author="rassi@10gen.com" created="Wed, 15 Apr 2015 17:52:19 +0000"  >&lt;p&gt;Yep, this is legit leak on one of the error paths of QueryPlanner::planFromCache().  However, this wasn&apos;t introduced by recent work on CachedPlanStage; this is a regression introduced in 2.5.5 by &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-10564&quot; title=&quot;cache plans.  retrieve them, retire them, debug them.&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-10564&quot;&gt;&lt;del&gt;SERVER-10564&lt;/del&gt;&lt;/a&gt; (&lt;a href=&quot;https://github.com/mongodb/mongo/commit/81a1f70b87b3f3754931829b11faa0a53df64527&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;81a1f70b&lt;/a&gt;).  It seems difficult to hit on first glance, but I haven&apos;t investigated fully.  Parking it in my 3.1.3 queue for now, and requesting v2.6 / v3.0 backports.&lt;/p&gt;

&lt;p&gt;Thanks, Charlie.&lt;/p&gt;</comment>
                            <comment id="881949" author="charlie.swanson" created="Wed, 15 Apr 2015 17:40:51 +0000"  >&lt;p&gt;This seems related to the work on the CachePlanStage:&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/81a1f70b87b3f3754931829b11faa0a53df64527&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/81a1f70b87b3f3754931829b11faa0a53df64527&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="179084">SERVER-16889</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="196184">SERVER-18063</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>4.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_12451" key="com.atlassian.jira.plugin.system.customfieldtypes:multiversion">
                        <customfieldname>Backport Completed</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="15514">2.6.11</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10011" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Backwards Compatibility</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10038"><![CDATA[Fully Compatible]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 15 Apr 2015 17:40:51 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        8 years, 33 weeks ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[]]></customfieldvalue>


                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>ramon.fernandez@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            8 years, 33 weeks ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_10032" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Operating System</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10026"><![CDATA[ALL]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>charlie.swanson@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-coverity</customfieldvalue>
            <customfieldvalue>rassi</customfieldvalue>
            <customfieldvalue>qingyang.chen</customfieldvalue>
            <customfieldvalue>ramon.fernandez@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrl84v:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hrekef:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_23361" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Requested By</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="536">Quint Iteration 5</customfieldvalue>
    <customfieldvalue id="572">Quint Iteration 6</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_22870" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Triagers</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hsg3u7:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                    </customfields>
    </item>
</channel>
</rss>