<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 02:54: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-414] Memory corruption on initial pre-allocation</title>
                <link>https://jira.mongodb.org/browse/SERVER-414</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Using MongoDB 1.1.3 static build for x86_64&lt;/p&gt;

&lt;p&gt;During pre-allocation of data on initial startup I hit ctrl-c.  I may have hit ctrl-c more then once, but I&apos;m unable to replicate this error.  The fact that it happened, bothers me.&lt;/p&gt;


&lt;ol&gt;
	&lt;li&gt;./mongod --master --dbpath /mnt/mdata --oplogSize 10240&lt;br/&gt;
Thu Nov 12 00:20:05 Mongo DB : starting : pid = 26118 port = 27017 dbpath = /mnt/mdata master = 1 slave = 0  64-bit&lt;br/&gt;
Thu Nov 12 00:20:05 db version v1.1.3, pdfile version 4.5&lt;br/&gt;
Thu Nov 12 00:20:05 git version: aa8b12e13fbbdfb293d94786dcc0df589cabef99&lt;br/&gt;
Thu Nov 12 00:20:05 sys info: Linux ofc-n1.10gen.com 2.6.23.17-88.fc7 #1 SMP Thu May 15 00:02:29 EDT 2008 x86_64&lt;br/&gt;
Thu Nov 12 00:20:05 waiting for connections on port 27017&lt;br/&gt;
Thu Nov 12 00:20:05 ******&lt;br/&gt;
Thu Nov 12 00:20:05 creating replication oplog of size: 10240MB (use --oplogSize to change)&lt;br/&gt;
Thu Nov 12 00:20:05 ******&lt;br/&gt;
Thu Nov 12 00:20:05 allocating new datafile /mnt/mdata/local.ns, filling with zeroes...&lt;br/&gt;
Thu Nov 12 00:20:05 done allocating datafile /mnt/mdata/local.ns, size: 16MB, took 0.041 secs&lt;br/&gt;
Thu Nov 12 00:20:05 allocating new datafile /mnt/mdata/local.0, filling with zeroes...&lt;br/&gt;
Thu Nov 12 00:20:06 done allocating datafile /mnt/mdata/local.0, size: 64MB, took 0.106 secs&lt;br/&gt;
Thu Nov 12 00:20:06 allocating new datafile /mnt/mdata/local.1, filling with zeroes...&lt;br/&gt;
Thu Nov 12 00:20:09 done allocating datafile /mnt/mdata/local.1, size: 2047MB, took 3.608 secs&lt;br/&gt;
Thu Nov 12 00:20:09 allocating new datafile /mnt/mdata/local.2, filling with zeroes...&lt;br/&gt;
Thu Nov 12 00:20:26 done allocating datafile /mnt/mdata/local.2, size: 2047MB, took 16.412 secs&lt;br/&gt;
Thu Nov 12 00:20:26 allocating new datafile /mnt/mdata/local.3, filling with zeroes...&lt;br/&gt;
Thu Nov 12 00:21:02 done allocating datafile /mnt/mdata/local.3, size: 2047MB, took 36.285 secs&lt;br/&gt;
Thu Nov 12 00:21:02 allocating new datafile /mnt/mdata/local.4, filling with zeroes...&lt;br/&gt;
Thu Nov 12 00:21:35 done allocating datafile /mnt/mdata/local.4, size: 2047MB, took 33.08 secs&lt;br/&gt;
Thu Nov 12 00:21:35 allocating new datafile /mnt/mdata/local.5, filling with zeroes...&lt;br/&gt;
Thu Nov 12 00:21:38 got kill or ctrl c signal 2 (Interrupt), will terminate after current cmd ends&lt;br/&gt;
Thu Nov 12 00:21:59 done allocating datafile /mnt/mdata/local.5, size: 2047MB, took 23.977 secs&lt;br/&gt;
Thu Nov 12 00:21:59 now exiting&lt;br/&gt;
Thu Nov 12 00:21:59  dbexit:&lt;br/&gt;
Thu Nov 12 00:21:59 Assertion: shutdown in progress&lt;br/&gt;
Thu Nov 12 00:21:59  local.oplog.$main exception in initAndListen std::exception: shutdown in progress, terminating&lt;br/&gt;
Thu Nov 12 00:21:59      shutdown: going to flush oplog...&lt;br/&gt;
Thu Nov 12 00:21:59      shutdown: going to close sockets...&lt;br/&gt;
Thu Nov 12 00:21:59      shutdown: waiting for fs...&lt;br/&gt;
Thu Nov 12 00:21:59      shutdown: closing all files...&lt;br/&gt;
Thu Nov 12 00:21:59  dbexit: ; exiting immediately&lt;br/&gt;
Thu Nov 12 00:21:59      closeAllFiles() finished&lt;br/&gt;
Thu Nov 12 00:21:59      shutdown: removing fs lock...&lt;br/&gt;
ERROR: Client::shutdown not called!&lt;br/&gt;
Thu Nov 12 00:21:59  dbexit: really exiting now
	&lt;ul&gt;
		&lt;li&gt;
		&lt;ul&gt;
			&lt;li&gt;glibc detected *** ./mongod: double free or corruption (!prev): 0x0000000000b00640 ***&lt;br/&gt;
