<!-- 
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-386] Client console crashes with distinct on a key that is null</title>
                <link>https://jira.mongodb.org/browse/SERVER-386</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;use crash;&lt;br/&gt;
db.crash.save(&lt;/p&gt;
{a:null}
&lt;p&gt;);&lt;br/&gt;
db.crash.distinct(&apos;a.b&apos;);&lt;/p&gt;

&lt;p&gt;This code will not only produce an error but crash the shell client entirely with the message:&lt;br/&gt;
Mon Oct 26 00:52:03   Assertion failure n &amp;gt; 0 32bit/scripting/engine_spidermonkey.cpp 468&lt;br/&gt;
0x65f19 0x6c29f 0xa66e0 0x9d09c 0x14a0b3 0x149d40 0x14b1ea 0x12cacb 0x11e1a5 0xdf539 0xdf490 0xdf39a 0xa20a2 0x4c49 0x5ed4 0x1b56 0x1 &lt;br/&gt;
 0   mongo                               0x00065f19 _ZN5mongo12sayDbContextEPKc + 281&lt;br/&gt;
 1   mongo                               0x0006c29f _ZN5mongo8assertedEPKcS1_j + 335&lt;br/&gt;
 2   mongo                               0x000a66e0 _ZN5mongo9Convertor5tovalERKNS_11BSONElementE + 5472&lt;br/&gt;
 3   mongo                               0x0009d09c &lt;em&gt;ZN5mongo16resolveBSONFieldEP9JSContextP8JSObjectljPS3&lt;/em&gt; + 716&lt;br/&gt;
 4   mongo                               0x0014a0b3 js_LookupPropertyWithFlags + 881&lt;br/&gt;
 5   mongo                               0x00149d40 js_LookupProperty + 53&lt;br/&gt;
 6   mongo                               0x0014b1ea js_GetProperty + 209&lt;br/&gt;
 7   mongo                               0x0012cacb js_Interpret + 55653&lt;br/&gt;
 8   mongo                               0x0011e1a5 js_Execute + 774&lt;br/&gt;
 9   mongo                               0x000df539 JS_EvaluateUCScriptForPrincipals + 167&lt;br/&gt;
 10  mongo                               0x000df490 JS_EvaluateUCScript + 67&lt;br/&gt;
 11  mongo                               0x000df39a JS_EvaluateScript + 108&lt;br/&gt;
 12  mongo                               0x000a20a2 _ZN5mongo7SMScope4execERKSsS2_bbbi + 498&lt;br/&gt;
 13  mongo                               0x00004c49 _Z5_mainiPPc + 7177&lt;br/&gt;
 14  mongo                               0x00005ed4 main + 36&lt;br/&gt;
 15  mongo                               0x00001b56 start + 54&lt;br/&gt;
 16  ???                                 0x00000001 0x0 + 1&lt;br/&gt;
terminate called after throwing an instance of &apos;mongo::AssertionException&apos;&lt;br/&gt;
  what():  assertion 32bit/scripting/engine_spidermonkey.cpp:468&lt;br/&gt;
Mon Oct 26 00:52:03  mongo got signal 6 (Abort trap), stack trace: &lt;br/&gt;
Mon Oct 26 00:52:03  0x2bd6 0x939b5b9b 0xffffffff 0x93a43b99 0x93a59c50 0x94e33fda 0x94e3217a 0x94e321ba 0x94e322b8 0x6c46f 0xa66e0 0x9d09c 0x14a0b3 0x149d40 0x14b1ea 0x12cacb 0x11e1a5 0xdf539 0xdf490 0xdf39a &lt;br/&gt;
 0   mongo                               0x00002bd6 _Z12quitAbruptlyi + 374&lt;br/&gt;
 1   libSystem.B.dylib                   0x939b5b9b _sigtramp + 43&lt;br/&gt;
 2   ???                                 0xffffffff 0x0 + 4294967295&lt;br/&gt;
 3   libSystem.B.dylib                   0x93a43b99 raise + 26&lt;br/&gt;
 4   libSystem.B.dylib                   0x93a59c50 abort + 93&lt;br/&gt;
 5   libstdc++.6.dylib                   0x94e33fda &lt;em&gt;ZN9&lt;/em&gt;&lt;em&gt;gnu_cxx27&lt;/em&gt;_verbose_terminate_handlerEv + 433&lt;br/&gt;
 6   libstdc++.6.dylib                   0x94e3217a &lt;em&gt;ZN10&lt;/em&gt;&lt;em&gt;cxxabiv111&lt;/em&gt;_terminateEPFvvE + 10&lt;br/&gt;
 7   libstdc++.6.dylib                   0x94e321ba &lt;em&gt;ZN10&lt;/em&gt;&lt;em&gt;cxxabiv112&lt;/em&gt;_unexpectedEPFvvE + 0&lt;br/&gt;
 8   libstdc++.6.dylib                   0x94e322b8 &lt;em&gt;ZL23&lt;/em&gt;_gxx_exception_cleanup19_Unwind_Reason_CodeP17_Unwind_Exception + 0&lt;br/&gt;
 9   mongo                               0x0006c46f _ZN5mongo8assertedEPKcS1_j + 799&lt;br/&gt;
 10  mongo                               0x000a66e0 _ZN5mongo9Convertor5tovalERKNS_11BSONElementE + 5472&lt;br/&gt;
 11  mongo                               0x0009d09c &lt;em&gt;ZN5mongo16resolveBSONFieldEP9JSContextP8JSObjectljPS3&lt;/em&gt; + 716&lt;br/&gt;
 12  mongo                               0x0014a0b3 js_LookupPropertyWithFlags + 881&lt;br/&gt;
 13  mongo                               0x00149d40 js_LookupProperty + 53&lt;br/&gt;
 14  mongo                               0x0014b1ea js_GetProperty + 209&lt;br/&gt;
 15  mongo                               0x0012cacb js_Interpret + 55653&lt;br/&gt;
 16  mongo                               0x0011e1a5 js_Execute + 774&lt;br/&gt;
 17  mongo                               0x000df539 JS_EvaluateUCScriptForPrincipals + 167&lt;br/&gt;
 18  mongo                               0x000df490 JS_EvaluateUCScript + 67&lt;br/&gt;
 19  mongo                               0x000df39a JS_EvaluateScript + 108&lt;br/&gt;
