<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:22:46 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-10285] Seg Fault when parsing Point using 2dsphere Indexes </title>
                <link>https://jira.mongodb.org/browse/SERVER-10285</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;div class=&quot;panel&quot; style=&quot;background-color: #EEEEEE;border-color: #ccc;border-width: 1px;&quot;&gt;&lt;div class=&quot;panelHeader&quot; style=&quot;border-bottom-width: 1px;border-bottom-color: #ccc;background-color: #6CB33F;&quot;&gt;&lt;b&gt;Issue Status as of October 22nd, 2013&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;panelContent&quot; style=&quot;background-color: #EEEEEE;&quot;&gt;
&lt;p&gt;&lt;b&gt;ISSUE SUMMARY&lt;/b&gt;&lt;br/&gt;
In very rare and intermittent cases, queries that use a 2dsphere index with legacy coordinate pairs crashed the server. The crash occurred when the server converted a point from lat / long to radians but floating-point inaccuracy resulted in values that were slightly out of bounds.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;USER IMPACT&lt;/b&gt;&lt;br/&gt;
Rare segfaults.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;SOLUTION&lt;/b&gt;&lt;br/&gt;
After converting a legacy coordinate pair from lat / long to radians and attempting to normalize it (i.e., wrapping its lat and long to valid radian values), the server now checks if the point is valid. If not, it uasserts with &quot;coords invalid after normalization&quot; instead of crashing.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;WORKAROUNDS&lt;/b&gt;&lt;br/&gt;
None.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;PATCHES&lt;/b&gt;&lt;br/&gt;
Production release v2.4.7 contains the fix for this issue, and production release v2.6.0 will contain the fix as well.&lt;/p&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Our production system crashed hard yesterday afternoon with what looks like a Segmentation Fault parsing a Point. It took out all 6 Nodes including the master. &lt;/p&gt;

&lt;p&gt;We unfortunately don&apos;t have the query (lat,lon) that cause the issue. Here is the stack trace on master. &lt;/p&gt;