======= Backtrace: =========&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;0x767b82&amp;#93;&lt;/span&gt;&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;0x76c3c7&amp;#93;&lt;/span&gt;&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;0x5f1a2e&amp;#93;&lt;/span&gt;&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;0x751d39&amp;#93;&lt;/span&gt;&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;0x51e95c&amp;#93;&lt;/span&gt;&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;0x578ea1&amp;#93;&lt;/span&gt;&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;0x57f66e&amp;#93;&lt;/span&gt;&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;0x7495c0&amp;#93;&lt;/span&gt;&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;0x4001b9&amp;#93;&lt;/span&gt;&lt;br/&gt;
======= Memory map: ========&lt;br/&gt;
00400000-008d0000 r-xp 00000000 08:10 9994248                            /mnt/mongodb-linux-x86_64-static-1.1.3/bin/mongod&lt;br/&gt;
00acf000-00ae3000 rw-p 004cf000 08:10 9994248                            /mnt/mongodb-linux-x86_64-static-1.1.3/bin/mongod&lt;br/&gt;
00ae3000-00b54000 rw-p 00ae3000 00:00 0                                  &lt;span class=&quot;error&quot;&gt;&amp;#91;heap&amp;#93;&lt;/span&gt;&lt;br/&gt;
40000000-40001000 ---p 40000000 00:00 0&lt;br/&gt;
40001000-40a01000 rw-p 40001000 00:00 0&lt;br/&gt;
40a01000-40a02000 ---p 40a01000 00:00 0&lt;br/&gt;
40a02000-41402000 rw-p 40a02000 00:00 0&lt;br/&gt;
41402000-41403000 ---p 41402000 00:00 0&lt;br/&gt;
41403000-41e03000 rw-p 41403000 00:00 0&lt;br/&gt;
2aaaaaaab000-2aaaaaaac000 rw-p 2aaaaaaab000 00:00 0&lt;br/&gt;
7fffb615c000-7fffb6172000 rw-p 7fffb615c000 00:00 0                      &lt;span class=&quot;error&quot;&gt;&amp;#91;stack&amp;#93;&lt;/span&gt;&lt;br/&gt;
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  &lt;span class=&quot;error&quot;&gt;&amp;#91;vdso&amp;#93;&lt;/span&gt;&lt;br/&gt;
Thu Nov 12 00:22:00  Got signal: 6 (Aborted).&lt;br/&gt;
Thu Nov 12 00:22:00  Backtrace:&lt;br/&gt;
0x575369 0x588ae0 0x588aad 0x751540 0x760fbb 0x767b82 0x76c3c7 0x5f1a2e 0x751d39 0x51e95c 0x578ea1 0x57f66e 0x7495c0 0x4001b9&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;0x575369&amp;#93;&lt;/span&gt;&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;0x588ae0&amp;#93;&lt;/span&gt;&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;0x588aad&amp;#93;&lt;/span&gt;&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;0x751540&amp;#93;&lt;/span&gt;&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;0x760fbb&amp;#93;&lt;/span&gt;&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;0x767b82&amp;#93;&lt;/span&gt;&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;0x76c3c7&amp;#93;&lt;/span&gt;&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;0x5f1a2e&amp;#93;&lt;/span&gt;&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;0x751d39&amp;#93;&lt;/span&gt;&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;0x51e95c&amp;#93;&lt;/span&gt;&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;0x578ea1&amp;#93;&lt;/span&gt;&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;0x57f66e&amp;#93;&lt;/span&gt;&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;0x7495c0&amp;#93;&lt;/span&gt;&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;0x4001b9&amp;#93;&lt;/span&gt;&lt;/li&gt;
		&lt;/ul&gt;
		&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/li&gt;
&lt;/ol&gt;




&lt;p&gt;At this point I had to CTRL-Z and kill -9 the process.&lt;br/&gt;
dmesg showed no memory errors.&lt;/p&gt;</description>
                <environment>Linux Centos 5.2, on AWS m1.large instance.  Rightscale kernel: Linux ip-10-212-139-127 2.6.21.7-2.fc8xen #1 SMP Fri Feb 15 12:34:28 EST 2008 x86_64 x86_64 x86_64 GNU/Linux</environment>
        <key id="10853">SERVER-414</key>
            <summary>Memory corruption on initial pre-allocation</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="5" iconUrl="https://jira.mongodb.org/images/icons/priorities/trivial.svg">Trivial - P5</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="5">Cannot Reproduce</resolution>
                                        <assignee username="eliot">Eliot Horowitz</assignee>
                                    <reporter username="azilber">Alexey Zilber</reporter>
                        <labels>
                    </labels>
                <created>Thu, 12 Nov 2009 01:55:17 +0000</created>
                <updated>Mon, 12 Jul 2010 23:24:39 +0000</updated>
                            <resolved>Mon, 12 Jul 2010 23:24:39 +0000</resolved>
                                    <version>1.1.3</version>
                                                    <component>Stability</component>
                                        <votes>0</votes>
                                    <watches>0</watches>
                                                                                                                <comments>
                            <comment id="11806" author="eliot" created="Sat, 16 Jan 2010 10:33:10 +0000"  >&lt;p&gt;There was some stuff added to make a little nicer - and I still can&apos;t reproduce.&lt;br/&gt;
Pushing once more then will close.&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>1.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Sat, 16 Jan 2010 10:33:10 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        14 years, 5 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>
                            14 years, 5 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_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>azilber</customfieldvalue>
            <customfieldvalue>eliot</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrpuqf:</customfieldvalue>

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

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

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