<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:24:24 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-10919] logging in ~ReplicaSetMonitor() crashes</title>
                <link>https://jira.mongodb.org/browse/SERVER-10919</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;A server application with integrated MongoDB C++ Driver 2.4.6 crashes on shutdown.&lt;/p&gt;

&lt;p&gt;The crash might be related to src/mongo/client/dbclient_rs.cpp:408.&lt;/p&gt;

&lt;p&gt;We see: &quot;Logstream::get called in uninitialized state&quot;. Calling &quot;mongo::initLogging()&quot; previously did not help and is also not an option because it seems to totally hijack stdout and stderr. We could not see this problem with 2.4.5.&lt;/p&gt;

&lt;p&gt;Stacktrace:&lt;/p&gt;

&lt;p&gt;#0  0x00007fe92870b88d in __libc_waitpid (pid=&amp;lt;optimized out&amp;gt;, stat_loc=&amp;lt;optimized out&amp;gt;, options=&amp;lt;optimized out&amp;gt;) at ../sysdeps/unix/sysv/linux/waitpid.c:41&lt;br/&gt;
#1  0x0000000001abd65c in print_gdb_stack_trace_and_die () at .../stacktrace.cpp:32&lt;br/&gt;
#2  0x0000000001abd67e in stack_trace_signal_handler (sig=&amp;lt;optimized out&amp;gt;) at .../stacktrace.cpp:51&lt;br/&gt;
#3  &amp;lt;signal handler called&amp;gt;&lt;br/&gt;
#4  0x00007fe9263f8425 in __GI_raise (sig=&amp;lt;optimized out&amp;gt;) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64&lt;br/&gt;
#5  0x00007fe9263fbb8b in __GI_abort () at abort.c:91&lt;br/&gt;
#6  0x00007fe9263f10ee in __assert_fail_base (fmt=&amp;lt;optimized out&amp;gt;, assertion=0x1f81105 &quot;!pthread_mutex_lock(&amp;amp;m)&quot;, file=0x1f69510 &quot;.../include/boost-1.48.0/boost/thread/pthread/mutex.hpp&quot;, line=&amp;lt;optimized out&amp;gt;, function=&amp;lt;optimized out&amp;gt;) at assert.c:94&lt;br/&gt;
#7  0x00007fe9263f1192 in _&lt;em&gt;GI&lt;/em&gt;__assert_fail (assertion=0x1f81105 &quot;!pthread_mutex_lock(&amp;amp;m)&quot;, file=0x1f69510 &quot;.../include/boost-1.48.0/boost/thread/pthread/mutex.hpp&quot;, line=137, function=0x1f89f20 &quot;void boost::timed_mutex::lock()&quot;) at assert.c:103&lt;br/&gt;
#8  0x0000000001b664e7 in mongo::Logstream::flush(mongo::Tee*) ()&lt;br/&gt;
#9  0x0000000001b66a8e in mongo::Logstream::operator&amp;lt;&amp;lt;(std::ostream&amp;amp; &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.mongodb.org/images/icons/emoticons/star_yellow.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;(std::ostream&amp;amp;)) ()&lt;br/&gt;
#10 0x0000000001b2e6ff in mongo::ReplicaSetMonitor::~ReplicaSetMonitor() ()&lt;br/&gt;
#11 0x0000000001b3ca92 in boost::detail::sp_counted_impl_p&amp;lt;mongo::ReplicaSetMonitor&amp;gt;::dispose() ()&lt;br/&gt;
#12 0x0000000001b3b27c in std::_Rb_tree&amp;lt;std::string, std::pair&amp;lt;std::string const, boost::shared_ptr&amp;lt;mongo::ReplicaSetMonitor&amp;gt; &amp;gt;, std::_Select1st&amp;lt;std::pair&amp;lt;std::string const, boost::shared_ptr&amp;lt;mongo::ReplicaSetMonitor&amp;gt; &amp;gt; &amp;gt;, std::less&amp;lt;std::string&amp;gt;, std::allocator&amp;lt;std::pair&amp;lt;std::string const, boost::shared_ptr&amp;lt;mongo::ReplicaSetMonitor&amp;gt; &amp;gt; &amp;gt; &amp;gt;::_M_erase(std::_Rb_tree_node&amp;lt;std::pair&amp;lt;std::string const, boost::shared_ptr&amp;lt;mongo::ReplicaSetMonitor&amp;gt; &amp;gt; &amp;gt;*) ()&lt;br/&gt;
#13 0x00007fe9263fd901 in __run_exit_handlers (status=1, listp=0x7fe92677a688, run_list_atexit=true) at exit.c:78&lt;br/&gt;
#14 0x00007fe9263fd985 in __GI_exit (status=&amp;lt;optimized out&amp;gt;) at exit.c:100&lt;br/&gt;
#15 0x00007fe9263e3774 in __libc_start_main (main=0xf73db0 &amp;lt;main&amp;gt;, argc=3, ubp_av=0x7fff57ea54b8, init=&amp;lt;optimized out&amp;gt;, fini=&amp;lt;optimized out&amp;gt;, rtld_fini=&amp;lt;optimized out&amp;gt;, stack_end=0x7fff57ea54a8) at libc-start.c:258&lt;br/&gt;
#16 0x0000000000f7a581 in _start ()&lt;/p&gt;</description>
                <environment>Linux</environment>
        <key id="91624">SERVER-10919</key>
            <summary>logging in ~ReplicaSetMonitor() crashes</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="randolph@mongodb.com">Randolph Tan</assignee>
                                    <reporter username="ingo.schramm">Ingo Schramm</reporter>
                        <labels>
                            <label>replicaset</label>
                    </labels>
                <created>Thu, 26 Sep 2013 13:03:03 +0000</created>
                <updated>Mon, 11 Jul 2016 17:39:22 +0000</updated>
                            <resolved>Tue, 1 Oct 2013 21:13:31 +0000</resolved>
                                    <version>2.4.6</version>
                                    <fixVersion>2.4.9</fixVersion>
                    <fixVersion>2.5.3</fixVersion>
                                    <component>Internal Client</component>
                                        <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="473514" author="xgen-internal-githook" created="Fri, 20 Dec 2013 01:39:28 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;renctan&apos;, u&apos;name&apos;: u&apos;Randolph Tan&apos;, u&apos;email&apos;: u&apos;randolph@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-10919&quot; title=&quot;logging in ~ReplicaSetMonitor() crashes&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-10919&quot;&gt;&lt;del&gt;SERVER-10919&lt;/del&gt;&lt;/a&gt; logging in ~ReplicaSetsMonitor crashes&lt;br/&gt;
Branch: v2.4&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/37f8eaa898b521863547f46560c6ff4e9029656e&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/37f8eaa898b521863547f46560c6ff4e9029656e&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="434226" author="auto" created="Tue, 1 Oct 2013 21:08:57 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;renctan&apos;, u&apos;name&apos;: u&apos;Randolph Tan&apos;, u&apos;email&apos;: u&apos;randolph@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-10919&quot; title=&quot;logging in ~ReplicaSetMonitor() crashes&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-10919&quot;&gt;&lt;del&gt;SERVER-10919&lt;/del&gt;&lt;/a&gt; logging in ~ReplicaSetsMonitor crashes&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/393194020e81707824b90622cf365333944133ef&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/393194020e81707824b90622cf365333944133ef&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="433071" author="ingo.schramm" created="Mon, 30 Sep 2013 13:31:48 +0000"  >&lt;p&gt;I could fix the problem by commenting src/mongo/client/dbclient_rs.cpp:408 and recompiling the driver.&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>3.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10011" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Backwards Compatibility</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10038"><![CDATA[Fully Compatible]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Sun, 29 Sep 2013 21:32:19 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        10 years, 8 weeks, 6 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, 8 weeks, 6 days 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>auto</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>ingo.schramm</customfieldvalue>
            <customfieldvalue>randolph@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrmexr:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>83829</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;probably like this:&lt;/p&gt;

&lt;p&gt;use mongo::ScopedDbConnection and shutdown aplication&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|hspafz:</customfieldvalue>

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