<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:34:45 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>[GODRIVER-693] Opening a change stream cursor for any database gives error</title>
                <link>https://jira.mongodb.org/browse/GODRIVER-693</link>
                <project id="14289" key="GODRIVER">Go Driver</project>
                    <description>&lt;p&gt;On opening a change stream cursor for any database, whenever the cursor is used to decode, it &lt;b&gt;panics on runtime&lt;/b&gt;.&lt;/p&gt;

&lt;p&gt;Generate the case using: &lt;a href=&quot;https://gist.github.com/Shivam010/bf057e4fcf65954c62751b0e544bbd1e&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;this&lt;/a&gt;&lt;/p&gt;
&lt;div class=&quot;panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;panelHeader&quot; style=&quot;border-bottom-width: 1px;&quot;&gt;&lt;b&gt;Output&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;panelContent&quot;&gt;
&lt;p&gt;panic: runtime error: invalid memory address or nil pointer dereference&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;signal SIGSEGV: segmentation violation code=0x1 addr=0x58 pc=0x779242&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;goroutine 1 &lt;span class=&quot;error&quot;&gt;&amp;#91;running&amp;#93;&lt;/span&gt;:&lt;br/&gt;
github.com/mongodb/mongo-go-driver/mongo.(*changeStream).Decode(0xc000118000, 0x7bb880, 0xc000116028, 0xc0000cfe01, 0x42ad92)&lt;br/&gt;
$GOPATH/src/github.com/mongodb/mongo-go-driver/mongo/change_stream.go:454 +0x62&lt;br/&gt;
main.traverseCursor(0x979100, 0xc00001e0f0, 0x97a0c0, 0xc000118000)&lt;br/&gt;
.../main.go:27 +0x48&lt;br/&gt;
main.watchOnDB(0x979100, 0xc00001e0f0, 0xc000093400, 0x84e5bc, 0x6)&lt;br/&gt;
.../main.go:68 +0x1dc&lt;br/&gt;
main.main()&lt;br/&gt;
.../main.go:81 +0x119&lt;/p&gt;

&lt;p&gt;Process finished with exit code 2&lt;/p&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;I have resolved the bug and created a PR on Github: #117&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</description>
                <environment>Ubuntu 18.04.1 LTS&lt;br/&gt;
go version go1.11.2 linux/amd64</environment>
        <key id="652974">GODRIVER-693</key>
            <summary>Opening a change stream cursor for any database gives error</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="13201">Fixed</resolution>
                                        <assignee username="go-community-user">Go Community User</assignee>
                                    <reporter username="shivam010">Shivam Rathore</reporter>
                        <labels>
                    </labels>
                <created>Thu, 13 Dec 2018 15:30:26 +0000</created>
                <updated>Sat, 28 Oct 2023 11:39:16 +0000</updated>
                            <resolved>Thu, 20 Dec 2018 17:03:03 +0000</resolved>
                                                    <fixVersion>0.2.0</fixVersion>
                                    <component>CRUD</component>
                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="2097273" author="xgen-internal-githook" created="Thu, 20 Dec 2018 16:59:25 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;username&apos;: &apos;skriptble&apos;, &apos;email&apos;: &apos;kris@mongodb.com&apos;, &apos;name&apos;: &apos;Kris Brandow&apos;}
&lt;p&gt;Message: Merge branch &apos;pr/117&apos;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/GODRIVER-693&quot; title=&quot;Opening a change stream cursor for any database gives error&quot; class=&quot;issue-link&quot; data-issue-key=&quot;GODRIVER-693&quot;&gt;&lt;del&gt;GODRIVER-693&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Change-Id: Ie264f72af8712c8bedddb997f31e3cd90e037e27&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-go-driver/commit/7e0a364ea9695e4eb86541e08572b85258435332&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-go-driver/commit/7e0a364ea9695e4eb86541e08572b85258435332&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|hr8azb:</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>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>