<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:07: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-4855] Shell segfaults when doing db.foo.find() from quickstart</title>
                <link>https://jira.mongodb.org/browse/SERVER-4855</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;I&apos;ve just tried the Quickstart from &lt;a href=&quot;http://www.mongodb.org/display/DOCS/Quickstart+Unix&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://www.mongodb.org/display/DOCS/Quickstart+Unix&lt;/a&gt; and the shell crashes with a segfault:&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;haro@foundation node&amp;#93;&lt;/span&gt;$ mongo&lt;br/&gt;
MongoDB shell version: 2.0.2&lt;br/&gt;
connecting to: test&lt;br/&gt;
&amp;gt; db.foo.save( &lt;/p&gt;
{ a : 1 }
&lt;p&gt; )&lt;br/&gt;
&amp;gt; db.foo.find()&lt;br/&gt;
Thu Feb  2 22:55:57 mongo got signal 11 (Segmentation fault), stack trace: &lt;/p&gt;

&lt;p&gt;Thu Feb  2 22:55:57 0x46a9ef 0x462744 0x7f2312f14300 0x4c7590 0x7f23143ab23f 0x7f23143ae55b 0x7f23143af12c 0x7f2314396360 0x7f23143a5ae5 0x7f23143a7772 0x7f231431fcb5 0x7f231431fdb2 0x7f231431fe52 0x4d0549 0x467641 0x45ebae 0x7f2312eff69d 0x461699 &lt;br/&gt;
 mongo(_ZN5mongo15printStackTraceERSo+0x1f) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x46a9ef&amp;#93;&lt;/span&gt;&lt;br/&gt;
 mongo(_Z12quitAbruptlyi+0x334) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x462744&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /lib64/libc.so.6(+0x36300) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x7f2312f14300&amp;#93;&lt;/span&gt;&lt;br/&gt;
 mongo(_ZN5mongo14bson_enumerateEP9JSContextP8JSObject11JSIterateOpPmPl+0x130) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x4c7590&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /usr/lib64/libmozjs185.so.1.0(+0xd923f) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x7f23143ab23f&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /usr/lib64/libmozjs185.so.1.0(+0xdc55b) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x7f23143ae55b&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /usr/lib64/libmozjs185.so.1.0(_Z18js_ValueToIteratorP9JSContextjPN2js5ValueE+0x5c) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x7f23143af12c&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /usr/lib64/libmozjs185.so.1.0(+0xc4360) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x7f2314396360&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /usr/lib64/libmozjs185.so.1.0(+0xd3ae5) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x7f23143a5ae5&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /usr/lib64/libmozjs185.so.1.0(+0xd5772) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x7f23143a7772&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /usr/lib64/libmozjs185.so.1.0(JS_EvaluateUCScriptForPrincipals+0xc5) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x7f231431fcb5&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /usr/lib64/libmozjs185.so.1.0(JS_EvaluateScriptForPrincipals+0x72) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x7f231431fdb2&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /usr/lib64/libmozjs185.so.1.0(JS_EvaluateScript+0x22) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x7f231431fe52&amp;#93;&lt;/span&gt;&lt;br/&gt;
 mongo(_ZN5mongo7SMScope4execERKNS_10StringDataERKSsbbbi+0xf9) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x4d0549&amp;#93;&lt;/span&gt;&lt;br/&gt;
 mongo(_Z5_mainiPPc+0x2001) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x467641&amp;#93;&lt;/span&gt;&lt;br/&gt;
 mongo(main+0x1e) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x45ebae&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /lib64/libc.so.6(__libc_start_main+0xed) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x7f2312eff69d&amp;#93;&lt;/span&gt;&lt;br/&gt;
 mongo() &lt;span class=&quot;error&quot;&gt;&amp;#91;0x461699&amp;#93;&lt;/span&gt;&lt;/p&gt;


