Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
6.6.1
-
Triaged
-
1
-
Yes
Description
The memOverheadChangedCallback accesses the VBucket state.
During VBucket destruction the callback is triggered when destroying the CheckpointManager as this in turn destroys Checkpoint s, reducing overhead. The state is no longer valid at this point.
First seen in CV from merging patches introducing the memOverheadChangedCallback forward to master. Not previously identified on mad-hatter, possibly as a result of mad-hatter CV using an older clang.
Attachments
Issue Links
- relates to
-
MB-42986 Intermittent TSan issue: heap-use-after-free ../kv_engine/engines/ep/src/ephemeral_bucket.cc:301 in operator() (3.3%)
-
- Closed
-
Activity
Description |
The {{memOverheadChangedCallback}} accesses the VBucket state.
During VBucket destruction the callback is triggered when destroying the {{CheckpointManager}} as this in turn destroys {{Checkpoint}}s, reducing overhead. The state is no longer valid at this point. First seen in CV from merging patches introducing the {{memOverheadChangedCallback}} forward to master. Not previously identified on mad-hatter, possibly as a result of mad-hatter CV using an older clang. http://cv.jenkins.couchbase.com/job/kv_engine.threadsanitizer/job/master/7760/consoleFull#-130641249961882284-c5b1-40af-8076-4f8cb2d12fb1 |
The {{memOverheadChangedCallback}} accesses the VBucket state.
During VBucket destruction the callback is triggered when destroying the {{CheckpointManager}} as this in turn destroys {{Checkpoint}} s, reducing overhead. The state is no longer valid at this point. First seen in CV from merging patches introducing the {{memOverheadChangedCallback}} forward to master. Not previously identified on mad-hatter, possibly as a result of mad-hatter CV using an older clang. http://cv.jenkins.couchbase.com/job/kv_engine.threadsanitizer/job/master/7760/consoleFull#-130641249961882284-c5b1-40af-8076-4f8cb2d12fb1 |
Priority | Major [ 3 ] | Blocker [ 1 ] |
Fix Version/s | 6.6.1 [ 17002 ] | |
Fix Version/s | 6.6.2 [ 17103 ] |
Component/s | couchbase-bucket [ 10173 ] |
Labels | approved-for-6.6.1 |
Is this a Regression? | Unknown [ 10452 ] | Yes [ 10450 ] |
Link | This issue relates to MB-40528 [ MB-40528 ] |
Link | This issue relates to MB-40528 [ MB-40528 ] |
Link | This issue blocks MB-40528 [ MB-40528 ] |
Resolution | Fixed [ 1 ] | |
Status | Open [ 1 ] | Resolved [ 5 ] |
Assignee | James Harrison [ james.harrison ] | Daniel Owen [ owend ] |
Status | Resolved [ 5 ] | Closed [ 6 ] |
Fix Version/s | Cheshire-Cat [ 15915 ] |
Fix Version/s | 7.0.0 [ 17233 ] |
Fix Version/s | Cheshire-Cat [ 15915 ] |
Build couchbase-server-6.6.1-9210 contains kv_engine commit d169730 with commit message:
MB-43028: [2/2] Make overhead tracking safe at VBucket destruction