<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 02:58:54 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-2075] userqueryop cursor becoming null after yield shouldn&apos;t cause seg fault</title>
                <link>https://jira.mongodb.org/browse/SERVER-2075</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;mongod: /opt/extra/include/boost/smart_ptr/shared_ptr.hpp:418: T* boost::shared_ptr&amp;lt; &amp;lt;template-parameter-1-1&amp;gt; &amp;gt;::operator-&amp;gt;() const &lt;span class=&quot;error&quot;&gt;&amp;#91;with T = mongo::Cursor&amp;#93;&lt;/span&gt;: Assertion `px != 0&apos; failed.&lt;br/&gt;
Mon Nov  8 15:42:59 Backtrace:&lt;br/&gt;
0x83a369 0x34de230f30 0x34de230ec5 0x34de232970 0x34de22a11f 0x611d5c 0x613682 0x743706 0x750399 0x750edb 0x753074 0x753ad7 0x6004f1 0x7097ea 0x71149e 0x83bb89 0x84fb20 0x34dee06407 0x34de2d4b0d &lt;br/&gt;
 /home/yellow/buildbot/Linux_64bit_v8/mongo/mongod(_ZN5mongo10abruptQuitEi+0x399) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x83a369&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /lib64/libc.so.6 &lt;span class=&quot;error&quot;&gt;&amp;#91;0x34de230f30&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /lib64/libc.so.6(gsignal+0x35) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x34de230ec5&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /lib64/libc.so.6(abort+0x110) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x34de232970&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /lib64/libc.so.6(__assert_fail+0xef) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x34de22a11f&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /home/yellow/buildbot/Linux_64bit_v8/mongo/mongod(_ZN5mongo11UserQueryOp6finishEb+0x58c) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x611d5c&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /home/yellow/buildbot/Linux_64bit_v8/mongo/mongod(_ZN5mongo11UserQueryOp4nextEv+0x402) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x613682&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /home/yellow/buildbot/Linux_64bit_v8/mongo/mongod(_ZN5mongo12QueryPlanSet6Runner6nextOpERNS_7QueryOpE+0x56) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x743706&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /home/yellow/buildbot/Linux_64bit_v8/mongo/mongod(_ZN5mongo12QueryPlanSet6Runner3runEv+0x859) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x750399&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /home/yellow/buildbot/Linux_64bit_v8/mongo/mongod(_ZN5mongo12QueryPlanSet5runOpERNS_7QueryOpE+0x5b) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x750edb&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /home/yellow/buildbot/Linux_64bit_v8/mongo/mongod(_ZN5mongo16MultiPlanScanner9runOpOnceERNS_7QueryOpE+0x64) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x753074&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /home/yellow/buildbot/Linux_64bit_v8/mongo/mongod(_ZN5mongo16MultiPlanScanner5runOpERNS_7QueryOpE+0x17) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x753ad7&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /home/yellow/buildbot/Linux_64bit_v8/mongo/mongod(&lt;em&gt;ZN5mongo8runQueryERNS_7MessageERNS_12QueryMessageERNS_5CurOpES1&lt;/em&gt;+0x1031) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x6004f1&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /home/yellow/buildbot/Linux_64bit_v8/mongo/mongod &lt;span class=&quot;error&quot;&gt;&amp;#91;0x7097ea&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /home/yellow/buildbot/Linux_64bit_v8/mongo/mongod(_ZN5mongo16assembleResponseERNS_7MessageERNS_10DbResponseERKNS_8SockAddrE+0x150e) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x71149e&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /home/yellow/buildbot/Linux_64bit_v8/mongo/mongod(_ZN5mongo10connThreadEPNS_13MessagingPortE+0x299) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x83bb89&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /home/yellow/buildbot/Linux_64bit_v8/mongo/mongod(thread_proxy+0x80) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x84fb20&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /lib64/libpthread.so.0 &lt;span class=&quot;error&quot;&gt;&amp;#91;0x34dee06407&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /lib64/libc.so.6(clone+0x6d) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x34de2d4b0d&amp;#93;&lt;/span&gt;&lt;/p&gt;</description>
                <environment></environment>
        <key id="13649">SERVER-2075</key>
            <summary>userqueryop cursor becoming null after yield shouldn&apos;t cause seg fault</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="eliot">Eliot Horowitz</assignee>
                                    <reporter username="aaron">Aaron Staple</reporter>
                        <labels>
                    </labels>
                <created>Mon, 8 Nov 2010 18:14:44 +0000</created>
                <updated>Tue, 12 Jul 2016 00:20:09 +0000</updated>
                            <resolved>Mon, 8 Nov 2010 21:27:52 +0000</resolved>
                                                    <fixVersion>1.7.3</fixVersion>
                                                        <votes>0</votes>
                                    <watches>0</watches>
                                                                                                                <comments>
                            <comment id="20139" author="eliot" created="Mon, 8 Nov 2010 21:47:34 +0000"  >&lt;p&gt;Ah ok - pretty sure kristina had a dup case that was the same that&apos;s now fixed&lt;/p&gt;</comment>
                            <comment id="20137" author="aaron" created="Mon, 8 Nov 2010 21:30:51 +0000"  >&lt;p&gt;Comment - it was causing the buildbot parallel tests to fail - in the parallel/del.js test.&lt;/p&gt;</comment>
                            <comment id="20136" author="auto" created="Mon, 8 Nov 2010 21:27:47 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;login&apos;: &apos;erh&apos;, &apos;name&apos;: &apos;Eliot Horowitz&apos;, &apos;email&apos;: &apos;eliot@10gen.com&apos;}
