<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:03:59 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-3766] Assertion failure la &lt;= 0xffffff db/btree.h when creating BtreeCursor with direction -1 and max/min bounds</title>
                <link>https://jira.mongodb.org/browse/SERVER-3766</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Doing something like this:&lt;/p&gt;

&lt;p&gt;var coll = db.getCollection( &quot;foo.bar&quot; )&lt;br/&gt;
coll.drop()&lt;/p&gt;

&lt;p&gt;coll.insert(&lt;/p&gt;
{ blah : 30 }
&lt;p&gt;)&lt;/p&gt;

&lt;p&gt;coll.ensureIndex(&lt;/p&gt;
{ blah : 1 }
&lt;p&gt;)&lt;br/&gt;
printjson( coll.find({}).sort(&lt;/p&gt;
{ blah : -1 }
&lt;p&gt;).min(&lt;/p&gt;
{ blah : 1 }
&lt;p&gt;).max(&lt;/p&gt;
{ blah : 30 }
&lt;p&gt;).toArray() )&lt;/p&gt;

&lt;p&gt;... triggers an Assertion.  Stack trace:&lt;/p&gt;

&lt;p&gt;Tue Sep  6 14:16:33 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn4&amp;#93;&lt;/span&gt;  test.foo.bar Assertion failure la &amp;lt;= 0xffffff db/btree.h 241&lt;br/&gt;
0x5497a1 0x55434f 0x678f2b 0x689399 0x68987c 0x689ac7 0x713a74 0x70f6e7 0x712a1f 0x7798b2 0x7d1e4c 0x7758ef 0x775b23 0x775faf 0x77c861 0x77eb93 0x77fc93 0x780cb0 0x7cc55a 0x745d42 &lt;br/&gt;
 /home/greg/Workspaces/Mongo Workspace/mongo/mongod(mongo::sayDbContext(char const*)+0xc1) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x5497a1&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /home/greg/Workspaces/Mongo Workspace/mongo/mongod(mongo::asserted(char const*, char const*, unsigned int)+0xbf) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x55434f&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /home/greg/Workspaces/Mongo Workspace/mongo/mongod(mongo::DiskLoc56Bit::operator=(mongo::DiskLoc const&amp;amp;)+0x5b) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x678f2b&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /home/greg/Workspaces/Mongo Workspace/mongo/mongod(mongo::BtreeBucket&amp;lt;mongo::BtreeData_V1&amp;gt;::find(mongo::IndexDetails const&amp;amp;, mongo::KeyV1 const&amp;amp;, mongo::DiskLoc const&amp;amp;, mongo::Ordering const&amp;amp;, int&amp;amp;, bool) const+0x49) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x689399&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /home/greg/Workspaces/Mongo Workspace/mongo/mongod(mongo::BtreeBucket&amp;lt;mongo::BtreeData_V1&amp;gt;::locate(mongo::IndexDetails const&amp;amp;, mongo::DiskLoc const&amp;amp;, mongo::KeyV1 const&amp;amp;, mongo::Ordering const&amp;amp;, int&amp;amp;, bool&amp;amp;, mongo::DiskLoc const&amp;amp;, int) const+0x5c) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x68987c&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /home/greg/Workspaces/Mongo Workspace/mongo/mongod(mongo::BtreeBucket&amp;lt;mongo::BtreeData_V1&amp;gt;::locate(mongo::IndexDetails const&amp;amp;, mongo::DiskLoc const&amp;amp;, mongo::BSONObj const&amp;amp;, mongo::Ordering const&amp;amp;, int&amp;amp;, bool&amp;amp;, mongo::DiskLoc const&amp;amp;, int) const+0xb7) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x689ac7&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /home/greg/Workspaces/Mongo Workspace/mongo/mongod(mongo::BtreeCursorImpl&amp;lt;mongo::BtreeData_V1&amp;gt;::_locate(mongo::BSONObj const&amp;amp;, mongo::DiskLoc const&amp;amp;)+0x84) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x713a74&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /home/greg/Workspaces/Mongo Workspace/mongo/mongod(mongo::BtreeCursor::init()+0x157) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x70f6e7&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /home/greg/Workspaces/Mongo Workspace/mongo/mongod(mongo::BtreeCursor::make(mongo::NamespaceDetails*, int, mongo::IndexDetails const&amp;amp;, mongo::BSONObj const&amp;amp;, mongo::BSONObj const&amp;amp;, bool, int)+0x26f) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x712a1f&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /home/greg/Workspaces/Mongo Workspace/mongo/mongod(mongo::QueryPlan::newCursor(mongo::DiskLoc const&amp;amp;, int) const+0xd2) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x7798b2&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /home/greg/Workspaces/Mongo Workspace/mongo/mongod(mongo::UserQueryOp::_init()+0x12c) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x7d1e4c&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /home/greg/Workspaces/Mongo Workspace/mongo/mongod(mongo::QueryOp::init()+0x11f) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x7758ef&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /home/greg/Workspaces/Mongo Workspace/mongo/mongod(mongo::QueryPlanSet::Runner::initOp(mongo::QueryOp&amp;amp;)+0x23) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x775b23&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /home/greg/Workspaces/Mongo Workspace/mongo/mongod(mongo::QueryPlanSet::Runner::init()+0x2ff) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x775faf&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /home/greg/Workspaces/Mongo Workspace/mongo/mongod(mongo::QueryPlanSet::Runner::runUntilFirstCompletes()+0x21) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x77c861&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /home/greg/Workspaces/Mongo Workspace/mongo/mongod(mongo::QueryPlanSet::runOp(mongo::QueryOp&amp;amp;)+0x123) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x77eb93&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /home/greg/Workspaces/Mongo Workspace/mongo/mongod(mongo::MultiPlanScanner::runOpOnce(mongo::QueryOp&amp;amp;)+0x63) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x77fc93&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /home/greg/Workspaces/Mongo Workspace/mongo/mongod(mongo::MultiPlanScanner::runOp(mongo::QueryOp&amp;amp;)+0x20) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x780cb0&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /home/greg/Workspaces/Mongo Workspace/mongo/mongod(mongo::runQuery(mongo::Message&amp;amp;, mongo::QueryMessage&amp;amp;, mongo::CurOp&amp;amp;, mongo::Message&amp;amp;)+0xbea) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x7cc55a&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /home/greg/Workspaces/Mongo Workspace/mongo/mongod(mongo::assembleResponse(mongo::Message&amp;amp;, mongo::DbResponse&amp;amp;, mongo::HostAndPort const&amp;amp;)+0xa82) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x745d42&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;Pretty sure the issue is first lines of BtreeBucket&amp;lt;V&amp;gt;::find(), assigning rl to recordLoc.  rl in this case is maxDiskLoc = DiskLoc(0x7fffffff, 0x7fffffff).  Not sure of the correct behavior here, special case this? &lt;/p&gt;</description>
                <environment></environment>
        <key id="21922">SERVER-3766</key>
            <summary>Assertion failure la &lt;= 0xffffff db/btree.h when creating BtreeCursor with direction -1 and max/min bounds</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="-1">Unassigned</assignee>
                                    <reporter username="greg_10gen">Greg Studer</reporter>
                        <labels>
                            <label>query_triage</label>
                    </labels>
                <created>Tue, 6 Sep 2011 18:28:18 +0000</created>
                <updated>Mon, 11 Jul 2016 18:34:16 +0000</updated>
                            <resolved>Fri, 8 Nov 2013 15:08:26 +0000</resolved>
                                    <version>2.0.0-rc1</version>
                    <version>2.2.6</version>
                                    <fixVersion>2.4.7</fixVersion>
                                    <component>Index Maintenance</component>
                    <component>Querying</component>
                                        <votes>2</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="194360" author="auto" created="Tue, 20 Nov 2012 02:45:07 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;date&apos;: u&apos;2012-11-13T18:23:40Z&apos;, u&apos;email&apos;: u&apos;aaron@10gen.com&apos;, u&apos;name&apos;: u&apos;Aaron&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-3766&quot; title=&quot;Assertion failure la &amp;lt;= 0xffffff db/btree.h when creating BtreeCursor with direction -1 and max/min bounds&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-3766&quot;&gt;&lt;del&gt;SERVER-3766&lt;/del&gt;&lt;/a&gt; Adjust maxDiskLoc to prevent assertion when creating a reverse direction BtreeCursor.  Adjust minDiskLoc for consistency.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/062652649915997e34ffd2e36bf6bf47edcf917f&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/062652649915997e34ffd2e36bf6bf47edcf917f&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                        <issuelink>
            <issuekey id="74061">SERVER-9547</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="25989">SERVER-4427</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="74370">SERVER-9598</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="33622" name="server3766.js" size="470" author="benety.goh@mongodb.com" created="Fri, 8 Nov 2013 15:05:56 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 6 Sep 2011 21:29:52 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        11 years, 13 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>
                            11 years, 13 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>auto</customfieldvalue>
            <customfieldvalue>greg_10gen</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrorsf:</customfieldvalue>

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

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

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