Closed deukyeon closed 1 year ago
Name | Link |
---|---|
Latest commit | 488e1a87ebdba9773933ac14ad4bb1e1503bf2c1 |
Latest deploy log | https://app.netlify.com/sites/splinterdb/deploys/64bf13c679526500085b60c7 |
I can't merge this PR. Maybe due to "some checks haven't completed yet"? How can I resolve this?
Let me try to poke the CI to run the checks.
Best, Rob
On Mon, Jul 24, 2023 at 9:23 AM deukyeon @.***> wrote:
I can't merge this PR. Maybe due to "some checks haven't completed yet"? How can I resolve this?
— Reply to this email directly, view it on GitHub https://github.com/vmware/splinterdb/pull/582#issuecomment-1648227385, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA45FRJ2PUGRUA4ULU7C553XR2ORNANCNFSM6AAAAAAYZSJVIM . You are receiving this because your review was requested.Message ID: @.***>
trunk_set_super_block()
is used when both creating and closing the splinterdb. However,spl->log
is already freed and becomes NULL when it gets to this function. This causes a segmentation fault becausespl->log
is referenced when it stores the log addresses into the super block. As a fix, it setssuper->log_addr
andsuper->log_meta_addr
ifspl->log
is valid. Otherwise, they are set to 0.