&lt;p&gt;There seem to be a lot of GEO code changes in this release &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-8349&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://jira.mongodb.org/browse/SERVER-8349&lt;/a&gt; and &lt;a href=&quot;https://github.com/mongodb/mongo/commit/ba239918c950c254056bf589a943a5e88fd4144c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/ba239918c950c254056bf589a943a5e88fd4144c&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;We are rolling back to previous version before all these changes were made.&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;   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;Jul 22 00:08:06 ip-10-38-67-89 mongod.27017[8632]: Backtrace:#0120xdd9e31 0x6d0d09 0x7fe2f0f01920 0x7fe2f0f018a5 0x7fe2f0f03085 0xea2752 0x992d5f 0x994d9d 0x9a7769 0x98a933 0x8d4f0a 0x8d7042 0x8d80b2 0xa7e220 0xa82aec 0x9f6919 0x9f7e43 0x6e8b68 0xdc659e 0x7fe2f1c10851 #012 /opt/mongodb/bin/mongod(_ZN5mongo15printStackTraceERSo+0x21) [0xdd9e31]#012 /opt/mongodb/bin/mongod(_ZN5mongo10abruptQuitEi+0x399) [0x6d0d09]#012 /lib64/libc.so.6(+0x32920) [0x7fe2f0f01920]#012 /lib64/libc.so.6(gsignal+0x35) [0x7fe2f0f018a5]#012 /lib64/libc.so.6(abort+0x175) [0x7fe2f0f03085]#012 /opt/mongodb/bin/mongod(_ZNK8S2LatLng7ToPointEv+0xf2) [0xea2752]#012 /opt/mongodb/bin/mongod(_ZN5mongo9GeoParser10parsePointERKNS_7BSONObjEP7Vector3IdE+0x17f) [0x992d5f]#012 /opt/mongodb/bin/mongod(_ZN5mongo9NearQuery16parseFromGeoNearERKNS_7BSONObjEd+0x45d) [0x994d9d]#012 /opt/mongodb/bin/mongod(_ZN5mongo18run2DSphereGeoNearERKNS_12IndexDetailsERNS_7BSONObjERKNS_16GeoNearArgumentsERSsRNS_14BSONObjBuilderE+0x179) [0x9a7769]#012 /opt/mongodb/bin/mongod(_ZN5mongo16Geo2dFindNearCmd3runERKSsRNS_7BSONObjEiRSsRNS_14BSONObjBuilderEb+0x773) [0x98a933]#012 /opt/mongodb/bin/mongod(_ZN5mongo12_execCommandEPNS_7CommandERKSsRNS_7BSONObjEiRSsRNS_14BSONObjBuilderEb+0x3a) [0x8d4f0a]#012 /opt/mongodb/bin/mongod(_ZN5mongo7Command11execCommandEPS0_RNS_6ClientEiPKcRNS_7BSONObjERNS_14BSONObjBuilderEb+0xc02) [0x8d7042]#012 /opt/mongodb/bin/mongod(_ZN5mongo12_runCommandsEPKcRNS_7BSONObjERNS_11_BufBuilderINS_16TrivialAllocatorEEERNS_14BSONObjBuilderEbi+0x5f2) [0x8d80b2]#012 /opt/mongodb/bin/mongod(_ZN5mongo11runCommandsEPKcRNS_7BSONObjERNS_5CurOpERNS_11_BufBuilderINS_16TrivialAllocatorEEERNS_14BSONObjBuilderEbi+0x40) [0xa7e220]#012 /opt/mongodb/bin/mongod(_ZN5mongo8runQueryERNS_7MessageERNS_12QueryMessageERNS_5CurOpES1_+0xd7c) [0xa82aec]#012 /opt/mongodb/bin/mongod() [0x9f6919]#012 /opt/mongodb/bin/mongod(_ZN5mongo16assembleResponseERNS_7MessageERNS_10DbResponseERKNS_11HostAndPortE+0x383) [0x9f7e43]#012 /opt/mongodb/bin/mongod(_ZN5mongo16MyMessageHandler7processERNS_7MessageEPNS_21Abs&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>AWS EC2 machine running latest stable build of mongo 2.4.5</environment>
        <key id="83104">SERVER-10285</key>
            <summary>Seg Fault when parsing Point using 2dsphere Indexes </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="hari.khalsa@10gen.com">hari.khalsa@10gen.com</assignee>
                                    <reporter username="grealish">Adrian Grealish</reporter>
                        <labels>
                            <label>crash</label>
                    </labels>
                <created>Mon, 22 Jul 2013 17:45:59 +0000</created>
                <updated>Mon, 11 Jul 2016 17:38:24 +0000</updated>
                            <resolved>Fri, 4 Oct 2013 17:04:43 +0000</resolved>
                                    <version>2.4.5</version>
                                    <fixVersion>2.4.7</fixVersion>
                    <fixVersion>2.5.3</fixVersion>
                                    <component>Geo</component>
                                        <votes>1</votes>
                                    <watches>7</watches>
                                                                                                                <comments>
                            <comment id="434971" author="auto" created="Wed, 2 Oct 2013 23:48:34 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;monkey101&apos;, u&apos;name&apos;: u&apos;Dan Pasette&apos;, u&apos;email&apos;: u&apos;dan@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-10285&quot; title=&quot;Seg Fault when parsing Point using 2dsphere Indexes &quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-10285&quot;&gt;&lt;del&gt;SERVER-10285&lt;/del&gt;&lt;/a&gt; uassert that s2latlng is valid, print out if it&apos;s not&lt;/p&gt;

&lt;p&gt;Backport original commit: ce6607fd28df1cc7c57a6ea03dcb0676e7a009ce&lt;br/&gt;
Branch: v2.4&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/33865cba588b666b32b75c42f309b26d21652762&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/33865cba588b666b32b75c42f309b26d21652762&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="425776" author="dan@10gen.com" created="Mon, 16 Sep 2013 07:15:46 +0000"  >&lt;p&gt;The fix has not been backported to the 2.4 branch yet.  2.5.3 will be a development release only, not meant for production use.  It would be great if you can test 2.5.3 in a development environment though when it comes out.&lt;/p&gt;</comment>
                            <comment id="422947" author="eyllo" created="Wed, 11 Sep 2013 20:21:30 +0000"  >&lt;p&gt;Hi there, so does this mean this is solved? and that we should upgrade to 2.5.3?&lt;br/&gt;
