<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:06:01 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-4449] syntax error in function stored in system.db.js terminates mongod (v8)</title>
                <link>https://jira.mongodb.org/browse/SERVER-4449</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;stored function as: &apos;print(&quot;yo&quot;); return &quot;yo&quot;;&apos;&lt;br/&gt;
Upon calling db.eval(&quot;myprint()&quot;) the db terminates:&lt;/p&gt;

&lt;p&gt;yo&lt;br/&gt;
&amp;lt;unknown&amp;gt;:46: Uncaught SyntaxError: Illegal return statement&lt;br/&gt;
Wed Dec  7 09:35:25 Invalid access at address: 0&lt;/p&gt;

&lt;p&gt;Wed Dec  7 09:35:25 Got signal: 11 (Segmentation fault).&lt;/p&gt;

&lt;p&gt;Wed Dec  7 09:35:25 Backtrace:&lt;br/&gt;
0x953633 0x9491c0 0x9494f3 0x7f4af2481c60 0x9b603b 0xab4c89 0x9b638a 0x96abda 0x6bb7c0 0x69966c 0x6b9acd 0x7c2827 0x7c5d11 0x8869ce 0x888f00 0x889453 0x8666fa 0x868e5a 0x7dadab 0x954572 &lt;br/&gt;
 ./mongod(_ZN5mongo15printStackTraceERSo+0x23) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x953633&amp;#93;&lt;/span&gt;&lt;br/&gt;
 ./mongod(_ZN5mongo10abruptQuitEi+0x380) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x9491c0&amp;#93;&lt;/span&gt;&lt;br/&gt;
 ./mongod(_ZN5mongo24abruptQuitWithAddrSignalEiP7siginfoPv+0x1f3) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x9494f3&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /lib/x86_64-linux-gnu/libpthread.so.0(+0xfc60) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x7f4af2481c60&amp;#93;&lt;/span&gt;&lt;br/&gt;
 ./mongod() &lt;span class=&quot;error&quot;&gt;&amp;#91;0x9b603b&amp;#93;&lt;/span&gt;&lt;br/&gt;
 ./mongod() &lt;span class=&quot;error&quot;&gt;&amp;#91;0xab4c89&amp;#93;&lt;/span&gt;&lt;br/&gt;
 ./mongod() &lt;span class=&quot;error&quot;&gt;&amp;#91;0x9b638a&amp;#93;&lt;/span&gt;&lt;br/&gt;
 ./mongod() &lt;span class=&quot;error&quot;&gt;&amp;#91;0x96abda&amp;#93;&lt;/span&gt;&lt;br/&gt;
 ./mongod(_ZN5mongo7V8Scope10setElementEPKcRKNS_11BSONElementE+0xa0) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x6bb7c0&amp;#93;&lt;/span&gt;&lt;br/&gt;
 ./mongod(_ZN5mongo5Scope10loadStoredEb+0x49c) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x69966c&amp;#93;&lt;/span&gt;&lt;br/&gt;
 ./mongod(_ZN5mongo7V8Scope12localConnectEPKc+0x28d) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x6b9acd&amp;#93;&lt;/span&gt;&lt;br/&gt;
 ./mongod(_ZN5mongo6dbEvalERKSsRNS_7BSONObjERNS_14BSONObjBuilderERSs+0xe7) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x7c2827&amp;#93;&lt;/span&gt;&lt;br/&gt;
 ./mongod(_ZN5mongo7CmdEval3runERKSsRNS_7BSONObjEiRSsRNS_14BSONObjBuilderEb+0x4a1) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x7c5d11&amp;#93;&lt;/span&gt;&lt;br/&gt;
 ./mongod(_ZN5mongo12_execCommandEPNS_7CommandERKSsRNS_7BSONObjEiRNS_14BSONObjBuilderEb+0x3e) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x8869ce&amp;#93;&lt;/span&gt;&lt;br/&gt;
 ./mongod(_ZN5mongo11execCommandEPNS_7CommandERNS_6ClientEiPKcRNS_7BSONObjERNS_14BSONObjBuilderEb+0x620) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x888f00&amp;#93;&lt;/span&gt;&lt;br/&gt;
 ./mongod(_ZN5mongo12_runCommandsEPKcRNS_7BSONObjERNS_11_BufBuilderINS_16TrivialAllocatorEEERNS_14BSONObjBuilderEbi+0x263) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x889453&amp;#93;&lt;/span&gt;&lt;br/&gt;
 ./mongod(_ZN5mongo11runCommandsEPKcRNS_7BSONObjERNS_5CurOpERNS_11_BufBuilderINS_16TrivialAllocatorEEERNS_14BSONObjBuilderEbi+0x3a) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x8666fa&amp;#93;&lt;/span&gt;&lt;br/&gt;
 ./mongod(&lt;em&gt;ZN5mongo8runQueryERNS_7MessageERNS_12QueryMessageERNS_5CurOpES1&lt;/em&gt;+0x120a) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x868e5a&amp;#93;&lt;/span&gt;&lt;br/&gt;
 ./mongod(_ZN5mongo16assembleResponseERNS_7MessageERNS_10DbResponseERKNS_11HostAndPortE+0xc7b) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x7dadab&amp;#93;&lt;/span&gt;&lt;br/&gt;
 ./mongod(_ZN5mongo16MyMessageHandler7processERNS_7MessageEPNS_21AbstractMessagingPortEPNS_9LastErrorE+0x92) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x954572&amp;#93;&lt;/span&gt;&lt;/p&gt;
</description>
                <environment></environment>
        <key id="26168">SERVER-4449</key>
            <summary>syntax error in function stored in system.db.js terminates mongod (v8)</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="3">Duplicate</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="antoine">Antoine Girbal</reporter>
                        <labels>
                    </labels>
                <created>Wed, 7 Dec 2011 17:39:18 +0000</created>
                <updated>Fri, 8 Mar 2013 15:55:55 +0000</updated>
                            <resolved>Thu, 7 Mar 2013 02:42:45 +0000</resolved>
                                                                    <component>JavaScript</component>
                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="283086" author="benjamin.becker" created="Thu, 7 Mar 2013 02:42:14 +0000"  >&lt;p&gt;This issue has been resolved by &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-8647&quot; title=&quot;InvalidStoredJS test failure&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-8647&quot;&gt;&lt;del&gt;SERVER-8647&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="65940">SERVER-8647</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <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>Thu, 7 Mar 2013 02:42:14 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        10 years, 50 weeks 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>
                            10 years, 50 weeks 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>antoine</customfieldvalue>
            <customfieldvalue>benjamin.becker</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrojq7:</customfieldvalue>

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

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

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