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

ARROW-4296: [C++] [Plasma] Update dlmemalign call to prevent plasma store crash with -f flag #3434

Closed
wants to merge 1 commit into from

Conversation

anuragkh
Copy link
Contributor

https://issues.apache.org/jira/browse/ARROW-4296

Starting Plasma with use_one_memory_mapped_file (-f flag) causes a crash, most likely due to improper memory alignment. Changing the dlmemalign call during initialization to use slightly smaller memory (by ~8KB) resolves this.

@wesm
Copy link
Member

wesm commented Jan 19, 2019

rebased

@pcmoritz
Copy link
Contributor

pcmoritz commented Jan 19, 2019

Thanks for the patch! Let me have a closer look if I can figure out what is going (maybe we can replace the dlmemalig with a dlmalloc and use the full space and avoid magic constants).

@pcmoritz
Copy link
Contributor

replaced by #3490

@pcmoritz pcmoritz closed this Jan 26, 2019
robertnishihara pushed a commit that referenced this pull request Jan 29, 2019
This PR is similar to #3434 but also makes sure we only have one well-tested code path to go through.

Author: Philipp Moritz <[email protected]>

Closes #3490 from pcmoritz/one-mmap-file and squashes the following commits:

c447af5 <Philipp Moritz> remove --verbose
f885f49 <Philipp Moritz> reduce plasma store size for test
6072e8f <Philipp Moritz> add verbose flag
990700f <Philipp Moritz> use only one mmapped file
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