Thank you very much!&lt;/p&gt;</comment>
                            <comment id="421967" author="auto" created="Tue, 10 Sep 2013 18:15:16 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;hkhalsa&apos;, u&apos;name&apos;: u&apos;Hari Khalsa&apos;, u&apos;email&apos;: u&apos;hkhalsa@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-10285&quot; title=&quot;Seg Fault when parsing Point using 2dsphere Indexes &quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-10285&quot;&gt;&lt;del&gt;SERVER-10285&lt;/del&gt;&lt;/a&gt; uassert that s2latlng is valid, print out if it&apos;s not&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/ce6607fd28df1cc7c57a6ea03dcb0676e7a009ce&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/ce6607fd28df1cc7c57a6ea03dcb0676e7a009ce&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="409269" author="eyllo" created="Thu, 22 Aug 2013 18:36:55 +0000"  >&lt;p&gt;Hi Hari,&lt;/p&gt;

&lt;p&gt;I dunno if this makes any difference or not but we are using a 2d index together with a 2dsphere index.&lt;br/&gt;
location_2d using as key:	location&quot; : &quot;2d&#8221;&lt;br/&gt;
scenarioId_1_loc_2dsphere using as key:		&quot;loc&quot; : &quot;2dsphere, scenarioId&quot; : 1&lt;/p&gt;

</comment>
                            <comment id="409043" author="eyllo" created="Thu, 22 Aug 2013 14:51:47 +0000"  >&lt;p&gt;Hi Hari,&lt;br/&gt;
We are also running in AWS EC2 machine running latest stable build of mongo 2.4.5, that is why I posted my issue here. It was the only place I found something related.&lt;br/&gt;
I have no request to log as it crashes while doing a DBCursor cursor.hasNext() operation. Maybe this is something data related? &lt;br/&gt;
Thanks in advance!&lt;/p&gt;</comment>
                            <comment id="408204" author="hari.khalsa@10gen.com" created="Wed, 21 Aug 2013 15:21:10 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=eyllo&quot; class=&quot;user-hover&quot; rel=&quot;eyllo&quot;&gt;eyllo&lt;/a&gt;  Hello.  Is there any chance you can log the request and provide me with what is exactly crashing it?&lt;/p&gt;

&lt;p&gt;Also, what platform are you running on?&lt;/p&gt;</comment>
                            <comment id="408197" author="eyllo" created="Wed, 21 Aug 2013 15:18:35 +0000"  >&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;We are also experiencing a lot of server crashes with something related to this. The crashing problem is really critical as our application also stops just because of some data error? Our server log is as follows:&lt;/p&gt;

