[SERVER-86146] Fix UBSAN errors seen with new TCMalloc Created: 02/Feb/24  Updated: 07/Feb/24  Resolved: 07/Feb/24

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 8.0.0-rc0

Type: Bug Priority: Major - P3
Reporter: Blake Oler Assignee: Blake Oler
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-85737 Bring the TCMalloc integration up to ... In Progress
Gantt Dependency
has to be done after SERVER-86267 Investigate why a dynamically-allocat... Needs Scheduling
Assigned Teams:
Service Arch
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Service Arch 2024-02-05, Service Arch 2024-02-19
Participants:

 Description   

The new TCMalloc triggers a USBAN error in BSONIteratorSorted. It's verified that compiling and running with the old allocator makes this go away.

Investigate and fix. 



 Comments   
Comment by Githook User [ 06/Feb/24 ]

Author:

{'name': 'Blake Oler', 'email': 'blake.oler@mongodb.com', 'username': 'BlakeIsBlake'}

Message: SERVER-86146 Change c-style array to vector to avoid potential alignment issues (#18711)

GitOrigin-RevId: a8356e7b5c5a0146727b727855225d75b07a78c9
Branch: master
https://github.com/mongodb/mongo/commit/4bb334e8ba5b78f39c829873be48f9e26ebaaed6

Generated at Thu Feb 08 06:59:31 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.