<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:41: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-16427] replsets_prefetch_stress.js failed under ASAN slow2_WT test</title>
                <link>https://jira.mongodb.org/browse/SERVER-16427</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;This is a novel failure after migrating the ASAN build to the mongodb-master project.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://mci.10gen.com/task/mongodb_mongo_master_ubuntu1404_debug_asan_e66eecff9487add89506add70a6bb6a23735763f_14_12_04_07_32_07_slow2_WT_ubuntu1404_debug_asan&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://mci.10gen.com/task/mongodb_mongo_master_ubuntu1404_debug_asan_e66eecff9487add89506add70a6bb6a23735763f_14_12_04_07_32_07_slow2_WT_ubuntu1404_debug_asan&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://buildlogs.mongodb.org/MCI_ubuntu1404-debug-asan/builds/392473/test/slow2_WT_0/replsets_prefetch_stress.js&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://buildlogs.mongodb.org/MCI_ubuntu1404-debug-asan/builds/392473/test/slow2_WT_0/replsets_prefetch_stress.js&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Interestingly, both secondaries died with the same error (Ctrl-F Address).&lt;/p&gt;</description>
                <environment></environment>
        <key id="172867">SERVER-16427</key>
            <summary>replsets_prefetch_stress.js failed under ASAN slow2_WT test</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="andrew.morrow@mongodb.com">Andrew Morrow</assignee>
                                    <reporter username="andrew.morrow@mongodb.com">Andrew Morrow</reporter>
                        <labels>
                            <label>address-sanitizer</label>
                    </labels>
                <created>Fri, 5 Dec 2014 01:22:48 +0000</created>
                <updated>Mon, 11 Jul 2016 17:18:54 +0000</updated>
                            <resolved>Sun, 7 Dec 2014 14:55:34 +0000</resolved>
                                                    <fixVersion>2.8.0-rc3</fixVersion>
                                    <component>Replication</component>
                                        <votes>0</votes>
                                    <watches>6</watches>
                                                                                                                <comments>
                            <comment id="780282" author="xgen-internal-githook" created="Sun, 7 Dec 2014 14:54:06 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;acmorrow&apos;, u&apos;name&apos;: u&apos;Andrew Morrow&apos;, u&apos;email&apos;: u&apos;acm@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-16427&quot; title=&quot;replsets_prefetch_stress.js failed under ASAN slow2_WT test&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-16427&quot;&gt;&lt;del&gt;SERVER-16427&lt;/del&gt;&lt;/a&gt; Return a correct empty StringData for fieldNameStringData on EOO&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/a6788ec72a9dabb38bd92a8ab653e32034e9e02e&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/a6788ec72a9dabb38bd92a8ab653e32034e9e02e&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="779674" author="acm" created="Fri, 5 Dec 2014 18:06:15 +0000"  >&lt;p&gt;And, finally, the best answer is to make BSONElement&apos;s default constructor set a sane fieldNameSize_.&lt;/p&gt;</comment>
                            <comment id="779643" author="acm" created="Fri, 5 Dec 2014 17:47:14 +0000"  >&lt;p&gt;After some discussion, a better fix is to make BSONElement::fieldNameStringData return a correct empty StringData so that it has the same semantics as BSONElement::fieldName() for EOO elements.&lt;/p&gt;</comment>
                            <comment id="779611" author="acm" created="Fri, 5 Dec 2014 17:03:38 +0000"  >&lt;p&gt;This behavior is now understood.&lt;/p&gt;

&lt;p&gt;The following code may call BSONElement::fieldNameStringData on an EOO BSONElement: &lt;a href=&quot;https://github.com/mongodb/mongo/blob/19ad2749f3cba8c074f50b29400af897eb4df3ab/src/mongo/db/repl/sync_tail.cpp#L110&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/blob/19ad2749f3cba8c074f50b29400af897eb4df3ab/src/mongo/db/repl/sync_tail.cpp#L110&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This could happen in a doc-level locking build if no _id element was detected here: &lt;a href=&quot;https://github.com/mongodb/mongo/blob/19ad2749f3cba8c074f50b29400af897eb4df3ab/src/mongo/db/repl/sync_tail.cpp#L396-L407&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/blob/19ad2749f3cba8c074f50b29400af897eb4df3ab/src/mongo/db/repl/sync_tail.cpp#L396-L407&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;We didn&apos;t notice this before we switched from lazy to eager StringData because with a lazy StringData, the call to BSONElement::fieldNameStringData on an EOO BSONElement would cause the StringData constructor to be invoked with (&amp;amp;&quot;&quot;, -1). It just so happens that that -1 aliases std::string::npos, meaning that in the era of lazy StringData, we wouldn&apos;t notice the confusion because even though we called the StringData constructor specifying a length, the internal state of StringData would appear to be that generated by calling StringData(const char*)  (i.e. the non-length specifying constructor), so when the length of the StringData was later requested, we would invoke strlen(&quot;&quot;) and the -1 would become 0.&lt;/p&gt;

&lt;p&gt;With eager StringData length calculations, the call to StringData(&amp;amp;&quot;&quot;, -1) produces an entry which refers into the constant table, but with a huge positive length.&lt;/p&gt;

&lt;p&gt;The fix is to not attempt to hash the field name of an EOO element in the hashBSONElement function in db/repl/sync_tail.cpp.&lt;/p&gt;
</comment>
                            <comment id="779426" author="acm" created="Fri, 5 Dec 2014 13:59:50 +0000"  >&lt;p&gt;We did change StringData recently.&lt;/p&gt;</comment>
                            <comment id="779421" author="milkie" created="Fri, 5 Dec 2014 13:40:05 +0000"  >&lt;p&gt;Looking through the murmurhash function, it seems like we are attempting to hash a StringData whose length value is greater than the actual underlying buffer size, and that particular length % 16 is 15.  Or else the StringData refers to freed memory, but this seems unlikely given that points into the global string literal data segment.  I&apos;m not sure how that could happen or why this has started to occur only recently.&lt;/p&gt;</comment>
                            <comment id="779415" author="acm" created="Fri, 5 Dec 2014 13:22:13 +0000"  >&lt;p&gt;New instance of this alert in gle_auth_write_cmd_WT:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://mci.10gen.com/task/mongodb_mongo_master_ubuntu1404_debug_asan_e66eecff9487add89506add70a6bb6a23735763f_14_12_04_07_32_07_gle_auth_write_cmd_WT_ubuntu1404_debug_asan&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://mci.10gen.com/task/mongodb_mongo_master_ubuntu1404_debug_asan_e66eecff9487add89506add70a6bb6a23735763f_14_12_04_07_32_07_gle_auth_write_cmd_WT_ubuntu1404_debug_asan&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://buildlogs.mongodb.org/MCI_ubuntu1404-debug-asan/builds/397672/test/gle_auth_write_cmd_WT_0/gle_sharded_wc.js&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://buildlogs.mongodb.org/MCI_ubuntu1404-debug-asan/builds/397672/test/gle_auth_write_cmd_WT_0/gle_sharded_wc.js&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>7.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Fri, 5 Dec 2014 13:40:05 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        9 years, 10 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>
                            9 years, 10 weeks, 3 days ago
                        </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>andrew.morrow@mongodb.com</customfieldvalue>
            <customfieldvalue>milkie@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrlhc7:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>151363</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;Waiting to see. Will probably re-launch this task once other MCI ASAN tasks have completed.&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|hsgf3j:</customfieldvalue>

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