<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 02:53:55 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-384] Crash mongod --auth when execute db.currentOp() without database set</title>
                <link>https://jira.mongodb.org/browse/SERVER-384</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Service mongod:&lt;br/&gt;
#./bin/mongod --dbpath=data/ --auth&lt;br/&gt;
Sat Oct 24 21:19:41 Mongo DB : starting : pid = 8699 port = 27017 dbpath = data/ master = 0 slave = 0  64-bit &lt;br/&gt;
Sat Oct 24 21:19:41 db version v1.0.0, pdfile version 4.4&lt;br/&gt;
Sat Oct 24 21:19:41 git version: dabf2ce54614c6de9d728af445eec47f39dde19f&lt;br/&gt;
Sat Oct 24 21:19:41 sys info: Linux ofc-n1.10gen.com 2.6.23.17-88.fc7 #1 SMP Thu May 15 00:02:29 EDT 2008 x86_64&lt;br/&gt;
Sat Oct 24 21:19:41 waiting for connections on port 27017&lt;br/&gt;
Sat Oct 24 21:19:41 web admin interface listening on port 28017&lt;br/&gt;
Sat Oct 24 21:19:54 connection accepted from 127.0.0.1:10948 #1&lt;br/&gt;
mongod: db/db.h:134: bool mongo::setClient(const char*, const std::string&amp;amp;): Assertion `dbMutexInfo.isLocked()&apos; failed.&lt;br/&gt;
Sat Oct 24 21:19:57  Got signal: 6 (Aborted).&lt;br/&gt;
Sat Oct 24 21:19:57  Last op: { opid: 1, active: 0, op: &quot;query&quot;, ns: &quot;local.system.namespaces&quot;, query: &quot;&lt;/p&gt;
{ name: /^local.temp./ }
&lt;p&gt;&quot;, inLock: 0, client: &quot;0.0.0.0:0&quot; }&lt;br/&gt;
Sat Oct 24 21:19:57  Backtrace:&lt;br/&gt;
0x546876 0x7fb055677040 0x7fb055676fb5 0x7fb055678bc3 0x7fb05566ff09 0x493721 0x4b8d4f 0x50a2af 0x50b58f 0x54528a 0x556db7 0x5569bf 0x7fb0561673ba 0x7fb055729fcd &lt;br/&gt;
 ./bin/mongod(_ZN5mongo10abruptQuitEi+0x576) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x546876&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /lib/libc.so.6 &lt;span class=&quot;error&quot;&gt;&amp;#91;0x7fb055677040&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /lib/libc.so.6(gsignal+0x35) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x7fb055676fb5&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /lib/libc.so.6(abort+0x183) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x7fb055678bc3&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /lib/libc.so.6(__assert_fail+0xe9) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x7fb05566ff09&amp;#93;&lt;/span&gt;&lt;br/&gt;
 ./bin/mongod &lt;span class=&quot;error&quot;&gt;&amp;#91;0x493721&amp;#93;&lt;/span&gt;&lt;br/&gt;
 ./bin/mongod &lt;span class=&quot;error&quot;&gt;&amp;#91;0x4b8d4f&amp;#93;&lt;/span&gt;&lt;br/&gt;
 ./bin/mongod &lt;span class=&quot;error&quot;&gt;&amp;#91;0x50a2af&amp;#93;&lt;/span&gt;&lt;br/&gt;
 ./bin/mongod &lt;span class=&quot;error&quot;&gt;&amp;#91;0x50b58f&amp;#93;&lt;/span&gt;&lt;br/&gt;
 ./bin/mongod(_ZN5mongo10connThreadEv+0x1fa) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x54528a&amp;#93;&lt;/span&gt;&lt;br/&gt;
 ./bin/mongod &lt;span class=&quot;error&quot;&gt;&amp;#91;0x556db7&amp;#93;&lt;/span&gt;&lt;br/&gt;
 ./bin/mongod &lt;span class=&quot;error&quot;&gt;&amp;#91;0x5569bf&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /lib/libpthread.so.0 &lt;span class=&quot;error&quot;&gt;&amp;#91;0x7fb0561673ba&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /lib/libc.so.6(clone+0x6d) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x7fb055729fcd&amp;#93;&lt;/span&gt;&lt;br/&gt;
Sat Oct 24 21:19:57  dbexit: &lt;br/&gt;
Sat Oct 24 21:19:57    closeAllFiles() finished&lt;br/&gt;
Sat Oct 24 21:19:57  dbexit: really exiting now&lt;/p&gt;

&lt;p&gt;Client mongo shell:&lt;br/&gt;
#./bin/mongo&lt;br/&gt;
MongoDB shell version: 1.0.0&lt;br/&gt;
url: test&lt;br/&gt;
connecting to: test&lt;br/&gt;
type &quot;help&quot; for help&lt;br/&gt;
&amp;gt; db.currentOp()&lt;br/&gt;
Sat Oct 24 21:19:57 JS Error: Error: error doing query: failed (anon):681&lt;br/&gt;
Sat Oct 24 21:19:57 trying reconnect to 127.0.0.1&lt;br/&gt;
Sat Oct 24 21:19:57 reconnect 127.0.0.1 failed couldn&apos;t connect to server 127.0.0.1 127.0.0.1:27017&lt;br/&gt;
Sat Oct 24 21:19:57 MessagingPort say send() error 9 127.0.0.1:35177&lt;br/&gt;
Sat Oct 24 21:19:57 JS Error: Error: error doing query: unknown (anon):681&lt;/p&gt;</description>
                <environment>mongod start with --auth parameter set and connect with mongo shell without database set and execute function db.currentOp() crash service mongod </environment>
        <key id="10798">SERVER-384</key>
            <summary>Crash mongod --auth when execute db.currentOp() without database set</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="edersohe">Eder Sosa</reporter>
                        <labels>
                    </labels>
                <created>Sat, 24 Oct 2009 22:24:22 +0000</created>
                <updated>Tue, 12 Jul 2016 00:29:58 +0000</updated>
                            <resolved>Sun, 25 Oct 2009 00:48:20 +0000</resolved>
                                    <version>1.0.0</version>
                                    <fixVersion>1.1.3</fixVersion>
                                    <component>Stability</component>
                                        <votes>0</votes>
                                    <watches>0</watches>
                                                                                                                <comments>
                            <comment id="11287" author="auto" created="Mon, 7 Dec 2009 11:13:31 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Eliot Horowitz&apos;, &apos;email&apos;: &apos;eliot@10gen.com&apos;}
&lt;p&gt;Message: security cleanup / segault fix in currentOp &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-384&quot; title=&quot;Crash mongod --auth when execute db.currentOp() without database set&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-384&quot;&gt;&lt;del&gt;SERVER-384&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://github.com/mongodb/mongo/commit/ebf50d623ed3583181b68a8f825d9647ee0b4148&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://github.com/mongodb/mongo/commit/ebf50d623ed3583181b68a8f825d9647ee0b4148&lt;/a&gt;&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>1.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 7 Dec 2009 11:13:31 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        14 years, 11 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>
                            14 years, 11 weeks, 2 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>auto</customfieldvalue>
            <customfieldvalue>edersohe</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|hrpv3r:</customfieldvalue>

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

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

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