<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:10:38 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>[CDRIVER-789] segfault in test_rs_seeds_connect</title>
                <link>https://jira.mongodb.org/browse/CDRIVER-789</link>
                <project id="10030" key="CDRIVER">C Driver</project>
                    <description>&lt;p&gt;test_rs_seeds_connect/reconnect and test_mongos_seeds_connect/reconnect, single and pooled versions, all crash with a backtrace like:&lt;/p&gt;
&lt;p/&gt;
&lt;div id=&quot;syntaxplugin&quot; class=&quot;syntaxplugin&quot; style=&quot;border: 1px dashed #bbb; border-radius: 5px !important; overflow: auto; max-height: 30em;&quot;&gt;
&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; width=&quot;100%&quot; style=&quot;font-size: 1em; line-height: 1.4em !important; font-weight: normal; font-style: normal; color: black;&quot;&gt;
		&lt;tbody &gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;  margin-top: 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;#1  mongoc_stream_failed (stream=0x100210082) at mongo-c-driver/src/mongoc/mongoc-stream.c:83&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;#2  mongoc_topology_scanner_ismaster_handler (async_status=MONGOC_ASYNC_CMD_ERROR, ismaster_response=0x0, rtt_msec=1137, data=0x100703fb0, error=0x100800c38) at mongo-c-driver/src/mongoc/mongoc-topology-scanner.c:193&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;#3  mongoc_async_cmd_run (acmd=0x100800c00) at mongo-c-driver/src/mongoc/mongoc-async-cmd.c:113&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;#4  mongoc_async_run (async=0x100702740, timeout_msec=29999) at mongo-c-driver/src/mongoc/mongoc-async.c:142&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;#5  mongoc_topology_scanner_work (ts=0x100703b90, timeout_msec=30000) at mongo-c-driver/src/mongoc/mongoc-topology-scanner.c:452&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;#6  _mongoc_topology_run_scanner (topology=0x100702c20, work_msec=30000) at mongo-c-driver/src/mongoc/mongoc-topology.c:323&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;#7  _mongoc_topology_do_blocking_scan (topology=0x100702c20) at mongo-c-driver/src/mongoc/mongoc-topology.c:349&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;#8  mongoc_topology_select (topology=0x100702c20, optype=MONGOC_SS_READ, read_prefs=0x1007069d0, local_threshold_ms=15, error=0x102808230) at mongo-c-driver/src/mongoc/mongoc-topology.c:397&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;#9  _mongoc_cluster_select_by_optype (cluster=0x1007047e8, optype=MONGOC_SS_READ, read_prefs=0x1007069d0, error=0x102808230) at mongo-c-driver/src/mongoc/mongoc-cluster.c:1454&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;#10 mongoc_cluster_select (cluster=0x1007047e8, rpcs=0x7fff5fbfe540, rpcs_len=1, read_prefs=0x1007069d0, error=0x102808230) at mongo-c-driver/src/mongoc/mongoc-cluster.c:1623&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;#11 mongoc_cluster_sendv (cluster=0x1007047e8, rpcs=0x7fff5fbfe540, rpcs_len=1, write_concern=0x1007056d0, read_prefs=0x1007069d0, error=0x102808230) at mongo-c-driver/src/mongoc/mongoc-cluster.c:2309&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;#12 _mongoc_client_sendv (client=0x1007047d0, rpcs=0x7fff5fbfe540, rpcs_len=1, server_id=0, write_concern=0x0, read_prefs=0x1007069d0, error=0x102808230) at mongo-c-driver/src/mongoc/mongoc-client.c:448&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;#13 _mongoc_cursor_query (cursor=0x102808000) at mongo-c-driver/src/mongoc/mongoc-cursor.c:500&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;#14 _mongoc_cursor_next (cursor=0x102808000, bson=0x7fff5fbfe658) at mongo-c-driver/src/mongoc/mongoc-cursor.c:819&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;#15 mongoc_cursor_next (cursor=0x102808000, bson=0x7fff5fbfe658) at mongo-c-driver/src/mongoc/mongoc-cursor.c:747&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;#16 _mongoc_client_command_simple_with_hint (client=0x1007047d0, db_name=0x10009754f &quot;test&quot;, command=0x100706950, read_prefs=0x100706850, reply=0x7fff5fbfeb00, hint=0, error=0x7fff5fbfe900) at mongo-c-driver/src/mongoc/mongoc-client.c:1257&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;#17 mongoc_client_command_simple (client=0x1007047d0, db_name=0x10009754f &quot;test&quot;, command=0x100706950, read_prefs=0x100706850, reply=0x7fff5fbfeb00, error=0x7fff5fbfe900) at mongo-c-driver/src/mongoc/mongoc-client.c:1231&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;#18 test_seed_list (rs=true, connection_option=CONNECT, pooled=false) at mongo-c-driver/tests/test-mongoc-client.c:639&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;#19 test_rs_seeds_connect_single () at mongo-c-driver/tests/test-mongoc-client.c:725&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;#20 TestSuite_AddHelper (cb_=0x10001d070 &amp;lt;test_rs_seeds_connect_single&amp;gt;) at mongo-c-driver/tests/TestSuite.c:301&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;#21 TestSuite_RunTest (suite=0x7fff5fbff530, test=0x1005065d0, mutex=0x7fff5fbff4a8, count=0x7fff5fbff404) at mongo-c-driver/tests/TestSuite.c:429&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;#22 TestSuite_RunNamed (suite=0x7fff5fbff530, testname=0x100505770 &quot;/Client/*&quot;) at mongo-c-driver/tests/TestSuite.c:741&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;#23 TestSuite_Run (suite=0x7fff5fbff530) at mongo-c-driver/tests/TestSuite.c:769&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   margin-bottom: 10px;  width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;#24 main (argc=5, argv=0x7fff5fbff590) at mongo-c-driver/tests/test-libmongoc.c:931&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;