&lt;p&gt;Tue Aug 20 21:34:28.592 Backtrace:&lt;br/&gt;
0xdd9e31 0x6d0d09 0x7f86d0cc49c0 0x7f86d0cc4945 0x7f86d0cc625b 0xea2752 0x98b791 0x98d65b 0x994361 0x995cf5 0x995de9 0x9acfef 0xb417a2 0xb58692 0xb5e5f5 0xb5e7ee 0xa8073a 0xa83838 0x9f6919 0x9f7e43&lt;br/&gt;
 /usr/bin/mongod(_ZN5mongo15printStackTraceERSo+0x21) &lt;span class=&quot;error&quot;&gt;&amp;#91;0xdd9e31&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /usr/bin/mongod(_ZN5mongo10abruptQuitEi+0x399) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x6d0d09&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /lib64/libc.so.6(+0x349c0) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x7f86d0cc49c0&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /lib64/libc.so.6(gsignal+0x35) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x7f86d0cc4945&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /lib64/libc.so.6(abort+0x17b) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x7f86d0cc625b&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /usr/bin/mongod(_ZNK8S2LatLng7ToPointEv+0xf2) &lt;span class=&quot;error&quot;&gt;&amp;#91;0xea2752&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /usr/bin/mongod(_ZN5mongo9GeoParser16parseLegacyPointERKNS_7BSONObjEP7Vector3IdE+0x101) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x98b791&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /usr/bin/mongod(_ZN5mongo9GeoParser23parseLegacyCenterSphereERKNS_7BSONObjEP5S2Cap+0x28b) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x98d65b&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /usr/bin/mongod(_ZN5mongo17GeometryContainer9parseFromERKNS_7BSONObjE+0x861) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x994361&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /usr/bin/mongod(_ZN5mongo8GeoQuery16parseLegacyQueryERKNS_7BSONObjE+0x195) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x995cf5&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /usr/bin/mongod(_ZN5mongo8GeoQuery9parseFromERKNS_7BSONObjE+0x19) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x995de9&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /usr/bin/mongod(_ZNK5mongo11S2IndexType9newCursorERKNS_7BSONObjES3_i+0x27f) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x9acfef&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /usr/bin/mongod(_ZNK5mongo9QueryPlan9newCursorERKNS_7DiskLocEb+0x62) &lt;span class=&quot;error&quot;&gt;&amp;#91;0xb417a2&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /usr/bin/mongod(_ZN5mongo15CursorGenerator16singlePlanCursorEv+0x202) &lt;span class=&quot;error&quot;&gt;&amp;#91;0xb58692&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /usr/bin/mongod(_ZN5mongo15CursorGenerator8generateEv+0xa5) &lt;span class=&quot;error&quot;&gt;&amp;#91;0xb5e5f5&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /usr/bin/mongod(_ZN5mongo25NamespaceDetailsTransient9getCursorERKNS_10StringDataERKNS_7BSONObjES6_RKNS_24QueryPlanSelectionPolicyERKN5boost10shared_ptrIKNS_11ParsedQueryEEEbPNS_16QueryPlanSummaryE+0x3e) &lt;span class=&quot;error&quot;&gt;&amp;#91;0xb5e7ee&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /usr/bin/mongod(_ZN5mongo23queryWithQueryOptimizerEiRKSsRKNS_7BSONObjERNS_5CurOpES4_S4_RKN5boost10shared_ptrINS_11ParsedQueryEEES4_RKNS_12ChunkVersionERNS7_10scoped_ptrINS_25PageFaultRetryableSectionEEERNSG_INS_19NoPageFaultsAllowedEEERNS_7MessageE+0x12a) &lt;span class=&quot;error&quot;&gt;&amp;#91;0xa8073a&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /usr/bin/mongod(&lt;em&gt;ZN5mongo8runQueryERNS_7MessageERNS_12QueryMessageERNS_5CurOpES1&lt;/em&gt;+0x1ac8) &lt;span class=&quot;error&quot;&gt;&amp;#91;0xa83838&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /usr/bin/mongod() &lt;span class=&quot;error&quot;&gt;&amp;#91;0x9f6919&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /usr/bin/mongod(_ZN5mongo16assembleResponseERNS_7MessageERNS_10DbResponseERKNS_11HostAndPortE+0x383) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x9f7e43&amp;#93;&lt;/span&gt;&lt;/p&gt;</comment>
                            <comment id="387747" author="hari.khalsa@10gen.com" created="Wed, 24 Jul 2013 12:58:40 +0000"  >&lt;p&gt;Yes, if you can get the query of death it would make fixing the problem much easier.  Looking forward to fixing this.&lt;/p&gt;</comment>
                            <comment id="387575" author="grealish" created="Wed, 24 Jul 2013 06:30:18 +0000"  >&lt;p&gt;we are going to continue to run the load test and have turned up logging on the remaining nodes&lt;/p&gt;</comment>
                            <comment id="387574" author="grealish" created="Wed, 24 Jul 2013 06:29:08 +0000"  >&lt;p&gt;We just saw this same error on a replica node that crashed while we were running load tests against 2.4.3&lt;/p&gt;

