[SERVER-78680] TSAN suppression for WiredTiger may not work when WiredTiger calls into other libraries Created: 05/Jul/23  Updated: 29/Oct/23  Resolved: 27/Jul/23

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

Type: Bug Priority: Major - P3
Reporter: Gregory Noma Assignee: Trevor Guidry
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Problem/Incident
is caused by SERVER-78018 TSAN crashes on symbolization Closed
Assigned Teams:
Server Development Platform
Backwards Compatibility: Fully Compatible
Sprint: Execution NAMR Team 2023-07-10
Participants:
Linked BF Score: 123

 Description   

We have a TSAN suppression for WiredTiger, which as of SERVER-78018 is done by specifying called_from_lib:libwiredtiger.so. However WT may call into another library (zstd for example) which then performs the write. Since the called_from_lib suppression only cares about the library that actually performed the write (ignoring anything further up the stack), it does not get suppressed in this case.



 Comments   
Comment by Githook User [ 27/Jul/23 ]

Author:

{'name': 'Trevor Guidry', 'email': 'trevor.guidry@mongodb.com', 'username': ''}

Message: SERVER-78680 add back race wiredtiger suppression
Branch: master
https://github.com/mongodb/mongo/commit/8eef918241d0b36a273d010b97fc79c37b786611

Comment by Steve Gross [ 17/Jul/23 ]

Note: per team discussion, we should look into this ~soon. However, we suspect it may be complicated so let's be cautious about promising when it will be done. We'll assign this to trevor.guidry@mongodb.com.

Comment by Daniel Moody [ 13/Jul/23 ]

I think the workaround in SERVER-78018 caused this new issue. I think we should look for a better way to handle the crash and return to the original supression method.

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