&lt;p&gt;When the server hangs up on an ismaster call, it seems that mongoc_stream_failed is called with a stream that&apos;s uninitialized or already destroyed.&lt;/p&gt;</description>
                <environment></environment>
        <key id="224928">CDRIVER-789</key>
            <summary>segfault in test_rs_seeds_connect</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="2" iconUrl="https://jira.mongodb.org/images/icons/priorities/critical.svg">Critical - P2</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="jesse@mongodb.com">A. Jesse Jiryu Davis</assignee>
                                    <reporter username="jesse@mongodb.com">A. Jesse Jiryu Davis</reporter>
                        <labels>
                    </labels>
                <created>Mon, 10 Aug 2015 19:22:15 +0000</created>
                <updated>Wed, 19 Oct 2016 14:15:12 +0000</updated>
                            <resolved>Tue, 1 Sep 2015 21:19:58 +0000</resolved>
                                    <version>1.2-beta0</version>
                                    <fixVersion>1.2-beta1</fixVersion>
                                    <component>libmongoc</component>
                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="1131721" author="xgen-internal-githook" created="Mon, 11 Jan 2016 22:05:18 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;ajdavis&apos;, u&apos;name&apos;: u&apos;A. Jesse Jiryu Davis&apos;, u&apos;email&apos;: u&apos;jesse@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-789&quot; title=&quot;segfault in test_rs_seeds_connect&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-789&quot;&gt;&lt;del&gt;CDRIVER-789&lt;/del&gt;&lt;/a&gt; remove topology scanner&apos;s &quot;seen&quot; list&lt;br/&gt;
Branch: 1.3.0-dev&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/3c3019bef2a7fe062094cbe814a2c90945cd0f8f&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/3c3019bef2a7fe062094cbe814a2c90945cd0f8f&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1131720" author="xgen-internal-githook" created="Mon, 11 Jan 2016 22:05:17 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;ajdavis&apos;, u&apos;name&apos;: u&apos;A. Jesse Jiryu Davis&apos;, u&apos;email&apos;: u&apos;jesse@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-789&quot; title=&quot;segfault in test_rs_seeds_connect&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-789&quot;&gt;&lt;del&gt;CDRIVER-789&lt;/del&gt;&lt;/a&gt; crash on network err from removed node&lt;/p&gt;

&lt;p&gt;If the scanner knows about A, a primary, and B, a secondary:&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;B is removed from the replica set and shut down&lt;/li&gt;
	&lt;li&gt;The scanner begins, launching async commands to check A and B&lt;/li&gt;
	&lt;li&gt;A responds first and tells the scanner to remove B&lt;/li&gt;
	&lt;li&gt;mongoc_topology_reconcile removes B&apos;s mongoc_topology_scanner_node_t and&lt;br/&gt;
  destroys it, stream and all&lt;/li&gt;
	&lt;li&gt;But the mongoc_async_cmd_t for B is still active in the scanner, with the&lt;br/&gt;
  same stream.&lt;/li&gt;
	&lt;li&gt;B&apos;s mongoc_async_cmd_t fails with a network error, and passes the error into&lt;br/&gt;
  the command callback.&lt;/li&gt;
	&lt;li&gt;The command callback sees the error and destroys the same stream &lt;b&gt;again&lt;/b&gt;,&lt;br/&gt;
  crashing.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;The solution is to not destroy removed nodes in mongoc_topology_reconcile, but&lt;br/&gt;
close their streams, and mark them &quot;retired&quot; for the remainder of the&lt;br/&gt;
scan. At the end of the scan destroy retired nodes.&lt;br/&gt;
Branch: 1.3.0-dev&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/9b294e0fa2496c3c6c59552bf4601dbd0581a549&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/9b294e0fa2496c3c6c59552bf4601dbd0581a549&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1131719" author="xgen-internal-githook" created="Mon, 11 Jan 2016 22:05:16 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;ajdavis&apos;, u&apos;name&apos;: u&apos;A. Jesse Jiryu Davis&apos;, u&apos;email&apos;: u&apos;jesse@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-789&quot; title=&quot;segfault in test_rs_seeds_connect&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-789&quot;&gt;&lt;del&gt;CDRIVER-789&lt;/del&gt;&lt;/a&gt; re-enable topology tests&lt;br/&gt;
Branch: 1.3.0-dev&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/5b147145b3b787460bd30f224fda46a3cac60b38&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/5b147145b3b787460bd30f224fda46a3cac60b38&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1019884" author="xgen-internal-githook" created="Tue, 1 Sep 2015 21:19:55 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;ajdavis&apos;, u&apos;name&apos;: u&apos;A. Jesse Jiryu Davis&apos;, u&apos;email&apos;: u&apos;jesse@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-789&quot; title=&quot;segfault in test_rs_seeds_connect&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-789&quot;&gt;&lt;del&gt;CDRIVER-789&lt;/del&gt;&lt;/a&gt; remove topology scanner&apos;s &quot;seen&quot; list&lt;br/&gt;
Branch: 1.2.0-dev&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/3c3019bef2a7fe062094cbe814a2c90945cd0f8f&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/3c3019bef2a7fe062094cbe814a2c90945cd0f8f&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1019883" author="xgen-internal-githook" created="Tue, 1 Sep 2015 21:19:54 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;ajdavis&apos;, u&apos;name&apos;: u&apos;A. Jesse Jiryu Davis&apos;, u&apos;email&apos;: u&apos;jesse@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-789&quot; title=&quot;segfault in test_rs_seeds_connect&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-789&quot;&gt;&lt;del&gt;CDRIVER-789&lt;/del&gt;&lt;/a&gt; crash on network err from removed node&lt;/p&gt;

&lt;p&gt;If the scanner knows about A, a primary, and B, a secondary:&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;B is removed from the replica set and shut down&lt;/li&gt;
	&lt;li&gt;The scanner begins, launching async commands to check A and B&lt;/li&gt;
	&lt;li&gt;A responds first and tells the scanner to remove B&lt;/li&gt;
	&lt;li&gt;mongoc_topology_reconcile removes B&apos;s mongoc_topology_scanner_node_t and&lt;br/&gt;
  destroys it, stream and all&lt;/li&gt;
	&lt;li&gt;But the mongoc_async_cmd_t for B is still active in the scanner, with the&lt;br/&gt;
  same stream.&lt;/li&gt;
	&lt;li&gt;B&apos;s mongoc_async_cmd_t fails with a network error, and passes the error into&lt;br/&gt;
  the command callback.&lt;/li&gt;
	&lt;li&gt;The command callback sees the error and destroys the same stream &lt;b&gt;again&lt;/b&gt;,&lt;br/&gt;
  crashing.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;The solution is to not destroy removed nodes in mongoc_topology_reconcile, but&lt;br/&gt;
