<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 02:53:10 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-145] find() and remove() with criteria crashes shell</title>
                <link>https://jira.mongodb.org/browse/SERVER-145</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;passing anything to either seems to crash the shell:&lt;/p&gt;

&lt;p&gt;&amp;gt;  db.y.remove()&lt;br/&gt;
&amp;gt;  db.y.remove({})&lt;br/&gt;
&amp;gt;  db.y.remove(&lt;/p&gt;
{&quot;x&quot;:1}
&lt;p&gt;)&lt;br/&gt;
Fri Jul 10 14:17:28 JS Error: SyntaxError: missing ] in index expression (shellhelp1):0&lt;br/&gt;
Fri Jul 10 14:17:28 User Exception (shellhelp1) exec failed&lt;br/&gt;
terminate called after throwing an instance of &apos;mongo::UserException&apos;&lt;br/&gt;
  what():  (shellhelp1) exec failed&lt;br/&gt;
Fri Jul 10 14:17:28  mongo got signal 6 (Aborted), stack trace: &lt;br/&gt;
Fri Jul 10 14:17:28  0x8056acd 0xb7f3f400 0xb7f3f430 0xb7b706d0 0xb7b72098 0xb7ef38f8 0xb7ef17d5 0xb7ef1812 0xb7ef194a 0x8080e43 0x808ee1a 0x80587e8 0xb7b5b775 0x8056401 &lt;br/&gt;
 mongo(_Z12quitAbruptlyi+0x43d) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x8056acd&amp;#93;&lt;/span&gt;&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;0xb7f3f400&amp;#93;&lt;/span&gt;&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;0xb7f3f430&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /lib/tls/i686/cmov/libc.so.6(gsignal+0x50) &lt;span class=&quot;error&quot;&gt;&amp;#91;0xb7b706d0&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /lib/tls/i686/cmov/libc.so.6(abort+0x188) &lt;span class=&quot;error&quot;&gt;&amp;#91;0xb7b72098&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /usr/lib/libstdc++.so.6(&lt;em&gt;ZN9&lt;/em&gt;&lt;em&gt;gnu_cxx27&lt;/em&gt;_verbose_terminate_handlerEv+0x158) &lt;span class=&quot;error&quot;&gt;&amp;#91;0xb7ef38f8&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /usr/lib/libstdc++.so.6 &lt;span class=&quot;error&quot;&gt;&amp;#91;0xb7ef17d5&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /usr/lib/libstdc++.so.6 &lt;span class=&quot;error&quot;&gt;&amp;#91;0xb7ef1812&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /usr/lib/libstdc++.so.6 &lt;span class=&quot;error&quot;&gt;&amp;#91;0xb7ef194a&amp;#93;&lt;/span&gt;&lt;br/&gt;
 mongo &lt;span class=&quot;error&quot;&gt;&amp;#91;0x8080e43&amp;#93;&lt;/span&gt;&lt;br/&gt;
 mongo &lt;span class=&quot;error&quot;&gt;&amp;#91;0x808ee1a&amp;#93;&lt;/span&gt;&lt;br/&gt;
 mongo &lt;span class=&quot;error&quot;&gt;&amp;#91;0x80587e8&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe5) &lt;span class=&quot;error&quot;&gt;&amp;#91;0xb7b5b775&amp;#93;&lt;/span&gt;&lt;br/&gt;
 mongo &lt;span class=&quot;error&quot;&gt;&amp;#91;0x8056401&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&amp;gt;  db.y.find(&lt;/p&gt;
{&quot;x&quot;:1}
&lt;p&gt;)&lt;br/&gt;
Fri Jul 10 14:18:53 JS Error: SyntaxError: missing ] in index expression (shellhelp1):0&lt;br/&gt;
Fri Jul 10 14:18:53 User Exception (shellhelp1) exec failed&lt;br/&gt;
terminate called after throwing an instance of &apos;mongo::UserException&apos;&lt;br/&gt;
  what():  (shellhelp1) exec failed&lt;br/&gt;
Fri Jul 10 14:18:53  mongo got signal 6 (Aborted), stack trace: &lt;br/&gt;
Fri Jul 10 14:18:53  0x8056acd 0xb80d7400 0xb80d7430 0xb7d086d0 0xb7d0a098 0xb808b8f8 0xb80897d5 0xb8089812 0xb808994a 0x8080e43 0x808ee1a 0x80587e8 0xb7cf3775 0x8056401 &lt;br/&gt;
 mongo(_Z12quitAbruptlyi+0x43d) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x8056acd&amp;#93;&lt;/span&gt;&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;0xb80d7400&amp;#93;&lt;/span&gt;&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;0xb80d7430&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /lib/tls/i686/cmov/libc.so.6(gsignal+0x50) &lt;span class=&quot;error&quot;&gt;&amp;#91;0xb7d086d0&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /lib/tls/i686/cmov/libc.so.6(abort+0x188) &lt;span class=&quot;error&quot;&gt;&amp;#91;0xb7d0a098&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /usr/lib/libstdc++.so.6(&lt;em&gt;ZN9&lt;/em&gt;&lt;em&gt;gnu_cxx27&lt;/em&gt;_verbose_terminate_handlerEv+0x158) &lt;span class=&quot;error&quot;&gt;&amp;#91;0xb808b8f8&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /usr/lib/libstdc++.so.6 &lt;span class=&quot;error&quot;&gt;&amp;#91;0xb80897d5&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /usr/lib/libstdc++.so.6 &lt;span class=&quot;error&quot;&gt;&amp;#91;0xb8089812&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /usr/lib/libstdc++.so.6 &lt;span class=&quot;error&quot;&gt;&amp;#91;0xb808994a&amp;#93;&lt;/span&gt;&lt;br/&gt;
 mongo &lt;span class=&quot;error&quot;&gt;&amp;#91;0x8080e43&amp;#93;&lt;/span&gt;&lt;br/&gt;
 mongo &lt;span class=&quot;error&quot;&gt;&amp;#91;0x808ee1a&amp;#93;&lt;/span&gt;&lt;br/&gt;
 mongo &lt;span class=&quot;error&quot;&gt;&amp;#91;0x80587e8&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe5) &lt;span class=&quot;error&quot;&gt;&amp;#91;0xb7cf3775&amp;#93;&lt;/span&gt;&lt;br/&gt;
 mongo &lt;span class=&quot;error&quot;&gt;&amp;#91;0x8056401&amp;#93;&lt;/span&gt;&lt;/p&gt;
</description>
                <environment></environment>
        <key id="10283">SERVER-145</key>
            <summary>find() and remove() with criteria crashes shell</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="kristina">Kristina Chodorow</reporter>
                        <labels>
                    </labels>
                <created>Fri, 10 Jul 2009 14:20:25 +0000</created>
                <updated>Tue, 12 Jul 2016 00:29:51 +0000</updated>
                            <resolved>Fri, 10 Jul 2009 14:22:47 +0000</resolved>
                                                                    <component>Shell</component>
                                        <votes>0</votes>
                                    <watches>0</watches>
                                                                                                                        <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        14 years, 32 weeks, 5 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, 32 weeks, 5 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>eliot</customfieldvalue>
            <customfieldvalue>kristina</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrpxkf:</customfieldvalue>

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

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

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