<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:51:52 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-19725] NULL pointer crash in QueryPlanner::plan with $near operator</title>
                <link>https://jira.mongodb.org/browse/SERVER-19725</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Affects 2.6.x and up.&lt;/p&gt;

&lt;p&gt;Backtrace:&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;(lldb) f 1&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;frame #1: 0x00000001009f838c mongod`mongo::QueryPlanner::plan(query=0x0000000104825550, params=0x000000010a86dde0, out=0x000000010a86d9c0) + 21372 at query_planner.cpp:669&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;   666 	    if (QueryPlannerCommon::hasNode(query.root(), MatchExpression::GEO_NEAR, &amp;amp;gnNode)) {&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;   667 	        // No index for GEO_NEAR?  No query.&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;   668 	        RelevantTag* tag = static_cast&amp;lt;RelevantTag*&amp;gt;(gnNode-&amp;gt;getTag());&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;-&amp;gt; 669 	        if (0 == tag-&amp;gt;first.size() &amp;amp;&amp;amp; 0 == tag-&amp;gt;notFirst.size()) {&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;   670 	            LOG(5) &amp;lt;&amp;lt; &quot;Unable to find index for $geoNear query.&quot; &amp;lt;&amp;lt; endl;&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;   671 	            // Don&apos;t leave tags on query tree.&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;   672 	            query.root()-&amp;gt;resetTag();&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;(lldb) p tag&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;(mongo::RelevantTag *) $2 = 0x0000000000000000&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;&amp;nbsp;&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;* thread #2: tid = 0x23341ea, 0x00000001009f838c mongod`mongo::QueryPlanner::plan(mongo::CanonicalQuery const&amp;amp;, mongo::QueryPlannerParams const&amp;amp;, std::__1::vector&amp;lt;mongo::QuerySolution*, std::__1::allocator&amp;lt;mongo::QuerySolution*&amp;gt; &amp;gt;*) [inlined] std::__1::vector&amp;lt;unsigned long, std::__1::allocator&amp;lt;unsigned long&amp;gt; &amp;gt;::size(this=0x0000000000000008) const at vector:653, stop reason = EXC_BAD_ACCESS (code=1, address=0x10)&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;    frame #0: 0x00000001009f838c mongod`mongo::QueryPlanner::plan(mongo::CanonicalQuery const&amp;amp;, mongo::QueryPlannerParams const&amp;amp;, std::__1::vector&amp;lt;mongo::QuerySolution*, std::__1::allocator&amp;lt;mongo::QuerySolution*&amp;gt; &amp;gt;*) [inlined] std::__1::vector&amp;lt;unsigned long, std::__1::allocator&amp;lt;unsigned long&amp;gt; &amp;gt;::size(this=0x0000000000000008) const at vector:653&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;  * frame #1: 0x00000001009f838c mongod`mongo::QueryPlanner::plan(query=0x0000000104825550, params=0x000000010a86dde0, out=0x000000010a86d9c0) + 21372 at query_planner.cpp:669&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;    frame #2: 0x00000001009022fa mongod`mongo::(anonymous namespace)::prepareExecution(opCtx=0x000000010a872318, collection=0x0000000104e0ed90, ws=0x000000010483d240, canonicalQuery=0x0000000104825550, plannerOptions=0, rootOut=0x000000010a86e858, querySolutionOut=0x000000010a86e850) + 9498 at get_executor.cpp:335&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;    frame #3: 0x00000001008fe791 mongod`mongo::getExecutor(txn=0x000000010a872318, collection=0x0000000104e0ed90, canonicalQuery=unique_ptr&amp;lt;mongo::CanonicalQuery, std::__1::default_delete&amp;lt;mongo::CanonicalQuery&amp;gt; &amp;gt; at 0x000000010a86f380, yieldPolicy=YIELD_AUTO, plannerOptions=0) + 209 at get_executor.cpp:416&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;    frame #4: 0x0000000100906c3c mongod`mongo::getExecutorFind(txn=0x000000010a872318, collection=0x0000000104e0ed90, nss=0x000000010a8720f0, canonicalQuery=unique_ptr&amp;lt;mongo::CanonicalQuery, std::__1::default_delete&amp;lt;mongo::CanonicalQuery&amp;gt; &amp;gt; at 0x000000010a870198, yieldPolicy=YIELD_AUTO) + 1436 at get_executor.cpp:611&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;    frame #5: 0x00000001008f707a mongod`mongo::runQuery(txn=0x000000010a872318, q=0x000000010a870df8, nss=0x000000010a8720f0, result=0x000000010483dc20) + 3274 at find.cpp:515&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;    frame #6: 0x00000001006d7185 mongod`mongo::receivedQuery(txn=0x000000010a872318, nss=0x000000010a8720f0, c=0x0000000104821860, dbResponse=0x000000010a872390, m=0x000000010a872b90) + 837 at instance.cpp:376&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;    frame #7: 0x00000001006d4725 mongod`mongo::assembleResponse(txn=0x000000010a872318, m=0x000000010a872b90, dbresponse=0x000000010a872390, remote=0x000000010a8722f8) + 2389 at instance.cpp:504&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;    frame #8: 0x0000000100018f03 mongod`mongo::MyMessageHandler::process(this=0x000000010482f0a0, m=0x000000010a872b90, port=0x0000000104908b70) + 307 at db.cpp:165&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;    frame #9: 0x00000001012c6427 mongod`mongo::PortMessageServer::handleIncomingMsg(arg=0x0000000104908b70) + 2983 at message_server_port.cpp:229&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;    frame #10: 0x00000001012c47aa mongod`void* std::__1::__thread_proxy&amp;lt;std::__1::tuple&amp;lt;std::__1::__bind&amp;lt;void* (*)(void*), mongo::(anonymous namespace)::MessagingPortWithHandler*&amp;gt; &amp;gt; &amp;gt;(void*) [inlined] decltype(__f=0x0000000104905cf0, __args=0x0000000104905cf8)(void*)&amp;gt;(fp)(std::__1::forward&amp;lt;mongo::(anonymous namespace)::MessagingPortWithHandler*&amp;amp;&amp;gt;(fp0))) std::__1::__invoke&amp;lt;void* (*&amp;amp;)(void*), mongo::(anonymous namespace)::MessagingPortWithHandler*&amp;amp;&amp;gt;(void* (*&amp;amp;&amp;amp;&amp;amp;)(void*), mongo::(anonymous namespace)::MessagingPortWithHandler*&amp;amp;&amp;amp;&amp;amp;) + 24 at __functional_base:413&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;    frame #11: 0x00000001012c4792 mongod`void* std::__1::__thread_proxy&amp;lt;std::__1::tuple&amp;lt;std::__1::__bind&amp;lt;void* (*)(void*), mongo::(anonymous namespace)::MessagingPortWithHandler*&amp;gt; &amp;gt; &amp;gt;(void*) [inlined] std::__1::__bind_return&amp;lt;void* (*)(void*), std::__1::tuple&amp;lt;mongo::(anonymous namespace)::MessagingPortWithHandler*&amp;gt;, std::__1::tuple&amp;lt;&amp;gt;, _is_valid_bind_return&amp;lt;void* (*)(void*), std::__1::tuple&amp;lt;mongo::(anonymous namespace)::MessagingPortWithHandler*&amp;gt;, std::__1::tuple&amp;lt;&amp;gt; &amp;gt;::value&amp;gt;::type std::__1::__apply_functor&amp;lt;void* (__f=0x0000000104905cf0, __bound_args=0x0000000104905cf8, (null)=__tuple_indices&amp;lt;0&amp;gt; at 0x000000010a872ea0, __args=0x000000010a872e60)(void*), std::__1::tuple&amp;lt;mongo::(anonymous namespace)::MessagingPortWithHandler*&amp;gt;, 0ul, std::__1::tuple&amp;lt;&amp;gt; &amp;gt;(void* (*&amp;amp;)(void*), std::__1::tuple&amp;lt;mongo::(anonymous namespace)::MessagingPortWithHandler*&amp;gt;&amp;amp;, std::__1::__tuple_indices&amp;lt;0ul&amp;gt;, std::__1::tuple&amp;lt;&amp;gt;&amp;amp;&amp;amp;) + 40 at functional:2023&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;    frame #12: 0x00000001012c476a mongod`void* std::__1::__thread_proxy&amp;lt;std::__1::tuple&amp;lt;std::__1::__bind&amp;lt;void* (*)(void*), mongo::(anonymous namespace)::MessagingPortWithHandler*&amp;gt; &amp;gt; &amp;gt;(void*) [inlined] std::__1::__bind_return&amp;lt;void* (*)(void*), std::__1::tuple&amp;lt;mongo::(anonymous namespace)::MessagingPortWithHandler*&amp;gt;, std::__1::tuple&amp;lt;&amp;gt;, _is_valid_bind_return&amp;lt;void* (*)(void*), std::__1::tuple&amp;lt;mongo::(anonymous namespace)::MessagingPortWithHandler*&amp;gt;, std::__1::tuple&amp;lt;&amp;gt; &amp;gt;::value&amp;gt;::type std::__1::__bind&amp;lt;void* (this=0x0000000104905cf0)(void*), mongo::(anonymous namespace)::MessagingPortWithHandler*&amp;gt;::operator()&amp;lt;&amp;gt;() + 38 at functional:2086&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;    frame #13: 0x00000001012c4744 mongod`void* std::__1::__thread_proxy&amp;lt;std::__1::tuple&amp;lt;std::__1::__bind&amp;lt;void* (*)(void*), mongo::(anonymous namespace)::MessagingPortWithHandler*&amp;gt; &amp;gt; &amp;gt;(void*) [inlined] decltype(__f=0x0000000104905cf0)(void*), mongo::(anonymous namespace)::MessagingPortWithHandler*&amp;gt; &amp;gt;(fp)(std::__1::forward&amp;lt;&amp;gt;(fp0))) std::__1::__invoke&amp;lt;std::__1::__bind&amp;lt;void* (*)(void*), mongo::(anonymous namespace)::MessagingPortWithHandler*&amp;gt; &amp;gt;(std::__1::__bind&amp;lt;void* (*)(void*), mongo::(anonymous namespace)::MessagingPortWithHandler*&amp;gt;&amp;amp;&amp;amp;) + 11 at __functional_base:413&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;    frame #14: 0x00000001012c4739 mongod`void* std::__1::__thread_proxy&amp;lt;std::__1::tuple&amp;lt;std::__1::__bind&amp;lt;void* (*)(void*), mongo::(anonymous namespace)::MessagingPortWithHandler*&amp;gt; &amp;gt; &amp;gt;(void*) [inlined] void std::__1::__thread_execute&amp;lt;std::__1::__bind&amp;lt;void* (*)(void*), mongo::(anonymous namespace)::MessagingPortWithHandler*&amp;gt; &amp;gt;(__t=0x0000000104905cf0, (null)=__tuple_indices&amp;lt;&amp;gt; at 0x000000010a872e38)(void*), mongo::(anonymous namespace)::MessagingPortWithHandler*&amp;gt; &amp;gt;&amp;amp;, std::__1::__tuple_indices&amp;lt;&amp;gt;) + 25 at thread:332&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;    frame #15: 0x00000001012c4720 mongod`void* std::__1::__thread_proxy&amp;lt;std::__1::tuple&amp;lt;std::__1::__bind&amp;lt;void* (*)(void*), mongo::(anonymous namespace)::MessagingPortWithHandler*&amp;gt; &amp;gt; &amp;gt;(__vp=0x0000000104905cf0) + 368 at thread:342&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;    frame #16: 0x00007fff938cd268 libsystem_pthread.dylib`_pthread_body + 131&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;    frame #17: 0x00007fff938cd1e5 libsystem_pthread.dylib`_pthread_start + 176&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;    frame #18: 0x00007fff938cb41d libsystem_pthread.dylib`thread_start + 13&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;</description>
                <environment></environment>
        <key id="223872">SERVER-19725</key>
            <summary>NULL pointer crash in QueryPlanner::plan with $near operator</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="david.storch@mongodb.com">David Storch</assignee>
                                    <reporter username="j.delaney">J Delaney</reporter>
                        <labels>
                    </labels>
                <created>Mon, 3 Aug 2015 17:37:37 +0000</created>
                <updated>Mon, 21 Sep 2015 21:59:36 +0000</updated>
                            <resolved>Tue, 4 Aug 2015 17:57:30 +0000</resolved>
                                    <version>2.6.10</version>
                    <version>3.0.5</version>
                    <version>3.1.6</version>
                                    <fixVersion>2.6.12</fixVersion>
                    <fixVersion>3.0.7</fixVersion>
                    <fixVersion>3.1.7</fixVersion>
                                    <component>Querying</component>
                                        <votes>0</votes>
                                    <watches>7</watches>
                                                                                                                <comments>
                            <comment id="1039037" author="xgen-internal-githook" created="Mon, 21 Sep 2015 21:58:02 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;dstorch&apos;, u&apos;name&apos;: u&apos;David Storch&apos;, u&apos;email&apos;: u&apos;david.storch@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-19725&quot; title=&quot;NULL pointer crash in QueryPlanner::plan with $near operator&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-19725&quot;&gt;&lt;del&gt;SERVER-19725&lt;/del&gt;&lt;/a&gt; Fix nullptr crash in QueryPlanner::plan with $near operator&lt;br/&gt;
