[SERVER-23746] Coverity analysis defect 98532: Data race condition Created: 15/Apr/16  Updated: 05/Apr/17  Resolved: 15/Apr/16

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

Type: Bug Priority: Major - P3
Reporter: Coverity Collector User Assignee: Keith Bostic (Inactive)
Resolution: Done Votes: 0
Labels: coverity
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:

 Description   

Thread shared data is accessed without holding an appropriate lock, possibly causing a race condition

Defect 98532 (STATIC_C)
Checker MISSING_LOCK (subcategory none)
File: /src/third_party/wiredtiger/src/conn/conn_handle.c
Function __wt_connection_init
/src/third_party/wiredtiger/src/conn/conn_handle.c, line: 31
Accessing "conn->fhqh.tqh_last" without holding lock "_wt_spinlock.lock". Elsewhere, "wt_fh_qh.tqh_last" is accessed with "_wt_spinlock.lock" held 4 out of 5 times.

    	TAILQ_INIT(&conn->fhqh);		/* File list */


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