close their streams, and mark them &quot;retired&quot; for the remainder of the&lt;br/&gt;
scan. At the end of the scan destroy retired nodes.&lt;br/&gt;
Branch: 1.2.0-dev&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/9b294e0fa2496c3c6c59552bf4601dbd0581a549&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/9b294e0fa2496c3c6c59552bf4601dbd0581a549&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1019882" author="xgen-internal-githook" created="Tue, 1 Sep 2015 21:19:53 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;ajdavis&apos;, u&apos;name&apos;: u&apos;A. Jesse Jiryu Davis&apos;, u&apos;email&apos;: u&apos;jesse@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-789&quot; title=&quot;segfault in test_rs_seeds_connect&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-789&quot;&gt;&lt;del&gt;CDRIVER-789&lt;/del&gt;&lt;/a&gt; re-enable topology tests&lt;br/&gt;
Branch: 1.2.0-dev&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/5b147145b3b787460bd30f224fda46a3cac60b38&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/5b147145b3b787460bd30f224fda46a3cac60b38&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1003783" author="jesse" created="Wed, 12 Aug 2015 22:00:28 +0000"  >&lt;p&gt;If the scanner knows about A, a primary, and B, a secondary:&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;B is removed from the replica set and shut down&lt;/li&gt;
	&lt;li&gt;The scanner begins, launching async commands to check A and B&lt;/li&gt;
	&lt;li&gt;A responds first and tells the scanner to remove B&lt;/li&gt;
	&lt;li&gt;mongoc_topology_reconcile removes B&apos;s mongoc_topology_scanner_node_t and destroys it, stream and all&lt;/li&gt;
	&lt;li&gt;But the mongoc_async_cmd_t for B is still active in the scanner, with the same stream.&lt;/li&gt;
	&lt;li&gt;B&apos;s mongoc_async_cmd_t fails with a network error, and passes the error into the command callback.&lt;/li&gt;
	&lt;li&gt;The command callback sees the error and destroys the same stream &lt;b&gt;again&lt;/b&gt;, crashing.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;The solution is to not destroy removed nodes in mongoc_topology_reconcile, but close their streams, and mark them &quot;retired&quot; for the remainder of the scan. At the end of the scan destroy retired nodes.&lt;/p&gt;</comment>
                            <comment id="1001153" author="xgen-internal-githook" created="Mon, 10 Aug 2015 20:47:06 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;ajdavis&apos;, u&apos;name&apos;: u&apos;A. Jesse Jiryu Davis&apos;, u&apos;email&apos;: u&apos;jesse@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-789&quot; title=&quot;segfault in test_rs_seeds_connect&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-789&quot;&gt;&lt;del&gt;CDRIVER-789&lt;/del&gt;&lt;/a&gt; disable two more tests for now&lt;br/&gt;
Branch: 1.2.0-dev&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/4d07a4650492d9f14ea604c68f7c6690e24de80a&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/4d07a4650492d9f14ea604c68f7c6690e24de80a&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1001020" author="xgen-internal-githook" created="Mon, 10 Aug 2015 19:24:16 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;ajdavis&apos;, u&apos;name&apos;: u&apos;A. Jesse Jiryu Davis&apos;, u&apos;email&apos;: u&apos;jesse@mongodb.com&apos;}
&lt;p&gt;Message: forward-port &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-721&quot; title=&quot;Crash destroying replset client after connection fails&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-721&quot;&gt;&lt;del&gt;CDRIVER-721&lt;/del&gt;&lt;/a&gt; tests to 1.2.0-dev&lt;/p&gt;

&lt;p&gt;Discovered &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-789&quot; title=&quot;segfault in test_rs_seeds_connect&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-789&quot;&gt;&lt;del&gt;CDRIVER-789&lt;/del&gt;&lt;/a&gt; from these tests.&lt;br/&gt;
Branch: 1.2.0-dev&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/9e58464e494bd70f40c7df193a2da5f03445b1f8&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/9e58464e494bd70f40c7df193a2da5f03445b1f8&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hreawf:</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_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="676">C Driver 2015Q2 sprint 6</customfieldvalue>
    <customfieldvalue id="699">C Driver 2015Q2 sprint 7</customfieldvalue>

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