Branch: v2.6&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/2375d33db102c62e7a35af754a7c90cc623f0815&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/2375d33db102c62e7a35af754a7c90cc623f0815&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1039004" author="xgen-internal-githook" created="Mon, 21 Sep 2015 21:38:34 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;coollog&apos;, u&apos;name&apos;: u&apos;Qingyang Chen&apos;, u&apos;email&apos;: u&apos;qingyang.chen@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-19725&quot; title=&quot;NULL pointer crash in QueryPlanner::plan with $near operator&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-19725&quot;&gt;&lt;del&gt;SERVER-19725&lt;/del&gt;&lt;/a&gt; Fix nullptr crash in QueryPlanner::plan with $near operator&lt;/p&gt;

&lt;p&gt;(cherry picked from commit cfe4562fb64b756ed4fe7389f924b52cf8595f9f)&lt;/p&gt;

&lt;p&gt;Conflicts:&lt;br/&gt;
	src/mongo/db/query/query_planner.cpp&lt;br/&gt;
	src/mongo/db/query/query_planner_geo_test.cpp&lt;br/&gt;
Branch: v3.0&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/91ff118f5212cde866633f8b0ac2337bc6840d13&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/91ff118f5212cde866633f8b0ac2337bc6840d13&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="996296" author="xgen-internal-githook" created="Tue, 4 Aug 2015 17:56:28 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;coollog&apos;, u&apos;name&apos;: u&apos;Qingyang Chen&apos;, u&apos;email&apos;: u&apos;qingyang.chen@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-19725&quot; title=&quot;NULL pointer crash in QueryPlanner::plan with $near operator&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-19725&quot;&gt;&lt;del&gt;SERVER-19725&lt;/del&gt;&lt;/a&gt; Fix nullptr crash in QueryPlanner::plan with $near operator&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/cfe4562fb64b756ed4fe7389f924b52cf8595f9f&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/cfe4562fb64b756ed4fe7389f924b52cf8595f9f&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="48087">SERVER-6852</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="223959">SERVER-19740</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <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_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_12451" key="com.atlassian.jira.plugin.system.customfieldtypes:multiversion">
                        <customfieldname>Backport Completed</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="15782">2.6.12</customfieldvalue>
    <customfieldvalue id="15689">3.0.7</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>Mon, 3 Aug 2015 19:20:03 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        8 years, 21 weeks, 2 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_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>PM-220</customfieldvalue>
                        </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>david.storch@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            8 years, 21 weeks, 2 days 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>david.storch@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>j.delaney</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrkypr:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hscan3:</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_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="635">Quint Iteration 7</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|hsfscv:</customfieldvalue>

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