Skip to content

bugfix: Fix core dump issue by copying data instead of freeing it prematurely…#4

Open
davidfrz wants to merge 1 commit intokoichi-szk:parallel_replay_14_6from
davidfrz:parallel_replay_14_6
Open

bugfix: Fix core dump issue by copying data instead of freeing it prematurely…#4
davidfrz wants to merge 1 commit intokoichi-szk:parallel_replay_14_6from
davidfrz:parallel_replay_14_6

Conversation

@davidfrz
Copy link

Fix core dump issue by copying data instead of freeing it prematurely in dispatcher

Body:

  • Identified an issue where a block worker, upon completing processing of data, would prematurely free the data.
  • This led to a situation where the freed data was still being referenced in the dispatcher worker loop, resulting in a core dump.
  • To address this issue, a change was made to copy the relevant data instead of freeing it, ensuring that the dispatcher worker loop has a valid reference to the data.

… in dispatcher

- Identified an issue where a block worker, upon completing processing of data, would prematurely free the data.
- This led to a situation where the freed data was still being referenced in the dispatcher worker loop, resulting in a core dump.
- To address this issue, a change was made to copy the relevant data instead of freeing it, ensuring that the dispatcher worker loop has a valid reference to the data.
@davidfrz davidfrz changed the title #3 Fix core dump issue by copying data instead of freeing it prematurely… Fix core dump issue by copying data instead of freeing it prematurely… Apr 18, 2024
@davidfrz davidfrz changed the title Fix core dump issue by copying data instead of freeing it prematurely… bugfix: Fix core dump issue by copying data instead of freeing it prematurely… Apr 18, 2024
@koichi-szk
Copy link
Owner

The patch accepted and now in parallel_replay_14_6 branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants