Description
Memory allocation failure is not handled in fdb_gather_stale_blocks. We allocate the space doubling the size as needed. In a system with memory pressure the allocation can fail and can cause a crash.
Attachments
Issue Links
- backports to
-
MB-34455 [BP 6.0.x / 5.5.x] Forestdb Segfault when getting reusable blocks
- Closed
For Gerrit Dashboard: MB-34158 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
109083,1 | MB-34158: Segfault when getting reusable blocks | cb-master | forestdb | Status: ABANDONED | 0 | -1 |
109202,1 | MB-34158: Segfault when getting reusable blocks | cb-master | forestdb | Status: ABANDONED | 0 | +1 |
109372,2 | MB-34158: Segfault when getting reusable blocks | cb-master | forestdb | Status: MERGED | +2 | +1 |
114418,2 | MB-34455: [BP 6.0.x / 5.5.x] Forestdb Segfault when getting reusable blocks Backport of MB-34158 | vulcan | forestdb | Status: MERGED | +2 | +1 |