<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:25:31 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-11333] C++ __declspec( thread ) causes a crash in a managed windows environment</title>
                <link>https://jira.mongodb.org/browse/SERVER-11333</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;The windows C++ driver crashes in the Windows managed environment with replica set connection.&lt;/p&gt;</description>
                <environment></environment>
        <key id="95436">SERVER-11333</key>
            <summary>C++ __declspec( thread ) causes a crash in a managed windows environment</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="charlie.page@10gen.com">Charlie Page</reporter>
                        <labels>
                    </labels>
                <created>Wed, 23 Oct 2013 15:57:45 +0000</created>
                <updated>Mon, 11 Jul 2016 17:38:25 +0000</updated>
                            <resolved>Thu, 24 Oct 2013 16:58:55 +0000</resolved>
                                                    <fixVersion>2.5.4</fixVersion>
                                    <component>Internal Code</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="446726" author="acm" created="Fri, 25 Oct 2013 15:50:02 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=david.x.burt%40barclays.com&quot; class=&quot;user-hover&quot; rel=&quot;david.x.burt@barclays.com&quot;&gt;david.x.burt@barclays.com&lt;/a&gt;: It was mentioned to me that you are currently using 2.5.2, rather than 2.5.3. We think you should stay with 2.5.2 for now, so I&apos;ve re-formulated the patch against 2.5.2, attached above as &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-11333&quot; title=&quot;C++ __declspec( thread ) causes a crash in a managed windows environment&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-11333&quot;&gt;&lt;del&gt;SERVER-11333&lt;/del&gt;&lt;/a&gt;-2.5.2.patch. Sorry for the confusion. &lt;/p&gt;</comment>
                            <comment id="446665" author="acm" created="Fri, 25 Oct 2013 14:25:51 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=david.x.burt%40barclays.com&quot; class=&quot;user-hover&quot; rel=&quot;david.x.burt@barclays.com&quot;&gt;david.x.burt@barclays.com&lt;/a&gt;: The attached patch should apply cleanly with &apos;git apply &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-11333&quot; title=&quot;C++ __declspec( thread ) causes a crash in a managed windows environment&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-11333&quot;&gt;&lt;del&gt;SERVER-11333&lt;/del&gt;&lt;/a&gt;.patch&apos; against the mongodb source tree at tag r2.5.3 or later (up to commit 6332ae3 at minimum). It adds support for the --disable-declspec-thread option described above in this ticket.&lt;/p&gt;

&lt;p&gt;If you could please verify that a driver built with this flag functions correctly within your managed environment it would be much appreciated.&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
Andrew&lt;/p&gt;</comment>
                            <comment id="446152" author="acm" created="Thu, 24 Oct 2013 17:06:55 +0000"  >&lt;p&gt;A new build flag has been added to SCons to address this issue: --disable-declspec-thread. Builds passing this flag will not use __declspec(thread) when building with MSVC. Instead we fall back to whatever implementation boost::thread_specific_ptr uses internally (presumably TlsAlloc, TlsSetValue, etc.). Note that if boost::thread_specific_ptr ever started using __declspec(thread) internally this problem would re-occur.&lt;/p&gt;

&lt;p&gt;Note that this option should never be used to build the server or tools. It is only for building the C++ driver by way of the install-mongoclient target, and it exists only to facilitate using the C++ driver in a managed environment.&lt;/p&gt;</comment>
                            <comment id="446143" author="auto" created="Thu, 24 Oct 2013 16:55:45 +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@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-11333&quot; title=&quot;C++ __declspec( thread ) causes a crash in a managed windows environment&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-11333&quot;&gt;&lt;del&gt;SERVER-11333&lt;/del&gt;&lt;/a&gt; Add build flag to suppress use of __declspec(thread)&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/dd6d28a356d2768ed2b6d0e5bf8a510dfd561bdf&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/dd6d28a356d2768ed2b6d0e5bf8a510dfd561bdf&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="446142" author="auto" created="Thu, 24 Oct 2013 16:55:43 +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@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-11333&quot; title=&quot;C++ __declspec( thread ) causes a crash in a managed windows environment&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-11333&quot;&gt;&lt;del&gt;SERVER-11333&lt;/del&gt;&lt;/a&gt; Use configure time checks and posix feature tests to select TSP implementation&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/5682288d907ae593a4ab12d7cedab90cff2c3c04&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/5682288d907ae593a4ab12d7cedab90cff2c3c04&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                                        </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="32997" name="SERVER-11333-2.5.2.patch" size="4381" author="andrew.morrow@mongodb.com" created="Fri, 25 Oct 2013 15:50:02 +0000"/>
                            <attachment id="32989" name="SERVER-11333.patch" size="4389" author="andrew.morrow@mongodb.com" created="Fri, 25 Oct 2013 14:25:51 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>5.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 23 Oct 2013 16:16:29 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        10 years, 16 weeks, 5 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, 16 weeks, 5 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_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>auto</customfieldvalue>
            <customfieldvalue>charlie.page@10gen.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrm9x3:</customfieldvalue>

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

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

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