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

fix: open_env mapsize type, elmdb_env_thread failure escape #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

danj3
Copy link

@danj3 danj3 commented Feb 21, 2018

open_env mapsize was an int but needed to be a uint64_t
if open_env fails with NULL during elmdb_env_thread, after local
free a direct return is needed instead of a goto shutdown since the
latter tried to use the value of elmdb_env which is NULL in this case
causing a SEGV.

open_env mapsize was an int but needed to be a uint64_t
if open_env fails with NULL during elmdb_env_thread, after local
free a direct return is needed instead of a goto shutdown since the
latter tried to use the value of elmdb_env which is NULL in this case
causing a SEGV.
@danj3
Copy link
Author

danj3 commented Apr 4, 2018

Hi,

I'm not sure why the CI build on 17.4 fails, but it's good on the other OTP versions. Can this get merged?

Dan

@aclemmensen
Copy link

Would very much like to see this merged. Just got burned by an overflowing max db size. Verified that the fix works on OTP 20.

@Exadra37
Copy link

So it seems that the author have abandoned this project?

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