<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:26: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-11570] mongo crashes on quit</title>
                <link>https://jira.mongodb.org/browse/SERVER-11570</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;When I quit mongo shell with a Ctrl-D after a full bench a db queries&lt;br/&gt;
fired from the command line, the shell simply crashes on exit with signal&lt;br/&gt;
11 error (&quot;Segmentation fault&quot;)&lt;/p&gt;</description>
                <environment>macports on mavericks</environment>
        <key id="97105">SERVER-11570</key>
            <summary>mongo crashes on quit</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="tyler@10gen.com">Tyler Brock</assignee>
                                    <reporter username="nodeleaf">Patrick Perroud</reporter>
                        <labels>
                    </labels>
                <created>Tue, 5 Nov 2013 08:02:00 +0000</created>
                <updated>Mon, 11 Jul 2016 17:37:46 +0000</updated>
                            <resolved>Fri, 6 Dec 2013 21:47:31 +0000</resolved>
                                    <version>2.4.8</version>
                                                                        <votes>1</votes>
                                    <watches>9</watches>
                                                                                                                <comments>
                            <comment id="463599" author="tyler@10gen.com" created="Sun, 1 Dec 2013 14:14:12 +0000"  >&lt;p&gt;Merged &lt;a href=&quot;https://github.com/mxcl/homebrew/commit/aa50318e312ed89348aeee61a6121cc472e5327b&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;here&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Thanks Mike.&lt;/p&gt;</comment>
                            <comment id="463577" author="mikemcquaid" created="Sun, 1 Dec 2013 05:14:20 +0000"  >&lt;p&gt;Thanks Tyler.&lt;/p&gt;</comment>
                            <comment id="463505" author="tyler@10gen.com" created="Sat, 30 Nov 2013 15:57:25 +0000"  >&lt;p&gt;Pull request up &lt;a href=&quot;https://github.com/mxcl/homebrew/pull/24805&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;here&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="463427" author="ryandesign" created="Fri, 29 Nov 2013 21:11:50 +0000"  >&lt;p&gt;It&apos;s a simple one-line change to backport. We have it in MacPorts.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://trac.macports.org/browser/trunk/dports/databases/mongodb/files/patch-src-third_party-v8-src-spaces.h.diff?rev=113011&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://trac.macports.org/browser/trunk/dports/databases/mongodb/files/patch-src-third_party-v8-src-spaces.h.diff?rev=113011&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="463421" author="mikemcquaid" created="Fri, 29 Nov 2013 20:42:10 +0000"  >&lt;p&gt;Homebrew maintainer here. I&apos;m going to mark it as unsupported with Clang for now. However, as Clang is the only compiler bundler with Xcode 5 or the Apple Developer Command Line Utilities on OSX 10.9 and 10.8 we will be removing software that doesn&apos;t support Clang.&lt;/p&gt;

&lt;p&gt;If at all possible I&apos;d encourage you to backport the patch. Clang is the default compiler on OSX and has been for a long time at this point.&lt;/p&gt;</comment>
                            <comment id="460274" author="sri@redhat.com" created="Fri, 22 Nov 2013 11:55:17 +0000"  >&lt;p&gt;FWIW it happens on MongoDB version 2.4.6 as well (on Mac OS X 10.9 Mavericks)&lt;/p&gt;</comment>
                            <comment id="451656" author="acm" created="Tue, 5 Nov 2013 17:33:03 +0000"  >&lt;p&gt;Hi Patrick -&lt;/p&gt;

&lt;p&gt;It is the case that 2.4.8 and 2.5.3 are using the same underlying v8 engine, and we have not backported the fix that we applied in 2.5 to the 2.4 branch. That is why you observe it on 2.4.8 even after the change was applied to 2.5.&lt;/p&gt;

&lt;p&gt;We are not backporting fixes for clang specific issues to 2.4, since clang was never officially supported for that release series. The specific v8 bug that the patch addresses currently only manifests with clang.&lt;/p&gt;

&lt;p&gt;The MacPorts mongodb maintainers may be able to help you, either by specifying in the Portfile that mongodb should be built with GCC, or by including the patch in the Portfile for mongodb if they feel that that is appropriate.&lt;/p&gt;</comment>
                            <comment id="451619" author="nodeleaf" created="Tue, 5 Nov 2013 16:58:35 +0000"  >&lt;p&gt;After a second thought: if 11099 was fixed on October 18 for 2.5.3 how could it show up again in a 2.4.8 released 2/3 weeks later? Assuming it was the same issue. It&apos;s most probably same effects for different causes...&lt;/p&gt;</comment>
                            <comment id="451602" author="nodeleaf" created="Tue, 5 Nov 2013 16:44:42 +0000"  >&lt;p&gt;Looks pretty much the same to me YES but in my case it was a 2.4 (production) not a 2.5 (development).&lt;/p&gt;

&lt;p&gt;What I&apos;ve noticed in both cases is: both issue seem related to  the V8 engive - which makes sense since this is happening in mongo shell - that&apos;s built upon V8.&lt;/p&gt;

&lt;p&gt;Is there any chance both 2.4.8 and 2.5.3 are using the same V8 code base? Because if this was the case then we might be closer to the cause - don&apos;t you think?&lt;/p&gt;</comment>
                            <comment id="451468" author="acm" created="Tue, 5 Nov 2013 11:53:36 +0000"  >&lt;p&gt;I believe you are encountering &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-11099&quot; title=&quot;clang compiled mongo shell crashes on exit with a stack trace in v8&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-11099&quot;&gt;&lt;del&gt;SERVER-11099&lt;/del&gt;&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>10.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 5 Nov 2013 11:53:36 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        10 years, 11 weeks, 3 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>
                            10 years, 11 weeks, 3 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="10021"><![CDATA[OS X]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>andrew.morrow@mongodb.com</customfieldvalue>
            <customfieldvalue>mikemcquaid</customfieldvalue>
            <customfieldvalue>nodeleaf</customfieldvalue>
            <customfieldvalue>ryandesign</customfieldvalue>
            <customfieldvalue>sri@redhat.com</customfieldvalue>
            <customfieldvalue>tyler@10gen.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrm8a7:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>88954</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_10750" key="com.atlassian.jira.plugin.system.customfieldtypes:textarea">
                        <customfieldname>Steps To Reproduce</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>&lt;p&gt;1- Install 2.4.8 MacPort on Mavericks OS X. &lt;br/&gt;
2 - Start mongo from a terminal.&lt;br/&gt;
3 - Switch db then process a full bentch of db.collection.find()&lt;br/&gt;
4 - Quit mongo by Ctrl-D key - mongo is crashing consistently on exit&lt;/p&gt;

&lt;p&gt;See 3 examples below (each starting with &quot;bye&quot;):&lt;/p&gt;

&lt;p&gt;bye&lt;br/&gt;
Mon Nov  4 15:14:02.065 mongo got signal 11 (Segmentation fault: 11), stack trace: &lt;/p&gt;

&lt;p&gt;Mon Nov  4 15:14:02.215 0x10430da2a 0x10420da2a 0x7fff8fec55aa 0xa 0x10438d6c7 0x10445acc9 0x10445ab31 0x1042cb4ad 0x1042cb35f 0x1042149ab 0x104214fbf 0x7fff8908b5fd &lt;br/&gt;
 0   mongo                               0x000000010430da2a &lt;em&gt;ZN5mongo15printStackTraceERNSt3&lt;/em&gt;_113basic_ostreamIcNS0_11char_traitsIcEEEE + 58&lt;br/&gt;
 1   mongo                               0x000000010420da2a _Z12quitAbruptlyi + 666&lt;br/&gt;
 2   libsystem_platform.dylib            0x00007fff8fec55aa _sigtramp + 26&lt;br/&gt;
 3   ???                                 0x000000000000000a 0x0 + 10&lt;br/&gt;
 4   mongo                               0x000000010438d6c7 _ZN2v88internal15DeoptimizerDataD1Ev + 55&lt;br/&gt;
 5   mongo                               0x000000010445acc9 _ZN2v88internal7Isolate6DeinitEv + 105&lt;br/&gt;
 6   mongo                               0x000000010445ab31 _ZN2v88internal7Isolate8TearDownEv + 81&lt;br/&gt;
 7   mongo                               0x00000001042cb4ad _ZN5mongo7V8ScopeD2Ev + 285&lt;br/&gt;
 8   mongo                               0x00000001042cb35f _ZN5mongo7V8ScopeD0Ev + 15&lt;br/&gt;
 9   mongo                               0x00000001042149ab &lt;em&gt;Z5_mainiPPcS0&lt;/em&gt; + 22507&lt;br/&gt;
 10  mongo                               0x0000000104214fbf main + 95&lt;br/&gt;
 11  libdyld.dylib                       0x00007fff8908b5fd start + 1&lt;/p&gt;

&lt;p&gt;bye&lt;br/&gt;
Mon Nov  4 17:49:39.573 mongo got signal 11 (Segmentation fault: 11), stack trace: &lt;/p&gt;

&lt;p&gt;Mon Nov  4 17:49:39.575 0x10c757a2a 0x10c657a2a 0x7fff8fec55aa 0xa 0x10c7d76c7 0x10c8a4cc9 0x10c8a4b31 0x10c7154ad 0x10c71535f 0x10c65e9ab 0x10c65efbf 0x7fff8908b5fd 0x2 &lt;br/&gt;
 0   mongo                               0x000000010c757a2a &lt;em&gt;ZN5mongo15printStackTraceERNSt3&lt;/em&gt;_113basic_ostreamIcNS0_11char_traitsIcEEEE + 58&lt;br/&gt;
 1   mongo                               0x000000010c657a2a _Z12quitAbruptlyi + 666&lt;br/&gt;
 2   libsystem_platform.dylib            0x00007fff8fec55aa _sigtramp + 26&lt;br/&gt;
 3   ???                                 0x000000000000000a 0x0 + 10&lt;br/&gt;
 4   mongo                               0x000000010c7d76c7 _ZN2v88internal15DeoptimizerDataD1Ev + 55&lt;br/&gt;
 5   mongo                               0x000000010c8a4cc9 _ZN2v88internal7Isolate6DeinitEv + 105&lt;br/&gt;
 6   mongo                               0x000000010c8a4b31 _ZN2v88internal7Isolate8TearDownEv + 81&lt;br/&gt;
 7   mongo                               0x000000010c7154ad _ZN5mongo7V8ScopeD2Ev + 285&lt;br/&gt;
 8   mongo                               0x000000010c71535f _ZN5mongo7V8ScopeD0Ev + 15&lt;br/&gt;
 9   mongo                               0x000000010c65e9ab &lt;em&gt;Z5_mainiPPcS0&lt;/em&gt; + 22507&lt;br/&gt;
 10  mongo                               0x000000010c65efbf main + 95&lt;br/&gt;
 11  libdyld.dylib                       0x00007fff8908b5fd start + 1&lt;br/&gt;
 12  ???                                 0x0000000000000002 0x0 + 2&lt;/p&gt;

&lt;p&gt;bye&lt;br/&gt;
Mon Nov  4 20:09:02.678 mongo got signal 11 (Segmentation fault: 11), stack trace: &lt;/p&gt;

&lt;p&gt;Mon Nov  4 20:09:02.728 0x103a6ba2a 0x10396ba2a 0x7fff8fec55aa 0xa 0x103aeb6c7 0x103bb8cc9 0x103bb8b31 0x103a294ad 0x103a2935f 0x1039729ab 0x103972fbf 0x7fff8908b5fd &lt;br/&gt;
 0   mongo                               0x0000000103a6ba2a &lt;em&gt;ZN5mongo15printStackTraceERNSt3&lt;/em&gt;_113basic_ostreamIcNS0_11char_traitsIcEEEE + 58&lt;br/&gt;
 1   mongo                               0x000000010396ba2a _Z12quitAbruptlyi + 666&lt;br/&gt;
 2   libsystem_platform.dylib            0x00007fff8fec55aa _sigtramp + 26&lt;br/&gt;
 3   ???                                 0x000000000000000a 0x0 + 10&lt;br/&gt;
 4   mongo                               0x0000000103aeb6c7 _ZN2v88internal15DeoptimizerDataD1Ev + 55&lt;br/&gt;
 5   mongo                               0x0000000103bb8cc9 _ZN2v88internal7Isolate6DeinitEv + 105&lt;br/&gt;
 6   mongo                               0x0000000103bb8b31 _ZN2v88internal7Isolate8TearDownEv + 81&lt;br/&gt;
 7   mongo                               0x0000000103a294ad _ZN5mongo7V8ScopeD2Ev + 285&lt;br/&gt;
 8   mongo                               0x0000000103a2935f _ZN5mongo7V8ScopeD0Ev + 15&lt;br/&gt;
 9   mongo                               0x00000001039729ab &lt;em&gt;Z5_mainiPPcS0&lt;/em&gt; + 22507&lt;br/&gt;
 10  mongo                               0x0000000103972fbf main + 95&lt;br/&gt;
 11  libdyld.dylib                       0x00007fff8908b5fd start + 1&lt;/p&gt;</customfieldvalue>

                        </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|hrisf3:</customfieldvalue>

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