&lt;p&gt;Message: fix cursor usage when possible deleted&lt;br/&gt;
&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-1721&quot; title=&quot;cursor error on concurrent requests&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-1721&quot;&gt;&lt;del&gt;SERVER-1721&lt;/del&gt;&lt;/a&gt; &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-2075&quot; title=&quot;userqueryop cursor becoming null after yield shouldn&amp;#39;t cause seg fault&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-2075&quot;&gt;&lt;del&gt;SERVER-2075&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
/mongodb/mongo/commit/9bfffc98e6a13954a1699ea0ab58b7feefb9939f&lt;/p&gt;</comment>
                            <comment id="20134" author="eliot" created="Mon, 8 Nov 2010 21:19:39 +0000"  >&lt;p&gt;Do you have a way to reproduce?&lt;/p&gt;</comment>
                            <comment id="20132" author="aaron" created="Mon, 8 Nov 2010 18:57:53 +0000"  >&lt;p&gt;Ok, so it&apos;s actually this commit that caused this:&lt;br/&gt;
&amp;lt;&lt;a href=&quot;https://github.com/mongodb/mongo/commit/fa89431e6c97e88a5adf6d09cfb66394cec4ecb4&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/fa89431e6c97e88a5adf6d09cfb66394cec4ecb4&lt;/a&gt;&amp;gt;&lt;/p&gt;

&lt;p&gt;In the current code there are some places in finish() where _c is now used unsafely.&lt;/p&gt;</comment>
                            <comment id="20131" author="eliot" created="Mon, 8 Nov 2010 18:51:57 +0000"  >&lt;p&gt;ok - let me know what you find&lt;/p&gt;</comment>
                            <comment id="20130" author="aaron" created="Mon, 8 Nov 2010 18:47:03 +0000"  >&lt;p&gt;Actually, that may not be right.  I&apos;m looking more carefully.&lt;/p&gt;</comment>
                            <comment id="20129" author="aaron" created="Mon, 8 Nov 2010 18:43:50 +0000"  >&lt;p&gt;This is a result of the following new code:&lt;/p&gt;


&lt;p&gt;                if ( _capped )&lt;/p&gt;
{
                    msgassertedNoTrace( 13338, str::stream() &amp;lt;&amp;lt; &quot;capped cursor overrun during query: &quot; &amp;lt;&amp;lt; _pq.ns() );
                }
&lt;p&gt;                else &lt;/p&gt;
{
                    // we don&apos;t fail query since we&apos;re fine with returning partial data if collection dropped
                }


&lt;p&gt;Eliot, let me know if I should work on it further.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>8.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 8 Nov 2010 18:51:57 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        13 years, 15 weeks, 2 days 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>
                            13 years, 15 weeks, 2 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10000" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Old_Backport</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10000"><![CDATA[No]]></customfieldvalue>

                        </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>aaron</customfieldvalue>
            <customfieldvalue>auto</customfieldvalue>
            <customfieldvalue>eliot</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrpbmn:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>21402</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_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|hsktfj:</customfieldvalue>

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