&lt;p&gt;Jul 23 22:56:57 ip-10-60-69-130 mongod.27017&lt;span class=&quot;error&quot;&gt;&amp;#91;18174&amp;#93;&lt;/span&gt;: Tue Jul 23 22:56:57.680 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn17514&amp;#93;&lt;/span&gt; command location.$cmd command: { geoNear: &quot;presence&quot;, near: [ -0.7597462961209844, 52.02757513346383 ], spherical: true, query: { age: &lt;/p&gt;
{ $gte: 88, $lte: 93 }
&lt;p&gt; }, limit: 400, maxDistance: 0.1 } ntoreturn:1 keyUpdates:0 locks(micros) r:232891 reslen:29813 232ms&lt;br/&gt;
Jul 23 22:56:57 ip-10-60-69-130 mongod.27017&lt;span class=&quot;error&quot;&gt;&amp;#91;18174&amp;#93;&lt;/span&gt;: Tue Jul 23 22:56:57.688   &lt;br/&gt;
Jul 23 22:56:57 ip-10-60-69-130 mongod.27017&lt;span class=&quot;error&quot;&gt;&amp;#91;18174&amp;#93;&lt;/span&gt;: Got signal: 6 (Aborted).  &lt;br/&gt;
Jul 23 22:56:57 ip-10-60-69-130 mongod.27017&lt;span class=&quot;error&quot;&gt;&amp;#91;18174&amp;#93;&lt;/span&gt;: &lt;br/&gt;
Jul 23 22:56:57 ip-10-60-69-130 mongod.27017&lt;span class=&quot;error&quot;&gt;&amp;#91;18174&amp;#93;&lt;/span&gt;: Tue Jul 23 22:56:57.703   &lt;br/&gt;
Jul 23 22:56:57 ip-10-60-69-130 mongod.27017&lt;span class=&quot;error&quot;&gt;&amp;#91;18174&amp;#93;&lt;/span&gt;: Backtrace:#0120xdcf361 0x6cf729 0x7fc24312d920 0x7fc24312d8a5 0x7fc24312f085 0xe97e32 0x98ff7f 0x9933ed 0x9a4999 0x987a39 0x8d236a 0x8d5535 0x8d6592 0xa7c97b 0xa80360 0x9f44d4 0x9f57e2 0x6e747a 0xdbbb7e 0x7fc243e3c851 #012 /opt/mongodb/bin/mongod(&lt;em&gt;ZN5mongo15printStackTraceERSo+0x21) &lt;span class=&quot;error&quot;&gt;&amp;#91;0xdcf361&amp;#93;&lt;/span&gt;#012 /opt/mongodb/bin/mongod(_ZN5mongo10abruptQuitEi+0x399) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x6cf729&amp;#93;&lt;/span&gt;#012 /lib64/libc.so.6(+0x32920) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x7fc24312d920&amp;#93;&lt;/span&gt;#012 /lib64/libc.so.6(gsignal+0x35) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x7fc24312d8a5&amp;#93;&lt;/span&gt;#012 /lib64/libc.so.6(abort+0x175) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x7fc24312f085&amp;#93;&lt;/span&gt;#012 /opt/mongodb/bin/mongod(_ZNK8S2LatLng7ToPointEv+0xf2) &lt;span class=&quot;error&quot;&gt;&amp;#91;0xe97e32&amp;#93;&lt;/span&gt;#012 /opt/mongodb/bin/mongod(_ZN5mongo9GeoParser10parsePointERKNS_7BSONObjEP7Vector3IdE+0x17f) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x98ff7f&amp;#93;&lt;/span&gt;#012 /opt/mongodb/bin/mongod(_ZN5mongo9NearQuery16parseFromGeoNearERKNS_7BSONObjEd+0x45d) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x9933ed&amp;#93;&lt;/span&gt;#012 /opt/mongodb/bin/mongod(_ZN5mongo18run2DSphereGeoNearERKNS_12IndexDetailsERNS_7BSONObjERKNS_16GeoNearArgumentsERSsRNS_14BSONObjBuilderE+0x179) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x9a4999&amp;#93;&lt;/span&gt;#012 /opt/mongodb/bin/mongod(_ZN5mongo16Geo2dFindNearCmd3runERKSsRNS_7BSONObjEiRSsRNS_14BSONObjBuilderEb+0x759) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x987a39&amp;#93;&lt;/span&gt;#012 /opt/mongodb/bin/mongod(_ZN5mongo12_execCommandEPNS_7CommandERKSsRNS_7BSONObjEiRSsRNS_14BSONObjBuilderEb+0x3a) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x8d236a&amp;#93;&lt;/span&gt;#012 /opt/mongodb/bin/mongod(_ZN5mongo7Command11execCommandEPS0_RNS_6ClientEiPKcRNS_7BSONObjERNS_14BSONObjBuilderEb+0xbd5) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x8d5535&amp;#93;&lt;/span&gt;#012 /opt/mongodb/bin/mongod(_ZN5mongo12_runCommandsEPKcRNS_7BSONObjERNS_11_BufBuilderINS_16TrivialAllocatorEEERNS_14BSONObjBuilderEbi+0x5e2) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x8d6592&amp;#93;&lt;/span&gt;#012 /opt/mongodb/bin/mongod(_ZN5mongo11runCommandsEPKcRNS_7BSONObjERNS_5CurOpERNS_11_BufBuilderINS_16TrivialAllocatorEEERNS_14BSONObjBuilderEbi+0x3b) &lt;span class=&quot;error&quot;&gt;&amp;#91;0xa7c97b&amp;#93;&lt;/span&gt;#012 /opt/mongodb/bin/mongod(_ZN5mongo8runQueryERNS_7MessageERNS_12QueryMessageERNS_5CurOpES1&lt;/em&gt;+0xd50) &lt;span class=&quot;error&quot;&gt;&amp;#91;0xa80360&amp;#93;&lt;/span&gt;#012 /opt/mongodb/bin/mongod() &lt;span class=&quot;error&quot;&gt;&amp;#91;0x9f44d4&amp;#93;&lt;/span&gt;#012 /opt/mongodb/bin/mongod(_ZN5mongo16assembleResponseERNS_7MessageERNS_10DbResponseERKNS_11HostAndPortE+0x392) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x9f57e2&amp;#93;&lt;/span&gt;#012 /opt/mongodb/bin/mongod(_ZN5mongo16MyMessageHandler7processERNS_7MessageEPNS_21Ab&lt;/p&gt;</comment>
                            <comment id="387107" author="grealish" created="Tue, 23 Jul 2013 16:48:44 +0000"  >&lt;p&gt;We are running an off the shelf AMI on a m1.xlarge instance in EC2.&lt;/p&gt;

&lt;p&gt;We were running 2.4.5 until the crash, then we downgraded.&lt;/p&gt;</comment>
                            <comment id="386975" author="hari.khalsa@10gen.com" created="Tue, 23 Jul 2013 14:25:35 +0000"  >&lt;p&gt;Hello!  The changes you linked were not put into the 2.4 branch.&lt;/p&gt;

&lt;p&gt;Looking at the logs, I&apos;m not clear on whether or not you&apos;re running 2.4.4 or 2.4.5.  There are lines in the logs that suggest it&apos;s 2.4.4:&lt;/p&gt;

&lt;p&gt;Jul 22 02:09:34 ip-10-40-123-164 mongod.27017&lt;span class=&quot;error&quot;&gt;&amp;#91;21395&amp;#93;&lt;/span&gt;: Mon Jul 22 02:09:34.330 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; db version v2.4.4&lt;br/&gt;
Jul 22 02:09:34 ip-10-40-123-164 mongod.27017&lt;span class=&quot;error&quot;&gt;&amp;#91;21395&amp;#93;&lt;/span&gt;: Mon Jul 22 02:09:34.330 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; git version: 4ec1fb96702c9d4c57b1e06dd34eb73a16e407d2&lt;/p&gt;

&lt;p&gt;Can you tell me about what kind of platform/computer you&apos;re running this on?  Looks like an off-the-shelf Amazon EC2 instance?&lt;/p&gt;</comment>
                            <comment id="386640" author="grealish" created="Mon, 22 Jul 2013 23:54:14 +0000"  >&lt;p&gt;Not sure if related but we cannot store Point object in the document with this version and latest driver. &lt;/p&gt;