&lt;p&gt;The server doesn&apos;t notice this:&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;root@foundation node-v0.6.9&amp;#93;&lt;/span&gt;# mongod&lt;br/&gt;
mongod --help for help and startup options&lt;br/&gt;
Thu Feb  2 22:44:48 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; MongoDB starting : pid=10273 port=27017 dbpath=/data/db/ 64-bit host=foundation.localdomain&lt;br/&gt;
Thu Feb  2 22:44:48 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; db version v2.0.2, pdfile version 4.5&lt;br/&gt;
Thu Feb  2 22:44:48 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; git version: nogitversion&lt;br/&gt;
Thu Feb  2 22:44:48 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; build info: Linux x86-02.phx2.fedoraproject.org 2.6.32-220.el6.x86_64 #1 SMP Wed Nov 9 08:03:13 EST 2011 x86_64 BOOST_LIB_VERSION=1_47&lt;br/&gt;
Thu Feb  2 22:44:48 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; options: {}&lt;br/&gt;
Thu Feb  2 22:44:48 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; journal dir=/data/db/journal&lt;br/&gt;
Thu Feb  2 22:44:48 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; recover : no journal files present, no recovery needed&lt;br/&gt;
Thu Feb  2 22:44:48 &lt;span class=&quot;error&quot;&gt;&amp;#91;websvr&amp;#93;&lt;/span&gt; admin web console waiting for connections on port 28017&lt;br/&gt;
Thu Feb  2 22:44:48 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; waiting for connections on port 27017&lt;br/&gt;
Thu Feb  2 22:44:55 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; connection accepted from 127.0.0.1:37853 #1&lt;br/&gt;
Thu Feb  2 22:44:57 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1&amp;#93;&lt;/span&gt; end connection 127.0.0.1:37853&lt;br/&gt;
Thu Feb  2 22:44:59 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; connection accepted from 127.0.0.1:37854 #2&lt;br/&gt;
Thu Feb  2 22:45:20 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn2&amp;#93;&lt;/span&gt; end connection 127.0.0.1:37854&lt;br/&gt;
Thu Feb  2 22:45:48 &lt;span class=&quot;error&quot;&gt;&amp;#91;clientcursormon&amp;#93;&lt;/span&gt; mem (MB) res:34 virt:905 mapped:80&lt;br/&gt;
Thu Feb  2 22:50:48 &lt;span class=&quot;error&quot;&gt;&amp;#91;clientcursormon&amp;#93;&lt;/span&gt; mem (MB) res:34 virt:905 mapped:80&lt;br/&gt;
Thu Feb  2 22:55:48 &lt;span class=&quot;error&quot;&gt;&amp;#91;clientcursormon&amp;#93;&lt;/span&gt; mem (MB) res:34 virt:905 mapped:80&lt;br/&gt;
Thu Feb  2 22:55:48 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; connection accepted from 127.0.0.1:37942 #3&lt;br/&gt;
Thu Feb  2 22:55:57 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn3&amp;#93;&lt;/span&gt; end connection 127.0.0.1:37942&lt;br/&gt;
Thu Feb  2 22:56:48 &lt;span class=&quot;error&quot;&gt;&amp;#91;clientcursormon&amp;#93;&lt;/span&gt; mem (MB) res:34 virt:1065 mapped:160&lt;/p&gt;</description>
                <environment>Fedora 16 3.2.2-1.fc16.x86_64 #1 SMP Thu Jan 26 03:21:58 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux</environment>
        <key id="29778">SERVER-4855</key>
            <summary>Shell segfaults when doing db.foo.find() from quickstart</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="2">Won&apos;t Fix</resolution>
                                        <assignee username="miketheman">Michael A. Fiedler</assignee>
                                    <reporter username="barigorokarl">Hans-Rolf Harting</reporter>
                        <labels>
                            <label>crash</label>
                    </labels>
                <created>Thu, 2 Feb 2012 22:08:00 +0000</created>
                <updated>Fri, 30 Mar 2012 14:37:00 +0000</updated>
                            <resolved>Fri, 3 Feb 2012 16:26:07 +0000</resolved>
                                    <version>2.0.2</version>
                                                    <component>Shell</component>
                    <component>Stability</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="85282" author="miketheman" created="Sat, 4 Feb 2012 15:08:45 +0000"  >&lt;p&gt;I have also tested their build, and this particular issue seems to have subsided.&lt;br/&gt;
Please note: builds other than the official 10gen builds may have unknown dependencies and behaviors.&lt;/p&gt;</comment>
                            <comment id="85258" author="linuxnow" created="Sat, 4 Feb 2012 10:16:45 +0000"  >&lt;p&gt;Fixed in latest update mongodb-2.0.2-8.fc16.x86_64 (currently in updates-testing).&lt;br/&gt;
