Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deallocate future mutex in the future resource destructor #50

Merged
merged 2 commits into from
Jan 25, 2022

Conversation

nickva
Copy link
Contributor

@nickva nickva commented Jan 25, 2022

Otherwise we end up leaking mutexes #49

@kocolosk
Copy link
Member

Bah, we need to update CI for the foundationdb.org switch.

@kocolosk kocolosk force-pushed the deallocate-future-mutex-in-resource-destructor branch from 47d3331 to 61332f6 Compare January 25, 2022 18:25
@kocolosk
Copy link
Member

Seems like there's an issue with the 6.2.30 Windows install of FDB (the build is crashing when it tries to parse the output of fdbcli --version). I think we could merge without that flavor of the matrix passing this time.

@nickva
Copy link
Contributor Author

nickva commented Jan 25, 2022

Ah makes sense, @kocolosk, thanks for taking a look.

I had noticed the user reported an abort and core dump #49 (comment) and wondering if we have another bug or I misunderstood how resource reference counting and destructors work.

@nickva
Copy link
Contributor Author

nickva commented Jan 25, 2022

It looks like the user double-checked and the issue doesn't happen any longer (it was a build / compile issue) before.

@nickva nickva merged commit 20ae851 into main Jan 25, 2022
@nickva nickva deleted the deallocate-future-mutex-in-resource-destructor branch January 25, 2022 20:48
@dch
Copy link
Contributor

dch commented Jan 26, 2022 via email

@nickva
Copy link
Contributor Author

nickva commented Jan 26, 2022

@dch good idea, will do

@nickva
Copy link
Contributor Author

nickva commented Jan 26, 2022

tagged https://github.com/apache/couchdb-erlfdb/releases/tag/v1.3.5

gave the "autogenerate release notes" button a try. seems to work well enough

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.

3 participants