[GODRIVER-989] ChangeStream Next nil Pointer Dereference Created: 21/Apr/19  Updated: 28/Oct/23  Resolved: 15/May/19

Status: Closed
Project: Go Driver
Component/s: Core API
Affects Version/s: None
Fix Version/s: 1.0.2

Type: Bug Priority: Major - P3
Reporter: Eric Daniels (Inactive) Assignee: Isabella Siu (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
backported by GODRIVER-1062 Backport "ChangeStream Next nil Point... Closed

 Description   

Appears as if it's happening on the server desc.

goroutine 1984 [running]:
runtime/debug.Stack(0x3019b29, 0x12872d5, 0xc00015b5f0)
   /data/mci/ce6ebf9ef5a0c32c285b217c66361055/go/src/runtime/debug/stack.go:24 +0xa7
runtime/debug.PrintStack()
   /data/mci/ce6ebf9ef5a0c32c285b217c66361055/go/src/runtime/debug/stack.go:16 +0x22
github.com/10gen/stitch/utils.PanicCapturingGoWithCallback.func1.1(0x3046118)
   /data/mci/ce6ebf9ef5a0c32c285b217c66361055/src/github.com/10gen/stitch/utils/utils.go:125 +0x5a
panic(0x2c01380, 0x4b08890)
   /data/mci/ce6ebf9ef5a0c32c285b217c66361055/go/src/runtime/panic.go:513 +0x1b9
github.com/10gen/stitch/vendor/go.mongodb.org/mongo-driver/x/mongo/driver.KillCursors(0x33cb0a0, 0xc007470700, 0xc00ddaf980, 0x7, 0xc00ddaf988, 0xd, 0xc005c04090, 0x63e27d055241140b, 0x0, 0x0, ...)
   /data/mci/ce6ebf9ef5a0c32c285b217c66361055/src/github.com/10gen/stitch/vendor/go.mongodb.org/mongo-driver/x/mongo/driver/kill_cursors.go:35 +0x311
github.com/10gen/stitch/vendor/go.mongodb.org/mongo-driver/mongo.(*ChangeStream).Next(0xc006c12900, 0x33cb0a0, 0xc007470700, 0x0)



 Comments   
Comment by Githook User [ 15/May/19 ]

Author:

{'name': 'iwysiu', 'username': 'iwysiu', 'email': 'isabella.siu@10gen.com'}

Message: GODRIVER-989 check for nil WireVersion in KillCursors

Change-Id: I1e1f008bd4564bbc1348356d18fdd2e5a62a0cfc
Branch: release/1.0
https://github.com/mongodb/mongo-go-driver/commit/2bddef6490a3e201b04ddc3cd9c147c8b30a3742

Comment by Githook User [ 15/May/19 ]

Author:

{'email': 'isabella.siu@10gen.com', 'name': 'iwysiu', 'username': 'iwysiu'}

Message: GODRIVER-989 check for nil WireVersion in KillCursors

Change-Id: I1e1f008bd4564bbc1348356d18fdd2e5a62a0cfc
Branch: master
https://github.com/mongodb/mongo-go-driver/commit/22576a0e9a77ea7471b5fc2b84cf8a4d3b9c7f3d

Comment by Isabella Siu (Inactive) [ 13/May/19 ]

code review url: https://review.gerrithub.io/c/mongodb/mongo-go-driver/+/454353

Comment by Divjot Arora (Inactive) [ 30/Apr/19 ]

eric.daniels Does Stitch have a reliable repro for this? If not, can you provide any details about how this came up?

Generated at Thu Feb 08 08:35:24 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.