Skip to content

Fix change after section flush coredump#29

Merged
gbin merged 2 commits into
masterfrom
gbin/fix_change_after_section_flush
Aug 28, 2024
Merged

Fix change after section flush coredump#29
gbin merged 2 commits into
masterfrom
gbin/fix_change_after_section_flush

Conversation

@gbin

@gbin gbin commented Aug 28, 2024

Copy link
Copy Markdown
Collaborator

There was an unnecessary race condition on the drop of a SectionHandler and the actual update of the section header.

As we explicitly flush them anyway and semantically they are equivalent as closing them, I just moved the header update to the spot right before flushing them.

gbin added 2 commits August 28, 2024 13:56
I removed the drop that is causing a unnecessary race condition and
consider the flush_section as a proper close_section.
@gbin gbin merged commit 0e0df69 into master Aug 28, 2024
@gbin gbin deleted the gbin/fix_change_after_section_flush branch August 28, 2024 20:08
gbin added a commit that referenced this pull request Oct 23, 2024
* Workaround for the flush before write on section header.

* Fix a coredump when a section is dropped after a section flush.

I removed the drop that is causing a unnecessary race condition and
consider the flush_section as a proper close_section.
@makeecat makeecat added the bug Something isn't working label Jan 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants