<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 07:42:44 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>[DOCS-2132] segfault when calling mongo::ScopedDbConnection::getScopedDbConnection</title>
                <link>https://jira.mongodb.org/browse/DOCS-2132</link>
                <project id="10380" key="DOCS">Documentation</project>
                    <description>&lt;p&gt;calling to  mongo::ScopedDbConnection::getScopedDbConnection leads to SIGSEGV signal.&lt;/p&gt;

&lt;p&gt;Example code:&lt;/p&gt;

&lt;p&gt;#include &amp;lt;iostream&amp;gt;&lt;/p&gt;

&lt;p&gt;#include &quot;mongo/client/dbclient.h&quot;&lt;br/&gt;
#include &quot;mongo/client/connpool.h&quot;&lt;/p&gt;

&lt;p&gt;int main()&lt;br/&gt;
{&lt;br/&gt;
    std::string const db = &quot;rs0/127.0.0.1:27017&quot;;&lt;/p&gt;

&lt;p&gt;    try {&lt;br/&gt;
        boost::scoped_ptr&amp;lt;mongo::ScopedDbConnection&amp;gt; conn(&lt;br/&gt;
                    mongo::ScopedDbConnection::getScopedDbConnection(db));&lt;br/&gt;
        if (conn-&amp;gt;get() == nullptr) &lt;/p&gt;
{
            std::cerr &amp;lt;&amp;lt; &quot;Unable to connect to database\n&quot;;
        }
&lt;p&gt; else &lt;/p&gt;
{
            std::cerr &amp;lt;&amp;lt; &quot;Connection established\n&quot;;
        }
&lt;p&gt;    }&lt;br/&gt;
    catch (std::exception const&amp;amp; e) &lt;/p&gt;
{
        std::cerr &amp;lt;&amp;lt; e.what() &amp;lt;&amp;lt; std::endl;
    }
&lt;p&gt;    catch (...) &lt;/p&gt;
{
        std::cerr &amp;lt;&amp;lt; &quot;Unhandled exception&quot; &amp;lt;&amp;lt; std::endl;
    }

&lt;p&gt;    return 0;&lt;br/&gt;
}&lt;/p&gt;

&lt;p&gt;compile in Debug mode with g++ &lt;/p&gt;

&lt;p&gt;&lt;b&gt;Reporter&lt;/b&gt;: ag&lt;br/&gt;
&lt;b&gt;E-mail&lt;/b&gt;: &lt;span class=&quot;nobr&quot;&gt;&lt;a href=&quot;mailto:ag.tsure@gmail.com&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;ag.tsure@gmail.com&lt;sup&gt;&lt;img class=&quot;rendericon&quot; src=&quot;https://jira.mongodb.org/images/icons/mail_small.gif&quot; height=&quot;12&quot; width=&quot;13&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;</description>
                <environment>$ uname -a&lt;br/&gt;
Linux earth 3.2.0-37-generic #58-Ubuntu SMP Thu Jan 24 15:28:10 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux&lt;br/&gt;
&lt;br/&gt;
$ g++ --version&lt;br/&gt;
g++ (Ubuntu/Linaro 4.8.0-3ubuntu3~12.04) 4.8.0&lt;br/&gt;
&lt;br/&gt;
$ mongod --version&lt;br/&gt;
db version v2.4.4&lt;br/&gt;
Tue Oct 22 13:11:36.327 git version: 4ec1fb96702c9d4c57b1e06dd34eb73a16e407d2&lt;br/&gt;
&lt;br/&gt;
mongo-cxx-driver-v2.4&lt;br/&gt;
&lt;br/&gt;
*Location*: &lt;a href=&quot;http://docs.mongodb.org/ecosystem/drivers/downloads/&quot;&gt;http://docs.mongodb.org/ecosystem/drivers/downloads/&lt;/a&gt;&lt;br/&gt;
*User-Agent*: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.17 (KHTML, like Gecko) Chrome/24.0.1312.69 Safari/537.17&lt;br/&gt;
*Referrer*: &lt;a href=&quot;http://www.mongodb.org/get-involved&quot;&gt;http://www.mongodb.org/get-involved&lt;/a&gt;&lt;br/&gt;
*Screen Resolution*: 1920 x 1080&lt;br/&gt;
*repo*: docs-ecosystem&lt;br/&gt;
*source*: drivers/downloads&lt;br/&gt;
</environment>
        <key id="95201">DOCS-2132</key>
            <summary>segfault when calling mongo::ScopedDbConnection::getScopedDbConnection</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</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="5">Cannot Reproduce</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="auto">auto</reporter>
                        <labels>
                            <label>collector-298ba4e7</label>
                    </labels>
                <created>Tue, 22 Oct 2013 09:13:00 +0000</created>
                <updated>Fri, 3 Nov 2017 11:23:17 +0000</updated>
                            <resolved>Wed, 30 Oct 2013 00:54:01 +0000</resolved>
                                                    <fixVersion>01112017-cleanup</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="448602" author="samk" created="Wed, 30 Oct 2013 00:53:52 +0000"  >&lt;p&gt;Sorry, the DOCS project is for documentation related issues. Qustions like this are best addressed to one of the MongoDB support channels channels &amp;lt;&lt;a href=&quot;http://www.mongodb.org/about/support/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://www.mongodb.org/about/support/&lt;/a&gt;&amp;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>1.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 30 Oct 2013 00:53:52 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        10 years, 16 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>jess.mokrzecki@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            10 years, 16 weeks, 1 day ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>auto</customfieldvalue>
            <customfieldvalue>sam.kleinman</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrrlof:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>87181</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_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hry8x3:</customfieldvalue>

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