<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:01:11 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-2786] db.printShardingStatus() causes all config servers to immediately crash (segfault)</title>
                <link>https://jira.mongodb.org/browse/SERVER-2786</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;All config servers reproducible crash with a segfault if db.printShardingStatus() is executed on a mongo router (mongos).&lt;/p&gt;

&lt;p&gt;The config server logfiles: &lt;a href=&quot;https://gist.github.com/874822&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://gist.github.com/874822&lt;/a&gt;&lt;/p&gt;</description>
                <environment># lsb_release -a&lt;br/&gt;
LSB Version:	n/a&lt;br/&gt;
Distributor ID:	SUSE LINUX&lt;br/&gt;
Description:	openSUSE 11.2 (x86_64)&lt;br/&gt;
Release:	11.2&lt;br/&gt;
Codename:	n/a</environment>
        <key id="15157">SERVER-2786</key>
            <summary>db.printShardingStatus() causes all config servers to immediately crash (segfault)</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="2" iconUrl="https://jira.mongodb.org/images/icons/priorities/critical.svg">Critical - P2</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="kristina">Kristina Chodorow</assignee>
                                    <reporter username="bwaldvogel">Benedikt Waldvogel</reporter>
                        <labels>
                    </labels>
                <created>Thu, 17 Mar 2011 18:14:16 +0000</created>
                <updated>Tue, 12 Jul 2016 00:18:16 +0000</updated>
                            <resolved>Fri, 18 Mar 2011 19:53:30 +0000</resolved>
                                    <version>1.8.0</version>
                                    <fixVersion>1.9.0</fixVersion>
                                    <component>Sharding</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="26261" author="bwaldvogel" created="Fri, 18 Mar 2011 20:24:33 +0000"  >&lt;p&gt;thanks for solving this issue so quickly.&lt;/p&gt;</comment>
                            <comment id="26260" author="auto" created="Fri, 18 Mar 2011 19:53:01 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;login&apos;: u&apos;kchodorow&apos;, u&apos;name&apos;: u&apos;Kristina&apos;, u&apos;email&apos;: u&apos;kristina@10gen.com&apos;}
&lt;p&gt;Message: check for js engine before running group &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-2786&quot; title=&quot;db.printShardingStatus() causes all config servers to immediately crash (segfault)&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-2786&quot;&gt;&lt;del&gt;SERVER-2786&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/8c8c3368df0df6e354a32bf5ec70e1fd65b9e110&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/8c8c3368df0df6e354a32bf5ec70e1fd65b9e110&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="26259" author="kristina" created="Fri, 18 Mar 2011 19:32:15 +0000"  >&lt;p&gt;db.printShardingStatus() calls group(), which is like map/reduce (executing JavaScript on the server).  --noscripting means you can&apos;t execute JS on the server, so it should give you a better error (i.e., not crash), but db.printShardingStatus won&apos;t produce the right result unless you get rid of the --noscripting.&lt;/p&gt;</comment>
                            <comment id="26256" author="kristina" created="Fri, 18 Mar 2011 19:20:40 +0000"  >&lt;p&gt;Aha!  You can&apos;t use --noscripting on the config servers, db.printShardingStatus() uses group(), which uses JavaScript.&lt;/p&gt;</comment>
                            <comment id="26255" author="bwaldvogel" created="Fri, 18 Mar 2011 19:17:14 +0000"  >&lt;p&gt;I&apos;ve updated the gist. Is that enough of log data?&lt;br/&gt;
The server is started with the following options:&lt;br/&gt;
mongod --fork --logpath /data/mongodb/logs/config.log --logappend --dbpath /data/mongodb/config --syncdelay 10 --rest --noscripting --cpu --port 27217 --configsvr&lt;/p&gt;</comment>
                            <comment id="26241" author="kristina" created="Fri, 18 Mar 2011 16:55:26 +0000"  >&lt;p&gt;Also, can you post a chunk of a log from before the crash?&lt;/p&gt;</comment>
                            <comment id="26240" author="kristina" created="Fri, 18 Mar 2011 16:54:24 +0000"  >&lt;p&gt;What options did you start the config servers with?  If you used a config file, can you paste its contents (and any command line ops)?&lt;/p&gt;</comment>
                            <comment id="26158" author="bwaldvogel" created="Thu, 17 Mar 2011 21:27:51 +0000"  >&lt;p&gt;using the 64 bit binary from &lt;a href=&quot;http://fastdl.mongodb.org/linux/mongodb-linux-x86_64-1.8.0.tgz&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://fastdl.mongodb.org/linux/mongodb-linux-x86_64-1.8.0.tgz&lt;/a&gt;&lt;/p&gt;

&lt;ol&gt;
	&lt;li&gt;uname -a&lt;br/&gt;
Linux mongo120 2.6.31.12-0.1-desktop #1 SMP PREEMPT 2010-01-27 08:20:11 +0100 x86_64 x86_64 x86_64 GNU/Linux&lt;/li&gt;
&lt;/ol&gt;
</comment>
                            <comment id="26145" author="eliot" created="Thu, 17 Mar 2011 19:44:32 +0000"  >&lt;p&gt;Which binary are you using?  32 or 64 bit, static?&lt;br/&gt;
Also, can you send uname -a&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>9.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 17 Mar 2011 19:44:32 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        12 years, 48 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>
                            12 years, 48 weeks, 5 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>bwaldvogel</customfieldvalue>
            <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|hrp3an:</customfieldvalue>

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

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

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