<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 05:44:04 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-58274] std::exception::what(): Invalid argument</title>
                <link>https://jira.mongodb.org/browse/SERVER-58274</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Hello Team,&lt;br/&gt;
recently we have faced some issue with one of our mongod instance wherein it got killed abruptly with an error&#160;&lt;b&gt;2021-07-05T11:08:12.757-0500 F - &lt;span class=&quot;error&quot;&gt;&amp;#91;conn4333398&amp;#93;&lt;/span&gt; std::exception::what(): Invalid argument&lt;/b&gt;&lt;br/&gt;
&lt;b&gt;Actual exception type: std::system_error&lt;/b&gt;&lt;br/&gt;
 &lt;b&gt;0x56419b5dc381 0x56419b5dbcc6 0x7fd566ee1ae6 0x7fd566ee1b21 0x7fd566ee1d54 0x7fd566edda23 0x56419b5cf753 0x564199cfc3d4 0x564199cfb11f 0x56419afc74e6 0x56419afcc741 0x564199e841ce 0x564199e868b4 0x564199e8764d 0x564199e75c6c 0x564199e8149c 0x564199e7ebe7 0x564199e80535 0x56419acf49f2 0x564199e7be6d 0x564199e7d57b 0x564199e7e036 0x564199e7ebab 0x564199e80535 0x56419acf4e77 0x56419b35b685 0x56419b35b6e4 0x7fd5666816db 0x7fd5663aa88f&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;not sure on the error part what exactly caused the issue, i have shared the error log for the day wherein the incident took place at&#160;2021-07-05T11:08:12.757-0500&#160; EST&lt;/p&gt;

&lt;p&gt;the below error we got from syslog&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;img src=&quot;https://jira.mongodb.org/secure/attachment/323556/323556_image-2021-07-06-16-43-01-782.png&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/span&gt;&lt;/p&gt;</description>
                <environment></environment>
        <key id="1809153">SERVER-58274</key>
            <summary>std::exception::what(): Invalid argument</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="4">Incomplete</resolution>
                                        <assignee username="dmitry.agranat@mongodb.com">Dmitry Agranat</assignee>
                                    <reporter username="sourabh.ghosh@visiblealpha.com">Sourabh Ghosh</reporter>
                        <labels>
                    </labels>
                <created>Tue, 6 Jul 2021 11:13:18 +0000</created>
                <updated>Wed, 1 Jun 2022 17:25:34 +0000</updated>
                            <resolved>Wed, 21 Jul 2021 08:44:58 +0000</resolved>
                                                                                        <votes>0</votes>
                                    <watches>6</watches>
                                                                                                                <comments>
                            <comment id="3929950" author="dmitry.agranat" created="Tue, 13 Jul 2021 08:22:24 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=sourabh.ghosh%40visiblealpha.com&quot; class=&quot;user-hover&quot; rel=&quot;sourabh.ghosh@visiblealpha.com&quot;&gt;sourabh.ghosh@visiblealpha.com&lt;/a&gt;, based on the backtrace and the symbolized output from the percona binaries, it is not clear what the issue is beyond some relation to a deprecated command. If you are able to reproduce this with MongoDB binaries, we will be happy to take a look.&lt;/p&gt;</comment>
                            <comment id="3924726" author="JIRAUSER1269213" created="Fri, 9 Jul 2021 07:23:05 +0000"  >&lt;p&gt;Hi Dmitry,&lt;/p&gt;

&lt;p&gt;I am replying on behalf of my colleague Sourabh, since we were not sure about the cause of this crash, we will not be able to reproduce the case with MongoDB binaries.&#160;&lt;/p&gt;

&lt;p&gt;To understand what exactly causes this failure, we tried to read backtrace part and found some functions involved. Are these anyway relevant to this failure, let us help to understand please, so we will try to reproduce this case on both the binaries.&lt;/p&gt;

&lt;p&gt;Also I am suspecting does any minor version 4.2.8 and 4.2.12 can be culprit here, any deprecated command or something, as we will not be able to trace any such command.&lt;/p&gt;

&lt;p&gt;we are using this mongosymb.py here:&lt;/p&gt;

&lt;p&gt;python3&#160;&lt;a href=&quot;http://mongosymb.py/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;mongosymb.py&lt;/a&gt;&#160;--symbolizer-path=/usr/bin/llvm-symbolizer-12 /home/aayushi/mongodb-linux-x86_64-ubuntu1804-4.2.8/mongod.debug &amp;lt; stacktrace.json --output-format=json &amp;gt; output&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;nobr&quot;&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/attachment/324286/324286_output&quot; title=&quot;output attached to SERVER-58274&quot;&gt;output&lt;sup&gt;&lt;img class=&quot;rendericon&quot; src=&quot;https://jira.mongodb.org/images/icons/link_attachment_7.gif&quot; height=&quot;7&quot; width=&quot;7&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;

{ &quot;fn&quot;: &quot;mongo::User::hasRole(mongo::RoleName const&amp;amp;) const&quot;, &quot;file&quot;: &quot;/data/mci/820e455d26d8d25467db6a844e898d65/src/src/mongo/db/auth/user.cpp&quot;, &quot;column&quot;: 24, &quot;line&quot;: 85 }
&lt;p&gt; { &quot;fn&quot;: &quot;mongo::RoleGraph::removePrivilegeFromRole(mongo::RoleName const&amp;amp;, mongo::Privilege const&amp;amp;)&quot;, &quot;file&quot;: &quot;/data/mci/820e455d26d8d25467db6a844e898d65/src/src/mongo/db/auth/role_graph.cpp&quot;, &quot;column&quot;: 43, &quot;line&quot;: 323 } { &quot;fn&quot;: &quot;mongo::CmdCreateRole::run(mongo::OperationContext*, std::__cxx11::basic_string&amp;lt;char, std::char_traits&amp;lt;char&amp;gt;, std::allocator&amp;lt;char&amp;gt; &amp;gt; const&amp;amp;, mongo::BSONObj const&amp;amp;, mongo::BSONObjBuilder&amp;amp;)&quot;, &quot;file&quot;: &quot;/data/mci/820e455d26d8d25467db6a844e898d65/src/src/mongo/db/commands/user_management_commands.cpp&quot;, &quot;column&quot;: 19, &quot;line&quot;: 1468 } { &quot;fn&quot;: &quot;AuthzLockGuard&quot;, &quot;file&quot;: &quot;/data/mci/820e455d26d8d25467db6a844e898d65/src/src/mongo/db/commands/user_management_commands.cpp&quot;, &quot;column&quot;: 5, &quot;line&quot;: 587 }&lt;/p&gt;

&lt;p&gt;,&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

{ &quot;fn&quot;: &quot;mongo::CmdDropAllRolesFromDatabase::run(mongo::OperationContext*, std::__cxx11::basic_string&amp;lt;char, std::char_traits&amp;lt;char&amp;gt;, std::allocator&amp;lt;char&amp;gt; &amp;gt; const&amp;amp;, mongo::BSONObj const&amp;amp;, mongo::BSONObjBuilder&amp;amp;)&quot;, &quot;file&quot;: &quot;/data/mci/820e455d26d8d25467db6a844e898d65/src/src/mongo/db/commands/user_management_commands.cpp&quot;, &quot;column&quot;: 19, &quot;line&quot;: 2109 }

&lt;p&gt;&#160;&lt;/p&gt;

{ &quot;fn&quot;: &quot;mongo::CmdDropAllRolesFromDatabase::run(mongo::OperationContext*, std::__cxx11::basic_string&amp;lt;char, std::char_traits&amp;lt;char&amp;gt;, std::allocator&amp;lt;char&amp;gt; &amp;gt; const&amp;amp;, mongo::BSONObj const&amp;amp;, mongo::BSONObjBuilder&amp;amp;)&quot;, &quot;file&quot;: &quot;/data/mci/820e455d26d8d25467db6a844e898d65/src/src/mongo/db/commands/user_management_commands.cpp&quot;, &quot;column&quot;: 13, &quot;line&quot;: 2152 }

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&quot;symbinfo&quot;: [&lt;/p&gt;

{ &quot;fn&quot;: &quot;mongo::(anonymous namespace)::updateRoleDocument(mongo::OperationContext*, mongo::RoleName const&amp;amp;, mongo::BSONObj const&amp;amp;)&quot;, &quot;file&quot;: &quot;/data/mci/820e455d26d8d25467db6a844e898d65/src/src/mongo/db/commands/user_management_commands.cpp&quot;, &quot;column&quot;: 100, &quot;line&quot;: 431 }

&lt;p&gt;&#160;&lt;/p&gt;

{ &quot;fn&quot;: &quot;mongo::CmdUpdateRole::run(mongo::OperationContext*, std::__cxx11::basic_string&amp;lt;char, std::char_traits&amp;lt;char&amp;gt;, std::allocator&amp;lt;char&amp;gt; &amp;gt; const&amp;amp;, mongo::BSONObj const&amp;amp;, mongo::BSONObjBuilder&amp;amp;)&quot;, &quot;file&quot;: &quot;/data/mci/820e455d26d8d25467db6a844e898d65/src/src/mongo/db/commands/user_management_commands.cpp&quot;, &quot;column&quot;: 61, &quot;line&quot;: 1547 }

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&quot;fn&quot;: &quot;mongo::CmdRevokeRolesFromRole::run(mongo::OperationContext*, std::__cxx11::basic_string&amp;lt;char, std::char_traits&amp;lt;char&amp;gt;, std::allocator&amp;lt;char&amp;gt; &amp;gt; const&amp;amp;, mongo::BSONObj const&amp;amp;, mongo::BSONObjBuilder&amp;amp;)&quot;,&lt;br/&gt;
&quot;file&quot;: &quot;/data/mci/820e455d26d8d25467db6a844e898d65/src/src/mongo/db/commands/user_management_commands.cpp&quot;,&lt;br/&gt;
&quot;column&quot;: 50,&lt;br/&gt;
&quot;line&quot;: 1913&lt;br/&gt;
}&lt;/p&gt;

{ &quot;fn&quot;: &quot;mongo::CmdRevokePrivilegesFromRole::run(mongo::OperationContext*, std::__cxx11::basic_string&amp;lt;char, std::char_traits&amp;lt;char&amp;gt;, std::allocator&amp;lt;char&amp;gt; &amp;gt; const&amp;amp;, mongo::BSONObj const&amp;amp;, mongo::BSONObjBuilder&amp;amp;)&quot;, &quot;file&quot;: &quot;/data/mci/820e455d26d8d25467db6a844e898d65/src/src/mongo/db/commands/user_management_commands.cpp&quot;, &quot;column&quot;: 9, &quot;line&quot;: 1751 }

&lt;p&gt;]&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="3922942" author="dmitry.agranat" created="Thu, 8 Jul 2021 14:23:39 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=sourabh.ghosh%40visiblealpha.com&quot; class=&quot;user-hover&quot; rel=&quot;sourabh.ghosh@visiblealpha.com&quot;&gt;sourabh.ghosh@visiblealpha.com&lt;/a&gt;, it is not immediately clear what happened. Do you see the same issue when running with binaries provided by MongoDB?&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="323556" name="image-2021-07-06-16-43-01-782.png" size="40052" author="sourabh.ghosh@visiblealpha.com" created="Tue, 6 Jul 2021 11:13:04 +0000"/>
                            <attachment id="323598" name="mongod.log.bz2" size="27152625" author="sourabh.ghosh@visiblealpha.com" created="Tue, 6 Jul 2021 14:06:14 +0000"/>
                            <attachment id="324286" name="output" size="47424" author="aayushi.mangal3@gmail.com" created="Fri, 9 Jul 2021 07:22:05 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>3.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 8 Jul 2021 14:23:39 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        2 years, 30 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>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>luke.bonanomi@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            2 years, 30 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="10026"><![CDATA[ALL]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>aayushi.mangal3@gmail.com</customfieldvalue>
            <customfieldvalue>dmitry.agranat@mongodb.com</customfieldvalue>
            <customfieldvalue>sourabh.ghosh@visiblealpha.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hzqm7b:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</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>
                                    <customfieldvalue><![CDATA[dmitry.agranat@mongodb.com]]></customfieldvalue>
    

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hzq8gf:</customfieldvalue>

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