[SERVER-28723] Fix `nullptr` circularity crash in `Collection`. Created: 10/Apr/17  Updated: 06/Dec/17  Resolved: 11/Apr/17

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: 3.5.6
Fix Version/s: 3.5.6

Type: Bug Priority: Critical - P2
Reporter: ADAM Martin (Inactive) Assignee: ADAM Martin (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Platforms 2017-04-17
Participants:
Linked BF Score: 0

 Description   

The `CollectionInfoCache` class references a `Collection` object and invokes virtual methods into `Collection::Impl` in its destructor. This causes crashes with libc++.



 Comments   
Comment by Githook User [ 11/Apr/17 ]

Author:

{u'username': u'adamlsd', u'name': u'ADAM David Alan Martin', u'email': u'adam.martin@10gen.com'}

Message: SERVER-28723 Fix `nullptr` crash with `CollectionInfoCache`

The `CollectionInfoCache` referenced a `Collection` object and invoked
virtual methods into the `Collection::Impl` in its destructor. This
causes crashes with libc++.
Branch: master
https://github.com/mongodb/mongo/commit/606a2ce256ee90d7f92b0a2b52484ddb1e048e79

Generated at Thu Feb 08 04:18:53 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.