I&apos;ve updated the open bug too, this issue can be marked as solved, thanks everybody.&lt;/p&gt;</comment>
                            <comment id="85058" author="miketheman" created="Fri, 3 Feb 2012 16:52:32 +0000"  >&lt;p&gt;Fedora bug opened here: &lt;a href=&quot;https://bugzilla.redhat.com/show_bug.cgi?id=787246&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://bugzilla.redhat.com/show_bug.cgi?id=787246&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="85051" author="miketheman" created="Fri, 3 Feb 2012 16:26:07 +0000"  >&lt;p&gt;Successfully reproduced the problem using Fedora&apos;s distribution on 3.2.2-1.fc16.x86_64 #1 SMP.&lt;br/&gt;
This build is not built by us, and is linked to an unsupported version of JS.&lt;/p&gt;

&lt;p&gt;I have installed the 10gen-built RPM, as recommended here: &lt;a href=&quot;http://www.mongodb.org/display/DOCS/CentOS+and+Fedora+Packages&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://www.mongodb.org/display/DOCS/CentOS+and+Fedora+Packages&lt;/a&gt; and confirmed that this works as expected.&lt;/p&gt;

&lt;p&gt;I am closing this case here, as it is not an issue on our end, and will open one with Fedora.&lt;/p&gt;</comment>
                            <comment id="85043" author="tad" created="Fri, 3 Feb 2012 16:15:08 +0000"  >&lt;p&gt;Our builds are statically linked with SpiderMonkey 1.7, the Fedora-built version is using dynamic linking to libmozjs185.so, so SpiderMonkey version 1.85.  We could try a static build with 1.85 to narrow it down.&lt;/p&gt;

&lt;p&gt;The SpiderMonkey 1.85 Release Notes page ( &lt;a href=&quot;https://developer.mozilla.org/en/SpiderMonkey/1.8.5&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://developer.mozilla.org/en/SpiderMonkey/1.8.5&lt;/a&gt; ) has some info:&lt;/p&gt;

&lt;p&gt;&quot;SpiderMonkey 1.8.5 is not binary-compatible with previous releases, nor is it source-code compatible. Many JSAPI types, functions, and callback signatures have changed, though most of them still have the same names and do the same things. Applications will need significant changes ...&quot;&lt;/p&gt;</comment>
                            <comment id="85031" author="miketheman" created="Fri, 3 Feb 2012 15:46:13 +0000"  >&lt;p&gt;Update: I can reproduce this failure, further investigation forthcoming.&lt;/p&gt;</comment>
                            <comment id="84979" author="eliot" created="Fri, 3 Feb 2012 12:55:17 +0000"  >&lt;p&gt;Yes - please report there - and can link back to here.&lt;br/&gt;
We&apos;ll have someone try that binary.&lt;/p&gt;</comment>
                            <comment id="84978" author="barigorokarl" created="Fri, 3 Feb 2012 12:53:09 +0000"  >&lt;p&gt;Right, same here. The package comes from the stable fedora 16 release.&lt;br/&gt;
Should I report this problem over there, too? I didn&apos;t do that yet.&lt;/p&gt;</comment>
                            <comment id="84946" author="linuxnow" created="Fri, 3 Feb 2012 11:34:13 +0000"  >&lt;p&gt;Same probem here. Installation comes from latest Fedora rpm mongodb-2.0.2-5.fc16.x86_64.&lt;/p&gt;</comment>
                            <comment id="84857" author="eliot" created="Fri, 3 Feb 2012 01:51:42 +0000"  >&lt;p&gt;Where did this binary come from?&lt;br/&gt;
Doesn&apos;t look like an official one&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>10.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Fri, 3 Feb 2012 01:51:42 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        12 years, 2 weeks, 4 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>ian@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            12 years, 2 weeks, 4 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="10020"><![CDATA[Linux]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>eliot</customfieldvalue>
            <customfieldvalue>barigorokarl</customfieldvalue>
            <customfieldvalue>miketheman</customfieldvalue>
            <customfieldvalue>linuxnow</customfieldvalue>
            <customfieldvalue>tad</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hroep3:</customfieldvalue>

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

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

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