&lt;p&gt;The point class generated this JSON from here &lt;a href=&quot;http://geojson.org/geojson-spec.html#id29&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://geojson.org/geojson-spec.html#id29&lt;/a&gt; &lt;/p&gt;
{ &quot;type&quot;: &quot;Point&quot;, &quot;coordinates&quot;: [100.0, 0.0] }
&lt;p&gt; when using Gson. Not sure why BSON can&apos;t handle it. &lt;/p&gt;

&lt;p&gt;Caused by: java.lang.IllegalArgumentException: can&apos;t serialize class com.grindr.presence.model.Point&lt;br/&gt;
	at org.bson.BasicBSONEncoder._putObjectField(BasicBSONEncoder.java:270)&lt;br/&gt;
	at org.bson.BasicBSONEncoder.putObject(BasicBSONEncoder.java:174)&lt;br/&gt;
	at org.bson.BasicBSONEncoder._putObjectField(BasicBSONEncoder.java:226)&lt;br/&gt;
	at org.bson.BasicBSONEncoder.putObject(BasicBSONEncoder.java:174)&lt;br/&gt;
	at org.bson.BasicBSONEncoder.putObject(BasicBSONEncoder.java:120)&lt;br/&gt;
	at com.mongodb.DefaultDBEncoder.writeObject(DefaultDBEncoder.java:27)&lt;br/&gt;
	at com.mongodb.OutMessage.putObject(OutMessage.java:289)&lt;br/&gt;
	at com.mongodb.OutMessage.writeUpdate(OutMessage.java:175)&lt;br/&gt;
	at com.mongodb.OutMessage.update(OutMessage.java:62)&lt;br/&gt;
	at com.mongodb.DBApiLayer$MyCollection.update(DBApiLayer.java:326)&lt;br/&gt;
	at com.mongodb.DBCollection.update(DBCollection.java:160)&lt;br/&gt;
	at com.mongodb.DBCollection.update(DBCollection.java:191)&lt;br/&gt;
	at com.mongodb.DBCollection.update(DBCollection.java:203)&lt;br/&gt;
	... 33 more&lt;/p&gt;</comment>
                            <comment id="386628" author="grealish" created="Mon, 22 Jul 2013 23:37:54 +0000"  >&lt;p&gt;crashed at Jul 22 00:08:03&lt;/p&gt;</comment>
                            <comment id="386593" author="dan@10gen.com" created="Mon, 22 Jul 2013 22:20:07 +0000"  >&lt;p&gt;Can you attach more of the log (or whole log compressed) to this ticket?&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="29106" name="messages.mongo2.log.zip" size="4860272" author="grealish" created="Mon, 22 Jul 2013 23:36:49 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>16.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 22 Jul 2013 22:20:07 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        10 years, 20 weeks 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, 20 weeks ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_10032" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Operating System</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10020"><![CDATA[Linux]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>grealish</customfieldvalue>
            <customfieldvalue>auto</customfieldvalue>
            <customfieldvalue>dan@mongodb.com</customfieldvalue>
            <customfieldvalue>eyllo</customfieldvalue>
            <customfieldvalue>hari.khalsa@10gen.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrmm3z:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>75947</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_23361" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Requested By</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10750" key="com.atlassian.jira.plugin.system.customfieldtypes:textarea">
                        <customfieldname>Steps To Reproduce</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>&lt;p&gt;Hard to know, we ran the latest in production for 3 whole days before we saw any problem. We are storing Points (lat, lon) and using 2dspherical index and query ing Mongo using geoNear command. &lt;/p&gt;

&lt;p&gt;We are using the latest mongo java driver 2.9.3&lt;/p&gt;</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_22870" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Triagers</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrnpu7:</customfieldvalue>

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