<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:02:22 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-3196] Segmentation Fault at startup on NUMA-Architecture</title>
                <link>https://jira.mongodb.org/browse/SERVER-3196</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;The release candidate of 1.8.2 and 1.9.0 do not start on my machine. I get the following message:&lt;br/&gt;
Sun Jun  5 17:29:12 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; MongoDB starting : pid=18471 port=27017 dbpath=db 64-bit host=lnxp-3740&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;
	&lt;ul&gt;
		&lt;li&gt;NOTE: This is a development version (1.9.0) of MongoDB.&lt;/li&gt;
		&lt;li&gt;Not recommended for production.&lt;br/&gt;
Sun Jun  5 17:29:12 Invalid access at address: 0x1&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Sun Jun  5 17:29:12 Got signal: 11 (Segmentation fault).&lt;/p&gt;

&lt;p&gt;Sun Jun  5 17:29:12 Backtrace:&lt;br/&gt;
0x92d809 0x92de50 0x34c980eb10 0x34c8c79b60 0x57e785 0x931855 0x9326da 0x93a691 0x34c8c1d994 0x4e6f89 &lt;br/&gt;
 /server/mongodb-1.9/bin/mongod(_ZN5mongo10abruptQuitEi+0x399) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x92d809&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /server/mongodb-1.9/bin/mongod(_ZN5mongo24abruptQuitWithAddrSignalEiP7siginfoPv+0x220) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x92de50&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /lib64/libpthread.so.0 &lt;span class=&quot;error&quot;&gt;&amp;#91;0x34c980eb10&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /lib64/libc.so.6(strlen+0x10) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x34c8c79b60&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /server/mongodb-1.9/bin/mongod(_ZN5mongo13show_warningsEv+0x3e5) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x57e785&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /server/mongodb-1.9/bin/mongod(_ZN5mongo14_initAndListenEi+0x115) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x931855&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /server/mongodb-1.9/bin/mongod(_ZN5mongo13initAndListenEi+0x2a) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x9326da&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /server/mongodb-1.9/bin/mongod(main+0x7731) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x93a691&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /lib64/libc.so.6(__libc_start_main+0xf4) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x34c8c1d994&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /server/mongodb-1.9/bin/mongod(__gxx_personality_v0+0x399) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x4e6f89&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;Sun Jun  5 17:29:12 ERROR: Client::shutdown not called: initandlisten&lt;/p&gt;


&lt;p&gt;if I start the server with strace, I see the following:&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;...&amp;#93;&lt;/span&gt;&lt;br/&gt;
stat(&quot;/proc/vz&quot;, 0x7fff69cb5e10)        = -1 ENOENT (No such file or directory)&lt;br/&gt;
stat(&quot;/sys/devices/system/node/node1&quot;, &lt;/p&gt;
{st_mode=S_IFDIR|0755, st_size=0, ...}
&lt;p&gt;) = 0&lt;br/&gt;
open(&quot;/proc/self/numa_maps&quot;, O_RDONLY|O_CREAT, 0600) = 4&lt;br/&gt;
pread(4, 0x7fff69cb5f90, 100, 0)        = -1 ESPIPE (Illegal seek)&lt;br/&gt;
&amp;#8212; SIGSEGV (Segmentation fault) @ 0 (0) &amp;#8212;&lt;br/&gt;
write(1, &quot;Sun Jun  5 17:29:53 &quot;, 20Sun Jun  5 17:29:53 )    = 20&lt;br/&gt;
write(1, &quot;Invalid access at address: 0x1\n&quot;, 31Invalid access at address: 0x1&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;...&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;So it seems reading /proc/self/numa_maps with pread fails for some reason. I can cat /proc/self/numa_maps with no problem, but in this case, strace shows that read() is used, not pread():&lt;/p&gt;

&lt;p&gt;fstat(1, &lt;/p&gt;
{st_mode=S_IFCHR|0620, st_rdev=makedev(136, 2), ...}
&lt;p&gt;) = 0&lt;br/&gt;
open(&quot;/proc/self/numa_maps&quot;, O_RDONLY)  = 3&lt;br/&gt;
fstat(3, &lt;/p&gt;
{st_mode=S_IFREG|0444, st_size=0, ...}
&lt;p&gt;) = 0&lt;br/&gt;
read(3, &quot;00400000 default file=/bin/cat m&quot;..., 4096) = 872&lt;br/&gt;
write(1, &quot;00400000 default file=/bin/cat m&quot;..., 87200400000 default file=/bin/cat mapped=3 N1=3&lt;/p&gt;

&lt;p&gt;Hope this helps.&lt;/p&gt;

&lt;p&gt;--Swen&lt;/p&gt;</description>
                <environment>Red Hat Enterprise Linux Server release 5.6 (Tikanga), Intel Xeon E5540 </environment>
        <key id="17921">SERVER-3196</key>
            <summary>Segmentation Fault at startup on NUMA-Architecture</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="mathias@mongodb.com">Mathias Stearn</assignee>
                                    <reporter username="grmblfrz">Swen Th&#252;mmler</reporter>
                        <labels>
                    </labels>
                <created>Sun, 5 Jun 2011 15:33:39 +0000</created>
                <updated>Tue, 29 May 2012 14:53:26 +0000</updated>
                            <resolved>Tue, 14 Jun 2011 21:32:41 +0000</resolved>
                                    <version>1.8.2</version>
                    <version>1.9.0</version>
                                                                        <votes>0</votes>
                                    <watches>0</watches>
                                                                                                                <comments>
                            <comment id="37554" author="redbeard0531" created="Tue, 14 Jun 2011 21:43:25 +0000"  >&lt;p&gt;Could you attach your /proc/self/numa_maps to &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-3212?&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://jira.mongodb.org/browse/SERVER-3212?&lt;/a&gt; I&apos;d like to see what it choked on&lt;/p&gt;</comment>
                            <comment id="36797" author="eliot" created="Thu, 9 Jun 2011 04:23:24 +0000"  >&lt;p&gt;Can you try the nightly tomorrow&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="17980">SERVER-3212</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>2.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 9 Jun 2011 04:23:24 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        12 years, 36 weeks, 1 day 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>false</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, 36 weeks, 1 day ago
                        </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>mathias@mongodb.com</customfieldvalue>
            <customfieldvalue>grmblfrz</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrij6f:</customfieldvalue>

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

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

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