/opt/local/include/boost/thread/pthread/recursive_mutex.hpp:62: failed assertion `!pthread_mutex_destroy(&amp;amp;m)&apos;&lt;br/&gt;
Mon Oct 26 00:52:03  mongo got signal 6 (Abort trap), stack trace: &lt;br/&gt;
Mon Oct 26 00:52:03  0x2bd6 0x939b5b9b 0xffffffff 0x93a43b99 0x93a59c50 0x1da24d 0x92f8f 0x9396e88f 0x9396e7a4 0x2d08 0x939b5b9b 0xffffffff 0x93a43b99 0x93a59c50 0x94e33fda 0x94e3217a 0x94e321ba 0x94e322b8 0x6c46f 0xa66e0 &lt;br/&gt;
 0   mongo                               0x00002bd6 _Z12quitAbruptlyi + 374&lt;br/&gt;
 1   libSystem.B.dylib                   0x939b5b9b _sigtramp + 43&lt;br/&gt;
 2   ???                                 0xffffffff 0x0 + 4294967295&lt;br/&gt;
 3   libSystem.B.dylib                   0x93a43b99 raise + 26&lt;br/&gt;
 4   libSystem.B.dylib                   0x93a59c50 abort + 93&lt;br/&gt;
 5   mongo                               0x001da24d __eprintf + 77&lt;br/&gt;
 6   mongo                               0x00092f8f __tcf_10 + 79&lt;br/&gt;
 7   libSystem.B.dylib                   0x9396e88f __cxa_finalize + 208&lt;br/&gt;
 8   libSystem.B.dylib                   0x9396e7a4 exit + 33&lt;br/&gt;
 9   mongo                               0x00002d08 _Z12quitAbruptlyi + 680&lt;br/&gt;
 10  libSystem.B.dylib                   0x939b5b9b _sigtramp + 43&lt;br/&gt;
 11  ???                                 0xffffffff 0x0 + 4294967295&lt;br/&gt;
 12  libSystem.B.dylib                   0x93a43b99 raise + 26&lt;br/&gt;
 13  libSystem.B.dylib                   0x93a59c50 abort + 93&lt;br/&gt;
 14  libstdc++.6.dylib                   0x94e33fda &lt;em&gt;ZN9&lt;/em&gt;&lt;em&gt;gnu_cxx27&lt;/em&gt;_verbose_terminate_handlerEv + 433&lt;br/&gt;
 15  libstdc++.6.dylib                   0x94e3217a &lt;em&gt;ZN10&lt;/em&gt;&lt;em&gt;cxxabiv111&lt;/em&gt;_terminateEPFvvE + 10&lt;br/&gt;
 16  libstdc++.6.dylib                   0x94e321ba &lt;em&gt;ZN10&lt;/em&gt;&lt;em&gt;cxxabiv112&lt;/em&gt;_unexpectedEPFvvE + 0&lt;br/&gt;
 17  libstdc++.6.dylib                   0x94e322b8 &lt;em&gt;ZL23&lt;/em&gt;_gxx_exception_cleanup19_Unwind_Reason_CodeP17_Unwind_Exception + 0&lt;br/&gt;
 18  mongo                               0x0006c46f _ZN5mongo8assertedEPKcS1_j + 799&lt;br/&gt;
 19  mongo                               0x000a66e0 _ZN5mongo9Convertor5tovalERKNS_11BSONElementE + 5472&lt;/p&gt;</description>
                <environment>sys info: Darwin ERH-OFC-MP.local 9.6.0 Darwin Kernel Version 9.6.0: Mon Nov 24 17:37:00 PST 2008; root:xnu-1228.9.59~1/RELEASE_I386 i386</environment>
        <key id="10800">SERVER-386</key>
            <summary>Client console crashes with distinct on a key that is null</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="licenser">Heinz</reporter>
                        <labels>
                    </labels>
                <created>Sun, 25 Oct 2009 19:56:59 +0000</created>
                <updated>Tue, 12 Jul 2016 00:29:53 +0000</updated>
                            <resolved>Sun, 25 Oct 2009 20:36:01 +0000</resolved>
                                    <version>1.1.2</version>
                                    <fixVersion>1.1.3</fixVersion>
                                    <component>Stability</component>
                                        <votes>0</votes>
                                    <watches>0</watches>
                                                                                                                <comments>
                            <comment id="11286" author="auto" created="Mon, 7 Dec 2009 11:13:30 +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: remove wrong assertion &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-386&quot; title=&quot;Client console crashes with distinct on a key that is null&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-386&quot;&gt;&lt;del&gt;SERVER-386&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://github.com/mongodb/mongo/commit/736490eeeff60d6cd89bec9da063450db9a730bc&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://github.com/mongodb/mongo/commit/736490eeeff60d6cd89bec9da063450db9a730bc&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:30 +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>eliot</customfieldvalue>
            <customfieldvalue>licenser</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrpv2v:</customfieldvalue>

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

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

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